@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-7eed3b40d", | ||
"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-7eed3b40d", | ||
"@libp2p/peer-collections": "6.0.32-7eed3b40d", | ||
"@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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
991
0.1%48911
-1.26%34
-2.86%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed