limitd-client
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -100,3 +100,3 @@ var url = require('url'); | ||
LimitdClient.prototype._takeOrWait = function (method, type, key, count, done) { | ||
if (typeof count === 'undefined' || typeof done === 'undefined') { | ||
if (typeof count === 'undefined' && typeof done === 'undefined') { | ||
done = null; | ||
@@ -135,3 +135,3 @@ count = 1; | ||
LimitdClient.prototype.put = function (type, key, count, done) { | ||
if (typeof count === 'undefined' || typeof done === 'undefined') { | ||
if (typeof count === 'undefined' && typeof done === 'undefined') { | ||
done = null; | ||
@@ -138,0 +138,0 @@ count = 'all'; |
{ | ||
"name": "limitd-client", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "limitd client for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
22088