@chainsafe/libp2p-noise
Advanced tools
Comparing version 11.0.0 to 11.0.1
@@ -49,3 +49,3 @@ import { unmarshalPublicKey, unmarshalPrivateKey } from '@libp2p/crypto/keys'; | ||
if (!payloadPeerId.equals(remotePeer)) { | ||
throw new Error("Peer ID doesn't match libp2p public key."); | ||
throw new Error(`Payload identity key ${payloadPeerId.toString()} does not match expected remote peer ${remotePeer.toString()}`); | ||
} | ||
@@ -52,0 +52,0 @@ const generatedPayload = getHandshakePayload(noiseStaticKey); |
{ | ||
"name": "@chainsafe/libp2p-noise", | ||
"version": "11.0.0", | ||
"version": "11.0.1", | ||
"author": "ChainSafe <info@chainsafe.io>", | ||
@@ -70,8 +70,8 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/crypto": "^1.0.0", | ||
"@libp2p/interface-connection-encrypter": "^3.0.0", | ||
"@libp2p/interface-keys": "^1.0.2", | ||
"@libp2p/interface-metrics": "^4.0.2", | ||
"@libp2p/crypto": "^1.0.11", | ||
"@libp2p/interface-connection-encrypter": "^3.0.5", | ||
"@libp2p/interface-keys": "^1.0.6", | ||
"@libp2p/interface-metrics": "^4.0.4", | ||
"@libp2p/interface-peer-id": "^2.0.0", | ||
"@libp2p/logger": "^2.0.0", | ||
"@libp2p/logger": "^2.0.5", | ||
"@libp2p/peer-id": "^2.0.0", | ||
@@ -81,3 +81,3 @@ "@stablelib/chacha20poly1305": "^1.0.1", | ||
"@stablelib/sha256": "^1.0.1", | ||
"@stablelib/x25519": "^1.0.1", | ||
"@stablelib/x25519": "^1.0.3", | ||
"it-length-prefixed": "^8.0.2", | ||
@@ -93,6 +93,6 @@ "it-pair": "^2.0.2", | ||
"devDependencies": { | ||
"@libp2p/daemon-client": "^3.0.1", | ||
"@libp2p/daemon-server": "^3.0.1", | ||
"@libp2p/daemon-client": "^4.0.1", | ||
"@libp2p/daemon-server": "^4.0.1", | ||
"@libp2p/interface-connection-encrypter-compliance-tests": "^4.0.0", | ||
"@libp2p/interop": "^3.0.1", | ||
"@libp2p/interop": "^4.0.2", | ||
"@libp2p/mplex": "^7.0.0", | ||
@@ -104,7 +104,7 @@ "@libp2p/peer-id-factory": "^2.0.0", | ||
"benchmark": "^2.1.4", | ||
"execa": "^6.1.0", | ||
"execa": "^7.0.0", | ||
"go-libp2p": "^0.0.6", | ||
"iso-random-stream": "^2.0.2", | ||
"libp2p": "^0.41.0", | ||
"mkdirp": "^1.0.4", | ||
"libp2p": "^0.42.0", | ||
"mkdirp": "^2.0.0", | ||
"p-defer": "^4.0.0", | ||
@@ -111,0 +111,0 @@ "protons": "^6.0.0", |
# js-libp2p-noise | ||
 | ||
[](https://github.com/ChainSafe/js-libp2p-noise/actions/workflows/ci.yml) | ||
[](https://github.com/ChainSafe/js-libp2p-noise/actions) | ||
[](https://libp2p.io/) | ||
 | ||
 | ||
[](https://opensource.org/licenses/Apache-2.0) | ||
[](https://opensource.org/licenses/MIT) | ||
 | ||
 | ||
 | ||
[](https://discuss.libp2p.io) | ||
[](https://twitter.com/ChainSafeth) | ||
[](https://discord.gg/Q6A3YA2) | ||
@@ -14,0 +15,0 @@ > Noise libp2p handshake for js-libp2p |
@@ -78,3 +78,3 @@ import { unmarshalPublicKey, unmarshalPrivateKey } from '@libp2p/crypto/keys' | ||
if (!payloadPeerId.equals(remotePeer)) { | ||
throw new Error("Peer ID doesn't match libp2p public key.") | ||
throw new Error(`Payload identity key ${payloadPeerId.toString()} does not match expected remote peer ${remotePeer.toString()}`) | ||
} | ||
@@ -81,0 +81,0 @@ const generatedPayload = getHandshakePayload(noiseStaticKey) |
Sorry, the diff of this file is not supported yet
165315
72