Display named reserves (#7051)
* Display named reserves * Cleanups * Bump API * Fix mocks
This commit is contained in:
parent
ccf9c15b83
commit
b5e973e284
28
package.json
28
package.json
@ -88,24 +88,24 @@
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^7.9.2-8",
|
||||
"@polkadot/api-augment": "^7.9.2-8",
|
||||
"@polkadot/api-base": "^7.9.2-8",
|
||||
"@polkadot/api-contract": "^7.9.2-8",
|
||||
"@polkadot/api-derive": "^7.9.2-8",
|
||||
"@polkadot/api": "^7.9.2-10",
|
||||
"@polkadot/api-augment": "^7.9.2-10",
|
||||
"@polkadot/api-base": "^7.9.2-10",
|
||||
"@polkadot/api-contract": "^7.9.2-10",
|
||||
"@polkadot/api-derive": "^7.9.2-10",
|
||||
"@polkadot/hw-ledger": "^8.4.1",
|
||||
"@polkadot/keyring": "^8.4.1",
|
||||
"@polkadot/networks": "^8.4.1",
|
||||
"@polkadot/phishing": "^0.8.219",
|
||||
"@polkadot/rpc-augment": "^7.9.2-8",
|
||||
"@polkadot/rpc-core": "^7.9.2-8",
|
||||
"@polkadot/rpc-provider": "^7.9.2-8",
|
||||
"@polkadot/types": "^7.9.2-8",
|
||||
"@polkadot/types-augment": "^7.9.2-8",
|
||||
"@polkadot/types-codec": "^7.9.2-8",
|
||||
"@polkadot/types-create": "^7.9.2-8",
|
||||
"@polkadot/types-known": "^7.9.2-8",
|
||||
"@polkadot/types-support": "^7.9.2-8",
|
||||
"@polkadot/rpc-augment": "^7.9.2-10",
|
||||
"@polkadot/rpc-core": "^7.9.2-10",
|
||||
"@polkadot/rpc-provider": "^7.9.2-10",
|
||||
"@polkadot/types": "^7.9.2-10",
|
||||
"@polkadot/types-augment": "^7.9.2-10",
|
||||
"@polkadot/types-codec": "^7.9.2-10",
|
||||
"@polkadot/types-create": "^7.9.2-10",
|
||||
"@polkadot/types-known": "^7.9.2-10",
|
||||
"@polkadot/types-support": "^7.9.2-10",
|
||||
"@polkadot/util": "^8.4.1",
|
||||
"@polkadot/util-crypto": "^8.4.1",
|
||||
"@polkadot/wasm-crypto": "^4.5.1",
|
||||
|
||||
@ -28,10 +28,10 @@
|
||||
"@metaverse-network-sdk/type-definitions": "^0.0.1-6",
|
||||
"@parallel-finance/type-definitions": "1.5.2",
|
||||
"@phala/typedefs": "0.2.30",
|
||||
"@polkadot/api": "^7.9.2-8",
|
||||
"@polkadot/api-derive": "^7.9.2-8",
|
||||
"@polkadot/api": "^7.9.2-10",
|
||||
"@polkadot/api-derive": "^7.9.2-10",
|
||||
"@polkadot/networks": "^8.4.1",
|
||||
"@polkadot/types": "^7.9.2-8",
|
||||
"@polkadot/types": "^7.9.2-10",
|
||||
"@polkadot/util": "^8.4.1",
|
||||
"@polkadot/x-fetch": "^8.4.1",
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.2",
|
||||
"@polkadot/hw-ledger": "^8.4.1",
|
||||
"@polkadot/phishing": "^0.8.221",
|
||||
"@polkadot/phishing": "^0.8.219",
|
||||
"@polkadot/react-components": "^0.106.2-37",
|
||||
"@polkadot/react-hooks": "^0.106.2-37",
|
||||
"@polkadot/util": "^8.4.1",
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"version": "0.106.2-37",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.2",
|
||||
"@polkadot/api-contract": "^7.9.2-8"
|
||||
"@polkadot/api-contract": "^7.9.2-10"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"version": "0.106.2-37",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.2",
|
||||
"@polkadot/api": "^7.9.2-8",
|
||||
"@polkadot/api": "^7.9.2-10",
|
||||
"@polkadot/extension-compat-metamask": "^0.42.8-9",
|
||||
"@polkadot/extension-dapp": "^0.42.8-9",
|
||||
"@substrate/connect": "^0.5.0",
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
|
||||
import type { TFunction } from 'i18next';
|
||||
import type { DeriveBalancesAccountData, DeriveBalancesAll, DeriveDemocracyLock, DeriveStakingAccount } from '@polkadot/api-derive/types';
|
||||
import type { BlockNumber, LockIdentifier, ValidatorPrefsTo145, Voting } from '@polkadot/types/interfaces';
|
||||
import type { Raw } from '@polkadot/types';
|
||||
import type { BlockNumber, ValidatorPrefsTo145, Voting } from '@polkadot/types/interfaces';
|
||||
import type { PalletBalancesReserveData } from '@polkadot/types/lookup';
|
||||
import type { BN } from '@polkadot/util';
|
||||
|
||||
import React, { useRef } from 'react';
|
||||
@ -13,7 +15,7 @@ import { withCalls, withMulti } from '@polkadot/react-api/hoc';
|
||||
import { Expander, Icon, Tooltip } from '@polkadot/react-components';
|
||||
import { useBestNumber } from '@polkadot/react-hooks';
|
||||
import { BlockToTime, FormatBalance } from '@polkadot/react-query';
|
||||
import { BN_ZERO, formatBalance, formatNumber, hexToString, isObject } from '@polkadot/util';
|
||||
import { BN_ZERO, formatBalance, formatNumber, isObject } from '@polkadot/util';
|
||||
|
||||
import CryptoType from './CryptoType';
|
||||
import DemocracyLocks from './DemocracyLocks';
|
||||
@ -86,13 +88,11 @@ function IconVoid (): React.ReactElement {
|
||||
return <span className='icon-void'> </span>;
|
||||
}
|
||||
|
||||
function lookupLock (lookup: Record<string, string>, lockId: LockIdentifier): string {
|
||||
const lockHex = lockId.toHex();
|
||||
function lookupLock (lookup: Record<string, string>, lockId: Raw): string {
|
||||
const lockHex = lockId.toHuman() as string;
|
||||
|
||||
try {
|
||||
const lockName = hexToString(lockHex);
|
||||
|
||||
return lookup[lockName] || lockName;
|
||||
return lookup[lockHex] || lockHex;
|
||||
} catch (error) {
|
||||
return lockHex;
|
||||
}
|
||||
@ -301,6 +301,9 @@ function createBalanceItems (formatIndex: number, lookup: Record<string, string>
|
||||
);
|
||||
}
|
||||
|
||||
const allReserves = deriveBalances?.namedReserves.reduce<PalletBalancesReserveData[]>((t, r) => t.concat(...r), []);
|
||||
const hasNamedReserves = !!allReserves && allReserves.length !== 0;
|
||||
|
||||
balanceDisplay.locked && balancesAll && (isAllLocked || deriveBalances.lockedBalance?.gtn(0)) && allItems.push(
|
||||
<React.Fragment key={3}>
|
||||
<Label label={t<string>('locked')} />
|
||||
@ -308,25 +311,26 @@ function createBalanceItems (formatIndex: number, lookup: Record<string, string>
|
||||
className='result'
|
||||
formatIndex={formatIndex}
|
||||
labelPost={
|
||||
<Icon
|
||||
icon='info-circle'
|
||||
tooltip={`${address}-locks-trigger`}
|
||||
/>
|
||||
<>
|
||||
<Icon
|
||||
icon='info-circle'
|
||||
tooltip={`${address}-locks-trigger`}
|
||||
/>
|
||||
<Tooltip
|
||||
text={deriveBalances.lockedBreakdown.map(({ amount, id, reasons }, index): React.ReactNode => (
|
||||
<div key={index}>
|
||||
{amount?.isMax()
|
||||
? t<string>('everything')
|
||||
: formatBalance(amount, { forceUnit: '-' })
|
||||
}{id && <div className='faded'>{lookupLock(lookup, id)}</div>}<div className='faded'>{reasons.toString()}</div>
|
||||
</div>
|
||||
))}
|
||||
trigger={`${address}-locks-trigger`}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
value={isAllLocked ? 'all' : deriveBalances.lockedBalance}
|
||||
>
|
||||
<Tooltip
|
||||
text={deriveBalances.lockedBreakdown.map(({ amount, id, reasons }, index): React.ReactNode => (
|
||||
<div key={index}>
|
||||
{amount?.isMax()
|
||||
? t<string>('everything')
|
||||
: formatBalance(amount, { forceUnit: '-' })
|
||||
}{id && <div className='faded'>{lookupLock(lookup, id)}</div>}<div className='faded'>{reasons.toString()}</div>
|
||||
</div>
|
||||
))}
|
||||
trigger={`${address}-locks-trigger`}
|
||||
/>
|
||||
</FormatBalance>
|
||||
/>
|
||||
</React.Fragment>
|
||||
);
|
||||
balanceDisplay.reserved && balancesAll?.reservedBalance?.gtn(0) && allItems.push(
|
||||
@ -335,7 +339,27 @@ function createBalanceItems (formatIndex: number, lookup: Record<string, string>
|
||||
<FormatBalance
|
||||
className='result'
|
||||
formatIndex={formatIndex}
|
||||
labelPost={<IconVoid />}
|
||||
labelPost={
|
||||
hasNamedReserves
|
||||
? (
|
||||
<>
|
||||
<Icon
|
||||
icon='info-circle'
|
||||
tooltip={`${address}-named-reserves-trigger`}
|
||||
/>
|
||||
<Tooltip
|
||||
text={allReserves.map(({ amount, id }, index): React.ReactNode => (
|
||||
<div key={index}>
|
||||
{formatBalance(amount, { forceUnit: '-' })
|
||||
}{id && <div className='faded'>{lookupLock(lookup, id)}</div>}
|
||||
</div>
|
||||
))}
|
||||
trigger={`${address}-named-reserves-trigger`}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
: <IconVoid />
|
||||
}
|
||||
value={balancesAll.reservedBalance}
|
||||
/>
|
||||
</React.Fragment>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"testcontainers": "^8.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "^7.9.2-8",
|
||||
"@polkadot/types-support": "^7.9.2-10",
|
||||
"@testing-library/jest-dom": "^5.16.2",
|
||||
"tsconfig-paths": "^3.12.0"
|
||||
}
|
||||
|
||||
@ -51,6 +51,7 @@ export const defaultBalanceAccount: DeriveBalancesAll = {
|
||||
freeBalance: balanceOf(0),
|
||||
lockedBalance: balanceOf(0),
|
||||
lockedBreakdown: [],
|
||||
namedReserves: [],
|
||||
reservedBalance: balanceOf(0)
|
||||
} as any;
|
||||
|
||||
|
||||
216
yarn.lock
216
yarn.lock
@ -2573,90 +2573,90 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/api-augment@npm:7.9.2-8"
|
||||
"@polkadot/api-augment@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/api-augment@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api-base": 7.9.2-8
|
||||
"@polkadot/rpc-augment": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-augment": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/api-base": 7.9.2-10
|
||||
"@polkadot/rpc-augment": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-augment": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: 394ec578f88a5fa6689e16cad77ef8dc17ad4bce92f268d6e4c53fce3296f4c0b223b50051eea69cd0f3eb921e1c58d6a1fc7d7a374b4f234c4be261333cf411
|
||||
checksum: 971174cd0a2376a6494529719bb1dc15771b8d00cb87bae1d2d3f040d6d991d6154a0a13b5b08e38aec85c6ab0aa21ab6cfe3056f9f951e72f73ae89a37dbae3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-base@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/api-base@npm:7.9.2-8"
|
||||
"@polkadot/api-base@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/api-base@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/rpc-core": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/rpc-core": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
rxjs: ^7.5.4
|
||||
checksum: 93c24f9c5eeaa257f2959f157a8b05d54ed8293eb79936bbeb0c13b2ea3e5cb81f1d7fa92208ff75382c0adb29a28d01ec1998fc526009c1786c69161de3198a
|
||||
checksum: b59b18381ff2c8f0f53cb80a06475fec577218283330f9ae526faccc0b8863a8f95509634bd9185452ae15cc51bea57377ddf328b0446d2b25b15a9e7fccbfdf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-contract@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/api-contract@npm:7.9.2-8"
|
||||
"@polkadot/api-contract@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/api-contract@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types-create": 7.9.2-8
|
||||
"@polkadot/api": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/types-create": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/util-crypto": ^8.4.1
|
||||
rxjs: ^7.5.4
|
||||
checksum: ae71ba2618dd0a0df83ff052aad5b214e97ba58234021db34e0879376807dd90bbaf75e883f6e4b1952025cfde247e92712c010fc6970ea2423b0be3328976a5
|
||||
checksum: 1f368d274467a7471d1632559acfd72ef60518fc9906af3c7bda53309d5a580295df0fe9c9c7d5ffc88c4b3c276f432107b0f5d84beebbab9d08018978f01ec3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-derive@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/api-derive@npm:7.9.2-8"
|
||||
"@polkadot/api-derive@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/api-derive@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api": 7.9.2-8
|
||||
"@polkadot/api-augment": 7.9.2-8
|
||||
"@polkadot/api-base": 7.9.2-8
|
||||
"@polkadot/rpc-core": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/api": 7.9.2-10
|
||||
"@polkadot/api-augment": 7.9.2-10
|
||||
"@polkadot/api-base": 7.9.2-10
|
||||
"@polkadot/rpc-core": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/util-crypto": ^8.4.1
|
||||
rxjs: ^7.5.4
|
||||
checksum: f0731e50f68e3813dab0f091f78e36af27c442ffeb85d5d3c079af9b09221df050f82f57611377019fd30026479c88867b61f58f17a17392543b9c36d76560db
|
||||
checksum: 7f0a34bebc26e4669097f30fc08839534cf5cb1ac646a3a735e3b5ffd102d9bdc93268d9c1474297e5aeba0e9d06b44df16ed9902aa702d736a869400fb62ca0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/api@npm:7.9.2-8"
|
||||
"@polkadot/api@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/api@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api-augment": 7.9.2-8
|
||||
"@polkadot/api-base": 7.9.2-8
|
||||
"@polkadot/api-derive": 7.9.2-8
|
||||
"@polkadot/api-augment": 7.9.2-10
|
||||
"@polkadot/api-base": 7.9.2-10
|
||||
"@polkadot/api-derive": 7.9.2-10
|
||||
"@polkadot/keyring": ^8.4.1
|
||||
"@polkadot/rpc-augment": 7.9.2-8
|
||||
"@polkadot/rpc-core": 7.9.2-8
|
||||
"@polkadot/rpc-provider": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-augment": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types-create": 7.9.2-8
|
||||
"@polkadot/types-known": 7.9.2-8
|
||||
"@polkadot/rpc-augment": 7.9.2-10
|
||||
"@polkadot/rpc-core": 7.9.2-10
|
||||
"@polkadot/rpc-provider": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-augment": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/types-create": 7.9.2-10
|
||||
"@polkadot/types-known": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/util-crypto": ^8.4.1
|
||||
eventemitter3: ^4.0.7
|
||||
rxjs: ^7.5.4
|
||||
checksum: 664e02df4d4662528482d948d6e992e7c164f8dbbd119e59e3b559322ab3ebfc83ad979d8f0729cf9b8684cc33193248920f28858f216f235b93f0bd074648e6
|
||||
checksum: 8761a92dff99e37a69754ee8c0699cd132075a5f08e67729b30b53c5c1c5620c4557f1cd10497b7573c0222fcca9cca38cfe2f30d0e1c5f3d68dedd34106f557
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -2666,7 +2666,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/hw-ledger": ^8.4.1
|
||||
"@polkadot/phishing": ^0.8.221
|
||||
"@polkadot/phishing": ^0.8.219
|
||||
"@polkadot/react-components": ^0.106.2-37
|
||||
"@polkadot/react-hooks": ^0.106.2-37
|
||||
"@polkadot/test-support": 0.106.2-37
|
||||
@ -2732,7 +2732,7 @@ __metadata:
|
||||
resolution: "@polkadot/app-contracts@workspace:packages/page-contracts"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api-contract": ^7.9.2-8
|
||||
"@polkadot/api-contract": ^7.9.2-10
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -2940,10 +2940,10 @@ __metadata:
|
||||
"@metaverse-network-sdk/type-definitions": ^0.0.1-6
|
||||
"@parallel-finance/type-definitions": 1.5.2
|
||||
"@phala/typedefs": 0.2.30
|
||||
"@polkadot/api": ^7.9.2-8
|
||||
"@polkadot/api-derive": ^7.9.2-8
|
||||
"@polkadot/api": ^7.9.2-10
|
||||
"@polkadot/api-derive": ^7.9.2-10
|
||||
"@polkadot/networks": ^8.4.1
|
||||
"@polkadot/types": ^7.9.2-8
|
||||
"@polkadot/types": ^7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/x-fetch": ^8.4.1
|
||||
"@polymathnetwork/polymesh-types": 0.0.2
|
||||
@ -3250,7 +3250,7 @@ __metadata:
|
||||
resolution: "@polkadot/react-api@workspace:packages/react-api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/api": ^7.9.2-8
|
||||
"@polkadot/api": ^7.9.2-10
|
||||
"@polkadot/extension-compat-metamask": ^0.42.8-9
|
||||
"@polkadot/extension-dapp": ^0.42.8-9
|
||||
"@substrate/connect": ^0.5.0
|
||||
@ -3386,41 +3386,41 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-augment@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/rpc-augment@npm:7.9.2-8"
|
||||
"@polkadot/rpc-augment@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/rpc-augment@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/rpc-core": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/rpc-core": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: 331bdf1557917930f1005d1c633dd942ee9f4bfc30eb374e054c874170554f36649459e76ecb33ae11d45edf7329b6673064c2edd1dc3819eae438d861547e0a
|
||||
checksum: 0645baca584500d5a986c4a3e383c50ba9c1d74c2e6ed98b4a549dfe91585d459ddd5f5716d7e87e96ddd09325f9842c3622844674d7b44d1ebc8d0ec8c33c99
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-core@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/rpc-core@npm:7.9.2-8"
|
||||
"@polkadot/rpc-core@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/rpc-core@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/rpc-augment": 7.9.2-8
|
||||
"@polkadot/rpc-provider": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/rpc-augment": 7.9.2-10
|
||||
"@polkadot/rpc-provider": 7.9.2-10
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
rxjs: ^7.5.4
|
||||
checksum: 3da53c46c3468c6daa82b5b0f892763632898b90ceaac079f8a6cbf8252c534ae0576d1ac85a44fc266f9931d7ad817b187ee2445c10fa63b0b431787912f26b
|
||||
checksum: af94dbff6d729eb700e217e2632915972801127e2ced7485634a7242e6a5f96d5fd6ae9d09d6a265c79dcf18b29c5539a22275179e84c27168028583fae2643c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-provider@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/rpc-provider@npm:7.9.2-8"
|
||||
"@polkadot/rpc-provider@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/rpc-provider@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/keyring": ^8.4.1
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-support": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-support": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/util-crypto": ^8.4.1
|
||||
"@polkadot/x-fetch": ^8.4.1
|
||||
@ -3429,7 +3429,7 @@ __metadata:
|
||||
eventemitter3: ^4.0.7
|
||||
mock-socket: ^9.1.2
|
||||
nock: ^13.2.4
|
||||
checksum: bd18565af19d438802db132aba154c21a9eb170d17405afd466dea68d5750f28f1755ae768340f5a94c67ce909ca2aa18cba49a34df33b3be103c7ba387447de
|
||||
checksum: 8d4e063004bfac3c971039029e20e0d489ee19e3bed451abfe5a56b8637075da0db68289b11497b4c97e605c6c243a721218957baf07c4b0d6bab6beeb2dd553
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -3437,7 +3437,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/test-support@workspace:packages/test-support"
|
||||
dependencies:
|
||||
"@polkadot/types-support": ^7.9.2-8
|
||||
"@polkadot/types-support": ^7.9.2-10
|
||||
"@testing-library/jest-dom": ^5.16.2
|
||||
"@testing-library/react": ^12.1.3
|
||||
testcontainers: ^8.2.0
|
||||
@ -3445,76 +3445,76 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types-augment@npm:7.9.2-8"
|
||||
"@polkadot/types-augment@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types-augment@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: 828915464dda6da8fa1eb697df743601f831ecad59f2b43fb7599eb5fb7a32408bcb150ae40d88bec0fe711d869cdd6aa2ad99d672b3a1506e893f20668a5bff
|
||||
checksum: fb291a630d13b17a8a9d3cbb1bdcde7742cfd286164a7e2adaa1af870b79b1685d6607ce81a1456b93e59974f13e43f3ca2cc193d7b362e210e37579dd41f1be
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/types-codec@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types-codec@npm:7.9.2-8"
|
||||
"@polkadot/types-codec@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types-codec@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: 475b3b6e2d76cf618eb0aae347a8184df6991552f476772f91a3dadf288d9d288e0faa6a60d2b2325eb4eff58f577e8f053649ce35b08c3361d8b28c8c125978
|
||||
checksum: 1dfdf29d2bd6fba46fa14534b868e32c9d7c0ff244a550d298958c910758efcc6e3f5632ea9dfa3b44040aef3e2366373f207cebd244b7d0250000442bde7e37
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/types-create@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types-create@npm:7.9.2-8"
|
||||
"@polkadot/types-create@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types-create@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: d779bf157ea219ac6ecff0a2e46c2ec48b22333228302ee4550b2e0612330cc6ac75a71d4f011f27883a611ff543d8bb212f253dd42142ece7af9e45e09bed3a
|
||||
checksum: 6628597328c2aae401d34b8b1df45be0327d87d4af8affd4cede4d1651421bbaf8cdf3ced4715b497c2d84352c18b9c08d22dacff965ea2cdac93f8e79d7373e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/types-known@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types-known@npm:7.9.2-8"
|
||||
"@polkadot/types-known@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types-known@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/networks": ^8.4.1
|
||||
"@polkadot/types": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types-create": 7.9.2-8
|
||||
"@polkadot/types": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/types-create": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: ac59144ac7c35887247e99d78ba8de86f8c8037a8d9421860bfd6d93cf80d90fc09102a9017dd613907c6a72afb27af41e90864f672b95ff12bc6699fd8ab6f0
|
||||
checksum: b60a79ca4e9742f0f903c47a9532091903ff6c80d0830ad418b49d43000929f333b8a022687819c076c68505bc8065d87de0cd710ee59596f7534d12f24efa35
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/types-support@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types-support@npm:7.9.2-8"
|
||||
"@polkadot/types-support@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types-support@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/util": ^8.4.1
|
||||
checksum: c45e3c2ddc75d50025b14d1143d379767dbda829a08ff2f597fa1cdbdbefd55040ad6afadd6e5a5e9293a36e2219e8201c0d1f412f8b077d544d6dc895b43511
|
||||
checksum: ef6ecfc2715afea3d31bf0b740466c8ac7e92a59a0c85c08984f7162c7c60999064e51996da72fbec44b6d3a689dabddf65b18f1f9b0ab7f3be040b627245ab1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/types@npm:^7.9.2-8":
|
||||
version: 7.9.2-8
|
||||
resolution: "@polkadot/types@npm:7.9.2-8"
|
||||
"@polkadot/types@npm:^7.9.2-10":
|
||||
version: 7.9.2-10
|
||||
resolution: "@polkadot/types@npm:7.9.2-10"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.2
|
||||
"@polkadot/keyring": ^8.4.1
|
||||
"@polkadot/types-augment": 7.9.2-8
|
||||
"@polkadot/types-codec": 7.9.2-8
|
||||
"@polkadot/types-create": 7.9.2-8
|
||||
"@polkadot/types-augment": 7.9.2-10
|
||||
"@polkadot/types-codec": 7.9.2-10
|
||||
"@polkadot/types-create": 7.9.2-10
|
||||
"@polkadot/util": ^8.4.1
|
||||
"@polkadot/util-crypto": ^8.4.1
|
||||
rxjs: ^7.5.4
|
||||
checksum: 5d10394b7b3ddc192ba16245b837a4beb5f63cfe014f44507d1a3b48931752b18aed31a7c211198b93fb14ef0e4f42a2e88c165787190781d381fe1459e9b670
|
||||
checksum: 843d3e5a60597a0f91c28769a24279fb09acd8ed2e38d079a1ded96aefd794550dec15ac5259bbf27387c91d78d890e045d5015a12fd6b4810f7275e4fe15152
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user