@pager/jackrabbit
Advanced tools
Comparing version 4.6.7 to 4.6.8
@@ -140,3 +140,3 @@ 'use strict'; | ||
function bindKey(key) { | ||
return new Promise((resolve, reject) => { | ||
return new Promise(function (resolve, reject) { | ||
channel.bindQueue(newQueue.name, emitter.name, key, {}, function onBind(err, ok) { | ||
@@ -143,0 +143,0 @@ if (err) return reject(err); |
@@ -36,2 +36,6 @@ var amqp = require('amqplib/callback_api'); | ||
function close(callback) { | ||
if (!connection) { | ||
if (callback) callback(); | ||
return; | ||
} | ||
try { | ||
@@ -38,0 +42,0 @@ // I don't think amqplib should be throwing here, as this is an async function |
{ | ||
"name": "@pager/jackrabbit", | ||
"version": "4.6.7", | ||
"version": "4.6.8", | ||
"description": "Easy RabbitMQ for node", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
15383
436