Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@snapshot-labs/keycard

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snapshot-labs/keycard - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/index.js

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc