Compare commits

...
14 Commits
Author SHA1 Message Date
github-actions[bot] 8fe02a1434 [CI Skip] release/stable 10.3.2
skip-checks: true
2023-04-10 05:21:37 +00:00
Jaco ac25d0704d 10.3.2 (#5589) 2023-04-10 08:13:16 +03:00
github-actions[bot] 82d0bfc51b [CI Skip] release/stable 10.3.1
skip-checks: true
2023-04-09 09:43:26 +00:00
Jaco 8e514ad511 10.3.1 (#5587) 2023-04-09 12:34:29 +03:00
github-actions[bot] abb45e5fcf [CI Skip] bump/beta 10.2.3-4-x
skip-checks: true
2023-04-09 08:55:04 +00:00
Jaco 71273dbce3 Bump metadata (#5586)
* Bump metadata

* TransactionPaymentApi/4
2023-04-09 11:46:12 +03:00
github-actions[bot] 3d5b69d6e6 [CI Skip] bump/beta 10.2.3-3-x
skip-checks: true
2023-04-07 06:33:03 +00:00
Jaco d51ddc70f9 Add BitVec.toBoolArray() helper function (#5585) 2023-04-07 09:24:11 +03:00
github-actions[bot] 9052f16e0f [CI Skip] bump/beta 10.2.3-2-x
skip-checks: true
2023-04-05 07:30:36 +00:00
Jaco dd19d17b60 Bump deps (#5580) 2023-04-05 10:22:04 +03:00
github-actions[bot] 58ba63069a [CI Skip] bump/beta 10.2.3-1-x
skip-checks: true
2023-04-04 05:38:08 +00:00
Jaco 6206569e5b Update lock wf (#5576) 2023-04-04 08:29:13 +03:00
github-actions[bot] c3bb18fbaf [CI Skip] bump/beta 10.2.3-0-x
skip-checks: true
2023-04-02 07:02:38 +00:00
Jaco 186cfc93b5 Move type-only imports (w/ verbatimModuleSyntax) (#5574) 2023-04-02 09:53:37 +03:00
95 changed files with 10543 additions and 6680 deletions
+4 -4
View File
@@ -13,13 +13,13 @@ jobs:
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
with:
github-token: ${{ secrets.GH_PAT_BOT }}
issue-lock-inactive-days: '7'
issue-lock-comment: >
issue-inactive-days: '7'
issue-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue
if you think you have a related problem or query.
pr-lock-inactive-days: '2'
pr-lock-comment: >
pr-inactive-days: '2'
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
+17
View File
@@ -1,5 +1,22 @@
# CHANGELOG
## 10.3.2 Apr 10, 2023
Changes:
- Revert throw on MSB BitVec (`toHuman()` output is still incorrect)
## 10.3.1 Apr 9, 2023
Changes:
- Add `BitVec.toBoolArray()` helper function
- Tie down `BitVec` from metadata to only allow (default) Lsb
- Support for `TransactionPaymentApi/4`
- Update to latest Polkadot, Kusama & Substrate metadata
## 10.2.2 Apr 1, 2023
Contributed:
+1 -1
View File
@@ -1,4 +1,4 @@
3422 Jaco 10.2.2 (#5573)
3429 Jaco 10.3.2 (#5589)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
+6 -6
View File
@@ -14,17 +14,17 @@
},
"sideEffects": false,
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"versions": {
"git": "10.2.2",
"npm": "10.2.2"
"git": "10.3.2",
"npm": "10.3.2"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn build:interfaces && polkadot-dev-build-ts",
"build:before": "(cd packages/typegen && polkadot-dev-copy-dir scripts build/scripts)",
"build:before": "polkadot-dev-copy-dir --cd packages/typegen scripts build",
"build:interfaces": "node --loader @polkadot/dev-ts packages/typegen/scripts/polkadot-types-internal-interfaces.mjs",
"build:metadata": "yarn build:interfaces && polkadot-dev-run-test packages/types/src/metadata/v14",
"build:release": "polkadot-ci-ghact-build",
@@ -40,11 +40,11 @@
"test:one": "polkadot-dev-run-test --env node"
},
"devDependencies": {
"@polkadot/dev": "^0.72.29",
"@polkadot/dev": "^0.72.39",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^18.15.11"
},
"resolutions": {
"typescript": "^5.0.3"
"typescript": "^5.0.4"
}
}
+6 -6
View File
@@ -18,14 +18,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "10.2.2",
"@polkadot/rpc-augment": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-augment": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/api-base": "10.3.2",
"@polkadot/rpc-augment": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-augment": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/util": "^11.1.3",
"tslib": "^2.5.0"
}
@@ -700,6 +700,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
@@ -914,9 +914,6 @@ declare module '@polkadot/api-base/types/errors' {
* The portion supplied is beyond the value of the receipt.
**/
PortionTooBig: AugmentedError<ApiType>;
Release1: AugmentedError<ApiType>;
Release2: AugmentedError<ApiType>;
Tah: AugmentedError<ApiType>;
/**
* The thaw throttle has been reached for this period.
**/
+1 -1
View File
@@ -369,7 +369,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.3.2' };
@@ -660,6 +660,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
+1 -1
View File
@@ -369,7 +369,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
-54
View File
@@ -903,33 +903,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -3411,33 +3384,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -998,6 +998,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
@@ -1465,9 +1465,6 @@ declare module '@polkadot/api-base/types/errors' {
* The portion supplied is beyond the value of the receipt.
**/
PortionTooBig: AugmentedError<ApiType>;
Release1: AugmentedError<ApiType>;
Release2: AugmentedError<ApiType>;
Tah: AugmentedError<ApiType>;
/**
* The thaw throttle has been reached for this period.
**/
@@ -324,7 +324,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
-87
View File
@@ -39,12 +39,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Must be called by a Fellow.
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved, or whose voting period has ended.
*
* Must be called by a Fellow.
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disband the Alliance, remove all active members and unreserve deposits.
*
@@ -145,33 +139,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -1506,33 +1473,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -5139,33 +5079,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
+3 -3
View File
@@ -18,11 +18,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/rpc-core": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/util": "^11.1.3",
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.3.2' };
+1 -2
View File
@@ -3,8 +3,7 @@
import type { Observable } from 'rxjs';
import type { AnyFunction, AnyJson, Callback, DefinitionRpc } from '@polkadot/types/types';
import { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base.js';
import type { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base.js';
export type { AugmentedRpc } from '@polkadot/rpc-core/types';
+6 -6
View File
@@ -18,20 +18,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-create": "10.2.2",
"@polkadot/api": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/types-create": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api-augment": "10.2.2",
"@polkadot/api-augment": "10.3.2",
"@polkadot/keyring": "^11.1.3"
}
}
+5 -2
View File
@@ -93,10 +93,13 @@ describe('Abi', (): void => {
const abi = new Abi(abiJson);
const registryJson = stringifyJson(abi.registry);
const cmpFile = path.join(cmpPath, `${abiName}.test.json`);
const cmpText = fs.readFileSync(cmpFile, 'utf-8');
try {
expect(JSON.parse(registryJson)).toEqual(JSON.parse(cmpText));
expect(
JSON.parse(registryJson)
).toEqual(
JSON.parse(fs.readFileSync(cmpFile, 'utf-8'))
);
} catch (error) {
if (process.env.GITHUB_REPOSITORY) {
console.error(registryJson);
@@ -5,9 +5,11 @@
import '@polkadot/api-augment';
import type { TestKeyringMap } from '@polkadot/keyring/testingPairs';
import { ApiPromise } from '@polkadot/api';
import { BlueprintPromise, ContractPromise } from '@polkadot/api-contract';
import { createTestPairs, TestKeyringMap } from '@polkadot/keyring/testingPairs';
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import abiIncrementer from './test/contracts/ink/v0/incrementer.json' assert { type: 'json' };
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.3.2' };
File diff suppressed because it is too large Load Diff
@@ -4,5 +4,6 @@
import { createVersionedExport } from '../util.js';
import * as v0 from './v0/index.js';
import * as v3 from './v3/index.js';
import * as v4 from './v4/index.js';
export default createVersionedExport({ v0, v3 });
export default createVersionedExport({ v0, v3, v4 });
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { default as events } from './events.contract.json' assert { type: 'json' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.2.2",
"@polkadot/api-augment": "10.2.2",
"@polkadot/api-base": "10.2.2",
"@polkadot/rpc-core": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/api": "10.3.2",
"@polkadot/api-augment": "10.3.2",
"@polkadot/api-base": "10.3.2",
"@polkadot/rpc-core": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api": "10.2.2",
"@polkadot/api-augment": "10.2.2",
"@polkadot/rpc-augment": "10.2.2",
"@polkadot/rpc-provider": "10.2.2",
"@polkadot/types-support": "10.2.2"
"@polkadot/api": "10.3.2",
"@polkadot/api-augment": "10.3.2",
"@polkadot/rpc-augment": "10.3.2",
"@polkadot/rpc-provider": "10.3.2",
"@polkadot/types-support": "10.3.2"
}
}
+1 -4
View File
@@ -8,7 +8,4 @@ export * from './votingBalances.js';
const votingBalance = all;
export {
all,
votingBalance
};
export { all, votingBalance };
+2 -2
View File
@@ -7,14 +7,14 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/restrict-template-expressions */
import type { ExactDerive } from './index.js';
import { from, Observable } from 'rxjs';
import { ApiRx } from '@polkadot/api';
import { MockProvider } from '@polkadot/rpc-provider/mock';
import { TypeRegistry } from '@polkadot/types/create';
import { ExactDerive } from './index.js';
const testFunction = (api: ApiRx): any => {
return <S extends keyof ExactDerive, M extends keyof (typeof api.derive[S])>(section: S, method: M, inputs: any[]): void => {
describe(`derive.${section}.${method as string}`, (): void => {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.3.2' };
@@ -1,10 +1,11 @@
// Copyright 2017-2023 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Bounty, BountyIndex } from '@polkadot/types/interfaces';
import type { Codec, Constructor, InterfaceTypes, Registry } from '@polkadot/types/types';
import { ApiPromise } from '@polkadot/api';
import { Option, StorageKey } from '@polkadot/types';
import { Bounty, BountyIndex } from '@polkadot/types/interfaces';
import { Codec, Constructor, InterfaceTypes, Registry } from '@polkadot/types/types';
export class BountyFactory {
readonly #api: ApiPromise;
+2 -2
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2023 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Bytes } from '@polkadot/types';
import { Registry } from '@polkadot/types/types';
import type { Bytes } from '@polkadot/types';
import type { Registry } from '@polkadot/types/types';
export class BytesFactory {
#registry: Registry;
@@ -3,9 +3,8 @@
import type { ApiPromise } from '@polkadot/api';
import type { SubmittableExtrinsic } from '@polkadot/api-base/types';
import { Proposal, ProposalIndex } from '@polkadot/types/interfaces';
import { Registry } from '@polkadot/types/types';
import type { Proposal, ProposalIndex } from '@polkadot/types/interfaces';
import type { Registry } from '@polkadot/types/types';
export class ProposalFactory {
readonly #api: ApiPromise;
+14 -14
View File
@@ -18,21 +18,21 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "10.2.2",
"@polkadot/api-base": "10.2.2",
"@polkadot/api-derive": "10.2.2",
"@polkadot/api-augment": "10.3.2",
"@polkadot/api-base": "10.3.2",
"@polkadot/api-derive": "10.3.2",
"@polkadot/keyring": "^11.1.3",
"@polkadot/rpc-augment": "10.2.2",
"@polkadot/rpc-core": "10.2.2",
"@polkadot/rpc-provider": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-augment": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-create": "10.2.2",
"@polkadot/types-known": "10.2.2",
"@polkadot/rpc-augment": "10.3.2",
"@polkadot/rpc-core": "10.3.2",
"@polkadot/rpc-provider": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-augment": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/types-create": "10.3.2",
"@polkadot/types-known": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"eventemitter3": "^5.0.0",
@@ -40,7 +40,7 @@
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api-augment": "10.2.2",
"@polkadot/types-support": "10.2.2"
"@polkadot/api-augment": "10.3.2",
"@polkadot/types-support": "10.3.2"
}
}
+2 -1
View File
@@ -12,6 +12,7 @@ import type { AnyFunction, AnyJson, AnyTuple, CallFunction, Codec, DefinitionCal
import type { HexString } from '@polkadot/util/types';
import type { SubmittableExtrinsic } from '../submittable/types.js';
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, AugmentedQuery, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecorateMethod, GenericStorageEntryFunction, PaginationOptions, QueryableConsts, QueryableStorage, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics } from '../types/index.js';
import type { AllDerives } from '../util/decorate.js';
import type { VersionedRegistry } from './types.js';
import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray } from 'rxjs';
@@ -26,7 +27,7 @@ import { blake2AsHex } from '@polkadot/util-crypto';
import { createSubmittable } from '../submittable/index.js';
import { augmentObject } from '../util/augmentObject.js';
import { AllDerives, decorateDeriveSections } from '../util/decorate.js';
import { decorateDeriveSections } from '../util/decorate.js';
import { extractStorageArgs } from '../util/validate.js';
import { Events } from './Events.js';
import { findCall, findError } from './find.js';
+2 -1
View File
@@ -6,13 +6,14 @@
import '@polkadot/api-augment';
import type { HeaderExtended } from '@polkadot/api-derive/types';
import type { TestKeyringMap } from '@polkadot/keyring/testingPairs';
import type { StorageKey } from '@polkadot/types';
import type { AccountId, Balance, DispatchErrorModule, Event, Header, Index } from '@polkadot/types/interfaces';
import type { FrameSystemAccountInfo } from '@polkadot/types/lookup';
import type { AnyTuple, IExtrinsic, IMethod } from '@polkadot/types/types';
import { ApiPromise } from '@polkadot/api';
import { createTestPairs, TestKeyringMap } from '@polkadot/keyring/testingPairs';
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import { createTypeUnsafe, TypeRegistry } from '@polkadot/types/create';
import { SubmittableResult } from './index.js';
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.3.2' };
+2 -1
View File
@@ -2,11 +2,12 @@
// SPDX-License-Identifier: Apache-2.0
import type { ApiOptions, UnsubscribePromise } from '../types/index.js';
import type { CombinatorCallback, CombinatorFunction } from './Combinator.js';
import { objectSpread } from '@polkadot/util';
import { ApiBase } from '../base/index.js';
import { Combinator, CombinatorCallback, CombinatorFunction } from './Combinator.js';
import { Combinator } from './Combinator.js';
import { promiseTracker, toPromiseMethod } from './decorateMethod.js';
/**
+4 -4
View File
@@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/rpc-core": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/util": "^11.1.3",
"tslib": "^2.5.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.3.2' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "10.2.2",
"@polkadot/rpc-provider": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/rpc-augment": "10.3.2",
"@polkadot/rpc-provider": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/util": "^11.1.3",
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/keyring": "^11.1.3",
"@polkadot/rpc-augment": "10.2.2"
"@polkadot/rpc-augment": "10.3.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.3.2' };
+5 -5
View File
@@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^11.1.3",
"@polkadot/types": "10.2.2",
"@polkadot/types-support": "10.2.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-support": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"@polkadot/x-fetch": "^11.1.3",
@@ -35,9 +35,9 @@
"tslib": "^2.5.0"
},
"devDependencies": {
"@substrate/connect": "0.7.22"
"@substrate/connect": "0.7.23"
},
"optionalDependencies": {
"@substrate/connect": "0.7.22"
"@substrate/connect": "0.7.23"
}
}
+2 -2
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2023 @polkadot/rpc-provider authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { isFunction } from '@polkadot/util';
import type { RpcErrorInterface } from '../types.js';
import { RpcErrorInterface } from '../types.js';
import { isFunction } from '@polkadot/util';
const UNKNOWN = -99999;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.3.2' };
+1 -1
View File
@@ -4,9 +4,9 @@
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import type { Request } from '../mock/mockWs.js';
import type { Global, Mock } from '../mock/types.js';
import { mockWs } from '../mock/mockWs.js';
import { Global, Mock } from '../mock/types.js';
import { WsProvider } from './index.js';
declare const global: Global;
+10 -10
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "10.2.2",
"@polkadot/api-augment": "10.2.2",
"@polkadot/rpc-augment": "10.2.2",
"@polkadot/rpc-provider": "10.2.2",
"@polkadot/types": "10.2.2",
"@polkadot/types-augment": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-create": "10.2.2",
"@polkadot/types-support": "10.2.2",
"@polkadot/api": "10.3.2",
"@polkadot/api-augment": "10.3.2",
"@polkadot/rpc-augment": "10.3.2",
"@polkadot/rpc-provider": "10.3.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-augment": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/types-create": "10.3.2",
"@polkadot/types-support": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"@polkadot/x-ws": "^11.1.3",
+1 -1
View File
@@ -1,6 +1,7 @@
// Copyright 2017-2023 @polkadot/typegen authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Definitions, DefinitionsTypes } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import fs from 'node:fs';
@@ -8,7 +9,6 @@ import path from 'node:path';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
import { Definitions, DefinitionsTypes } from '@polkadot/types/types';
import { formatNumber, isHex } from '@polkadot/util';
import { generateDefaultConsts, generateDefaultErrors, generateDefaultEvents, generateDefaultQuery, generateDefaultRpc, generateDefaultRuntime, generateDefaultTx } from './generate/index.js';
+1 -1
View File
@@ -2,13 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
import type { Metadata } from '@polkadot/types/metadata/Metadata';
import type { Definitions } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import type { ExtraTypes } from './types.js';
import Handlebars from 'handlebars';
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
import { Definitions } from '@polkadot/types/types';
import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
import { stringCamelCase } from '@polkadot/util';
+1 -1
View File
@@ -2,13 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
import type { Metadata } from '@polkadot/types/metadata/Metadata';
import type { Definitions } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import type { ExtraTypes } from './types.js';
import Handlebars from 'handlebars';
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
import { Definitions } from '@polkadot/types/types';
import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
import { stringCamelCase } from '@polkadot/util';
@@ -1,6 +1,8 @@
// Copyright 2017-2023 @polkadot/typegen authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ModuleTypes } from '../util/imports.js';
import Handlebars from 'handlebars';
import { Json, Raw } from '@polkadot/types/codec';
@@ -8,7 +10,6 @@ import { TypeRegistry } from '@polkadot/types/create';
import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
import * as defaultPrimitives from '@polkadot/types/primitive';
import { ModuleTypes } from '../util/imports.js';
import { createImports, readTemplate, setImports, writeFile } from '../util/index.js';
const primitiveClasses = {
+1 -1
View File
@@ -3,6 +3,7 @@
import type { PortableType, SiLookupTypeId, SiPath, SiTypeParameter } from '@polkadot/types/interfaces';
import type { PortableRegistry } from '@polkadot/types/metadata';
import type { Registry } from '@polkadot/types/types';
import type { TypeDef } from '@polkadot/types-create/types';
import type { HexString } from '@polkadot/util/types';
@@ -10,7 +11,6 @@ import Handlebars from 'handlebars';
import path from 'path';
import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
import { Registry } from '@polkadot/types/types';
import staticKusama from '@polkadot/types-support/metadata/static-kusama';
import staticPolkadot from '@polkadot/types-support/metadata/static-polkadot';
import staticSubstrate from '@polkadot/types-support/metadata/static-substrate';
+3 -2
View File
@@ -5,6 +5,8 @@ import type { StorageEntryMetadataLatest } from '@polkadot/types/interfaces';
import type { Metadata, PortableRegistry } from '@polkadot/types/metadata';
import type { Definitions, Registry } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import type { ModuleTypes } from '../util/imports.js';
import type { TypeImports } from '../util/index.js';
import type { ExtraTypes } from './types.js';
import Handlebars from 'handlebars';
@@ -14,8 +16,7 @@ import { unwrapStorageSi } from '@polkadot/types/primitive/StorageKey';
import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
import { stringCamelCase } from '@polkadot/util';
import { ModuleTypes } from '../util/imports.js';
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, TypeImports, writeFile } from '../util/index.js';
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
const generateForMetaTemplate = Handlebars.compile(readTemplate('query'));
+2 -1
View File
@@ -4,6 +4,7 @@
import type { Registry } from '@polkadot/types/types';
import type { TypeDef } from '@polkadot/types-create/types';
import type { ModuleTypes } from '../util/imports.js';
import type { TypeImports } from '../util/index.js';
import Handlebars from 'handlebars';
import path from 'path';
@@ -13,7 +14,7 @@ import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
import { getTypeDef, TypeDefInfo } from '@polkadot/types-create';
import { assert, isString, stringify, stringPascalCase } from '@polkadot/util';
import { createImports, exportInterface, formatType, readTemplate, setImports, TypeImports, writeFile } from '../util/index.js';
import { createImports, exportInterface, formatType, readTemplate, setImports, writeFile } from '../util/index.js';
interface Imports extends TypeImports {
interfaces: [string, string][];
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.3.2' };
+2 -1
View File
@@ -3,6 +3,7 @@
import type { Constructor, Registry } from '@polkadot/types/types';
import type { TypeDef } from '@polkadot/types-create/types';
import type { ModuleTypes, TypeImports } from './imports.js';
import { GenericAccountId, GenericCall, GenericLookupSource, GenericVote } from '@polkadot/types/generic';
import { AllConvictions } from '@polkadot/types/interfaces/democracy/definitions';
@@ -11,7 +12,7 @@ import { getTypeDef, TypeDefInfo } from '@polkadot/types-create';
import { isChildClass, stringify } from '@polkadot/util';
import { formatType } from './formatting.js';
import { ModuleTypes, setImports, TypeImports } from './imports.js';
import { setImports } from './imports.js';
function arrayToStrType (arr: string[]): string {
return `${arr.map((c) => `'${c}'`).join(' | ')}`;
+2 -1
View File
@@ -4,6 +4,7 @@
import type { AnyString, Registry } from '@polkadot/types/types';
import type { LookupString } from '@polkadot/types-codec/types';
import type { TypeDef } from '@polkadot/types-create/types';
import type { ModuleTypes, TypeImports } from './imports.js';
import Handlebars from 'handlebars';
@@ -12,7 +13,7 @@ import { getTypeDef, paramsNotation, TypeDefInfo } from '@polkadot/types-create'
import { isString, stringify } from '@polkadot/util';
import { readTemplate } from './file.js';
import { ModuleTypes, setImports, TypeImports } from './imports.js';
import { setImports } from './imports.js';
interface ImportDef {
file: string;
+3 -3
View File
@@ -18,11 +18,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/types": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/util": "^11.1.3",
"tslib": "^2.5.0"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.3.2' };
+4 -4
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^11.1.3",
@@ -26,9 +26,9 @@
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/types": "10.2.2",
"@polkadot/types-augment": "10.2.2",
"@polkadot/types-support": "10.2.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-augment": "10.3.2",
"@polkadot/types-support": "10.3.2",
"@polkadot/util-crypto": "^11.1.3"
}
}
@@ -4,12 +4,11 @@
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import type { CodecClass, CodecTo } from '@polkadot/types-codec/types';
import type { ITuple } from '../types/interfaces.js';
import { TypeRegistry } from '@polkadot/types';
import { BTreeSet, Enum, I32, Struct, Text, Tuple, U32 } from '@polkadot/types-codec';
import { ITuple } from '../types/interfaces.js';
const registry = new TypeRegistry();
class U32TextTuple extends (Tuple.with([U32, Text]) as unknown as CodecClass<ITuple<[U32, Text]>>) {}
@@ -48,6 +48,44 @@ describe('BitVec', (): void => {
});
});
describe('toBoolArray() ordering', (): void => {
it('defaults to Lsb', (): void => {
expect(
new BitVec(registry, '0x0100010500').toBoolArray()
).toEqual([
true, false, false, false, false, false, false, false,
false, false, false, false, false, false, false, false,
true, false, false, false, false, false, false, false,
true, false, true, false, false, false, false, false,
false, false, false, false, false, false, false, false
]);
});
it('can output to Msb', (): void => {
expect(
new BitVec(registry, '0x0100010500', true).toBoolArray()
).toEqual([
false, false, false, false, false, false, false, true,
false, false, false, false, false, false, false, false,
false, false, false, false, false, false, false, true,
false, false, false, false, false, true, false, true,
false, false, false, false, false, false, false, false
]);
});
it('outputs all LSB bits', (): void => {
expect(
new BitVec(registry, '0x01000105ff').toBoolArray()
).toEqual([
true, false, false, false, false, false, false, false,
false, false, false, false, false, false, false, false,
true, false, false, false, false, false, false, false,
true, false, true, false, false, false, false, false,
true, true, true, true, true, true, true, true
]);
});
});
it('has a sane inspect', (): void => {
expect(
new BitVec(registry, '0x0837').inspect()
@@ -73,6 +73,36 @@ export class BitVec extends Raw {
};
}
/**
* @description Creates a boolean array of the bit values
*/
public toBoolArray (): boolean[] {
const map = [...this.toU8a(true)].map((v) => [
!!(v & 0b1000_0000),
!!(v & 0b0100_0000),
!!(v & 0b0010_0000),
!!(v & 0b0001_0000),
!!(v & 0b0000_1000),
!!(v & 0b0000_0100),
!!(v & 0b0000_0010),
!!(v & 0b0000_0001)
]);
const result = new Array<boolean>(8 * map.length);
for (let i = 0; i < map.length; i++) {
const off = i * 8;
const v = map[i];
for (let j = 0; j < 8; j++) {
result[off + j] = this.#isMsb
? v[j]
: v[7 - j];
}
}
return result;
}
/**
* @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information
*/
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.3.2' };
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { AnyString } from '../types/index.js';
import type { AnyString } from '../types/index.js';
type Mapper = (value: string) => string;
+3 -3
View File
@@ -18,14 +18,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/util": "^11.1.3",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/types": "10.2.2"
"@polkadot/types": "10.3.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.3.2' };
@@ -140,14 +140,13 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
throw new Error('Unable to encode Struct type');
}
return encodeSubTypes(registry, sub, false,
alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
return encodeSubTypes(registry, sub, false, alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
);
},
+5 -5
View File
@@ -18,17 +18,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^11.1.3",
"@polkadot/types": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-create": "10.2.2",
"@polkadot/types": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/types-create": "10.3.2",
"@polkadot/util": "^11.1.3",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api": "10.2.2"
"@polkadot/api": "10.3.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.3.2' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^11.1.3",
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
{
"name": "Version",
"type": 504,
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a803000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001400000000",
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001400000000",
"docs": [
" Get the chain's current version."
]
@@ -3602,7 +3602,11 @@
"type": 4,
"value": "0x32000000",
"docs": [
" The maximum number of scheduled calls in the queue for a single block."
" The maximum number of scheduled calls in the queue for a single block.",
"",
" NOTE:",
" + Dependent pallets' benchmarks might require a higher limit for the setting. Set a",
" higher limit under `runtime-benchmarks` feature."
]
}
],
@@ -44439,24 +44439,6 @@
"docs": [
"The receipt is already private."
]
},
{
"name": "Release1",
"fields": [],
"index": 15,
"docs": []
},
{
"name": "Release2",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "Tah",
"fields": [],
"index": 17,
"docs": []
}
]
}
@@ -48599,6 +48581,12 @@
],
"index": 6,
"docs": []
},
{
"name": "WasmExtBulkMemory",
"fields": [],
"index": 7,
"docs": []
}
]
}
@@ -66,7 +66,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -74,7 +74,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -66,7 +66,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.3.2' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.2.2",
"version": "10.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^11.1.3",
"@polkadot/types-augment": "10.2.2",
"@polkadot/types-codec": "10.2.2",
"@polkadot/types-create": "10.2.2",
"@polkadot/types-augment": "10.3.2",
"@polkadot/types-codec": "10.3.2",
"@polkadot/types-create": "10.3.2",
"@polkadot/util": "^11.1.3",
"@polkadot/util-crypto": "^11.1.3",
"rxjs": "^7.8.0",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^11.1.3",
"@polkadot/types-support": "10.2.2"
"@polkadot/types-support": "10.3.2"
}
}
@@ -11,8 +11,7 @@ describe('Registration', (): void => {
it('decodes a Registration', (): void => {
expect(
createType(
registry, 'Registration',
'0x' +
registry, 'Registration', '0x' +
'00' + // no judgements
'00a0724e180900000000000000000000' + // balance
'00' + // no length
@@ -5,7 +5,7 @@ import type { DefinitionCall, DefinitionsCall } from '../../types/index.js';
import { objectSpread } from '@polkadot/util';
const V1_V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
const V1_TO_V4_SHARED_PAY: Record<string, DefinitionCall> = {
query_fee_details: {
description: 'The transaction fee details',
params: [
@@ -22,7 +22,7 @@ const V1_V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
}
};
const V1_V2_V3_SHARED_CALL: Record<string, DefinitionCall> = {
const V1_TO_V3_SHARED_CALL: Record<string, DefinitionCall> = {
query_call_fee_details: {
description: 'The call fee details',
params: [
@@ -39,7 +39,7 @@ const V1_V2_V3_SHARED_CALL: Record<string, DefinitionCall> = {
}
};
const V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
const V2_TO_V4_SHARED_PAY: Record<string, DefinitionCall> = {
query_info: {
description: 'The transaction info',
params: [
@@ -99,19 +99,29 @@ const V3_SHARED_PAY_CALL: Record<string, DefinitionCall> = {
export const runtime: DefinitionsCall = {
TransactionPaymentApi: [
{
// V4 is equivalent to V3 (V4 just dropped all V1 references)
methods: objectSpread(
{},
V3_SHARED_PAY_CALL,
V2_V3_SHARED_PAY,
V1_V2_V3_SHARED_PAY
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 4
},
{
methods: objectSpread(
{},
V3_SHARED_PAY_CALL,
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 3
},
{
methods: objectSpread(
{},
V2_V3_SHARED_PAY,
V1_V2_V3_SHARED_PAY
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 2
},
@@ -134,7 +144,7 @@ export const runtime: DefinitionsCall = {
// runtime. (We do detect the weight type, so correct)
type: 'RuntimeDispatchInfo'
}
}, V1_V2_V3_SHARED_PAY),
}, V1_TO_V4_SHARED_PAY),
version: 1
}
],
@@ -144,7 +154,7 @@ export const runtime: DefinitionsCall = {
{},
V3_SHARED_PAY_CALL,
V2_V3_SHARED_CALL,
V1_V2_V3_SHARED_CALL
V1_TO_V3_SHARED_CALL
),
version: 3
},
@@ -152,7 +162,7 @@ export const runtime: DefinitionsCall = {
methods: objectSpread(
{},
V2_V3_SHARED_CALL,
V1_V2_V3_SHARED_CALL
V1_TO_V3_SHARED_CALL
),
version: 2
},
@@ -174,7 +184,7 @@ export const runtime: DefinitionsCall = {
// _may_ yield fallback decoding on some versions of the runtime
type: 'RuntimeDispatchInfo'
}
}, V1_V2_V3_SHARED_CALL),
}, V1_TO_V3_SHARED_CALL),
version: 1
}
]
@@ -722,15 +722,24 @@ export class PortableRegistry extends Struct implements ILookup {
? [a, b]
: [b, a];
// NOTE: Currently the BitVec type is one-way only, i.e. we only use it to decode, not
// re-encode stuff. As such we ignore the msb/lsb identifier given by bitOrderType, or rather
// we don't pass it though at all (all displays in LSB)
if (!BITVEC_NS.includes(bitOrder.namespace || '')) {
if (!bitOrder.namespace || !BITVEC_NS.includes(bitOrder.namespace)) {
throw new Error(`Unexpected bitOrder found as ${bitOrder.namespace || '<unknown>'}`);
} else if (bitStore.info !== TypeDefInfo.Plain || bitStore.type !== 'u8') {
throw new Error(`Only u8 bitStore is currently supported, found ${bitStore.type}`);
}
const isLsb = BITVEC_NS_LSB.includes(bitOrder.namespace);
if (!isLsb) {
// TODO To remove this limitation, we need to pass an extra info flag
// through to the TypeDef (Here we could potentially re-use something
// like index (???) to indicate and ensure we use it to pass to the
// BitVec constructor - which does handle this type)
//
// See https://github.com/polkadot-js/api/issues/5588
// throw new Error(`Only LSB BitVec is currently supported, found ${bitOrder.namespace}`);
}
return {
info: TypeDefInfo.Plain,
type: 'BitVec'
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.2.2' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.3.2' };
+200 -211
View File
@@ -101,10 +101,10 @@ __metadata:
languageName: node
linkType: hard
"@eslint/js@npm:8.37.0, @eslint/js@npm:^8.37.0":
version: 8.37.0
resolution: "@eslint/js@npm:8.37.0"
checksum: 7a07fb085c94ce1538949012c292fd3a6cd734f149bc03af6157dfbd8a7477678899ef57b4a27e15b36470a997389ad79a0533d5880c71e67720ae1a7de7c62d
"@eslint/js@npm:8.38.0, @eslint/js@npm:^8.38.0":
version: 8.38.0
resolution: "@eslint/js@npm:8.38.0"
checksum: 1f28987aa8c9cd93e23384e16c7220863b39b5dc4b66e46d7cdbccce868040f455a98d24cd8b567a884f26545a0555b761f7328d4a00c051e7ef689cbea5fce1
languageName: node
linkType: hard
@@ -364,26 +364,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@10.2.2, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@10.3.2, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@polkadot/api-base": 10.2.2
"@polkadot/rpc-augment": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/types-augment": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/api-base": 10.3.2
"@polkadot/rpc-augment": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/types-augment": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/util": ^11.1.3
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/api-base@10.2.2, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@10.3.2, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@polkadot/rpc-core": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/rpc-core": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/util": ^11.1.3
rxjs: ^7.8.0
tslib: ^2.5.0
@@ -394,12 +394,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": 10.2.2
"@polkadot/api-augment": 10.2.2
"@polkadot/api": 10.3.2
"@polkadot/api-augment": 10.3.2
"@polkadot/keyring": ^11.1.3
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-create": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-create": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
rxjs: ^7.8.0
@@ -407,19 +407,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@10.2.2, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@10.3.2, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@polkadot/api": 10.2.2
"@polkadot/api-augment": 10.2.2
"@polkadot/api-base": 10.2.2
"@polkadot/rpc-augment": 10.2.2
"@polkadot/rpc-core": 10.2.2
"@polkadot/rpc-provider": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/api": 10.3.2
"@polkadot/api-augment": 10.3.2
"@polkadot/api-base": 10.3.2
"@polkadot/rpc-augment": 10.3.2
"@polkadot/rpc-core": 10.3.2
"@polkadot/rpc-provider": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
rxjs: ^7.8.0
@@ -427,23 +427,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@10.2.2, @polkadot/api@workspace:packages/api":
"@polkadot/api@10.3.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": 10.2.2
"@polkadot/api-base": 10.2.2
"@polkadot/api-derive": 10.2.2
"@polkadot/api-augment": 10.3.2
"@polkadot/api-base": 10.3.2
"@polkadot/api-derive": 10.3.2
"@polkadot/keyring": ^11.1.3
"@polkadot/rpc-augment": 10.2.2
"@polkadot/rpc-core": 10.2.2
"@polkadot/rpc-provider": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/types-augment": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-create": 10.2.2
"@polkadot/types-known": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/rpc-augment": 10.3.2
"@polkadot/rpc-core": 10.3.2
"@polkadot/rpc-provider": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/types-augment": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-create": 10.3.2
"@polkadot/types-known": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
eventemitter3: ^5.0.0
@@ -452,47 +452,47 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev-test@npm:^0.72.29":
version: 0.72.29
resolution: "@polkadot/dev-test@npm:0.72.29"
"@polkadot/dev-test@npm:^0.72.39":
version: 0.72.39
resolution: "@polkadot/dev-test@npm:0.72.39"
dependencies:
jsdom: ^21.1.1
tslib: ^2.5.0
checksum: f82b2be6539dc359b9d6574f9694266ebd6b63cd686630a9049b9bf88d86d13f96b8763b514a074007bfa5cfec27d3fc58db4e002c022237ad54416752d76d17
checksum: 2731ac8444aa2c5e78516798c18eee69bc850e66c1f61c35076c86938d906b143a2fe0c52a1fc73cf916f8665e0c79710f6e2f3cc4443f5f6eb3904734e35356
languageName: node
linkType: hard
"@polkadot/dev-ts@npm:^0.72.29":
version: 0.72.29
resolution: "@polkadot/dev-ts@npm:0.72.29"
"@polkadot/dev-ts@npm:^0.72.39":
version: 0.72.39
resolution: "@polkadot/dev-ts@npm:0.72.39"
dependencies:
json5: ^2.2.3
tslib: ^2.5.0
typescript: ^5.0.3
checksum: 97af0e678ed25d5538d435f8e091564f462411d79b024e3ccc45eba55f3c05e4e476cc402039d6bb9dc2542a585b082833f484e71bc49a9ce3d2ead07971c5d1
typescript: ^5.0.4
checksum: 8782d9a9c567eed0a08ffd9a3a220622d19b68c86e0cedec0c97a652d4b900c59112a87c40c2a3065727fc4a55de5c49bea3538eff02188503ff1903e8741107
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.72.29":
version: 0.72.29
resolution: "@polkadot/dev@npm:0.72.29"
"@polkadot/dev@npm:^0.72.39":
version: 0.72.39
resolution: "@polkadot/dev@npm:0.72.39"
dependencies:
"@eslint/js": ^8.37.0
"@polkadot/dev-test": ^0.72.29
"@polkadot/dev-ts": ^0.72.29
"@rollup/plugin-alias": ^4.0.3
"@eslint/js": ^8.38.0
"@polkadot/dev-test": ^0.72.39
"@polkadot/dev-ts": ^0.72.39
"@rollup/plugin-alias": ^5.0.0
"@rollup/plugin-commonjs": ^24.0.1
"@rollup/plugin-dynamic-import-vars": ^2.0.3
"@rollup/plugin-inject": ^5.0.3
"@rollup/plugin-json": ^6.0.0
"@rollup/plugin-node-resolve": ^15.0.1
"@rollup/plugin-node-resolve": ^15.0.2
"@rushstack/eslint-patch": ^1.2.0
"@typescript-eslint/eslint-plugin": ^5.57.0
"@typescript-eslint/parser": ^5.57.0
eslint: ^8.37.0
"@typescript-eslint/eslint-plugin": ^5.57.1
"@typescript-eslint/parser": ^5.57.1
eslint: ^8.38.0
eslint-config-standard: ^17.0.0
eslint-import-resolver-node: ^0.3.7
eslint-plugin-deprecation: ^1.4.0-next.2
eslint-plugin-deprecation: ^1.4.1
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.27.5
eslint-plugin-import-newlines: ^1.3.1
@@ -509,8 +509,8 @@ __metadata:
rollup: ^3.20.2
rollup-plugin-cleanup: ^3.2.1
tslib: ^2.5.0
typescript: ^5.0.3
webpack: ^5.77.0
typescript: ^5.0.4
webpack: ^5.78.0
webpack-cli: ^5.0.1
webpack-dev-server: ^4.13.2
webpack-merge: ^5.8.0
@@ -540,7 +540,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: d7b62ff4405b35626f07b9b9a4401b3a45db5cb3cc5f2bbccba583c1ffbb24e8327e757cf98894fc47f9176fbc95d859e1ea286d1e9fd6805994f739f98698ab
checksum: 527602e64635b3ed43e8f7227c7bd5ae108c861bb89b6a1ad4f04ec933c0e9dc8ec8a9d260638eabc71ecf47f25b66672428becbdad4394a8f55e01ab19a040b
languageName: node
linkType: hard
@@ -569,45 +569,45 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@10.2.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@10.3.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@polkadot/rpc-core": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/rpc-core": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/util": ^11.1.3
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/rpc-core@10.2.2, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@10.3.2, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@polkadot/keyring": ^11.1.3
"@polkadot/rpc-augment": 10.2.2
"@polkadot/rpc-provider": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/rpc-augment": 10.3.2
"@polkadot/rpc-provider": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/util": ^11.1.3
rxjs: ^7.8.0
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@10.2.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@10.3.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@polkadot/keyring": ^11.1.3
"@polkadot/types": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
"@polkadot/x-fetch": ^11.1.3
"@polkadot/x-global": ^11.1.3
"@polkadot/x-ws": ^11.1.3
"@substrate/connect": 0.7.22
"@substrate/connect": 0.7.23
eventemitter3: ^5.0.0
mock-socket: ^9.2.1
nock: ^13.3.0
@@ -622,15 +622,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": 10.2.2
"@polkadot/api-augment": 10.2.2
"@polkadot/rpc-augment": 10.2.2
"@polkadot/rpc-provider": 10.2.2
"@polkadot/types": 10.2.2
"@polkadot/types-augment": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-create": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/api": 10.3.2
"@polkadot/api-augment": 10.3.2
"@polkadot/rpc-augment": 10.3.2
"@polkadot/rpc-provider": 10.3.2
"@polkadot/types": 10.3.2
"@polkadot/types-augment": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-create": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
"@polkadot/x-ws": ^11.1.3
@@ -648,24 +648,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@10.2.2, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@10.3.2, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/util": ^11.1.3
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/types-codec@10.2.2, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@10.3.2, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@polkadot/types": 10.2.2
"@polkadot/types-augment": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-augment": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
"@polkadot/x-bigint": ^11.1.3
@@ -673,32 +673,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@10.2.2, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@10.3.2, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/util": ^11.1.3
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/types-known@10.2.2, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@10.3.2, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@polkadot/api": 10.2.2
"@polkadot/api": 10.3.2
"@polkadot/networks": ^11.1.3
"@polkadot/types": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-create": 10.2.2
"@polkadot/types": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-create": 10.3.2
"@polkadot/util": ^11.1.3
tslib: ^2.5.0
languageName: unknown
linkType: soft
"@polkadot/types-support@10.2.2, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@10.3.2, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -707,15 +707,15 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@10.2.2, @polkadot/types@workspace:packages/types":
"@polkadot/types@10.3.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": ^11.1.3
"@polkadot/types-augment": 10.2.2
"@polkadot/types-codec": 10.2.2
"@polkadot/types-create": 10.2.2
"@polkadot/types-support": 10.2.2
"@polkadot/types-augment": 10.3.2
"@polkadot/types-codec": 10.3.2
"@polkadot/types-create": 10.3.2
"@polkadot/types-support": 10.3.2
"@polkadot/util": ^11.1.3
"@polkadot/util-crypto": ^11.1.3
rxjs: ^7.8.0
@@ -907,9 +907,9 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-alias@npm:^4.0.3":
version: 4.0.3
resolution: "@rollup/plugin-alias@npm:4.0.3"
"@rollup/plugin-alias@npm:^5.0.0":
version: 5.0.0
resolution: "@rollup/plugin-alias@npm:5.0.0"
dependencies:
slash: ^4.0.0
peerDependencies:
@@ -917,7 +917,7 @@ __metadata:
peerDependenciesMeta:
rollup:
optional: true
checksum: 3efabf35bfe2a40722609397328513dcb72ed4e2d1e35082cd1c60b231af9041214285b3e74d8702e0f00e214ee5ef3022fbc442a1beb8d1b641e85cf2b10cbf
checksum: 2810bdbcaa61381998858379e353d573f266f952d7f6974366336ae0587acfdee12b992fe25c9b740f14e25092d6bf73b04bcbf71fc543d76d1a214547bc27c9
languageName: node
linkType: hard
@@ -987,14 +987,14 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-node-resolve@npm:^15.0.1":
version: 15.0.1
resolution: "@rollup/plugin-node-resolve@npm:15.0.1"
"@rollup/plugin-node-resolve@npm:^15.0.2":
version: 15.0.2
resolution: "@rollup/plugin-node-resolve@npm:15.0.2"
dependencies:
"@rollup/pluginutils": ^5.0.1
"@types/resolve": 1.20.2
deepmerge: ^4.2.2
is-builtin-module: ^3.2.0
is-builtin-module: ^3.2.1
is-module: ^1.0.0
resolve: ^1.22.1
peerDependencies:
@@ -1002,7 +1002,7 @@ __metadata:
peerDependenciesMeta:
rollup:
optional: true
checksum: 90e30b41626a15ebf02746a83d34b15f9fe9051ddc156a9bf785504f489947980b3bdeb7bf2f80828a9becfe472a03a96d0238328a3e3e2198a482fcac7eb3aa
checksum: 328eafee06ff967a36441b55e77fbd0d4f599d256e5d1977800ee71915846c46bc1b6185df35c7b512ad2b4023b05b65a332be77b8b00b9d8a20f87d056b8166
languageName: node
linkType: hard
@@ -1050,14 +1050,14 @@ __metadata:
languageName: node
linkType: hard
"@substrate/connect@npm:0.7.22":
version: 0.7.22
resolution: "@substrate/connect@npm:0.7.22"
"@substrate/connect@npm:0.7.23":
version: 0.7.23
resolution: "@substrate/connect@npm:0.7.23"
dependencies:
"@substrate/connect-extension-protocol": ^1.0.1
eventemitter3: ^4.0.7
smoldot: 1.0.0
checksum: 4128c5a037d12de7146416023c9088fe0dedd75734e378e3aaa00d922fae56325df1ba3a49cf3f9489d3bd90941fe73570bc486a2aa8091017083d3250e43d56
smoldot: 1.0.1
checksum: 74ee49494455149f20427fdc0d2cdc8af4bc572e5a581f21109e47bacfc7cebaf77694dd8d5d4ef2d8ef4756b198fe4edd08d9bc8b6e3b647b085cbcac5b9fa2
languageName: node
linkType: hard
@@ -1340,14 +1340,14 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.57.0"
"@typescript-eslint/eslint-plugin@npm:^5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.57.1"
dependencies:
"@eslint-community/regexpp": ^4.4.0
"@typescript-eslint/scope-manager": 5.57.0
"@typescript-eslint/type-utils": 5.57.0
"@typescript-eslint/utils": 5.57.0
"@typescript-eslint/scope-manager": 5.57.1
"@typescript-eslint/type-utils": 5.57.1
"@typescript-eslint/utils": 5.57.1
debug: ^4.3.4
grapheme-splitter: ^1.0.4
ignore: ^5.2.0
@@ -1360,54 +1360,43 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: be13aa74ee6f15f0ae67781c625d9dcf3ce8a3feca2b125eef0cfee850b7f9f0cec23fc56a729ef25926298fe3ea51603ebeee2b93fc9b73fce1410638707177
checksum: 3ea842ef9615e298e28c6687c4dc285577ea0995944410553b3ca514ce9d437534b6e89114e9398c1a370324afe7a4a251c8c49540bb3bf13dcadde9ada3ecc2
languageName: node
linkType: hard
"@typescript-eslint/experimental-utils@npm:^5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/experimental-utils@npm:5.57.0"
"@typescript-eslint/parser@npm:^5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/parser@npm:5.57.1"
dependencies:
"@typescript-eslint/utils": 5.57.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 661e99b5caaf424bff93410403fada2900d24408de2708fa76010cfd3d31789977357ff1a7db4229b0c6aee038cc724c5f696388e6a67eaad7710b49a4ab7c6d
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/parser@npm:5.57.0"
dependencies:
"@typescript-eslint/scope-manager": 5.57.0
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/typescript-estree": 5.57.0
"@typescript-eslint/scope-manager": 5.57.1
"@typescript-eslint/types": 5.57.1
"@typescript-eslint/typescript-estree": 5.57.1
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: b7e8345631911f721591ba970fea5c888f0f3bf2e2ea2dbc3e5b0dc345c0776b62b92c534edfde1379b4b182958a421f35ac26d84705fe6ae7dd37aa675d9493
checksum: db61a12a67bc45d814297e7f089768c0849f18162b330279aa15121223ec3b18d80df4c327f4ca0a40a7bddb9150ba1a9379fce00bc0e4a10cc189d04e36f0e3
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/scope-manager@npm:5.57.0"
"@typescript-eslint/scope-manager@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/scope-manager@npm:5.57.1"
dependencies:
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/visitor-keys": 5.57.0
checksum: 4a851f23da2adbf6341b04c1e3f19fcb66415683f26805d3123725d18845bd4a150bd182de0a91279d5682f2568bb5dd831d4ad0bdb70f49d9ca7381cec4dd17
"@typescript-eslint/types": 5.57.1
"@typescript-eslint/visitor-keys": 5.57.1
checksum: 4f03d54372f0591fbc5f6e0267a6f1b73e3012e8a319c1893829e0b8e71f882e17a696995dc8b11e700162daf74444fd2d8f55dba314e1a95221a9d3eabcfb2b
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/type-utils@npm:5.57.0"
"@typescript-eslint/type-utils@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/type-utils@npm:5.57.1"
dependencies:
"@typescript-eslint/typescript-estree": 5.57.0
"@typescript-eslint/utils": 5.57.0
"@typescript-eslint/typescript-estree": 5.57.1
"@typescript-eslint/utils": 5.57.1
debug: ^4.3.4
tsutils: ^3.21.0
peerDependencies:
@@ -1415,7 +1404,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 649d000edabfe4e567b8a384d0012c56396e40ce2123a78857d4b8da6bf2288627dc355745bd7d4a2877d4cc8a26e1d1dbfc422e6382ac3d3ab431b92eb5b852
checksum: 06fab95315fc1ffdaaa011e6ec1ae538826ef3d9b422e2c926dbe9b83e55d9e8bdaa07c43317a4c0a59b40a24c5c48a7c8284e6a18780475a65894b1b949fc23
languageName: node
linkType: hard
@@ -1426,19 +1415,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/types@npm:5.57.0"
checksum: 79a100fb650965f63c01c20e6abd79ca0d2043c3a329b9fef89917d6b9ba3c0f946dca3f14f2975ee6349daadd6ce0e98fde3aafe4b710e5a27abe1adc590c85
"@typescript-eslint/types@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/types@npm:5.57.1"
checksum: 21789eb697904bbb44a18df961d5918e7c5bd90c79df3a8b8b835da81d0c0f42c7eeb2d05f77cafe49a7367ae7f549a0c8281656ea44b6dc56ae1bf19a3a1eae
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.57.0, @typescript-eslint/typescript-estree@npm:^5.13.0":
version: 5.57.0
resolution: "@typescript-eslint/typescript-estree@npm:5.57.0"
"@typescript-eslint/typescript-estree@npm:5.57.1, @typescript-eslint/typescript-estree@npm:^5.13.0":
version: 5.57.1
resolution: "@typescript-eslint/typescript-estree@npm:5.57.1"
dependencies:
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/visitor-keys": 5.57.0
"@typescript-eslint/types": 5.57.1
"@typescript-eslint/visitor-keys": 5.57.1
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
@@ -1447,7 +1436,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 648b88f88ea6cc293ec67b4c0f4f3c2bf733be7e0f2eee08aadbaec6939fd724a6c287decc336abbf67b9e366cc2c48f2e0e48d8302b533e783f798332a06e83
checksum: bf96520f6de562838a40c3f009fc61fbee5369621071cd0d1dba4470b2b2f746cf79afe4ffa3fbccb8913295a2fbb3d89681d5178529e8da4987c46ed4e5cbed
languageName: node
linkType: hard
@@ -1469,21 +1458,21 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.57.0, @typescript-eslint/utils@npm:^5.10.0":
version: 5.57.0
resolution: "@typescript-eslint/utils@npm:5.57.0"
"@typescript-eslint/utils@npm:5.57.1, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0":
version: 5.57.1
resolution: "@typescript-eslint/utils@npm:5.57.1"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@types/json-schema": ^7.0.9
"@types/semver": ^7.3.12
"@typescript-eslint/scope-manager": 5.57.0
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/typescript-estree": 5.57.0
"@typescript-eslint/scope-manager": 5.57.1
"@typescript-eslint/types": 5.57.1
"@typescript-eslint/typescript-estree": 5.57.1
eslint-scope: ^5.1.1
semver: ^7.3.7
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 461258e1194d24c5e642c65ba1afd612712fa8e617ac85cfbbe3dde2557fe4abadedbce19a6954ae0cccbfb92b8a09f38d65a3eedca0394861a5d1c4c893c5ed
checksum: 12e55144c8087f4e8f0f22e5693f3901b81bb7899dec42c7bfe540ac672a802028b688884bb43bd67bcf3cd3546a7205d207afcd948c731c19f551ea61267205
languageName: node
linkType: hard
@@ -1497,13 +1486,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/visitor-keys@npm:5.57.0"
"@typescript-eslint/visitor-keys@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/visitor-keys@npm:5.57.1"
dependencies:
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/types": 5.57.1
eslint-visitor-keys: ^3.3.0
checksum: 77d53f74648e48bf1c6313cd60568c2b1539157ac13945f26204a54beb156666c24f3d033dd0db8ed5d1d4595ee63c072732b17132e4488b46763bf8fdcefa49
checksum: d187dfac044b7c0f24264a9ba5eebcf6651412d840b4aaba8eacabff7e771babcd67c738525b1f7c9eb8c94b7edfe7658f6de99f5fdc9745e409c538c1374674
languageName: node
linkType: hard
@@ -3476,17 +3465,17 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-deprecation@npm:^1.4.0-next.2":
version: 1.4.0-next.2
resolution: "eslint-plugin-deprecation@npm:1.4.0-next.2"
"eslint-plugin-deprecation@npm:^1.4.1":
version: 1.4.1
resolution: "eslint-plugin-deprecation@npm:1.4.1"
dependencies:
"@typescript-eslint/experimental-utils": ^5.57.0
"@typescript-eslint/utils": ^5.57.0
tslib: ^2.3.1
tsutils: ^3.21.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
typescript: ^3.7.5 || ^4.0.0 || ^5.0.0
checksum: 5785bd1820813f48f5e192c663cfbe0274913ba352c4b70fdb6e9724ba00b23e095fa00da20d9cb2b4397812006b0a26c988b9ad698c2f9c30ba1a9da9e0707b
checksum: 75c7535d820d1749664705724cc979d706da126a2277f2937467f70156a2c220b10c66670f18226801c9555e4cd02312d353936f14d5752c2d2c648455fe5769
languageName: node
linkType: hard
@@ -3706,14 +3695,14 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.37.0":
version: 8.37.0
resolution: "eslint@npm:8.37.0"
"eslint@npm:^8.38.0":
version: 8.38.0
resolution: "eslint@npm:8.38.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@eslint-community/regexpp": ^4.4.0
"@eslint/eslintrc": ^2.0.2
"@eslint/js": 8.37.0
"@eslint/js": 8.38.0
"@humanwhocodes/config-array": ^0.11.8
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
@@ -3752,7 +3741,7 @@ __metadata:
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 80f3d5cdce2d671f4794e392d234a78d039c347673defb0596268bd481e8f30a53d93c01ff4f66a546c87d97ab4122c0e9cafe1371f87cb03cee6b7d5aa97595
checksum: 73b6d9b650d0434aa7c07d0a1802f099b086ee70a8d8ba7be730439a26572a5eb71def12125c82942be2ec8ee5be38a6f1b42a13e40d4b67f11a148ec9e263eb
languageName: node
linkType: hard
@@ -5088,12 +5077,12 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"is-builtin-module@npm:^3.2.0":
version: 3.2.0
resolution: "is-builtin-module@npm:3.2.0"
"is-builtin-module@npm:^3.2.1":
version: 3.2.1
resolution: "is-builtin-module@npm:3.2.1"
dependencies:
builtin-modules: ^3.3.0
checksum: 0315751b898feff0646511c896e88b608a755c5025d0ce9a3ad25783de50be870e47dafb838cebbb06fbb2a948b209ea55348eee267836c9dd40d3a11ec717d3
checksum: e8f0ffc19a98240bda9c7ada84d846486365af88d14616e737d280d378695c8c448a621dcafc8332dbf0fcd0a17b0763b845400709963fa9151ddffece90ae88
languageName: node
linkType: hard
@@ -7368,7 +7357,7 @@ fsevents@~2.3.2:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@polkadot/dev": ^0.72.29
"@polkadot/dev": ^0.72.39
"@polkadot/typegen": "workspace:packages/typegen"
"@types/node": ^18.15.11
languageName: unknown
@@ -7713,13 +7702,13 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"smoldot@npm:1.0.0":
version: 1.0.0
resolution: "smoldot@npm:1.0.0"
"smoldot@npm:1.0.1":
version: 1.0.1
resolution: "smoldot@npm:1.0.1"
dependencies:
pako: ^2.0.4
ws: ^8.8.1
checksum: 507126c07a6512ea7d19fb2041cc0f78b8031a3f76471b491f19db81e61dbe7ebbd633c23951e9f8e7c3aeee3fc4c0b508dee5b925bfb7d6640ce0853ce6e3ef
checksum: 161066f2f2aabb98c31ef84aa21a1e7c9301d391cc99c429eb589a31e4d4f848d9c51fe521ce2d7f977a9cf81d8e48d101e437e751479063e92e0d6e8ff30f47
languageName: node
linkType: hard
@@ -8396,23 +8385,23 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"typescript@npm:^5.0.3":
version: 5.0.3
resolution: "typescript@npm:5.0.3"
"typescript@npm:^5.0.4":
version: 5.0.4
resolution: "typescript@npm:5.0.4"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 3cce0576d218cb4277ff8b6adfef1a706e9114a98b4261a38ad658a7642f1b274a8396394f6cbff8c0ba852996d7ed2e233e9b8431d5d55ac7c2f6fea645af02
checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.0.3#~builtin<compat/typescript>":
version: 5.0.3
resolution: "typescript@patch:typescript@npm%3A5.0.3#~builtin<compat/typescript>::version=5.0.3&hash=bda367"
"typescript@patch:typescript@npm%3A^5.0.4#~builtin<compat/typescript>":
version: 5.0.4
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=bda367"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 9ec0a8eed38d46cc2c8794555b7674e413604c56c159f71b8ff21ce7f17334a44127a68724cb2ef8221ff3b19369f8f05654e8a5266621d7d962aeed889bd630
checksum: 6a1fe9a77bb9c5176ead919cc4a1499ee63e46b4e05bf667079f11bf3a8f7887f135aa72460a4c3b016e6e6bb65a822cb8689a6d86cbfe92d22cc9f501f09213
languageName: node
linkType: hard
@@ -8791,9 +8780,9 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"webpack@npm:^5.77.0":
version: 5.77.0
resolution: "webpack@npm:5.77.0"
"webpack@npm:^5.78.0":
version: 5.78.0
resolution: "webpack@npm:5.78.0"
dependencies:
"@types/eslint-scope": ^3.7.3
"@types/estree": ^0.0.51
@@ -8824,7 +8813,7 @@ fsevents@~2.3.2:
optional: true
bin:
webpack: bin/webpack.js
checksum: 21341bb72cbbf61dfb3af91eabe9290a6c05139f268eff3c419e5339deb6c79f2f36de55d9abf017d3ccbad290a535c02325001b2816acc393f3c022e67ac17c
checksum: 4213e5bcc23e54c2f2a589e8e96f1fb71a2c05d5033ffda6dd8bae32284abfa0eb6b6d0707806e8dcfa48a8fcda2448d3af6c4539061679251d94c0996bebf99
languageName: node
linkType: hard