@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.
- package/chaintypes/substrate/consts.js +0 -1
- package/chaintypes/substrate/errors.js +0 -1
- package/chaintypes/substrate/events.js +0 -1
- package/chaintypes/substrate/index.js +0 -1
- package/chaintypes/substrate/json-rpc.js +0 -1
- package/chaintypes/substrate/query.js +0 -1
- package/chaintypes/substrate/runtime.js +0 -1
- package/chaintypes/substrate/tx.js +0 -1
- package/chaintypes/substrate/types.js +0 -1
- package/chaintypes/substrate/view-functions.js +0 -1
- package/cjs/chaintypes/substrate/consts.js +0 -1
- package/cjs/chaintypes/substrate/errors.js +0 -1
- package/cjs/chaintypes/substrate/events.js +0 -1
- package/cjs/chaintypes/substrate/index.js +0 -1
- package/cjs/chaintypes/substrate/json-rpc.js +0 -1
- package/cjs/chaintypes/substrate/query.js +0 -1
- package/cjs/chaintypes/substrate/runtime.js +0 -1
- package/cjs/chaintypes/substrate/tx.js +0 -1
- package/cjs/chaintypes/substrate/types.js +0 -1
- package/cjs/chaintypes/substrate/view-functions.js +0 -1
- package/cjs/extrinsic/extensions/known/index.js +0 -11
- package/cjs/json-rpc/group/ChainHead/ChainHead.js +2 -1
- package/extrinsic/extensions/known/index.js +0 -11
- package/json-rpc/group/ChainHead/ChainHead.js +2 -1
- package/package.json +9 -9
|
@@ -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
|
|
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
|
|
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.
|
|
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.
|
|
17
|
-
"@dedot/providers": "0.16.
|
|
18
|
-
"@dedot/runtime-specs": "0.16.
|
|
19
|
-
"@dedot/shape": "0.16.
|
|
20
|
-
"@dedot/storage": "0.16.
|
|
21
|
-
"@dedot/types": "0.16.
|
|
22
|
-
"@dedot/utils": "0.16.
|
|
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": "
|
|
51
|
+
"gitHead": "fa430c5d862bc45ec959cb5272619515172ab54b",
|
|
52
52
|
"module": "./index.js",
|
|
53
53
|
"types": "./index.d.ts"
|
|
54
54
|
}
|