Comparing version 0.0.13 to 0.0.14
@@ -49,3 +49,3 @@ "use strict"; | ||
var self = this; | ||
return (this.__defaultExchangeP = this.getConnection().chain(function (connection) { | ||
var ret = this.__defaultExchangeP = this.getConnection().chain(function (connection) { | ||
self.__connection = connection; | ||
@@ -58,3 +58,4 @@ var ret = new Promise(); | ||
return ret; | ||
})); | ||
}); | ||
return ret; | ||
}, | ||
@@ -66,3 +67,3 @@ | ||
ret; | ||
defaultOptions = comb.isFunction(defaultOptions) ? defaultOptions() : (defaultOptions || {}); | ||
defaultOptions = comb.isFunction(defaultOptions) ? defaultOptions(options) : (defaultOptions || {}); | ||
if (!this._defaultExchange) { | ||
@@ -69,0 +70,0 @@ if (this.__defaultExchangeP) { |
{ | ||
"name": "hare", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Wrapper around amqp to make common patterns easier", | ||
@@ -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
36313
765