@polkadot/rpc-core 7.2.2-4 → 7.2.2-8
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/detectOther.cjs +2 -2
- package/detectOther.js +2 -2
- package/package.json +12 -8
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +2 -2
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/detectOther.cjs
CHANGED
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
var _packageInfo = require("@polkadot/rpc-provider/packageInfo");
|
|
8
|
+
var _packageInfo = require("@polkadot/rpc-provider/packageInfo.cjs");
|
|
9
9
|
|
|
10
|
-
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
10
|
+
var _packageInfo2 = require("@polkadot/types/packageInfo.cjs");
|
|
11
11
|
|
|
12
12
|
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
13
13
|
// SPDX-License-Identifier: Apache-2.0
|
package/detectOther.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Copyright 2017-2022 @polkadot/rpc-core authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo';
|
|
4
|
-
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
3
|
+
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo.js';
|
|
4
|
+
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo.js';
|
|
5
5
|
export default [providerInfo, typesInfo];
|
package/package.json
CHANGED
|
@@ -20,20 +20,22 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.2.2-
|
|
24
|
-
"main": "index.
|
|
23
|
+
"version": "7.2.2-8",
|
|
24
|
+
"main": "index.cjs",
|
|
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-
|
|
30
|
-
"@polkadot/util": "^8.2.
|
|
27
|
+
"@polkadot/rpc-augment": "7.2.2-8",
|
|
28
|
+
"@polkadot/rpc-provider": "7.2.2-8",
|
|
29
|
+
"@polkadot/types": "7.2.2-8",
|
|
30
|
+
"@polkadot/util": "^8.2.3-29",
|
|
31
31
|
"rxjs": "^7.5.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@polkadot/keyring": "^8.2.
|
|
35
|
-
"@polkadot/rpc-augment": "7.2.2-
|
|
34
|
+
"@polkadot/keyring": "^8.2.3-29",
|
|
35
|
+
"@polkadot/rpc-augment": "7.2.2-8"
|
|
36
36
|
},
|
|
37
|
+
"module": "index.js",
|
|
38
|
+
"types": "index.d.ts",
|
|
37
39
|
"exports": {
|
|
38
40
|
".": {
|
|
39
41
|
"types": "./index.d.ts",
|
|
@@ -56,6 +58,8 @@
|
|
|
56
58
|
"default": "./detectPackage.js"
|
|
57
59
|
},
|
|
58
60
|
"./package.json": "./package.json",
|
|
61
|
+
"./packageInfo.cjs": "./packageInfo.cjs",
|
|
62
|
+
"./packageInfo.js": "./packageInfo.js",
|
|
59
63
|
"./packageInfo": {
|
|
60
64
|
"types": "./packageInfo.d.ts",
|
|
61
65
|
"require": "./packageInfo.cjs",
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
export const packageInfo = {
|
|
5
5
|
name: '@polkadot/rpc-core',
|
|
6
|
-
path:
|
|
6
|
+
path: new URL('.', import.meta.url).pathname,
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '7.2.2-
|
|
8
|
+
version: '7.2.2-8'
|
|
9
9
|
};
|