amqplib-easy
Advanced tools
Comparing version 3.2.1 to 3.3.0
@@ -56,2 +56,3 @@ - [`Create(amqpUrl)`](#createamqpurl---amqp) | ||
- `prefetch`: (number) of messages to fetch when consuming. Defaults to `1` | ||
- `arguments`: (object) containing any binding arguments for the queue. Defaults to `{}` | ||
- `queue`: (string) name of the queue to use | ||
@@ -58,0 +59,0 @@ - `queueOptions`: (object) of options supported by |
@@ -58,3 +58,4 @@ 'use strict'; | ||
queueOptions: {durable: true}, | ||
prefetch: 1 | ||
prefetch: 1, | ||
arguments: {} | ||
}); | ||
@@ -88,3 +89,3 @@ | ||
return BPromise.map(options.topics, function (topic) { | ||
return ch.bindQueue(options.queue, options.exchange, topic); | ||
return ch.bindQueue(options.queue, options.exchange, topic, options.arguments); | ||
}); | ||
@@ -91,0 +92,0 @@ } |
{ | ||
"name": "amqplib-easy", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "Simplified API for interacting with AMQP", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21669
364
1