@libp2p/crypto
Advanced tools
Comparing version 5.0.9 to 5.0.10-26313e695
@@ -38,3 +38,3 @@ import crypto from 'crypto'; | ||
// @ts-expect-error node types are missing jwk as a format | ||
const publicKeyRaw = uint8arrayFromString(key.privateKey.x, 'base64url'); | ||
const publicKeyRaw = uint8arrayFromString(key.publicKey.x, 'base64url'); | ||
return { | ||
@@ -41,0 +41,0 @@ privateKey: uint8arrayConcat([privateKeyRaw, publicKeyRaw], privateKeyRaw.byteLength + publicKeyRaw.byteLength), |
{ | ||
"name": "@libp2p/crypto", | ||
"version": "5.0.9", | ||
"version": "5.0.10-26313e695", | ||
"description": "Crypto primitives for libp2p", | ||
@@ -95,3 +95,3 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "^2.4.0", | ||
"@libp2p/interface": "2.4.1-26313e695", | ||
"@noble/curves": "^1.7.0", | ||
@@ -98,0 +98,0 @@ "@noble/hashes": "^1.6.1", |
@@ -48,3 +48,3 @@ import crypto from 'crypto' | ||
// @ts-expect-error node types are missing jwk as a format | ||
const publicKeyRaw = uint8arrayFromString(key.privateKey.x, 'base64url') | ||
const publicKeyRaw = uint8arrayFromString(key.publicKey.x, 'base64url') | ||
@@ -51,0 +51,0 @@ return { |
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
375968
174
4473
1
+ Added@libp2p/interface@2.4.1-26313e695(transitive)
- Removed@libp2p/interface@2.4.1(transitive)