@libp2p/utils 5.2.7-4fc0a7d30 → 5.2.7-a2b41f793
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.
|
@@ -32,11 +32,11 @@ export interface AbstractStreamInit {
|
|
|
32
32
|
*/
|
|
33
33
|
onCloseWrite?(): void;
|
|
34
34
|
/**
|
|
35
|
-
* Invoked when the
|
|
35
|
+
* Invoked when the stream has been reset by the remote
|
|
36
36
|
*/
|
|
37
37
|
onReset?(): void;
|
|
38
38
|
/**
|
|
39
|
-
* Invoked when the
|
|
39
|
+
* Invoked when the stream has errored
|
|
40
40
|
*/
|
|
41
41
|
onAbort?(err: Error): void;
|
|
42
42
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/utils",
|
|
3
|
-
"version": "5.2.7-
|
|
3
|
+
"version": "5.2.7-a2b41f793",
|
|
4
4
|
"description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/utils#readme",
|
|
@@ -128,25 +128,25 @@
|
|
|
128
128
|
},
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"@chainsafe/is-ip": "^2.0.2",
|
|
131
|
-
"@libp2p/interface": "1.1.5-
|
|
132
|
-
"@libp2p/logger": "4.0.8-
|
|
133
|
-
"@multiformats/multiaddr": "^12.1
|
|
134
|
-
"@multiformats/multiaddr-matcher": "^1.
|
|
131
|
+
"@libp2p/interface": "1.1.5-a2b41f793",
|
|
132
|
+
"@libp2p/logger": "4.0.8-a2b41f793",
|
|
133
|
+
"@multiformats/multiaddr": "^12.2.1",
|
|
134
|
+
"@multiformats/multiaddr-matcher": "^1.2.0",
|
|
135
135
|
"delay": "^6.0.0",
|
|
136
136
|
"get-iterator": "^2.0.1",
|
|
137
137
|
"is-loopback-addr": "^2.0.2",
|
|
138
138
|
"it-pushable": "^3.2.3",
|
|
139
139
|
"it-stream-types": "^2.0.1",
|
|
140
140
|
"netmask": "^2.0.2",
|
|
141
|
-
"p-defer": "^4.0.
|
|
141
|
+
"p-defer": "^4.0.1",
|
|
142
142
|
"race-event": "^1.2.0",
|
|
143
143
|
"race-signal": "^1.0.2",
|
|
144
144
|
"uint8arraylist": "^2.4.8"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@libp2p/peer-id-factory": "4.0.8-
|
|
147
|
+
"@libp2p/peer-id-factory": "4.0.8-a2b41f793",
|
|
148
148
|
"@types/netmask": "^2.0.5",
|
|
149
|
-
"aegir": "^42.2.
|
|
149
|
+
"aegir": "^42.2.5",
|
|
150
150
|
"delay": "^6.0.0",
|
|
151
151
|
"it-all": "^3.0.4",
|
|
152
152
|
"it-drain": "^3.0.5",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"it-pipe": "^3.0.1",
|
|
155
155
|
"sinon": "^17.0.1",
|
|
156
156
|
"sinon-ts": "^2.0.0",
|
|
157
|
-
"uint8arrays": "^5.0.
|
|
157
|
+
"uint8arrays": "^5.0.3"
|
|
158
158
|
},
|
|
159
159
|
"sideEffects": false
|
|
160
160
|
}
|
package/src/abstract-stream.ts
CHANGED
|
@@ -50,12 +50,12 @@ export interface AbstractStreamInit {
|
|
|
50
50
|
onCloseWrite?(): void
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Invoked when the
|
|
53
|
+
* Invoked when the stream has been reset by the remote
|
|
54
54
|
*/
|
|
55
55
|
onReset?(): void
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Invoked when the
|
|
58
|
+
* Invoked when the stream has errored
|
|
59
59
|
*/
|
|
60
60
|
onAbort?(err: Error): void
|
|
61
61
|
|