@libp2p/interface 0.1.2-e664d14f → 0.1.2-e9099d40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -125,7 +125,7 @@ export interface Stream extends Duplex<AsyncGenerator<Uint8ArrayList>, Source<Ui
|
|
|
125
125
|
*/
|
|
126
126
|
timeline: StreamTimeline;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* The protocol negotiated for this stream
|
|
129
129
|
*/
|
|
130
130
|
protocol?: string;
|
|
131
131
|
/**
|
|
@@ -195,11 +195,11 @@ export interface Connection {
|
|
|
195
195
|
*/
|
|
196
196
|
timeline: ConnectionTimeline;
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* The multiplexer negotiated for this connection
|
|
199
199
|
*/
|
|
200
200
|
multiplexer?: string;
|
|
201
201
|
/**
|
|
202
|
-
*
|
|
202
|
+
* The encryption protocol negotiated for this connection
|
|
203
203
|
*/
|
|
204
204
|
encryption?: string;
|
|
205
205
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interface",
|
|
3
|
-
"version": "0.1.2-
|
|
3
|
+
"version": "0.1.2-e9099d40",
|
|
4
4
|
"description": "The interface implemented by a libp2p node",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface#readme",
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
"eslintConfig": {
|
|
141
141
|
"extends": "ipfs",
|
|
142
142
|
"parserOptions": {
|
|
143
|
+
"project": true,
|
|
143
144
|
"sourceType": "module"
|
|
144
145
|
}
|
|
145
146
|
},
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
"devDependencies": {
|
|
169
170
|
"@types/sinon": "^10.0.15",
|
|
170
171
|
"aegir": "^40.0.8",
|
|
171
|
-
"sinon": "^
|
|
172
|
+
"sinon": "^16.0.0",
|
|
172
173
|
"sinon-ts": "^1.0.0"
|
|
173
174
|
}
|
|
174
175
|
}
|
package/src/connection/index.ts
CHANGED
|
@@ -146,7 +146,7 @@ export interface Stream extends Duplex<AsyncGenerator<Uint8ArrayList>, Source<Ui
|
|
|
146
146
|
timeline: StreamTimeline
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
149
|
+
* The protocol negotiated for this stream
|
|
150
150
|
*/
|
|
151
151
|
protocol?: string
|
|
152
152
|
|
|
@@ -231,12 +231,12 @@ export interface Connection {
|
|
|
231
231
|
timeline: ConnectionTimeline
|
|
232
232
|
|
|
233
233
|
/**
|
|
234
|
-
*
|
|
234
|
+
* The multiplexer negotiated for this connection
|
|
235
235
|
*/
|
|
236
236
|
multiplexer?: string
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
|
-
*
|
|
239
|
+
* The encryption protocol negotiated for this connection
|
|
240
240
|
*/
|
|
241
241
|
encryption?: string
|
|
242
242
|
|