servicebus
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -50,2 +50,5 @@ var amqp = require('amqplib'), | ||
conn.on('close', self.emit.bind(self, 'connection.close')); | ||
conn.on('error', self.emit.bind(self, 'connection.error')); | ||
function done () { | ||
@@ -61,2 +64,3 @@ if (self.channels.length === (options.enableConfirms ? 3 : 2)) { | ||
channel.on('error', channelError); | ||
channel.on('close', self.emit.bind(self, 'channel.close')); | ||
self.sendChannel = channel; | ||
@@ -72,2 +76,3 @@ if (options.prefetch) { | ||
channel.on('error', channelError); | ||
channel.on('close', self.emit.bind(self, 'channel.close')); | ||
self.listenChannel = channel; | ||
@@ -84,2 +89,3 @@ if (options.prefetch) { | ||
channel.on('error', channelError); | ||
channel.on('close', self.emit.bind(self, 'channel.close')); | ||
self.confirmChannel = channel; | ||
@@ -86,0 +92,0 @@ if (options.prefetch) { |
@@ -10,3 +10,3 @@ { | ||
"description": "Simple service bus for sending events between processes using amqp.", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"homepage": "https://github.com/mateodelnorte/servicebus", | ||
@@ -13,0 +13,0 @@ "repository": { |
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
62352
38
1514
14