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

@chainsafe/libp2p-noise

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainsafe/libp2p-noise - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

2

dist/src/noise.d.ts

@@ -26,3 +26,3 @@ import type { PeerId } from '@libp2p/interface-peer-id';

*/
secureOutbound(localPeer: PeerId, connection: Duplex<Uint8Array>, remotePeer: PeerId): Promise<SecuredConnection>;
secureOutbound(localPeer: PeerId, connection: Duplex<Uint8Array>, remotePeer?: PeerId): Promise<SecuredConnection>;
/**

@@ -29,0 +29,0 @@ * Decrypt incoming data (handshake as responder).

{
"name": "@chainsafe/libp2p-noise",
"version": "8.0.1",
"version": "8.0.2",
"author": "ChainSafe <info@chainsafe.io>",

@@ -90,10 +90,10 @@ "license": "Apache-2.0 OR MIT",

"devDependencies": {
"@libp2p/daemon-client": "2.0.4",
"@libp2p/daemon-server": "^2.0.4",
"@libp2p/daemon-client": "^3.0.1",
"@libp2p/daemon-server": "^3.0.0",
"@libp2p/interface-connection-encrypter-compliance-tests": "^2.0.1",
"@libp2p/interop": "^2.1.0",
"@libp2p/interop": "^3.0.1",
"@libp2p/mplex": "^5.0.0",
"@libp2p/peer-id-factory": "^1.0.8",
"@libp2p/tcp": "^3.0.3",
"@multiformats/multiaddr": "^10.3.3",
"@multiformats/multiaddr": "^11.0.3",
"aegir": "^37.3.0",

@@ -104,3 +104,3 @@ "benchmark": "^2.1.4",

"iso-random-stream": "^2.0.2",
"libp2p": "0.38.0",
"libp2p": "0.39.2",
"mkdirp": "^1.0.4",

@@ -107,0 +107,0 @@ "p-defer": "^4.0.0",

@@ -48,5 +48,5 @@ # js-libp2p-noise

This module exposes a crypto interface, as defined in the repository [js-interfaces](https://github.com/libp2p/js-interfaces).
This module exposes a crypto interface, as defined in the repository [js-interfaces](https://github.com/libp2p/js-libp2p-interfaces).
[» API Docs](https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interfaces/src/crypto#api)
[» API Docs](https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-connection-encrypter#api)

@@ -53,0 +53,0 @@ ## Bring your own crypto

@@ -59,3 +59,3 @@ import type { PeerId } from '@libp2p/interface-peer-id'

*/
public async secureOutbound (localPeer: PeerId, connection: Duplex<Uint8Array>, remotePeer: PeerId): Promise<SecuredConnection> {
public async secureOutbound (localPeer: PeerId, connection: Duplex<Uint8Array>, remotePeer?: PeerId): Promise<SecuredConnection> {
const wrappedConnection = pbStream(

@@ -62,0 +62,0 @@ connection,

Sorry, the diff of this file is not supported yet

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