limitd-client
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -120,3 +120,3 @@ var url = require('url'); | ||
if (response.type === ResponseMessage.Type.ERROR && | ||
if (response['.limitd.ErrorResponse.response'] && | ||
response['.limitd.ErrorResponse.response'].type === ErrorResponse.Type.UNKNOWN_BUCKET_TYPE) { | ||
@@ -123,0 +123,0 @@ return callback(new Error(type + ' is not a valid bucket type')); |
{ | ||
"name": "limitd-client", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "limitd client for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
{ | ||
"name": "limitd-protocol", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"private": true, | ||
@@ -5,0 +5,0 @@ "description": "The ", |
@@ -79,3 +79,2 @@ var LimitdClient = require('../'); | ||
request_id: request.id, | ||
type: Response.Type.TAKE | ||
}); | ||
@@ -110,4 +109,3 @@ | ||
var response = new Response({ | ||
request_id: request.id, | ||
type: Response.Type.ERROR | ||
request_id: request.id | ||
}); | ||
@@ -114,0 +112,0 @@ |
@@ -11,4 +11,3 @@ var LimitdClient = require('../'); | ||
var response = new Response({ | ||
request_id: request.id, | ||
type: Response.Type.TAKE | ||
request_id: request.id | ||
}); | ||
@@ -15,0 +14,0 @@ |
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
25648
26
457