@acala-network/chopsticks 1.0.0 → 1.0.1
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.
|
@@ -120,7 +120,8 @@ const fetchStorages = async ({ block, endpoint, dbPath, config })=>{
|
|
|
120
120
|
if (!endpoint) throw new Error('endpoint is required');
|
|
121
121
|
const provider = new _rpcprovider.WsProvider(endpoint, 3_000);
|
|
122
122
|
const apiPromise = new _api.ApiPromise({
|
|
123
|
-
provider
|
|
123
|
+
provider,
|
|
124
|
+
noInitWarn: true
|
|
124
125
|
});
|
|
125
126
|
await apiPromise.isReady;
|
|
126
127
|
let blockHash;
|
|
@@ -95,7 +95,8 @@ const checkPalletStorageByName = (meta, palletName, storageName)=>{
|
|
|
95
95
|
if (!endpoint) throw new Error('endpoint is required');
|
|
96
96
|
const provider = new WsProvider(endpoint, 3_000);
|
|
97
97
|
const apiPromise = new ApiPromise({
|
|
98
|
-
provider
|
|
98
|
+
provider,
|
|
99
|
+
noInitWarn: true
|
|
99
100
|
});
|
|
100
101
|
await apiPromise.isReady;
|
|
101
102
|
let blockHash;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acala-network/chopsticks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "Acala Developers <hello@acala.network>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": "./chopsticks.cjs",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"depcheck": "npx depcheck --ignore-patterns='*.test.ts'"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@acala-network/chopsticks-core": "1.0.
|
|
16
|
-
"@acala-network/chopsticks-db": "1.0.
|
|
15
|
+
"@acala-network/chopsticks-core": "1.0.1",
|
|
16
|
+
"@acala-network/chopsticks-db": "1.0.1",
|
|
17
17
|
"@pnpm/npm-conf": "^2.3.1",
|
|
18
18
|
"@polkadot/api": "^14.0.1",
|
|
19
19
|
"@polkadot/api-augment": "^14.0.1",
|