🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@libp2p/interface-internal

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.15

import type { StreamHandler, StreamHandlerOptions, StreamHandlerRecord, Topology, IncomingStreamData } from '@libp2p/interface';
import type { AbortOptions } from '@multiformats/multiaddr';
export type {

@@ -53,3 +54,3 @@ /**

*/
unhandle(protocol: string): Promise<void>;
unhandle(protocol: string, options?: AbortOptions): Promise<void>;
/**

@@ -74,3 +75,3 @@ * Retrieve the registered handler for a given protocol.

*/
register(protocol: string, topology: Topology): Promise<string>;
register(protocol: string, topology: Topology, options?: AbortOptions): Promise<string>;
/**

@@ -77,0 +78,0 @@ * Unregister a topology handler using its unique ID.

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

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

"dependencies": {
"@libp2p/interface": "^2.10.2",
"@libp2p/peer-collections": "^6.0.30",
"@libp2p/interface": "^2.10.3",
"@libp2p/peer-collections": "^6.0.31",
"@multiformats/multiaddr": "^12.4.0",

@@ -51,5 +51,5 @@ "progress-events": "^1.0.1"

"devDependencies": {
"aegir": "^47.0.6"
"aegir": "^47.0.14"
},
"sideEffects": false
}
import type { StreamHandler, StreamHandlerOptions, StreamHandlerRecord, Topology, IncomingStreamData } from '@libp2p/interface'
import type { AbortOptions } from '@multiformats/multiaddr'

@@ -61,3 +62,3 @@ export type {

*/
unhandle(protocol: string): Promise<void>
unhandle(protocol: string, options?: AbortOptions): Promise<void>

@@ -84,3 +85,3 @@ /**

*/
register(protocol: string, topology: Topology): Promise<string>
register(protocol: string, topology: Topology, options?: AbortOptions): Promise<string>

@@ -87,0 +88,0 @@ /**

Sorry, the diff of this file is not supported yet