@snapshot-labs/keycard
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -71,3 +71,3 @@ "use strict"; | ||
if (!unlimitedRequests) | ||
this.callAPI('log_req', { key }).catch(); | ||
this.callAPI('log_req', { key }).catch(console.error); | ||
const rateLimited = keyCount > limit; | ||
@@ -74,0 +74,0 @@ return { |
{ | ||
"name": "@snapshot-labs/keycard", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -93,3 +93,3 @@ import fetch from 'cross-fetch'; | ||
// Increase the total count for this key, but don't wait for it to finish. | ||
if (!unlimitedRequests) this.callAPI('log_req', { key }).catch(); | ||
if (!unlimitedRequests) this.callAPI('log_req', { key }).catch(console.error); | ||
@@ -96,0 +96,0 @@ const rateLimited = keyCount > limit; |
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
8832