@tchain/tcabci-read-js-client 2.5.0 → 2.5.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.
Files changed (2) hide show
  1. package/client.js +1 -6
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -48,7 +48,7 @@ export default class TCaBCIClient {
48
48
  _connected = false
49
49
  _chainName = 'transferchain'
50
50
  _chainVersion = 'v1'
51
- _version = 'v2.3.0'
51
+ _version = 'v2.5.1'
52
52
  /**
53
53
  * @type {?successCallback}
54
54
  */
@@ -112,11 +112,6 @@ export default class TCaBCIClient {
112
112
  req.headers = {
113
113
  Client: `tcabaci-read-js-client${this._version}`,
114
114
  }
115
-
116
- if (typeof AbortSignal !== 'undefined') {
117
- req.signal = AbortSignal.timeout(10000)
118
- }
119
-
120
115
  req.priority = 'high'
121
116
 
122
117
  return fetch(this._readNodeAddress + uri, req).then((response) =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tchain/tcabci-read-js-client",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "TransferChain Fastest Read Network WebSocket Client",
5
5
  "main": "client.js",
6
6
  "type": "module",