@libp2p/interface
Advanced tools
Comparing version
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
434030
-5.18%119
-0.83%8346
-2.59%1
Infinity%Updated