@libp2p/crypto
Advanced tools
Comparing version 5.0.9-c90984ec7 to 5.0.9-e2ec7bdaa
@@ -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-c90984ec7", | ||
"version": "5.0.9-e2ec7bdaa", | ||
"description": "Crypto primitives for libp2p", | ||
@@ -95,3 +95,3 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "2.4.0-c90984ec7", | ||
"@libp2p/interface": "2.4.0-e2ec7bdaa", | ||
"@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
375967
+ Added@libp2p/interface@2.4.0-e2ec7bdaa(transitive)
- Removed@libp2p/interface@2.4.0-c90984ec7(transitive)