@polkadot/rpc-core 7.2.2-4 → 7.2.2-5
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.cjs +2 -1
- package/bundle.js +2 -1
- package/package.json +5 -5
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
package/bundle.cjs
CHANGED
|
@@ -255,7 +255,8 @@ class RpcCore {
|
|
|
255
255
|
registry: (0, _classPrivateFieldLooseBase2.default)(this, _registryDefault)[_registryDefault]
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
const params = this._formatInputs(registry, null, def, values);
|
|
258
|
+
const params = this._formatInputs(registry, null, def, values); // only cache .at(<blockHash>) queries, e.g. where valid blockHash was supplied
|
|
259
|
+
|
|
259
260
|
|
|
260
261
|
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()), !!blockHash);
|
|
261
262
|
return this._formatResult(isScale, registry, blockHash, method, def, params, result);
|
package/bundle.js
CHANGED
|
@@ -210,7 +210,8 @@ export class RpcCore {
|
|
|
210
210
|
registry: _classPrivateFieldLooseBase(this, _registryDefault)[_registryDefault]
|
|
211
211
|
};
|
|
212
212
|
|
|
213
|
-
const params = this._formatInputs(registry, null, def, values);
|
|
213
|
+
const params = this._formatInputs(registry, null, def, values); // only cache .at(<blockHash>) queries, e.g. where valid blockHash was supplied
|
|
214
|
+
|
|
214
215
|
|
|
215
216
|
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()), !!blockHash);
|
|
216
217
|
return this._formatResult(isScale, registry, blockHash, method, def, params, result);
|
package/package.json
CHANGED
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.2.2-
|
|
23
|
+
"version": "7.2.2-5",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.7",
|
|
27
|
-
"@polkadot/rpc-augment": "7.2.2-
|
|
28
|
-
"@polkadot/rpc-provider": "7.2.2-
|
|
29
|
-
"@polkadot/types": "7.2.2-
|
|
27
|
+
"@polkadot/rpc-augment": "7.2.2-5",
|
|
28
|
+
"@polkadot/rpc-provider": "7.2.2-5",
|
|
29
|
+
"@polkadot/types": "7.2.2-5",
|
|
30
30
|
"@polkadot/util": "^8.2.2",
|
|
31
31
|
"rxjs": "^7.5.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@polkadot/keyring": "^8.2.2",
|
|
35
|
-
"@polkadot/rpc-augment": "7.2.2-
|
|
35
|
+
"@polkadot/rpc-augment": "7.2.2-5"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED