@dedot/api 0.16.0 → 0.16.1-next.fa430c5d.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.
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export * from './types.js';
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,2 +1 @@
1
- // Generated by dedot cli
2
1
  export {};
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // Generated by dedot cli
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Known signed extensions that require external input.
4
- *
5
- * Note: Extensions that don't require external input are automatically handled by FallbackSignedExtension:
6
- * - CheckNonZeroSender
7
- * - CheckWeight
8
- * - PrevalidateAttests
9
- * - StorageWeightReclaim
10
- *
11
- * These extensions have empty struct or tuple types and don't need explicit implementation.
12
- */
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.knownSignedExtensions = void 0;
15
4
  const ChargeAssetTxPayment_js_1 = require("./ChargeAssetTxPayment.js");
@@ -249,7 +249,8 @@ class ChainHead extends JsonRpcGroup_js_1.JsonRpcGroup {
249
249
  delete this.#pinnedBlocks[hash];
250
250
  // Clear cache entries related to the pruned block
251
251
  // Filter and remove only cache entries for this specific block
252
- this.#cache.keys()
252
+ this.#cache
253
+ .keys()
253
254
  .filter((key) => key.startsWith(`${hash}::`))
254
255
  .forEach((key) => this.#cache.delete(key));
255
256
  });
@@ -1,14 +1,3 @@
1
- /**
2
- * Known signed extensions that require external input.
3
- *
4
- * Note: Extensions that don't require external input are automatically handled by FallbackSignedExtension:
5
- * - CheckNonZeroSender
6
- * - CheckWeight
7
- * - PrevalidateAttests
8
- * - StorageWeightReclaim
9
- *
10
- * These extensions have empty struct or tuple types and don't need explicit implementation.
11
- */
12
1
  import { ChargeAssetTxPayment } from './ChargeAssetTxPayment.js';
13
2
  import { ChargeTransactionPayment } from './ChargeTransactionPayment.js';
14
3
  import { CheckGenesis } from './CheckGenesis.js';
@@ -246,7 +246,8 @@ export class ChainHead extends JsonRpcGroup {
246
246
  delete this.#pinnedBlocks[hash];
247
247
  // Clear cache entries related to the pruned block
248
248
  // Filter and remove only cache entries for this specific block
249
- this.#cache.keys()
249
+ this.#cache
250
+ .keys()
250
251
  .filter((key) => key.startsWith(`${hash}::`))
251
252
  .forEach((key) => this.#cache.delete(key));
252
253
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/api",
3
- "version": "0.16.0",
3
+ "version": "0.16.1-next.fa430c5d.7+fa430c5d",
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.16.0",
17
- "@dedot/providers": "0.16.0",
18
- "@dedot/runtime-specs": "0.16.0",
19
- "@dedot/shape": "0.16.0",
20
- "@dedot/storage": "0.16.0",
21
- "@dedot/types": "0.16.0",
22
- "@dedot/utils": "0.16.0"
16
+ "@dedot/codecs": "0.16.1-next.fa430c5d.7+fa430c5d",
17
+ "@dedot/providers": "0.16.1-next.fa430c5d.7+fa430c5d",
18
+ "@dedot/runtime-specs": "0.16.1-next.fa430c5d.7+fa430c5d",
19
+ "@dedot/shape": "0.16.1-next.fa430c5d.7+fa430c5d",
20
+ "@dedot/storage": "0.16.1-next.fa430c5d.7+fa430c5d",
21
+ "@dedot/types": "0.16.1-next.fa430c5d.7+fa430c5d",
22
+ "@dedot/utils": "0.16.1-next.fa430c5d.7+fa430c5d"
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": "3e78a8eebb8977de0c5fb956154e5b09c4448f31",
51
+ "gitHead": "fa430c5d862bc45ec959cb5272619515172ab54b",
52
52
  "module": "./index.js",
53
53
  "types": "./index.d.ts"
54
54
  }