@libp2p/interface-internal
Advanced tools
Comparing version
@@ -63,2 +63,8 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface'; | ||
/** | ||
* Update the maximum number of connections that are accepted - setting this | ||
* to a smaller value than the current setting will cause connections to be | ||
* pruned. | ||
*/ | ||
setMaxConnections(maxConnections: number): void; | ||
/** | ||
* Open a connection to a remote peer | ||
@@ -65,0 +71,0 @@ * |
{ | ||
"name": "@libp2p/interface-internal", | ||
"version": "2.3.15", | ||
"version": "2.3.16", | ||
"description": "Interfaces implemented by internal libp2p components", | ||
@@ -44,5 +44,5 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "^2.10.3", | ||
"@libp2p/peer-collections": "^6.0.31", | ||
"@multiformats/multiaddr": "^12.4.0", | ||
"@libp2p/interface": "^2.10.4", | ||
"@libp2p/peer-collections": "^6.0.32", | ||
"@multiformats/multiaddr": "^12.4.4", | ||
"progress-events": "^1.0.1" | ||
@@ -49,0 +49,0 @@ }, |
@@ -70,2 +70,9 @@ import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface' | ||
/** | ||
* Update the maximum number of connections that are accepted - setting this | ||
* to a smaller value than the current setting will cause connections to be | ||
* pruned. | ||
*/ | ||
setMaxConnections(maxConnections: number): void | ||
/** | ||
* Open a connection to a remote peer | ||
@@ -72,0 +79,0 @@ * |
Sorry, the diff of this file is not supported yet
50074
1.09%1002
1.21%