@libp2p/keychain
Advanced tools
Comparing version 5.0.0 to 5.0.1-34455b5f2
@@ -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.0", | ||
"version": "5.0.1-34455b5f2", | ||
"description": "Key management and cryptographically protected messages", | ||
@@ -62,4 +62,4 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/crypto": "^5.0.0", | ||
"@libp2p/interface": "^2.0.0", | ||
"@libp2p/crypto": "5.0.1-34455b5f2", | ||
"@libp2p/interface": "2.0.1-34455b5f2", | ||
"@noble/hashes": "^1.5.0", | ||
@@ -74,3 +74,3 @@ "asn1js": "^3.0.5", | ||
"devDependencies": { | ||
"@libp2p/logger": "^5.0.0", | ||
"@libp2p/logger": "5.0.1-34455b5f2", | ||
"aegir": "^44.0.1", | ||
@@ -77,0 +77,0 @@ "datastore-core": "^10.0.0" |
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
258243
29
2555
1
+ Added@libp2p/crypto@5.0.1-34455b5f2(transitive)
+ Added@libp2p/interface@2.0.1-34455b5f2(transitive)
- Removed@libp2p/crypto@5.0.9(transitive)
- Removed@libp2p/interface@2.4.0(transitive)