@polkadot/rpc-core 14.2.1 → 14.2.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.
- package/bundle.js +1 -2
- package/cjs/bundle.js +1 -2
- package/cjs/packageInfo.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
package/bundle.js
CHANGED
|
@@ -76,7 +76,7 @@ export class RpcCore {
|
|
|
76
76
|
const sectionNames = Object.keys(rpcDefinitions);
|
|
77
77
|
// these are the base keys (i.e. part of jsonrpc)
|
|
78
78
|
this.sections.push(...sectionNames);
|
|
79
|
-
this.__internal__storageCache = new LRUCache(DEFAULT_CAPACITY);
|
|
79
|
+
this.__internal__storageCache = new LRUCache(DEFAULT_CAPACITY * 10 * 10);
|
|
80
80
|
// decorate all interfaces, defined and user on this instance
|
|
81
81
|
this.addUserInterfaces(userRpc);
|
|
82
82
|
}
|
|
@@ -96,7 +96,6 @@ export class RpcCore {
|
|
|
96
96
|
* @description Manually disconnect from the attached provider
|
|
97
97
|
*/
|
|
98
98
|
async disconnect() {
|
|
99
|
-
await this.__internal__storageCache.clearInterval();
|
|
100
99
|
return this.provider.disconnect();
|
|
101
100
|
}
|
|
102
101
|
/**
|
package/cjs/bundle.js
CHANGED
|
@@ -81,7 +81,7 @@ class RpcCore {
|
|
|
81
81
|
const sectionNames = Object.keys(types_1.rpcDefinitions);
|
|
82
82
|
// these are the base keys (i.e. part of jsonrpc)
|
|
83
83
|
this.sections.push(...sectionNames);
|
|
84
|
-
this.__internal__storageCache = new rpc_provider_1.LRUCache(rpc_provider_1.DEFAULT_CAPACITY);
|
|
84
|
+
this.__internal__storageCache = new rpc_provider_1.LRUCache(rpc_provider_1.DEFAULT_CAPACITY * 10 * 10);
|
|
85
85
|
// decorate all interfaces, defined and user on this instance
|
|
86
86
|
this.addUserInterfaces(userRpc);
|
|
87
87
|
}
|
|
@@ -101,7 +101,6 @@ class RpcCore {
|
|
|
101
101
|
* @description Manually disconnect from the attached provider
|
|
102
102
|
*/
|
|
103
103
|
async disconnect() {
|
|
104
|
-
await this.__internal__storageCache.clearInterval();
|
|
105
104
|
return this.provider.disconnect();
|
|
106
105
|
}
|
|
107
106
|
/**
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/rpc-core', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.2.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/rpc-core', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.2.3' };
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "14.2.
|
|
21
|
+
"version": "14.2.3",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -199,9 +199,9 @@
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
"dependencies": {
|
|
202
|
-
"@polkadot/rpc-augment": "14.2.
|
|
203
|
-
"@polkadot/rpc-provider": "14.2.
|
|
204
|
-
"@polkadot/types": "14.2.
|
|
202
|
+
"@polkadot/rpc-augment": "14.2.3",
|
|
203
|
+
"@polkadot/rpc-provider": "14.2.3",
|
|
204
|
+
"@polkadot/types": "14.2.3",
|
|
205
205
|
"@polkadot/util": "^13.2.2",
|
|
206
206
|
"rxjs": "^7.8.1",
|
|
207
207
|
"tslib": "^2.8.0"
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/rpc-core', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.2.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/rpc-core', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.2.3' };
|