Comparing version 0.0.17 to 0.0.18
@@ -102,3 +102,5 @@ 'use strict'; | ||
clearTimeout(timeoutId); | ||
cb.apply({}, arguments); | ||
var responseArgs = Array.prototype.slice.call(arguments); | ||
debug('got response from %s. Args: %j', publicMethodName, responseArgs); | ||
cb.apply({}, responseArgs); | ||
} | ||
@@ -105,0 +107,0 @@ }); |
@@ -46,6 +46,6 @@ 'use strict'; | ||
this._transport.on(publicMethodName, function (args, cb) { | ||
debug('executing %s with arguments %j and %scallback', publicMethodName, args, cb ? '' : 'no '); | ||
args.push(cb || function () {}); | ||
debug('executing %s with arguments %j', publicMethodName, args); | ||
try { | ||
@@ -52,0 +52,0 @@ method.apply({}, args); |
{ | ||
"name": "bograch", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "A communication gateway for NodeJS microservices.", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
210860
21
532