@onfleet/node-onfleet
Advanced tools
Comparing version 1.1.0 to 1.1.1
const constants = { | ||
LIMITER_RESERVOIR: 20, | ||
LIMITER_REFRESH_INTERVAL: 250, | ||
LIMITER_MAX_CONCURRENT: 5, | ||
LIMITER_MAX_CONCURRENT: 1, | ||
LIMITER_MIN_TIME: 50, | ||
@@ -5,0 +6,0 @@ }; |
@@ -14,2 +14,3 @@ const Bottleneck = require('bottleneck'); | ||
const limiter = new Bottleneck({ | ||
reservoir: constants.LIMITER_RESERVOIR, | ||
reservoirRefreshInterval: constants.LIMITER_REFRESH_INTERVAL, | ||
@@ -16,0 +17,0 @@ maxConcurrent: constants.LIMITER_MAX_CONCURRENT, |
{ | ||
"name": "@onfleet/node-onfleet", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Official client library for accessing the Onfleet API", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"bottleneck": "^2.19.5", | ||
"node-fetch": "^2.6.0" | ||
"node-fetch": "^2.6.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
65144
928
Updatednode-fetch@^2.6.1