Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6b2760de5 | ||
|
|
2ee89b8c72 | ||
|
|
802da709f0 | ||
|
|
836346909f | ||
|
|
8ec5c2abc3 | ||
|
|
cc953efd58 | ||
|
|
857b9cbaea | ||
|
|
4551093fe7 | ||
|
|
69afe1a203 | ||
|
|
f5600afa31 | ||
|
|
3f0a471484 | ||
|
|
bc0e2cfc14 | ||
|
|
3e9d2d6b8f | ||
|
|
3b48825fe6 | ||
|
|
5e4e5cbaa7 | ||
|
|
255b8047b7 | ||
|
|
87edaa5bed | ||
|
|
8a58f018a7 | ||
|
|
e39be09c97 | ||
|
|
007b4aa6c1 | ||
|
|
cc2a4dbfdd |
@@ -17,7 +17,6 @@ jobs:
|
||||
deno-version: vx.x.x
|
||||
- name: ${{ matrix.step }}
|
||||
if: always()
|
||||
continue-on-error: true
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 9.2.1 Aug 13, 2022
|
||||
|
||||
- **Important** If using `import { WellKnownChain } from '@polkadot/rpc-provider'` it is recommended that you rather use `ScProvider.WellKnownChain` (the import may be dropped in a future major version)
|
||||
|
||||
Changes:
|
||||
|
||||
- Don't assume non-empty path specifiers on portable variant/composites
|
||||
- Explicit param length checks for all generic portable overrides
|
||||
- Re-export `ScProvider` in `@polkadot/api`, aligning with `{Http, Ws}Provider`
|
||||
- Expose `WellKnownChain` as static on `ScProvider.WellKnownChain`
|
||||
- Checks for non-available interface types & runtime/rpc definitions
|
||||
- Ensure `.entries/.keys` arguments is less than map-entry query
|
||||
- Add Polkadot 9260 upgrade block
|
||||
- Add Westend 9271 upgrade block
|
||||
- Update to latest Substrate metadata
|
||||
|
||||
|
||||
## 9.1.1 Aug 6, 2022
|
||||
|
||||
Contributed:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
3177 Jaco 9.1.1 (#5139)
|
||||
3188 Jaco 9.2.1 (#5158)
|
||||
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)
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"imports": {
|
||||
"https://esm.sh/v90/@types/bn.js@~5.2/index.d.ts": "https://esm.sh/v90/@types/bn.js@5.1.0/index.d.ts"
|
||||
}
|
||||
}
|
||||
+5
-4
@@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"versions": {
|
||||
"git": "9.1.1",
|
||||
"npm": "9.1.1"
|
||||
"git": "9.2.1",
|
||||
"npm": "9.2.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -23,6 +23,7 @@
|
||||
"build": "yarn build:interfaces && polkadot-dev-build-ts",
|
||||
"build:extra": "(cd packages/typegen && copyfiles scripts/* build)",
|
||||
"build:interfaces": "polkadot-types-internal-interfaces",
|
||||
"build:metadata": "yarn build:interfaces && yarn test:one packages/types/src/metadata/v14",
|
||||
"build:release": "polkadot-ci-ghact-build",
|
||||
"build:rollup": "polkadot-exec-rollup --config",
|
||||
"chain:info": "polkadot-types-chain-info",
|
||||
@@ -37,7 +38,7 @@
|
||||
"@babel/core": "^7.18.10",
|
||||
"@babel/register": "^7.18.9",
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/dev": "^0.67.88",
|
||||
"@polkadot/dev": "^0.67.94",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^28.1.6",
|
||||
"copyfiles": "^2.4.1"
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api-base": "9.1.1",
|
||||
"@polkadot/rpc-augment": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-augment": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/api-base": "9.2.1",
|
||||
"@polkadot/rpc-augment": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-augment": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "9.1.1"
|
||||
"@polkadot/types-support": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -1791,7 +1791,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* bad witness data provided.
|
||||
* Bad child root provided.
|
||||
**/
|
||||
BadChildRoot: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Bad witness data provided.
|
||||
**/
|
||||
BadWitness: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -1805,7 +1809,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
KeyTooLong: AugmentedError<ApiType>;
|
||||
/**
|
||||
* max signed limits not respected.
|
||||
* Max signed limits not respected.
|
||||
**/
|
||||
MaxSignedLimits: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -1816,10 +1820,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Signed migration is not allowed because the maximum limit is not set yet.
|
||||
**/
|
||||
SignedMigrationNotAllowed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* upper bound of size is exceeded,
|
||||
**/
|
||||
SizeUpperBoundExceeded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
|
||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -1195,7 +1195,7 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* Migration got halted due to an error or miss-configuration.
|
||||
**/
|
||||
Halted: AugmentedEvent<ApiType, []>;
|
||||
Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], { error: PalletStateTrieMigrationError }>;
|
||||
/**
|
||||
* Given number of `(top, child)` keys were migrated respectively, with the given
|
||||
* `compute`.
|
||||
|
||||
@@ -7,7 +7,7 @@ import '@polkadot/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, Vec, u32, u64 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
||||
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
||||
@@ -19,7 +19,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
||||
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
||||
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||
import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
||||
@@ -280,5 +280,20 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/1 */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* The call fee details
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
||||
/**
|
||||
* The call info
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-core": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/rpc-core": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"rxjs": "^7.5.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/types-create": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/api": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/types-create": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/keyring": "^10.1.3"
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/keyring": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
[
|
||||
{
|
||||
"info": "Plain",
|
||||
"lookupIndex": 0,
|
||||
"type": "u8",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
},
|
||||
{
|
||||
"info": "Plain",
|
||||
"lookupIndex": 1,
|
||||
"type": "Text",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
},
|
||||
{
|
||||
"info": "VecFixed",
|
||||
"lookupIndex": 2,
|
||||
"type": "[u8;32]",
|
||||
"docs": [],
|
||||
"namespace": "",
|
||||
"length": 32,
|
||||
"sub": {
|
||||
"info": "Plain",
|
||||
"lookupIndex": 0,
|
||||
"type": "u8",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"info": "Struct",
|
||||
"lookupIndex": 3,
|
||||
"type": "{\"inner\":\"[u8;32]\"}",
|
||||
"docs": [],
|
||||
"namespace": "",
|
||||
"sub": [
|
||||
{
|
||||
"docs": [],
|
||||
"name": "inner",
|
||||
"info": "VecFixed",
|
||||
"lookupIndex": 2,
|
||||
"type": "[u8;32]",
|
||||
"namespace": "",
|
||||
"length": 32,
|
||||
"sub": {
|
||||
"info": "Plain",
|
||||
"lookupIndex": 0,
|
||||
"type": "u8",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
},
|
||||
"typeName": "FixedArray32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"info": "Plain",
|
||||
"lookupIndex": 4,
|
||||
"type": "u128",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
},
|
||||
{
|
||||
"info": "Plain",
|
||||
"lookupIndex": 5,
|
||||
"type": "bool",
|
||||
"docs": [],
|
||||
"namespace": ""
|
||||
}
|
||||
]
|
||||
@@ -3,5 +3,6 @@
|
||||
|
||||
import { createVersionedExport } from '../util';
|
||||
import * as v0 from './v0';
|
||||
import * as v3 from './v3';
|
||||
|
||||
export default createVersionedExport({ v0 });
|
||||
export default createVersionedExport({ v0, v3 });
|
||||
|
||||
@@ -0,0 +1,550 @@
|
||||
{
|
||||
"source": {
|
||||
"hash": "",
|
||||
"language": "Ask! 0.4.0",
|
||||
"compiler": "asc 0.19.23"
|
||||
},
|
||||
"contract": {
|
||||
"name": "",
|
||||
"version": "",
|
||||
"authors": []
|
||||
},
|
||||
"V3": {
|
||||
"spec": {
|
||||
"constructors": [
|
||||
{
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 1,
|
||||
"displayName": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"label": "name"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 1,
|
||||
"displayName": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"label": "symbol"
|
||||
}
|
||||
],
|
||||
"docs": [],
|
||||
"label": "default",
|
||||
"payable": false,
|
||||
"selector": "0xed4b9d1b"
|
||||
}
|
||||
],
|
||||
"messages": [
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "to"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "amount"
|
||||
}
|
||||
],
|
||||
"docs": [],
|
||||
"label": "mint",
|
||||
"selector": "0xcfdd9aa2"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "from"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "amount"
|
||||
}
|
||||
],
|
||||
"docs": [],
|
||||
"label": "burn",
|
||||
"selector": "0xb1efc17b"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [],
|
||||
"returnType": {
|
||||
"type": 1,
|
||||
"displayName": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "name",
|
||||
"selector": "0x3adaf70d"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [],
|
||||
"returnType": {
|
||||
"type": 1,
|
||||
"displayName": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "symbol",
|
||||
"selector": "0x9bd1933e"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [],
|
||||
"returnType": {
|
||||
"type": 0,
|
||||
"displayName": [
|
||||
"u8"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "decimal",
|
||||
"selector": "0xcc3fec6d"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [],
|
||||
"returnType": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "totalSupply",
|
||||
"selector": "0xcae60595"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "account"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "balanceOf",
|
||||
"selector": "0xf48def67"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "recipient"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "amount"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 5,
|
||||
"displayName": [
|
||||
"bool"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "transfer",
|
||||
"selector": "0x84a15da1"
|
||||
},
|
||||
{
|
||||
"mutates": false,
|
||||
"payable": false,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "owner"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "spender"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "allowance",
|
||||
"selector": "0x6a00165e"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "spender"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "amount"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 5,
|
||||
"displayName": [
|
||||
"bool"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "approve",
|
||||
"selector": "0x681266a0"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "sender"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "recipient"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "amount"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 5,
|
||||
"displayName": [
|
||||
"bool"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "transferFrom",
|
||||
"selector": "0x02a6e0d5"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "spender"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "addedValue"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 5,
|
||||
"displayName": [
|
||||
"bool"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "increaseAllowance",
|
||||
"selector": "0xcb005356"
|
||||
},
|
||||
{
|
||||
"mutates": true,
|
||||
"payable": true,
|
||||
"args": [
|
||||
{
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"label": "spender"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"label": "subtractedValue"
|
||||
}
|
||||
],
|
||||
"returnType": {
|
||||
"type": 5,
|
||||
"displayName": [
|
||||
"bool"
|
||||
]
|
||||
},
|
||||
"docs": [],
|
||||
"label": "decreaseAllowance",
|
||||
"selector": "0xe19fabb4"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"id": 1,
|
||||
"label": "Transfer",
|
||||
"args": [
|
||||
{
|
||||
"label": "from",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "to",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "value",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"label": "Approval",
|
||||
"args": [
|
||||
{
|
||||
"label": "owner",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "spender",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 3,
|
||||
"displayName": [
|
||||
"AccountId"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "value",
|
||||
"indexed": false,
|
||||
"type": {
|
||||
"type": 4,
|
||||
"displayName": [
|
||||
"u128"
|
||||
]
|
||||
},
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
""
|
||||
]
|
||||
},
|
||||
"types": [
|
||||
{
|
||||
"id": 0,
|
||||
"type": {
|
||||
"def": {
|
||||
"primitive": "u8"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"type": {
|
||||
"def": {
|
||||
"primitive": "str"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": {
|
||||
"def": {
|
||||
"array": {
|
||||
"len": 32,
|
||||
"type": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": {
|
||||
"def": {
|
||||
"composite": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "inner",
|
||||
"type": 2,
|
||||
"typeName": "FixedArray32<u8>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": []
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": {
|
||||
"def": {
|
||||
"primitive": "u128"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": {
|
||||
"def": {
|
||||
"primitive": "bool"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as ask } from './ask.json' assert { type: 'json' };
|
||||
@@ -20,25 +20,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.1.1",
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/api-base": "9.1.1",
|
||||
"@polkadot/rpc-core": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/api": "9.2.1",
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/api-base": "9.2.1",
|
||||
"@polkadot/rpc-core": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "9.1.1",
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/rpc-augment": "9.1.1",
|
||||
"@polkadot/rpc-provider": "9.1.1",
|
||||
"@polkadot/types-support": "9.1.1"
|
||||
"@polkadot/api": "9.2.1",
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/rpc-augment": "9.2.1",
|
||||
"@polkadot/rpc-provider": "9.2.1",
|
||||
"@polkadot/types-support": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
+17
-17
@@ -20,29 +20,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/api-base": "9.1.1",
|
||||
"@polkadot/api-derive": "9.1.1",
|
||||
"@polkadot/keyring": "^10.1.3",
|
||||
"@polkadot/rpc-augment": "9.1.1",
|
||||
"@polkadot/rpc-core": "9.1.1",
|
||||
"@polkadot/rpc-provider": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-augment": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/types-create": "9.1.1",
|
||||
"@polkadot/types-known": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/api-base": "9.2.1",
|
||||
"@polkadot/api-derive": "9.2.1",
|
||||
"@polkadot/keyring": "^10.1.4",
|
||||
"@polkadot/rpc-augment": "9.2.1",
|
||||
"@polkadot/rpc-core": "9.2.1",
|
||||
"@polkadot/rpc-provider": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-augment": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/types-create": "9.2.1",
|
||||
"@polkadot/types-known": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/types-support": "9.1.1"
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/types-support": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import '@polkadot/rpc-augment';
|
||||
|
||||
export { Keyring } from '@polkadot/keyring';
|
||||
export { WsProvider, HttpProvider } from '@polkadot/rpc-provider';
|
||||
export { HttpProvider, ScProvider, WsProvider } from '@polkadot/rpc-provider';
|
||||
|
||||
export { packageInfo } from './packageInfo';
|
||||
export { SubmittableResult } from './submittable';
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-core": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/rpc-core": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-augment": "9.1.1",
|
||||
"@polkadot/rpc-provider": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/rpc-augment": "9.2.1",
|
||||
"@polkadot/rpc-provider": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.3",
|
||||
"@polkadot/rpc-augment": "9.1.1"
|
||||
"@polkadot/keyring": "^10.1.4",
|
||||
"@polkadot/rpc-augment": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/keyring": "^10.1.3",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-support": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/x-fetch": "^10.1.3",
|
||||
"@polkadot/x-global": "^10.1.3",
|
||||
"@polkadot/x-ws": "^10.1.3",
|
||||
"@polkadot/keyring": "^10.1.4",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-support": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"@polkadot/x-fetch": "^10.1.4",
|
||||
"@polkadot/x-global": "^10.1.4",
|
||||
"@polkadot/x-ws": "^10.1.4",
|
||||
"@substrate/connect": "0.7.10",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"mock-socket": "^9.1.5",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, Pro
|
||||
import { Chain, createScClient, ScClient, WellKnownChain } from '@substrate/connect';
|
||||
import EventEmitter from 'eventemitter3';
|
||||
|
||||
import { isError } from '@polkadot/util';
|
||||
import { isError, objectSpread } from '@polkadot/util';
|
||||
|
||||
import { RpcCoder } from '../coder';
|
||||
import { healthChecker } from './Health';
|
||||
@@ -36,20 +36,19 @@ const wellKnownChains = new Set(Object.values(WellKnownChain));
|
||||
const scClients = new WeakMap<ScProvider, ScClient>();
|
||||
|
||||
export { WellKnownChain };
|
||||
|
||||
export class ScProvider implements ProviderInterface {
|
||||
readonly #coder: RpcCoder = new RpcCoder();
|
||||
readonly #spec: string | WellKnownChain;
|
||||
readonly #sharedSandbox?: ScProvider;
|
||||
readonly #subscriptions: Map<
|
||||
string,
|
||||
[ResponseCallback, { unsubscribeMethod: string; id: string | number }]
|
||||
> = new Map();
|
||||
|
||||
readonly #subscriptions: Map<string, [ResponseCallback, { unsubscribeMethod: string; id: string | number }]> = new Map();
|
||||
readonly #requests: Map<number, ResponseCallback> = new Map();
|
||||
readonly #eventemitter: EventEmitter = new EventEmitter();
|
||||
#chain: Promise<Chain> | null = null;
|
||||
#isChainReady = false;
|
||||
|
||||
static WellKnownChain = WellKnownChain;
|
||||
|
||||
public constructor (spec: string | WellKnownChain, sharedSandbox?: ScProvider) {
|
||||
this.#spec = spec;
|
||||
this.#sharedSandbox = sharedSandbox;
|
||||
@@ -215,15 +214,14 @@ export class ScProvider implements ProviderInterface {
|
||||
this.#eventemitter.emit(isReady ? 'connected' : 'disconnected');
|
||||
});
|
||||
|
||||
return {
|
||||
...chain,
|
||||
return objectSpread({}, chain, {
|
||||
remove: () => {
|
||||
hc.stop();
|
||||
chain.remove();
|
||||
cleanup();
|
||||
},
|
||||
sendJsonRpc: hc.sendJsonRpc.bind(hc)
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
try {
|
||||
@@ -252,10 +250,7 @@ export class ScProvider implements ProviderInterface {
|
||||
this.#eventemitter.emit('disconnected');
|
||||
}
|
||||
|
||||
public on (
|
||||
type: ProviderInterfaceEmitted,
|
||||
sub: ProviderInterfaceEmitCb
|
||||
): () => void {
|
||||
public on (type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void {
|
||||
// It's possible. Although, quite unlikely, that by the time that polkadot
|
||||
// subscribes to the `connected` event, the Provider is already connected.
|
||||
// In that case, we must emit to let the consumer know that we are connected.
|
||||
@@ -305,12 +300,7 @@ export class ScProvider implements ProviderInterface {
|
||||
}
|
||||
}
|
||||
|
||||
public async subscribe (
|
||||
type: string,
|
||||
method: string,
|
||||
params: any[],
|
||||
callback: ProviderInterfaceCallback
|
||||
): Promise<number | string> {
|
||||
public async subscribe (type: string, method: string, params: any[], callback: ProviderInterfaceCallback): Promise<number | string> {
|
||||
if (!subscriptionUnsubscriptionMethods.has(method)) {
|
||||
throw new Error(`Unsupported subscribe method: ${method}`);
|
||||
}
|
||||
@@ -337,11 +327,7 @@ export class ScProvider implements ProviderInterface {
|
||||
return id;
|
||||
}
|
||||
|
||||
public unsubscribe (
|
||||
type: string,
|
||||
method: string,
|
||||
id: number | string
|
||||
): Promise<boolean> {
|
||||
public unsubscribe (type: string, method: string, id: number | string): Promise<boolean> {
|
||||
if (!this.isConnected) {
|
||||
throw new Error('Provider is not connected');
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||
@@ -33,18 +33,18 @@
|
||||
"@babel/core": "^7.18.10",
|
||||
"@babel/register": "^7.18.9",
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.1.1",
|
||||
"@polkadot/api-augment": "9.1.1",
|
||||
"@polkadot/rpc-augment": "9.1.1",
|
||||
"@polkadot/rpc-provider": "9.1.1",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-augment": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/types-create": "9.1.1",
|
||||
"@polkadot/types-support": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/x-ws": "^10.1.3",
|
||||
"@polkadot/api": "9.2.1",
|
||||
"@polkadot/api-augment": "9.2.1",
|
||||
"@polkadot/rpc-augment": "9.2.1",
|
||||
"@polkadot/rpc-provider": "9.2.1",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-augment": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/types-create": "9.2.1",
|
||||
"@polkadot/types-support": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"@polkadot/x-ws": "^10.1.4",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.34",
|
||||
"yargs": "^17.5.1"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -15,7 +15,7 @@ import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
|
||||
import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
|
||||
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
|
||||
import type { BeefyAuthoritySet, BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||
import type { BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter } from '@polkadot/types/interfaces/benchmark';
|
||||
import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark';
|
||||
import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder';
|
||||
import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
|
||||
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
||||
@@ -155,10 +155,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
BeefyPayload: BeefyPayload;
|
||||
BeefyPayloadId: BeefyPayloadId;
|
||||
BeefySignedCommitment: BeefySignedCommitment;
|
||||
BenchmarkBatch: BenchmarkBatch;
|
||||
BenchmarkConfig: BenchmarkConfig;
|
||||
BenchmarkList: BenchmarkList;
|
||||
BenchmarkMetadata: BenchmarkMetadata;
|
||||
BenchmarkParameter: BenchmarkParameter;
|
||||
BenchmarkResult: BenchmarkResult;
|
||||
Bid: Bid;
|
||||
Bidder: Bidder;
|
||||
BidKind: BidKind;
|
||||
|
||||
@@ -20,17 +20,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/x-bigint": "^10.1.3"
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/x-bigint": "^10.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-augment": "9.1.1",
|
||||
"@polkadot/types-support": "9.1.1",
|
||||
"@polkadot/util-crypto": "^10.1.3"
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-augment": "9.2.1",
|
||||
"@polkadot/types-support": "9.2.1",
|
||||
"@polkadot/util-crypto": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.1.1"
|
||||
"@polkadot/types": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/networks": "^10.1.3",
|
||||
"@polkadot/types": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/types-create": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/networks": "^10.1.4",
|
||||
"@polkadot/types": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/types-create": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -11,7 +11,7 @@ const upgrades: ChainUpgradesRaw = [
|
||||
[3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050],
|
||||
[6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122],
|
||||
[8115869, 9140], [8638103, 9151], [9280179, 9170], [9738717, 9180], [10156856, 9190],
|
||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250]
|
||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260]
|
||||
];
|
||||
|
||||
export default upgrades;
|
||||
|
||||
@@ -15,7 +15,7 @@ const upgrades: ChainUpgradesRaw = [
|
||||
[7968866, 9121], [7982889, 9122], [8514322, 9130], [9091726, 9140], [9091774, 9150],
|
||||
[9406726, 9160], [9921066, 9170], [10007115, 9180], [10480973, 9190], [10578091, 9200],
|
||||
[10678509, 9210], [10811001, 9220], [11096116, 9230], [11409279, 9250], [11584820, 9251],
|
||||
[11716837, 9260], [11876919, 9261], [11987927, 9270]
|
||||
[11716837, 9260], [11876919, 9261], [11987927, 9270], [12077324, 9271]
|
||||
];
|
||||
|
||||
export default upgrades;
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/util": "^10.1.3"
|
||||
"@polkadot/util": "^10.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
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
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.1.1",
|
||||
"version": "9.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/keyring": "^10.1.3",
|
||||
"@polkadot/types-augment": "9.1.1",
|
||||
"@polkadot/types-codec": "9.1.1",
|
||||
"@polkadot/types-create": "9.1.1",
|
||||
"@polkadot/util": "^10.1.3",
|
||||
"@polkadot/util-crypto": "^10.1.3",
|
||||
"@polkadot/keyring": "^10.1.4",
|
||||
"@polkadot/types-augment": "9.2.1",
|
||||
"@polkadot/types-codec": "9.2.1",
|
||||
"@polkadot/types-create": "9.2.1",
|
||||
"@polkadot/util": "^10.1.4",
|
||||
"@polkadot/util-crypto": "^10.1.4",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.3",
|
||||
"@polkadot/types-support": "9.1.1"
|
||||
"@polkadot/keyring": "^10.1.4",
|
||||
"@polkadot/types-support": "9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
rpc: {},
|
||||
runtime,
|
||||
types: {
|
||||
BenchmarkBatch: {
|
||||
pallet: 'Text',
|
||||
instance: 'Text',
|
||||
benchmark: 'Text',
|
||||
results: 'Vec<BenchmarkResult>'
|
||||
},
|
||||
BenchmarkConfig: {
|
||||
pallet: 'Bytes',
|
||||
benchmark: 'Bytes',
|
||||
@@ -30,6 +36,17 @@ export default {
|
||||
},
|
||||
BenchmarkParameter: {
|
||||
_enum: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
|
||||
},
|
||||
BenchmarkResult: {
|
||||
components: 'Vec<(BenchmarkParameter, u32)>',
|
||||
extrinsicTime: 'u128',
|
||||
storageRootTime: 'u128',
|
||||
reads: 'u32',
|
||||
repeatReads: 'u32',
|
||||
writes: 'u32',
|
||||
repeatWrites: 'u32',
|
||||
proofSize: 'u32',
|
||||
benchKeys: 'Vec<(Vec<u8>, u32, u32, bool)>'
|
||||
}
|
||||
}
|
||||
} as Definitions;
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Bytes, Enum, Struct, Vec, bool, u32 } from '@polkadot/types-codec';
|
||||
import type { Bytes, Enum, Struct, Text, Vec, bool, u128, u32 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
|
||||
/** @name BenchmarkBatch */
|
||||
export interface BenchmarkBatch extends Struct {
|
||||
readonly pallet: Text;
|
||||
readonly instance: Text;
|
||||
readonly benchmark: Text;
|
||||
readonly results: Vec<BenchmarkResult>;
|
||||
}
|
||||
|
||||
/** @name BenchmarkConfig */
|
||||
export interface BenchmarkConfig extends Struct {
|
||||
readonly pallet: Bytes;
|
||||
@@ -57,4 +65,17 @@ export interface BenchmarkParameter extends Enum {
|
||||
readonly type: 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
|
||||
}
|
||||
|
||||
/** @name BenchmarkResult */
|
||||
export interface BenchmarkResult extends Struct {
|
||||
readonly components: Vec<ITuple<[BenchmarkParameter, u32]>>;
|
||||
readonly extrinsicTime: u128;
|
||||
readonly storageRootTime: u128;
|
||||
readonly reads: u32;
|
||||
readonly repeatReads: u32;
|
||||
readonly writes: u32;
|
||||
readonly repeatWrites: u32;
|
||||
readonly proofSize: u32;
|
||||
readonly benchKeys: Vec<ITuple<[Bytes, u32, u32, bool]>>;
|
||||
}
|
||||
|
||||
export type PHANTOM_BENCHMARK = 'benchmark';
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
// Copyright 2017-2022 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { DefinitionsCall, DefinitionsRpc, DefinitionsTypes, RegistryTypes } from '../types';
|
||||
|
||||
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
|
||||
|
||||
import { getTypeDef, TypeRegistry } from '../create';
|
||||
import { Metadata } from '../metadata';
|
||||
import * as all from './definitions';
|
||||
|
||||
interface CheckDef {
|
||||
rpc: DefinitionsRpc;
|
||||
runtime: DefinitionsCall;
|
||||
types: DefinitionsTypes;
|
||||
}
|
||||
|
||||
const registry = new TypeRegistry();
|
||||
const types = Object.values(all).reduce<Record<string, unknown>>((r, { types = {} }) => {
|
||||
Object.entries(types).forEach(([k, v]) => {
|
||||
r[k] = v;
|
||||
});
|
||||
|
||||
return r;
|
||||
}, {});
|
||||
|
||||
registry.register(types as RegistryTypes);
|
||||
registry.setMetadata(new Metadata(registry, rpcMetadata));
|
||||
|
||||
function inspectType (type: string): void {
|
||||
try {
|
||||
// get the definition
|
||||
const { sub } = getTypeDef(registry.createType(type).toRawType());
|
||||
|
||||
// inspect the subs
|
||||
if (Array.isArray(sub)) {
|
||||
for (let i = 0; i < sub.length; i++) {
|
||||
inspectType(sub[i].type);
|
||||
}
|
||||
} else if (sub) {
|
||||
inspectType(sub.type);
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(`${type}:: ${(error as Error).message}`);
|
||||
}
|
||||
}
|
||||
|
||||
describe('type definitions', (): void => {
|
||||
const types = Object.entries(all).filter((v): v is [string, CheckDef] =>
|
||||
!!v[1].types &&
|
||||
Object.keys(v[1].types).length !== 0 &&
|
||||
v[0] === 'benchmark'
|
||||
);
|
||||
|
||||
describe.each(types)('%s', (_, { types }): void => {
|
||||
const typesKeys = Object.keys(types).filter((type) =>
|
||||
// meant to fail
|
||||
type !== 'ExtrinsicUnknown' &&
|
||||
type !== 'ExtrinsicPayloadUnknown' &&
|
||||
// injected at runtime
|
||||
type !== 'Origin' &&
|
||||
// it will fail of MetadataV0
|
||||
type !== 'MetadataAll'
|
||||
);
|
||||
|
||||
it.each(typesKeys)('%s is known', (type): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('rpc definitions', (): void => {
|
||||
const rpcs = Object.entries(all).filter((v): v is [string, CheckDef] =>
|
||||
!!v[1].rpc &&
|
||||
Object.keys(v[1].rpc).length !== 0
|
||||
);
|
||||
|
||||
describe.each(rpcs)('%s', (section, { rpc }): void => {
|
||||
const methodsEntries = Object.entries(rpc);
|
||||
|
||||
describe.each(methodsEntries)('%s', (method, { params, type }): void => {
|
||||
// We cannot constuct V0, so just ignore
|
||||
if (section !== 'state' || method !== 'getMetadata') {
|
||||
it(`output ${type} is known`, (): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
}
|
||||
|
||||
if (params.length) {
|
||||
describe('params', (): void => {
|
||||
it.each(params)('$name: $type is known', ({ type }): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('runtime definitions', (): void => {
|
||||
const runtimes = Object.entries(all).filter((v): v is [string, CheckDef] =>
|
||||
!!v[1].runtime &&
|
||||
Object.keys(v[1].runtime).length !== 0
|
||||
);
|
||||
|
||||
describe.each(runtimes)('%s', (_, { runtime }): void => {
|
||||
const versionsEntries = Object.entries(runtime);
|
||||
|
||||
describe.each(versionsEntries)('%s', (_, versions): void => {
|
||||
describe.each(versions)('version $version', ({ methods }): void => {
|
||||
const methodsEntries = Object.entries(methods);
|
||||
|
||||
describe.each(methodsEntries)('%s', (_, { params, type }): void => {
|
||||
it(`output ${type} is known`, (): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
|
||||
if (params.length) {
|
||||
describe('params', (): void => {
|
||||
it.each(params)('$name: $type is known', ({ type }): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -19,13 +19,13 @@ const netRpc: DefinitionsRpc = {
|
||||
aliasSection: 'net',
|
||||
description: 'Returns number of peers connected to node.',
|
||||
params: [],
|
||||
type: 'String'
|
||||
type: 'Text'
|
||||
},
|
||||
version: {
|
||||
aliasSection: 'net',
|
||||
description: 'Returns protocol version.',
|
||||
params: [],
|
||||
type: 'String'
|
||||
type: 'Text'
|
||||
}
|
||||
};
|
||||
const web3Rpc: DefinitionsRpc = {
|
||||
@@ -33,7 +33,7 @@ const web3Rpc: DefinitionsRpc = {
|
||||
aliasSection: 'web3',
|
||||
description: 'Returns current client version.',
|
||||
params: [],
|
||||
type: 'String'
|
||||
type: 'Text'
|
||||
},
|
||||
sha3: {
|
||||
aliasSection: 'web3',
|
||||
|
||||
@@ -180,7 +180,7 @@ export const runtime: DefinitionsCall = {
|
||||
current_all: {
|
||||
description: 'Return all the current data for a block in a single runtime call.',
|
||||
params: [],
|
||||
type: '(Option<BlockV2>, Option<Vec<ReceiptV0>>, Option<Vec<TransactionStatus>>)'
|
||||
type: '(Option<BlockV2>, Option<Vec<EthReceiptV3>>, Option<Vec<EthTransactionStatus>>)'
|
||||
},
|
||||
current_block: {
|
||||
description: 'Return the current block.',
|
||||
|
||||
@@ -707,35 +707,53 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
}
|
||||
|
||||
#extractComposite (lookupIndex: number, { params, path }: SiType, { fields }: SiTypeDefComposite): TypeDef {
|
||||
const pathFirst = path[0].toString();
|
||||
const pathLast = path[path.length - 1].toString();
|
||||
if (path.length) {
|
||||
const pathFirst = path[0].toString();
|
||||
const pathLast = path[path.length - 1].toString();
|
||||
|
||||
if (path.length === 1 && pathFirst === 'BTreeMap') {
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.BTreeMap,
|
||||
sub: params.map(({ type }) => this.#createSiDef(type.unwrap()))
|
||||
});
|
||||
} else if (path.length === 1 && pathFirst === 'BTreeSet') {
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.BTreeSet,
|
||||
sub: this.#createSiDef(params[0].type.unwrap())
|
||||
});
|
||||
} else if (['Range', 'RangeInclusive'].includes(pathFirst)) {
|
||||
return withTypeString(this.registry, {
|
||||
info: pathFirst === 'Range'
|
||||
? TypeDefInfo.Range
|
||||
: TypeDefInfo.RangeInclusive,
|
||||
sub: this.#createSiDef(params[0].type.unwrap()),
|
||||
type: pathFirst
|
||||
});
|
||||
} else if (['WrapperKeepOpaque', 'WrapperOpaque'].includes(pathLast)) {
|
||||
return withTypeString(this.registry, {
|
||||
info: pathLast === 'WrapperKeepOpaque'
|
||||
? TypeDefInfo.WrapperKeepOpaque
|
||||
: TypeDefInfo.WrapperOpaque,
|
||||
sub: this.#createSiDef(params[0].type.unwrap()),
|
||||
type: pathLast
|
||||
});
|
||||
if (path.length === 1 && pathFirst === 'BTreeMap') {
|
||||
if (params.length !== 2) {
|
||||
throw new Error(`BTreeMap requires 2 parameters, found ${params.length}`);
|
||||
}
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.BTreeMap,
|
||||
sub: params.map(({ type }) => this.#createSiDef(type.unwrap()))
|
||||
});
|
||||
} else if (path.length === 1 && pathFirst === 'BTreeSet') {
|
||||
if (params.length !== 1) {
|
||||
throw new Error(`BTreeSet requires 1 parameter, found ${params.length}`);
|
||||
}
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.BTreeSet,
|
||||
sub: this.#createSiDef(params[0].type.unwrap())
|
||||
});
|
||||
} else if (['Range', 'RangeInclusive'].includes(pathFirst)) {
|
||||
if (params.length !== 1) {
|
||||
throw new Error(`Range requires 1 parameter, found ${params.length}`);
|
||||
}
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: pathFirst === 'Range'
|
||||
? TypeDefInfo.Range
|
||||
: TypeDefInfo.RangeInclusive,
|
||||
sub: this.#createSiDef(params[0].type.unwrap()),
|
||||
type: pathFirst
|
||||
});
|
||||
} else if (['WrapperKeepOpaque', 'WrapperOpaque'].includes(pathLast)) {
|
||||
if (params.length !== 1) {
|
||||
throw new Error(`WrapperOpaque requires 1 parameter, found ${params.length}`);
|
||||
}
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: pathLast === 'WrapperKeepOpaque'
|
||||
? TypeDefInfo.WrapperKeepOpaque
|
||||
: TypeDefInfo.WrapperOpaque,
|
||||
sub: this.#createSiDef(params[0].type.unwrap()),
|
||||
type: pathLast
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return PATHS_SET.some((p) => matchParts(p, path))
|
||||
@@ -916,33 +934,43 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
}
|
||||
|
||||
#extractVariant (lookupIndex: number, { params, path }: SiType, { variants }: SiTypeDefVariant): TypeDef {
|
||||
const specialVariant = path[0].toString();
|
||||
if (path.length) {
|
||||
const specialVariant = path[0].toString();
|
||||
|
||||
if (specialVariant === 'Option') {
|
||||
const sub = this.#createSiDef(params[0].type.unwrap());
|
||||
if (specialVariant === 'Option') {
|
||||
if (params.length !== 1) {
|
||||
throw new Error(`Option requires 1 parameter, found ${params.length}`);
|
||||
}
|
||||
|
||||
// NOTE This is opt-in (unhandled), not by default
|
||||
// if (sub.type === 'bool') {
|
||||
// return withTypeString(this.registry, {
|
||||
// info: TypeDefInfo.Plain,
|
||||
// type: 'OptionBool'
|
||||
// });
|
||||
// }
|
||||
// NOTE This is opt-in (unhandled), not by default
|
||||
// if (sub.type === 'bool') {
|
||||
// return withTypeString(this.registry, {
|
||||
// info: TypeDefInfo.Plain,
|
||||
// type: 'OptionBool'
|
||||
// });
|
||||
// }
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Option,
|
||||
sub
|
||||
});
|
||||
} else if (specialVariant === 'Result') {
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Result,
|
||||
sub: params.map(({ type }, index) =>
|
||||
objectSpread({
|
||||
name: ['Ok', 'Error'][index]
|
||||
}, this.#createSiDef(type.unwrap()))
|
||||
)
|
||||
});
|
||||
} else if (variants.length === 0) {
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Option,
|
||||
sub: this.#createSiDef(params[0].type.unwrap())
|
||||
});
|
||||
} else if (specialVariant === 'Result') {
|
||||
if (params.length !== 2) {
|
||||
throw new Error(`Result requires 2 parameters, found ${params.length}`);
|
||||
}
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Result,
|
||||
sub: params.map(({ type }, index) =>
|
||||
objectSpread({
|
||||
name: ['Ok', 'Error'][index]
|
||||
}, this.#createSiDef(type.unwrap()))
|
||||
)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (variants.length === 0) {
|
||||
return {
|
||||
info: TypeDefInfo.Null,
|
||||
type: 'Null'
|
||||
|
||||
@@ -219,8 +219,8 @@ function extendPrefixedMap (registry: Registry, itemFn: CreateItemFn, storageFn:
|
||||
const { meta: { type }, method, section } = itemFn;
|
||||
|
||||
storageFn.iterKey = extendHeadMeta(registry, itemFn, storageFn, (...args: unknown[]): Raw => {
|
||||
if (args.length && (type.isPlain || (args.length > type.asMap.hashers.length))) {
|
||||
throw new Error(`Iteration ${stringCamelCase(section || 'unknown')}.${stringCamelCase(method || 'unknown')} needs arguments to be at least one less than the full arguments, found [${args.join(', ')}]`);
|
||||
if (args.length && (type.isPlain || (args.length >= type.asMap.hashers.length))) {
|
||||
throw new Error(`Iteration of ${stringCamelCase(section || 'unknown')}.${stringCamelCase(method || 'unknown')} needs arguments to be at least one less than the full arguments, found [${args.join(', ')}]`);
|
||||
}
|
||||
|
||||
if (args.length) {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.1.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.2.1' };
|
||||
|
||||
@@ -1968,29 +1968,29 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@9.1.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@9.2.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/api-base": 9.1.1
|
||||
"@polkadot/rpc-augment": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-augment": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/api-base": 9.2.1
|
||||
"@polkadot/rpc-augment": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-augment": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@9.1.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@9.2.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/rpc-core": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/rpc-core": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -2000,66 +2000,66 @@ __metadata:
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/api": 9.1.1
|
||||
"@polkadot/api-augment": 9.1.1
|
||||
"@polkadot/keyring": ^10.1.3
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-create": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/api": 9.2.1
|
||||
"@polkadot/api-augment": 9.2.1
|
||||
"@polkadot/keyring": ^10.1.4
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-create": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@9.1.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@9.2.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/api": 9.1.1
|
||||
"@polkadot/api-augment": 9.1.1
|
||||
"@polkadot/api-base": 9.1.1
|
||||
"@polkadot/rpc-augment": 9.1.1
|
||||
"@polkadot/rpc-core": 9.1.1
|
||||
"@polkadot/rpc-provider": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/api": 9.2.1
|
||||
"@polkadot/api-augment": 9.2.1
|
||||
"@polkadot/api-base": 9.2.1
|
||||
"@polkadot/rpc-augment": 9.2.1
|
||||
"@polkadot/rpc-core": 9.2.1
|
||||
"@polkadot/rpc-provider": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@9.1.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@9.2.1, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/api-augment": 9.1.1
|
||||
"@polkadot/api-base": 9.1.1
|
||||
"@polkadot/api-derive": 9.1.1
|
||||
"@polkadot/keyring": ^10.1.3
|
||||
"@polkadot/rpc-augment": 9.1.1
|
||||
"@polkadot/rpc-core": 9.1.1
|
||||
"@polkadot/rpc-provider": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-augment": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-create": 9.1.1
|
||||
"@polkadot/types-known": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/api-augment": 9.2.1
|
||||
"@polkadot/api-base": 9.2.1
|
||||
"@polkadot/api-derive": 9.2.1
|
||||
"@polkadot/keyring": ^10.1.4
|
||||
"@polkadot/rpc-augment": 9.2.1
|
||||
"@polkadot/rpc-core": 9.2.1
|
||||
"@polkadot/rpc-provider": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-augment": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-create": 9.2.1
|
||||
"@polkadot/types-known": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
eventemitter3: ^4.0.7
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev@npm:^0.67.88":
|
||||
version: 0.67.88
|
||||
resolution: "@polkadot/dev@npm:0.67.88"
|
||||
"@polkadot/dev@npm:^0.67.94":
|
||||
version: 0.67.94
|
||||
resolution: "@polkadot/dev@npm:0.67.94"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.18.10
|
||||
"@babel/core": ^7.18.10
|
||||
@@ -2084,8 +2084,8 @@ __metadata:
|
||||
"@rollup/plugin-json": ^4.1.0
|
||||
"@rollup/plugin-node-resolve": ^13.3.0
|
||||
"@rushstack/eslint-patch": ^1.1.4
|
||||
"@typescript-eslint/eslint-plugin": 5.32.0
|
||||
"@typescript-eslint/parser": 5.32.0
|
||||
"@typescript-eslint/eslint-plugin": 5.33.0
|
||||
"@typescript-eslint/parser": 5.33.0
|
||||
"@vue/component-compiler-utils": ^3.3.0
|
||||
babel-jest: ^28.1.3
|
||||
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
|
||||
@@ -2121,7 +2121,7 @@ __metadata:
|
||||
mkdirp: ^1.0.4
|
||||
prettier: ^2.7.1
|
||||
rimraf: ^3.0.2
|
||||
rollup: ^2.77.2
|
||||
rollup: ^2.77.3
|
||||
rollup-plugin-cleanup: ^3.2.1
|
||||
typescript: ^4.7.4
|
||||
yargs: ^17.5.1
|
||||
@@ -2148,74 +2148,74 @@ __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: c7aa38e12009677df7a385fd5d86b4753e14b27b2a9fd8e44e25c376e6155fbfcde7d51f626f804ae605a995a7e9740eb31fda8c4de79a8347d4d2fda2326ce2
|
||||
checksum: 4717b6be51688cbed1c39cc25a4a8d27d94c8beef3b104cf6b7cb06ab70ac6c13cc36efda7a1679f6e2c38f3813130ba4151eb82b04a98d65b12dbe2a8337b54
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/keyring@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/keyring@npm:10.1.3"
|
||||
"@polkadot/keyring@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/keyring@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/util": 10.1.3
|
||||
"@polkadot/util-crypto": 10.1.3
|
||||
"@polkadot/util": 10.1.4
|
||||
"@polkadot/util-crypto": 10.1.4
|
||||
peerDependencies:
|
||||
"@polkadot/util": 10.1.3
|
||||
"@polkadot/util-crypto": 10.1.3
|
||||
checksum: 23c5ef127b256384cc1b289391ff7adc43edb30949d521b8b726c8b82477c3232fdef9b7d1982d15372e5faf134f1b8ee7f4fb09411785aa4c20f8776931f7eb
|
||||
"@polkadot/util": 10.1.4
|
||||
"@polkadot/util-crypto": 10.1.4
|
||||
checksum: c812ca2b847f440af8131ce84075e9f3e18e82f21f5728de87abe6b096c8d97ea28243a160b30fb2d38817f4a1ccd8e3aff90e21e1e2602416561404c7fa8b4e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/networks@npm:10.1.3, @polkadot/networks@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/networks@npm:10.1.3"
|
||||
"@polkadot/networks@npm:10.1.4, @polkadot/networks@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/networks@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/util": 10.1.3
|
||||
"@polkadot/util": 10.1.4
|
||||
"@substrate/ss58-registry": ^1.25.0
|
||||
checksum: c265c1be5672936af2b36d8d99233e19296d614285e9471076e976d001e74fa20b1713b57c1d4c3ae4d8d6bd81a54233ff5ace6a70f98f3f1b5f34e8e433b112
|
||||
checksum: 150a8c5f1adaa7198e1d7e0f42592c078abe0e8a0a4ec1c15374746365923f99b4740b2892b3e8c3d18175830cdd264e37916a1398bb876ac91bd89b98c0ba4c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@9.1.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@9.2.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/rpc-core": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/rpc-core": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@9.1.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@9.2.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/keyring": ^10.1.3
|
||||
"@polkadot/rpc-augment": 9.1.1
|
||||
"@polkadot/rpc-provider": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/keyring": ^10.1.4
|
||||
"@polkadot/rpc-augment": 9.2.1
|
||||
"@polkadot/rpc-provider": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@9.1.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@9.2.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/keyring": ^10.1.3
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/x-fetch": ^10.1.3
|
||||
"@polkadot/x-global": ^10.1.3
|
||||
"@polkadot/x-ws": ^10.1.3
|
||||
"@polkadot/keyring": ^10.1.4
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
"@polkadot/x-fetch": ^10.1.4
|
||||
"@polkadot/x-global": ^10.1.4
|
||||
"@polkadot/x-ws": ^10.1.4
|
||||
"@substrate/connect": 0.7.10
|
||||
eventemitter3: ^4.0.7
|
||||
mock-socket: ^9.1.5
|
||||
@@ -2230,18 +2230,18 @@ __metadata:
|
||||
"@babel/core": ^7.18.10
|
||||
"@babel/register": ^7.18.9
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/api": 9.1.1
|
||||
"@polkadot/api-augment": 9.1.1
|
||||
"@polkadot/rpc-augment": 9.1.1
|
||||
"@polkadot/rpc-provider": 9.1.1
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-augment": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-create": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/x-ws": ^10.1.3
|
||||
"@polkadot/api": 9.2.1
|
||||
"@polkadot/api-augment": 9.2.1
|
||||
"@polkadot/rpc-augment": 9.2.1
|
||||
"@polkadot/rpc-provider": 9.2.1
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-augment": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-create": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
"@polkadot/x-ws": ^10.1.4
|
||||
"@types/websocket": ^1.0.5
|
||||
"@types/yargs": ^17.0.11
|
||||
handlebars: ^4.7.7
|
||||
@@ -2256,113 +2256,113 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@9.1.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@9.2.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@9.1.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@9.2.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-augment": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/x-bigint": ^10.1.3
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-augment": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
"@polkadot/x-bigint": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@9.1.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@9.2.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@9.1.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@9.2.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/networks": ^10.1.3
|
||||
"@polkadot/types": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-create": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/networks": ^10.1.4
|
||||
"@polkadot/types": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-create": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@9.1.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@9.2.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util": ^10.1.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@9.1.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@9.2.1, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/keyring": ^10.1.3
|
||||
"@polkadot/types-augment": 9.1.1
|
||||
"@polkadot/types-codec": 9.1.1
|
||||
"@polkadot/types-create": 9.1.1
|
||||
"@polkadot/types-support": 9.1.1
|
||||
"@polkadot/util": ^10.1.3
|
||||
"@polkadot/util-crypto": ^10.1.3
|
||||
"@polkadot/keyring": ^10.1.4
|
||||
"@polkadot/types-augment": 9.2.1
|
||||
"@polkadot/types-codec": 9.2.1
|
||||
"@polkadot/types-create": 9.2.1
|
||||
"@polkadot/types-support": 9.2.1
|
||||
"@polkadot/util": ^10.1.4
|
||||
"@polkadot/util-crypto": ^10.1.4
|
||||
rxjs: ^7.5.6
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:10.1.3, @polkadot/util-crypto@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/util-crypto@npm:10.1.3"
|
||||
"@polkadot/util-crypto@npm:10.1.4, @polkadot/util-crypto@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/util-crypto@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@noble/hashes": 1.1.2
|
||||
"@noble/secp256k1": 1.6.3
|
||||
"@polkadot/networks": 10.1.3
|
||||
"@polkadot/util": 10.1.3
|
||||
"@polkadot/networks": 10.1.4
|
||||
"@polkadot/util": 10.1.4
|
||||
"@polkadot/wasm-crypto": ^6.3.1
|
||||
"@polkadot/x-bigint": 10.1.3
|
||||
"@polkadot/x-randomvalues": 10.1.3
|
||||
"@polkadot/x-bigint": 10.1.4
|
||||
"@polkadot/x-randomvalues": 10.1.4
|
||||
"@scure/base": 1.1.1
|
||||
ed2curve: ^0.3.0
|
||||
tweetnacl: ^1.0.3
|
||||
peerDependencies:
|
||||
"@polkadot/util": 10.1.3
|
||||
checksum: 91b663f24db78aba6f236905af498009d54204273c387f59fa2a074b3f9e22f321482b1104c82156c269532097a8285033fede2c930544bd4b1936e53f2ae621
|
||||
"@polkadot/util": 10.1.4
|
||||
checksum: 5210beca93fa409a9523658398322168cef749422a757cbb7c5019896ce490896b6b076451c55cf8b682960aa2cc7aa1d4bfd6a9a775f11736f3d689550000ef
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:10.1.3, @polkadot/util@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/util@npm:10.1.3"
|
||||
"@polkadot/util@npm:10.1.4, @polkadot/util@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/util@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-bigint": 10.1.3
|
||||
"@polkadot/x-global": 10.1.3
|
||||
"@polkadot/x-textdecoder": 10.1.3
|
||||
"@polkadot/x-textencoder": 10.1.3
|
||||
"@polkadot/x-bigint": 10.1.4
|
||||
"@polkadot/x-global": 10.1.4
|
||||
"@polkadot/x-textdecoder": 10.1.4
|
||||
"@polkadot/x-textencoder": 10.1.4
|
||||
"@types/bn.js": ^5.1.0
|
||||
bn.js: ^5.2.1
|
||||
checksum: 458055c1ed89c83449571de2dd5a67067fe2d8cd6506f02d9ce32077bef106b0297446e15b22db3dc39406f50a4e13d8dc10cf97fb0dd5a4979ce8f68dfa5d7d
|
||||
checksum: 21b356ceafe110e668569b1bdde97b7626bddf66081c1d5d075a752f960567af1dea6d95f9448cdb942adb8e5696418043242c81c892ac89de769772cd2ef59f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2444,76 +2444,76 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-bigint@npm:10.1.3, @polkadot/x-bigint@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-bigint@npm:10.1.3"
|
||||
"@polkadot/x-bigint@npm:10.1.4, @polkadot/x-bigint@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-bigint@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
checksum: 5bc2923b6c5bbab76c47bcd4710d68860312eb943a0a6d759d82c1b53ff12f0738cbc1b09bc9ee0344dbafb1e77a6ca20a4bcd42601c4ca5ef0348d9e7124b63
|
||||
"@polkadot/x-global": 10.1.4
|
||||
checksum: b4e1a2aab00f3c88e626fcea2273b78377c2b22b7d75c69a0684bc9a12fd63ee8e8154fa51ff5b6884c843cead5185c75335511f7ef025c38b4ade5f9df26502
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-fetch@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-fetch@npm:10.1.3"
|
||||
"@polkadot/x-fetch@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-fetch@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
"@polkadot/x-global": 10.1.4
|
||||
"@types/node-fetch": ^2.6.2
|
||||
node-fetch: ^3.2.10
|
||||
checksum: c9c1ea15aa19726592c974791c9980e57684db2ecc10fbf1cb69bebff89edde1433f5eaac10d0cc1b8e97b387b517fe6c2d52dce25947a5e2109cd4872ecf902
|
||||
checksum: 752a80c6ac3ef2dbd3db5c1b515360cdca5dbe77540b6ac304ecaf50a0698618c2ea5c85d05f8fd61aaa2c1cf36d02801d99e5078124bd1b3350504b579e26fa
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-global@npm:10.1.3, @polkadot/x-global@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-global@npm:10.1.3"
|
||||
"@polkadot/x-global@npm:10.1.4, @polkadot/x-global@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-global@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
checksum: 8b3aacdf9102bb9b5c3ceb29f1b7288c7fee11fd79f375f5c61efc4ed77eae200e478edf6fe88d7ecdf5961d8d7cda69beea28eea2c1e0f6e70eecff19aa8cd2
|
||||
checksum: 34706e99e3217e3155aa0b3364bfed79579286f4443043fd96e43d16b0e09435d0a8ebcbe29756211fe4ae889251a6643f9411fec62e974139e964eb78792491
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-randomvalues@npm:10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-randomvalues@npm:10.1.3"
|
||||
"@polkadot/x-randomvalues@npm:10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-randomvalues@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
checksum: 3bb5ef49b1920f85c9aa965d77c60175c16d9203d3321646aef870d225454205f9969361d7a6ded193995a70aa0bab244d14516d0dc5997c36eb3ae5dbf378f3
|
||||
"@polkadot/x-global": 10.1.4
|
||||
checksum: 254894229bb8ce5706814e76eef90085b2e443a05d0a23458fac0f4d7bb90d430cedb9b415a4799925746ca9aa6e8dc4340af495876e4b889d7f5ddc47ccafc8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-textdecoder@npm:10.1.3"
|
||||
"@polkadot/x-textdecoder@npm:10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-textdecoder@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
checksum: 62c159f6d966c82207e013147b0a9502a091f06c8ab9956ae65f698b1325f834b4aeb2f07fdc2cc560a3d5290355e3a9131f68c5578b25d640c8bc221b7eba5a
|
||||
"@polkadot/x-global": 10.1.4
|
||||
checksum: 6450abc44e100b06e1b05338fa3569c9b357afc9e47b38e660d7ac6cde5977274e94c0ae657d49c1d1d6338c22b76b48ebb911c4f1ac5958eef6fb9c9b60668b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-textencoder@npm:10.1.3"
|
||||
"@polkadot/x-textencoder@npm:10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-textencoder@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
checksum: 4947f187a1f5dbbde9031de144d14d64954662fa814936f84b145ca3bc41ff0f6f7e76ed72f252e780d4862a99f0b6cc899dabcb6788a05417a812cc8752cc31
|
||||
"@polkadot/x-global": 10.1.4
|
||||
checksum: 260513ed7b4a90d8cb3f33b48df8c0e90b51729b2835508d7c5187bb8da3e31186c745b2a849bb19361160aa3e63315b582752f7a36ab7dcfcb92801e23a73e8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-ws@npm:^10.1.3":
|
||||
version: 10.1.3
|
||||
resolution: "@polkadot/x-ws@npm:10.1.3"
|
||||
"@polkadot/x-ws@npm:^10.1.4":
|
||||
version: 10.1.4
|
||||
resolution: "@polkadot/x-ws@npm:10.1.4"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/x-global": 10.1.3
|
||||
"@polkadot/x-global": 10.1.4
|
||||
"@types/websocket": ^1.0.5
|
||||
websocket: ^1.0.34
|
||||
checksum: 3c6324bbae670178ed7dcf5b8f6c66b6c57717ea88d289682cfcca1cbbb60b2688799bdc563314384bbafe7b5c16adb0b180fb3ce756f4ab68d821e8d690eb28
|
||||
checksum: 298982d117f99f4fa1894f747ad7c9260e808d4a389da4ff19bf42796c36799995c07ea37470532ea0e41ecf892ce047da6fb5dbcbc93fc19995f249a5174ffe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2925,13 +2925,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/eslint-plugin@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.32.0"
|
||||
"@typescript-eslint/eslint-plugin@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.32.0
|
||||
"@typescript-eslint/type-utils": 5.32.0
|
||||
"@typescript-eslint/utils": 5.32.0
|
||||
"@typescript-eslint/scope-manager": 5.33.0
|
||||
"@typescript-eslint/type-utils": 5.33.0
|
||||
"@typescript-eslint/utils": 5.33.0
|
||||
debug: ^4.3.4
|
||||
functional-red-black-tree: ^1.0.1
|
||||
ignore: ^5.2.0
|
||||
@@ -2944,42 +2944,42 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 9785c34d9742b51130237bfe244924ca6dfd529bdcc5932a5cf81558f0235099c963a11125df393037db51ce451f7ab9442aba3c3a8bb2e0607569a0e31480c8
|
||||
checksum: d408f3f474b34fefde8ee65d98deb126949fd7d8e211a7f95c5cc2b507dedbf8eb239f3895e0c37aa6338989531e37c5f35c2e0de36a126c52f0846e89605487
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/parser@npm:5.32.0"
|
||||
"@typescript-eslint/parser@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/parser@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.32.0
|
||||
"@typescript-eslint/types": 5.32.0
|
||||
"@typescript-eslint/typescript-estree": 5.32.0
|
||||
"@typescript-eslint/scope-manager": 5.33.0
|
||||
"@typescript-eslint/types": 5.33.0
|
||||
"@typescript-eslint/typescript-estree": 5.33.0
|
||||
debug: ^4.3.4
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 3fcfa183cad125c3198fd63701c6e13dad1cc984d309e8cd40ec9a2eb857902abfd7e9ee3f030b18eb1c18c795a61ea289ef147a7f9dfac38df905e7514316af
|
||||
checksum: 2617aba987a70ee6b16ecc6afa6d245422df33a9d056018ff2e316159e667a0ab9d9c15fcea95e0ba65832661e71cc2753a221e77f0b0fab278e52c4497b8278
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/scope-manager@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.32.0"
|
||||
"@typescript-eslint/scope-manager@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.32.0
|
||||
"@typescript-eslint/visitor-keys": 5.32.0
|
||||
checksum: 69bdeb029f39d1112299dc0cb0ddef30e51bdb782fdb79cc4e72fa448e00d71e39938d3bff3fa4ee43b3416c2e3b4564de2c37252914772b07eeedafb14412d6
|
||||
"@typescript-eslint/types": 5.33.0
|
||||
"@typescript-eslint/visitor-keys": 5.33.0
|
||||
checksum: b2cbea9abd528d01a5acb2d68a2a5be51ec6827760d3869bdd70920cf6c3a4f9f96d87c77177f8313009d9db71253e4a75f8393f38651e2abaf91ef28e60fb9d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/type-utils@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.32.0"
|
||||
"@typescript-eslint/type-utils@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/utils": 5.32.0
|
||||
"@typescript-eslint/utils": 5.33.0
|
||||
debug: ^4.3.4
|
||||
tsutils: ^3.21.0
|
||||
peerDependencies:
|
||||
@@ -2987,7 +2987,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 4063808ca054789bebc6adb376d15c13e38f8ea14fa2842c38ae616d77fb77681b67a04b77887cf9ceb6f801ab3fc5eddfb6325779ab821404c62f36c56310bb
|
||||
checksum: a1d1ffb42fe96bfc2339cc2875e218aa82fa9391be04c1a266bb11da1eca6835555687e81cde75477c60e6702049cd4dde7d2638e7e9b9d8cf4b7b2242353a6e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2998,19 +2998,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/types@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/types@npm:5.32.0"
|
||||
checksum: 6758f54d8d7763893cd7c1753f525ef1777eee8b558bf3d54fd2a2ce691ca0cf813c68a26e4db83a1deae4e4a62b247f1195e15a1f3577f1293849f9e55a232c
|
||||
"@typescript-eslint/types@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/types@npm:5.33.0"
|
||||
checksum: 8bbddda84cb3adf5c659b0d42547a2d6ab87f4eea574aca5dd63a3bd85169f32796ecbddad3b27f18a609070f6b1d18a54018d488bad746ae0f6ea5c02206109
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.32.0"
|
||||
"@typescript-eslint/typescript-estree@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.32.0
|
||||
"@typescript-eslint/visitor-keys": 5.32.0
|
||||
"@typescript-eslint/types": 5.33.0
|
||||
"@typescript-eslint/visitor-keys": 5.33.0
|
||||
debug: ^4.3.4
|
||||
globby: ^11.1.0
|
||||
is-glob: ^4.0.3
|
||||
@@ -3019,7 +3019,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 6aee08be5d36603d038fb8340f324f5cb38519150c9b37c012f0c1ff2a4d8cf22fbc6835de31d069949c2b3d8ed3e729076a724ef29db4289d9fe73b97c9d310
|
||||
checksum: 26f9005cdfb14654125a33d90d872b926820e560dff8970c4629fd5f6f47ad2a31e4c63161564d21bb42a8fc3ced0033994854ee37336ae07d90ccf6300d702b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3041,19 +3041,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.32.0"
|
||||
"@typescript-eslint/utils@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.33.0"
|
||||
dependencies:
|
||||
"@types/json-schema": ^7.0.9
|
||||
"@typescript-eslint/scope-manager": 5.32.0
|
||||
"@typescript-eslint/types": 5.32.0
|
||||
"@typescript-eslint/typescript-estree": 5.32.0
|
||||
"@typescript-eslint/scope-manager": 5.33.0
|
||||
"@typescript-eslint/types": 5.33.0
|
||||
"@typescript-eslint/typescript-estree": 5.33.0
|
||||
eslint-scope: ^5.1.1
|
||||
eslint-utils: ^3.0.0
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: cfd88d93508c8fb0db17d2726691e1383db390357fa0637bd8111558fbe72da5130d995294001d71b1d929d620fbce3f20a70b277a77ca21a4241b3b470dc758
|
||||
checksum: 6ce5ee5eabeb6d73538b24e6487f811ecb0ef3467bd366cbd15bf30d904bdedb73fc6f48cf2e2e742dda462b42999ea505e8b59255545825ec9db86f3d423ea7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3067,13 +3067,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:5.32.0":
|
||||
version: 5.32.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.32.0"
|
||||
"@typescript-eslint/visitor-keys@npm:5.33.0":
|
||||
version: 5.33.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.33.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.32.0
|
||||
"@typescript-eslint/types": 5.33.0
|
||||
eslint-visitor-keys: ^3.3.0
|
||||
checksum: 1f9b756d648c2346a6e8538ffde729d3d9ce6621fded3d9f15c96aa0ebf8f511daf8232470423fb36359c2113538a4daaf3336181be78a0cfbfd297af91ce9ba
|
||||
checksum: d7e3653de6bac6841e6fcc54226b93ad6bdca4aa76ebe7d83459c016c3eebcc50d4f65ee713174bc267d765295b642d1927a778c5de707b8389e3fcc052aa4a1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9271,9 +9271,9 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rollup@npm:^2.77.2":
|
||||
version: 2.77.2
|
||||
resolution: "rollup@npm:2.77.2"
|
||||
"rollup@npm:^2.77.3":
|
||||
version: 2.77.3
|
||||
resolution: "rollup@npm:2.77.3"
|
||||
dependencies:
|
||||
fsevents: ~2.3.2
|
||||
dependenciesMeta:
|
||||
@@ -9281,7 +9281,7 @@ resolve@^2.0.0-next.3:
|
||||
optional: true
|
||||
bin:
|
||||
rollup: dist/bin/rollup
|
||||
checksum: 5a84fb98a6f858906bceba091430442f6c1f362b07c5fa9123b708f87e39f52640e34a189cd9a1776ceae61300055c78ba648205fa03188451539ebeb19797df
|
||||
checksum: b179c68249584565ddb5664a241e8e48c293b2207718d885b08ee25797d98857a383f06b544bb89819407da5a71557f4713309a278f61c4778bb32b1d3321a1c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9292,7 +9292,7 @@ resolve@^2.0.0-next.3:
|
||||
"@babel/core": ^7.18.10
|
||||
"@babel/register": ^7.18.9
|
||||
"@babel/runtime": ^7.18.9
|
||||
"@polkadot/dev": ^0.67.88
|
||||
"@polkadot/dev": ^0.67.94
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/jest": ^28.1.6
|
||||
copyfiles: ^2.4.1
|
||||
|
||||
Reference in New Issue
Block a user