@dashevo/dapi-client 3.1.0-dev.1 → 3.1.0-dev.3
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.
|
@@ -214,7 +214,7 @@ class ReconnectableStream extends EventEmitter {
|
|
|
214
214
|
this.logger.debug(`[ReconnectableStream] Error in stream, code ${e.code}, e:`, e);
|
|
215
215
|
|
|
216
216
|
// In case of cancellation nothing has to happen.
|
|
217
|
-
// Do not retry UNKNOWN error code -
|
|
217
|
+
// Do not retry UNKNOWN error code - HACK for grpc-web that ignores following error that happens
|
|
218
218
|
// in a while after stream cancellation
|
|
219
219
|
// Error message:
|
|
220
220
|
// "Response closed without grpc-status (Headers only) {
|
|
@@ -285,7 +285,7 @@ class ReconnectableStream extends EventEmitter {
|
|
|
285
285
|
this.clearTimeout(this.reconnectTimeout);
|
|
286
286
|
this.reconnectTimeout = null;
|
|
287
287
|
// eslint-disable-next-line no-unused-expressions
|
|
288
|
-
this.logger.debug('[ReconnectableStream]
|
|
288
|
+
this.logger.debug('[ReconnectableStream] Stopped auto reconnect');
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-client",
|
|
3
|
-
"version": "3.1.0-dev.
|
|
3
|
+
"version": "3.1.0-dev.3",
|
|
4
4
|
"description": "Client library used to access Dash DAPI endpoints",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"contributors": [
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dashevo/dapi-grpc": "3.1.0-dev.
|
|
30
|
-
"@dashevo/dash-spv": "4.1.0-dev.
|
|
29
|
+
"@dashevo/dapi-grpc": "3.1.0-dev.3",
|
|
30
|
+
"@dashevo/dash-spv": "4.1.0-dev.3",
|
|
31
31
|
"@dashevo/dashcore-lib": "~0.22.0",
|
|
32
|
-
"@dashevo/grpc-common": "3.1.0-dev.
|
|
33
|
-
"@dashevo/wasm-dpp": "3.1.0-dev.
|
|
32
|
+
"@dashevo/grpc-common": "3.1.0-dev.3",
|
|
33
|
+
"@dashevo/wasm-dpp": "3.1.0-dev.3",
|
|
34
34
|
"bs58": "^4.0.1",
|
|
35
35
|
"cbor": "^8.0.0",
|
|
36
36
|
"google-protobuf": "^3.12.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"path-browserify": "^1.0.1",
|
|
68
68
|
"process": "^0.11.10",
|
|
69
69
|
"setimmediate": "^1.0.5",
|
|
70
|
-
"sinon": "^
|
|
70
|
+
"sinon": "^18.0.1",
|
|
71
71
|
"sinon-chai": "^3.7.0",
|
|
72
72
|
"stream-browserify": "^3.0.0",
|
|
73
73
|
"string_decoder": "^1.3.0",
|