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

@libp2p/interface

Package Overview
Dependencies
Maintainers
6
Versions
674
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface - npm Package Compare versions

Comparing version

to
2.10.2-14dbebea8

2

dist/src/event-target.d.ts

@@ -22,3 +22,3 @@ export interface EventCallback<EventType> {

removeEventListener(type: string, listener?: EventHandler<Event>, options?: boolean | EventListenerOptions): void;
safeDispatchEvent<Detail>(type: keyof EventMap, detail: CustomEventInit<Detail>): boolean;
safeDispatchEvent<Detail>(type: keyof EventMap, detail?: CustomEventInit<Detail>): boolean;
}

@@ -25,0 +25,0 @@ /**

{
"name": "@libp2p/interface",
"version": "2.10.1",
"version": "2.10.2-14dbebea8",
"description": "The interface implemented by a libp2p node",

@@ -47,3 +47,3 @@ "license": "Apache-2.0 OR MIT",

"it-stream-types": "^2.0.2",
"multiformats": "^13.3.4",
"multiformats": "^13.3.6",
"progress-events": "^1.0.1",

@@ -53,3 +53,3 @@ "uint8arraylist": "^2.4.8"

"devDependencies": {
"aegir": "^47.0.6"
"aegir": "^47.0.14"
},

@@ -56,0 +56,0 @@ "browser": {

@@ -30,3 +30,3 @@ import { setMaxListeners } from './events.js'

safeDispatchEvent<Detail>(type: keyof EventMap, detail: CustomEventInit<Detail>): boolean
safeDispatchEvent<Detail>(type: keyof EventMap, detail?: CustomEventInit<Detail>): boolean
}

@@ -33,0 +33,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet