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

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
6
Versions
586
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-internal - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3-80ddad5bb

11

dist/src/connection-manager/index.d.ts

@@ -21,2 +21,13 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface';

force?: boolean;
/**
* By default a newly opened outgoing connection operates in initiator mode
* during negotiation of encryption/muxing protocols using multistream-select.
*
* In some cases such as when the dialer is trying to achieve TCP Simultaneous
* Connect using the DCUtR protocol, it may wish to act in responder mode, if
* so pass `false` here.
*
* @default true
*/
initiator?: boolean;
}

@@ -23,0 +34,0 @@ export interface ConnectionManager {

6

package.json
{
"name": "@libp2p/interface-internal",
"version": "2.2.2",
"version": "2.2.3-80ddad5bb",
"description": "Interfaces implemented by internal libp2p components",

@@ -51,4 +51,4 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interface": "^2.4.0",
"@libp2p/peer-collections": "^6.0.14",
"@libp2p/interface": "2.4.1-80ddad5bb",
"@libp2p/peer-collections": "6.0.15-80ddad5bb",
"@multiformats/multiaddr": "^12.3.3",

@@ -55,0 +55,0 @@ "progress-events": "^1.0.1",

@@ -23,2 +23,14 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface'

force?: boolean
/**
* By default a newly opened outgoing connection operates in initiator mode
* during negotiation of encryption/muxing protocols using multistream-select.
*
* In some cases such as when the dialer is trying to achieve TCP Simultaneous
* Connect using the DCUtR protocol, it may wish to act in responder mode, if
* so pass `false` here.
*
* @default true
*/
initiator?: boolean
}

@@ -25,0 +37,0 @@

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