@polkadot/rpc-core 6.7.3-3 → 6.7.3-7
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 +1 -1
- package/bundle.js +1 -1
- package/package.json +3 -3
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
package/bundle.cjs
CHANGED
|
@@ -257,7 +257,7 @@ class RpcCore {
|
|
|
257
257
|
|
|
258
258
|
const params = this._formatInputs(registry, null, def, values);
|
|
259
259
|
|
|
260
|
-
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()));
|
|
260
|
+
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()), !!blockHash);
|
|
261
261
|
return this._formatResult(isScale, registry, blockHash, method, def, params, result);
|
|
262
262
|
};
|
|
263
263
|
|
package/bundle.js
CHANGED
|
@@ -212,7 +212,7 @@ export class RpcCore {
|
|
|
212
212
|
|
|
213
213
|
const params = this._formatInputs(registry, null, def, values);
|
|
214
214
|
|
|
215
|
-
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()));
|
|
215
|
+
const result = await this.provider.send(rpcName, params.map(p => p.toJSON()), !!blockHash);
|
|
216
216
|
return this._formatResult(isScale, registry, blockHash, method, def, params, result);
|
|
217
217
|
};
|
|
218
218
|
|
package/package.json
CHANGED
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "6.7.3-
|
|
23
|
+
"version": "6.7.3-7",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.0",
|
|
27
|
-
"@polkadot/rpc-provider": "6.7.3-
|
|
28
|
-
"@polkadot/types": "6.7.3-
|
|
27
|
+
"@polkadot/rpc-provider": "6.7.3-7",
|
|
28
|
+
"@polkadot/types": "6.7.3-7",
|
|
29
29
|
"@polkadot/util": "^7.8.2",
|
|
30
30
|
"rxjs": "^7.4.0"
|
|
31
31
|
},
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED