@dashevo/dapi-client 2.1.0-dev.8 → 2.1.0-rc.1

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.
@@ -56,7 +56,7 @@ class ReconnectableStream extends EventEmitter {
56
56
 
57
57
  const opts = { ...defaultOptions, ...options };
58
58
 
59
- this.logger = opts.logger || { debug: () => {} };
59
+ this.logger = opts.logger || { debug: () => { } };
60
60
 
61
61
  /**
62
62
  * Auto-reconnect interval in millisecond
@@ -298,6 +298,7 @@ class ReconnectableStream extends EventEmitter {
298
298
  cancel() {
299
299
  // eslint-disable-next-line no-unused-expressions
300
300
  this.logger.debug('[ReconnectableStream] Canceling streams');
301
+
301
302
  this.stopAutoReconnect();
302
303
  // Hack for browsers to properly unsubscribe from ERROR event.
303
304
  // (It will continue propagating despite of calling cancel)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-client",
3
- "version": "2.1.0-dev.8",
3
+ "version": "2.1.0-rc.1",
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": "2.1.0-dev.8",
30
- "@dashevo/dash-spv": "3.1.0-dev.8",
29
+ "@dashevo/dapi-grpc": "2.1.0-rc.1",
30
+ "@dashevo/dash-spv": "2.1.0-rc.1",
31
31
  "@dashevo/dashcore-lib": "~0.22.0",
32
- "@dashevo/grpc-common": "2.1.0-dev.8",
33
- "@dashevo/wasm-dpp": "2.1.0-dev.8",
32
+ "@dashevo/grpc-common": "2.1.0-rc.1",
33
+ "@dashevo/wasm-dpp": "2.1.0-rc.1",
34
34
  "bs58": "^4.0.1",
35
35
  "cbor": "^8.0.0",
36
36
  "google-protobuf": "^3.12.2",