Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amqplib-easy

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqplib-easy - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

1

API.md

@@ -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

5

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc