nats-hemera
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -126,5 +126,2 @@ 'use strict' | ||
// contains the list of circuit breaker of all act calls | ||
this._circuitBreakerMap = new Map() | ||
this._ext = new Extension() | ||
@@ -1408,10 +1405,7 @@ this._ext.add('onClientPreRequest', DefaultExtensions.onClientPreRequest) | ||
self.emit('error', err) | ||
if (_.isFunction(cb)) { | ||
cb(err) | ||
} | ||
} else { | ||
if (_.isFunction(cb)) { | ||
cb() | ||
} | ||
} | ||
if (_.isFunction(cb)) { | ||
cb(err) | ||
} | ||
}) | ||
@@ -1418,0 +1412,0 @@ } |
@@ -203,3 +203,6 @@ 'use strict' | ||
_.each(args, function(v, k) { | ||
if ((!~k.indexOf('$') && !_.isFunction(v) && !_.isObject(v)) || _.isRegExp(v)) { | ||
if ( | ||
(!~k.indexOf('$') && !_.isFunction(v) && !_.isObject(v)) || | ||
_.isRegExp(v) | ||
) { | ||
sb.push(k + ':' + v) | ||
@@ -206,0 +209,0 @@ } |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://hemerajs.github.io/hemera/", |
67403
2669