Socket
Socket
Sign inDemoInstall

amqp-connection-manager

Package Overview
Dependencies
Maintainers
12
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-connection-manager - npm Package Compare versions

Comparing version 1.3.7 to 1.4.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

1.4.0
-----
* Add 'blocked' and 'unblocked' events (#25).
1.3.7

@@ -2,0 +7,0 @@ -----

@@ -118,2 +118,10 @@ // Generated by CoffeeScript 1.12.7

_this._currentConnection = connection;
connection.on('blocked', function(reason) {
return _this.emit('blocked', {
reason: reason
});
});
connection.on('unblocked', function() {
return _this.emit('unblocked');
});
connection.on('error', function(err) {

@@ -120,0 +128,0 @@ return Promise.resolve().then(function() {

2

package.json
{
"name": "amqp-connection-manager",
"version": "1.3.7",
"version": "1.4.0",
"description": "Auto-reconnect and round robin support for amqplib.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -136,3 +136,2 @@ [![Build Status](https://travis-ci.org/benbria/node-amqp-connection-manager.svg?branch=master)](https://travis-ci.org/benbria/node-amqp-connection-manager)

* `error(err, {name})` - emitted if an error occurs setting up the channel.
* `drop({message, err})` - called when a JSON message was dropped because it could not be encoded.
* `close` - emitted when this channel closes via a call to `close()`

@@ -139,0 +138,0 @@

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