@dedot/api 0.18.7 → 0.18.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.
@@ -678,7 +678,7 @@ class ChainHead extends JsonRpcGroup_js_1.JsonRpcGroup {
678
678
  let queryItems = items;
679
679
  while (queryItems.length > 0) {
680
680
  const [newBatch, newDiscardedItems] = await this.#getStorage(queryItems, childTrie ?? null, hash);
681
- results.push(...newBatch);
681
+ results = results.concat(newBatch);
682
682
  queryItems = newDiscardedItems;
683
683
  }
684
684
  }
@@ -675,7 +675,7 @@ export class ChainHead extends JsonRpcGroup {
675
675
  let queryItems = items;
676
676
  while (queryItems.length > 0) {
677
677
  const [newBatch, newDiscardedItems] = await this.#getStorage(queryItems, childTrie ?? null, hash);
678
- results.push(...newBatch);
678
+ results = results.concat(newBatch);
679
679
  queryItems = newDiscardedItems;
680
680
  }
681
681
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/api",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "description": "A delightful JavaScript/TypeScript client for Polkadot & Substrate",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -13,13 +13,13 @@
13
13
  "type": "module",
14
14
  "sideEffects": false,
15
15
  "dependencies": {
16
- "@dedot/codecs": "0.18.7",
17
- "@dedot/providers": "0.18.7",
18
- "@dedot/runtime-specs": "0.18.7",
19
- "@dedot/shape": "0.18.7",
20
- "@dedot/storage": "0.18.7",
21
- "@dedot/types": "0.18.7",
22
- "@dedot/utils": "0.18.7"
16
+ "@dedot/codecs": "0.18.8",
17
+ "@dedot/providers": "0.18.8",
18
+ "@dedot/runtime-specs": "0.18.8",
19
+ "@dedot/shape": "0.18.8",
20
+ "@dedot/storage": "0.18.8",
21
+ "@dedot/types": "0.18.8",
22
+ "@dedot/utils": "0.18.8"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsc --project tsconfig.build.json && tsc --project tsconfig.build.cjs.json",
@@ -48,7 +48,7 @@
48
48
  "node": ">=18"
49
49
  },
50
50
  "license": "Apache-2.0",
51
- "gitHead": "07f47f75512087407e03f301fc18c2059b3f613a",
51
+ "gitHead": "5f87f515d4ce4183038681dd02b20bb682a5fdce",
52
52
  "module": "./index.js",
53
53
  "types": "./index.d.ts"
54
54
  }