🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
6
Versions
707
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

to
2.3.16

6

dist/src/connection-manager.d.ts

@@ -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 @@ *

8

package.json
{
"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