@polkadot/rpc-core 6.7.3-2 → 6.7.3-6

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 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-2",
23
+ "version": "6.7.3-6",
24
24
  "main": "index.js",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.0",
27
- "@polkadot/rpc-provider": "6.7.3-2",
28
- "@polkadot/types": "6.7.3-2",
27
+ "@polkadot/rpc-provider": "6.7.3-6",
28
+ "@polkadot/types": "6.7.3-6",
29
29
  "@polkadot/util": "^7.8.2",
30
30
  "rxjs": "^7.4.0"
31
31
  },
package/packageInfo.cjs CHANGED
@@ -9,6 +9,6 @@ exports.packageInfo = void 0;
9
9
  // Auto-generated by @polkadot/dev, do not edit
10
10
  const packageInfo = {
11
11
  name: '@polkadot/rpc-core',
12
- version: '6.7.3-2'
12
+ version: '6.7.3-6'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // Auto-generated by @polkadot/dev, do not edit
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/rpc-core',
6
- version: '6.7.3-2'
6
+ version: '6.7.3-6'
7
7
  };