Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
6
Versions
549
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.0.2 to 2.0.3

8

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

@@ -8,3 +8,5 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface';

* Connection requests with a higher priority will be executed before those
* with a lower priority. (default: 50)
* with a lower priority.
*
* @default 50
*/

@@ -15,3 +17,5 @@ priority?: number;

* it will be returned instead of creating a new connection. Pass true here
* to override that and dial a new connection anyway. (default: false)
* to override that and dial a new connection anyway.
*
* @default false
*/

@@ -18,0 +22,0 @@ force?: boolean;

@@ -17,7 +17,11 @@ import type { Connection, Stream, Topology } from '@libp2p/interface';

/**
* How many incoming streams can be open for this protocol at the same time on each connection (default: 32)
* How many incoming streams can be open for this protocol at the same time on each connection
*
* @default 32
*/
maxInboundStreams?: number;
/**
* How many outgoing streams can be open for this protocol at the same time on each connection (default: 64)
* How many outgoing streams can be open for this protocol at the same time on each connection
*
* @default 64
*/

@@ -24,0 +28,0 @@ maxOutboundStreams?: number;

{
"name": "@libp2p/interface-internal",
"version": "2.0.2",
"version": "2.0.3",
"description": "Interfaces implemented by internal libp2p components",

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

"dependencies": {
"@libp2p/interface": "^2.1.0",
"@libp2p/peer-collections": "^6.0.2",
"@libp2p/interface": "^2.1.1",
"@libp2p/peer-collections": "^6.0.3",
"@multiformats/multiaddr": "^12.2.3",

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

@@ -9,3 +9,5 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface'

* Connection requests with a higher priority will be executed before those
* with a lower priority. (default: 50)
* with a lower priority.
*
* @default 50
*/

@@ -17,3 +19,5 @@ priority?: number

* it will be returned instead of creating a new connection. Pass true here
* to override that and dial a new connection anyway. (default: false)
* to override that and dial a new connection anyway.
*
* @default false
*/

@@ -20,0 +24,0 @@ force?: boolean

@@ -21,3 +21,5 @@ import type { Connection, Stream, Topology } from '@libp2p/interface'

/**
* How many incoming streams can be open for this protocol at the same time on each connection (default: 32)
* How many incoming streams can be open for this protocol at the same time on each connection
*
* @default 32
*/

@@ -27,3 +29,5 @@ maxInboundStreams?: number

/**
* How many outgoing streams can be open for this protocol at the same time on each connection (default: 64)
* How many outgoing streams can be open for this protocol at the same time on each connection
*
* @default 64
*/

@@ -30,0 +34,0 @@ maxOutboundStreams?: number

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