@taquito/rpc 20.1.0 → 20.1.2

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.
@@ -35,7 +35,7 @@ class RpcClientCache {
35
35
  * @param rpcClient rpcClient responsible of the interaction with Tezos network through an rpc node
36
36
  * @param ttl number representing the time to live (default 1000 milliseconds)
37
37
  *
38
- * @example new RpcClientCache(new RpcClient('https://mainnet.ecadinfra.com/'))
38
+ * @example new RpcClientCache(new RpcClient('https://mainnet.tezos.ecadinfra.com/'))
39
39
  */
40
40
  constructor(rpcClient, ttl = defaultTtl) {
41
41
  this.rpcClient = rpcClient;
@@ -68,7 +68,7 @@ class RpcClient {
68
68
  * @param httpBackend Http backend that issue http request.
69
69
  * You can override it by providing your own if you which to hook in the request/response
70
70
  *
71
- * @example new RpcClient('https://mainnet.ecadinfra.com/', 'main') this will use https://mainnet.ecadinfra.com//chains/main
71
+ * @example new RpcClient('https://mainnet.tezos.ecadinfra.com/', 'main') this will use https://mainnet.tezos.ecadinfra.com//chains/main
72
72
  */
73
73
  constructor(url, chain = rpc_client_interface_1.defaultChain, httpBackend = new http_utils_1.HttpBackend()) {
74
74
  this.url = url;
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5
5
  exports.VERSION = {
6
- "commitHash": "ccdb0db9569457dbbe7e5c0c2b7cb2003bb6155d",
7
- "version": "20.1.0"
6
+ "commitHash": "21e50691241b2bd3bddd9ef981b3285b6f3ce55f",
7
+ "version": "20.1.2"
8
8
  };
@@ -137,7 +137,7 @@ class RpcClientCache {
137
137
  * @param rpcClient rpcClient responsible of the interaction with Tezos network through an rpc node
138
138
  * @param ttl number representing the time to live (default 1000 milliseconds)
139
139
  *
140
- * @example new RpcClientCache(new RpcClient('https://mainnet.ecadinfra.com/'))
140
+ * @example new RpcClientCache(new RpcClient('https://mainnet.tezos.ecadinfra.com/'))
141
141
  */
142
142
  constructor(rpcClient, ttl = defaultTtl) {
143
143
  this.rpcClient = rpcClient;
@@ -1344,8 +1344,8 @@ var OpKind;
1344
1344
 
1345
1345
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
1346
1346
  const VERSION = {
1347
- "commitHash": "ccdb0db9569457dbbe7e5c0c2b7cb2003bb6155d",
1348
- "version": "20.1.0"
1347
+ "commitHash": "21e50691241b2bd3bddd9ef981b3285b6f3ce55f",
1348
+ "version": "20.1.2"
1349
1349
  };
1350
1350
 
1351
1351
  /***
@@ -1359,7 +1359,7 @@ class RpcClient {
1359
1359
  * @param httpBackend Http backend that issue http request.
1360
1360
  * You can override it by providing your own if you which to hook in the request/response
1361
1361
  *
1362
- * @example new RpcClient('https://mainnet.ecadinfra.com/', 'main') this will use https://mainnet.ecadinfra.com//chains/main
1362
+ * @example new RpcClient('https://mainnet.tezos.ecadinfra.com/', 'main') this will use https://mainnet.tezos.ecadinfra.com//chains/main
1363
1363
  */
1364
1364
  constructor(url, chain = defaultChain, httpBackend = new HttpBackend()) {
1365
1365
  this.url = url;
@@ -138,7 +138,7 @@
138
138
  * @param rpcClient rpcClient responsible of the interaction with Tezos network through an rpc node
139
139
  * @param ttl number representing the time to live (default 1000 milliseconds)
140
140
  *
141
- * @example new RpcClientCache(new RpcClient('https://mainnet.ecadinfra.com/'))
141
+ * @example new RpcClientCache(new RpcClient('https://mainnet.tezos.ecadinfra.com/'))
142
142
  */
143
143
  constructor(rpcClient, ttl = defaultTtl) {
144
144
  this.rpcClient = rpcClient;
@@ -1345,8 +1345,8 @@
1345
1345
 
1346
1346
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
1347
1347
  const VERSION = {
1348
- "commitHash": "ccdb0db9569457dbbe7e5c0c2b7cb2003bb6155d",
1349
- "version": "20.1.0"
1348
+ "commitHash": "21e50691241b2bd3bddd9ef981b3285b6f3ce55f",
1349
+ "version": "20.1.2"
1350
1350
  };
1351
1351
 
1352
1352
  /***
@@ -1360,7 +1360,7 @@
1360
1360
  * @param httpBackend Http backend that issue http request.
1361
1361
  * You can override it by providing your own if you which to hook in the request/response
1362
1362
  *
1363
- * @example new RpcClient('https://mainnet.ecadinfra.com/', 'main') this will use https://mainnet.ecadinfra.com//chains/main
1363
+ * @example new RpcClient('https://mainnet.tezos.ecadinfra.com/', 'main') this will use https://mainnet.tezos.ecadinfra.com//chains/main
1364
1364
  */
1365
1365
  constructor(url, chain = defaultChain, httpBackend = new httpUtils.HttpBackend()) {
1366
1366
  this.url = url;
@@ -19,7 +19,7 @@ export declare class RpcClientCache implements RpcClientInterface {
19
19
  * @param rpcClient rpcClient responsible of the interaction with Tezos network through an rpc node
20
20
  * @param ttl number representing the time to live (default 1000 milliseconds)
21
21
  *
22
- * @example new RpcClientCache(new RpcClient('https://mainnet.ecadinfra.com/'))
22
+ * @example new RpcClientCache(new RpcClient('https://mainnet.tezos.ecadinfra.com/'))
23
23
  */
24
24
  constructor(rpcClient: RpcClientInterface, ttl?: number);
25
25
  getAllCachedData(): CachedDataInterface;
@@ -26,7 +26,7 @@ export declare class RpcClient implements RpcClientInterface {
26
26
  * @param httpBackend Http backend that issue http request.
27
27
  * You can override it by providing your own if you which to hook in the request/response
28
28
  *
29
- * @example new RpcClient('https://mainnet.ecadinfra.com/', 'main') this will use https://mainnet.ecadinfra.com//chains/main
29
+ * @example new RpcClient('https://mainnet.tezos.ecadinfra.com/', 'main') this will use https://mainnet.tezos.ecadinfra.com//chains/main
30
30
  */
31
31
  constructor(url: string, chain?: string, httpBackend?: HttpBackend);
32
32
  protected createURL(path: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/rpc",
3
- "version": "20.1.0",
3
+ "version": "20.1.2",
4
4
  "description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node",
5
5
  "keywords": [
6
6
  "tezos",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "engines": {
27
- "node": ">=20"
27
+ "node": ">=18"
28
28
  },
29
29
  "scripts": {
30
30
  "test": "jest --coverage",
@@ -66,15 +66,15 @@
66
66
  ]
67
67
  },
68
68
  "dependencies": {
69
- "@taquito/core": "^20.1.0",
70
- "@taquito/http-utils": "^20.1.0",
71
- "@taquito/utils": "^20.1.0",
69
+ "@taquito/core": "^20.1.2",
70
+ "@taquito/http-utils": "^20.1.2",
71
+ "@taquito/utils": "^20.1.2",
72
72
  "bignumber.js": "^9.1.2"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/bluebird": "^3.5.42",
76
76
  "@types/jest": "^29.5.12",
77
- "@types/node": "^22",
77
+ "@types/node": "^18",
78
78
  "@typescript-eslint/eslint-plugin": "^6.21.0",
79
79
  "@typescript-eslint/parser": "^6.21.0",
80
80
  "colors": "^1.4.0",
@@ -98,5 +98,5 @@
98
98
  "ts-toolbelt": "^9.6.0",
99
99
  "typescript": "~5.5.4"
100
100
  },
101
- "gitHead": "47944c747c60b194ec18f0fa169741a2f7f07e01"
101
+ "gitHead": "27feea0339732501687a6ce132e1b8e8d969e0e3"
102
102
  }