@libp2p/interface
Advanced tools
Comparing version 0.1.1 to 0.1.2-87165551
@@ -221,10 +221,2 @@ import type { AbortOptions } from '../index.js'; | ||
/** | ||
* Add a stream to this connection | ||
*/ | ||
addStream: (stream: Stream) => void; | ||
/** | ||
* Remove a stream from this connection | ||
*/ | ||
removeStream: (id: string) => void; | ||
/** | ||
* Gracefully close the connection. All queued data will be written to the | ||
@@ -231,0 +223,0 @@ * underlying transport. |
{ | ||
"name": "@libp2p/interface", | ||
"version": "0.1.1", | ||
"version": "0.1.2-87165551", | ||
"description": "The interface implemented by a libp2p node", | ||
@@ -160,3 +160,3 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@multiformats/multiaddr": "^12.1.3", | ||
"@multiformats/multiaddr": "^12.1.5", | ||
"abortable-iterator": "^5.0.1", | ||
@@ -171,3 +171,3 @@ "it-pushable": "^3.2.0", | ||
"@types/sinon": "^10.0.15", | ||
"aegir": "^40.0.1", | ||
"aegir": "^40.0.8", | ||
"sinon": "^15.1.2", | ||
@@ -174,0 +174,0 @@ "sinon-ts": "^1.0.0" |
@@ -262,12 +262,2 @@ import type { AbortOptions } from '../index.js' | ||
/** | ||
* Add a stream to this connection | ||
*/ | ||
addStream: (stream: Stream) => void | ||
/** | ||
* Remove a stream from this connection | ||
*/ | ||
removeStream: (id: string) => void | ||
/** | ||
* Gracefully close the connection. All queued data will be written to the | ||
@@ -274,0 +264,0 @@ * underlying transport. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3
253703
129
6091
8
45
294