New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/keychain

Package Overview
Dependencies
Maintainers
6
Versions
557
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/keychain - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

dist/src/keychain.js

@@ -166,3 +166,3 @@ /* eslint max-nested-callbacks: ["error", 5] */

async importKey(name, key) {
if (!validateKeyName(name) || name === 'self') {
if (!validateKeyName(name)) {
await randomDelay();

@@ -169,0 +169,0 @@ throw new InvalidParametersError(`Invalid key name '${name}'`);

{
"name": "@libp2p/keychain",
"version": "5.0.1",
"version": "5.0.2",
"description": "Key management and cryptographically protected messages",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -199,3 +199,3 @@ /* eslint max-nested-callbacks: ["error", 5] */

async importKey (name: string, key: PrivateKey): Promise<KeyInfo> {
if (!validateKeyName(name) || name === 'self') {
if (!validateKeyName(name)) {
await randomDelay()

@@ -202,0 +202,0 @@ throw new InvalidParametersError(`Invalid key name '${name}'`)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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