Bump API (7.0.2, derive fixes) (#6718)

* Bump API (7.0.2, derive fixes)

* Fix assets for latest/older

* No composite
This commit is contained in:
Jaco 2021-12-21 10:22:02 +01:00 committed by GitHub
parent f08f7729d5
commit 22b0d5daea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 223 additions and 197 deletions

View File

@ -61,8 +61,8 @@
"@babel/runtime": "^7.16.5",
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.1.23",
"@polkadot/dev": "^0.64.11",
"@polkadot/ts": "^0.4.20",
"@polkadot/dev": "^0.64.12",
"@polkadot/ts": "^0.4.21",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.34",
"@types/file-saver": "^2.0.4",
@ -90,16 +90,16 @@
"webpack-cli": "^4.9.1"
},
"resolutions": {
"@polkadot/api": "^7.0.1",
"@polkadot/api-contract": "^7.0.1",
"@polkadot/api": "^7.0.2",
"@polkadot/api-contract": "^7.0.2",
"@polkadot/hw-ledger": "^8.2.2",
"@polkadot/keyring": "^8.2.2",
"@polkadot/networks": "^8.2.2",
"@polkadot/phishing": "^0.6.561",
"@polkadot/rpc-provider": "^7.0.1",
"@polkadot/types": "^7.0.1",
"@polkadot/types-known": "^7.0.1",
"@polkadot/types-support": "^7.0.1",
"@polkadot/phishing": "^0.6.564",
"@polkadot/rpc-provider": "^7.0.2",
"@polkadot/types": "^7.0.2",
"@polkadot/types-known": "^7.0.2",
"@polkadot/types-support": "^7.0.2",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"@polkadot/wasm-crypto": "^4.5.1",

View File

@ -28,10 +28,10 @@
"@metaverse-network-sdk/type-definitions": "^0.0.1-6",
"@parallel-finance/type-definitions": "1.4.4",
"@phala/typedefs": "0.2.29",
"@polkadot/api": "^7.0.1",
"@polkadot/api-derive": "^7.0.1",
"@polkadot/api": "^7.0.2",
"@polkadot/api-derive": "^7.0.2",
"@polkadot/networks": "^8.2.2",
"@polkadot/types": "^7.0.1",
"@polkadot/types": "^7.0.2",
"@polkadot/util": "^8.2.2",
"@polkadot/x-fetch": "^8.2.2",
"@polymathnetwork/polymesh-types": "0.0.2",

View File

@ -14,7 +14,7 @@
"dependencies": {
"@babel/core": "^7.16.5",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.64.11",
"@polkadot/dev": "^0.64.12",
"@polkadot/react-components": "^0.98.2-164",
"electron-log": "^4.4.1",
"electron-updater": "^4.6.5"

View File

@ -18,7 +18,7 @@
"@babel/runtime": "^7.16.5",
"@polkadot/apps-config": "^0.98.2-164",
"@polkadot/apps-routing": "^0.98.2-164",
"@polkadot/dev": "^0.64.11",
"@polkadot/dev": "^0.64.12",
"@polkadot/react-api": "^0.98.2-164",
"@polkadot/react-components": "^0.98.2-164",
"@polkadot/react-hooks": "^0.98.2-164",

View File

@ -14,7 +14,7 @@
"version": "0.98.2-164",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/phishing": "^0.6.561",
"@polkadot/phishing": "^0.6.564",
"@polkadot/react-components": "^0.98.2-164",
"@polkadot/vanitygen": "^0.48.8",
"detect-browser": "^5.3.0",

View File

@ -2,7 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { PalletAssetsAssetBalance } from '@polkadot/types/lookup';
import type { PalletAssetsAssetAccount } from '@polkadot/types/lookup';
import type { bool } from '@polkadot/types-codec';
import React from 'react';
@ -12,16 +13,20 @@ import { FormatBalance } from '@polkadot/react-query';
import { useTranslation } from '../translate';
import Transfer from './Transfer';
interface Account extends PalletAssetsAssetAccount {
sufficient?: bool
}
interface Props {
account: Account;
accountId: string;
assetId: BN;
balance: PalletAssetsAssetBalance;
className?: string;
minBalance: BN;
siFormat: [number, string];
}
function Account ({ accountId, assetId, balance: { balance, isFrozen, sufficient }, className, minBalance, siFormat }: Props): React.ReactElement<Props> {
function Account ({ account: { balance, isFrozen, reason, sufficient }, accountId, assetId, className, minBalance, siFormat }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
return (
@ -33,7 +38,9 @@ function Account ({ accountId, assetId, balance: { balance, isFrozen, sufficient
{isFrozen.isTrue ? t<string>('Yes') : t<string>('No')}
</td>
<td className='start'>
{sufficient.isTrue ? t<string>('Yes') : t<string>('No')}
{sufficient
? sufficient.isTrue ? t<string>('Yes') : t<string>('No')
: reason?.toString()}
</td>
<td className='number all'>
<FormatBalance

View File

@ -80,11 +80,11 @@ function Balances ({ className, infos = [] }: Props): React.ReactElement<Props>
}
header={headerRef.current}
>
{info && balances?.map(({ accountId, balance }) => (
{info && balances?.map(({ account, accountId }) => (
<Account
account={account}
accountId={accountId}
assetId={info.id}
balance={balance}
key={accountId}
minBalance={info.details.minBalance}
siFormat={siFormat}

View File

@ -2,39 +2,53 @@
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { PalletAssetsAssetBalance } from '@polkadot/types/lookup';
import type { PalletAssetsAssetAccount } from '@polkadot/types/lookup';
import type { Option } from '@polkadot/types-codec';
import { createNamedHook, useAccounts, useApi, useCall } from '@polkadot/react-hooks';
interface BalanceResult {
interface AccountResult {
accountId: string;
balance: PalletAssetsAssetBalance;
account: PalletAssetsAssetAccount;
}
interface Result {
assetId: BN;
balances: BalanceResult[];
accounts: AccountResult[];
}
function isOptional (value: PalletAssetsAssetAccount | Option<PalletAssetsAssetAccount>): value is Option<PalletAssetsAssetAccount> {
return (value as Option<PalletAssetsAssetAccount>).isSome || (value as Option<PalletAssetsAssetAccount>).isNone;
}
const queryOptions = {
transform: ([[params], balances]: [[[BN, string][]], PalletAssetsAssetBalance[]]): Result => ({
assetId: params[0][0],
balances: params
.map(([, accountId], index) => ({
accountId,
balance: balances[index]
}))
.filter(({ balance: { balance } }) => !balance.isZero())
transform: ([[params], accounts]: [[[BN, string][]], (PalletAssetsAssetAccount | Option<PalletAssetsAssetAccount>)[]]): Result => ({
accounts: params
.map(([, accountId], index) => {
const o = accounts[index];
return {
account: isOptional(o)
? o.unwrapOr(null)
: o,
accountId
};
})
.filter((a): a is AccountResult =>
!!a.account &&
!a.account.balance.isZero()
),
assetId: params[0][0]
}),
withParamsTransform: true
};
function useBalancesImpl (id?: BN | null): BalanceResult[] | null {
function useBalancesImpl (id?: BN | null): AccountResult[] | null {
const { api } = useApi();
const { allAccounts } = useAccounts();
const query = useCall(id && api.query.assets.account.multi, id && [allAccounts.map((a) => [id, a])], queryOptions);
return (query && id && (query.assetId === id) && query.balances) || null;
return (query && id && (query.assetId === id) && query.accounts) || null;
}
export default createNamedHook('useBalances', useBalancesImpl);

View File

@ -1,6 +1,8 @@
// Copyright 2017-2021 @polkadot/app-assets authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/api-augment';
import type BN from 'bn.js';
import React, { useMemo, useRef } from 'react';

View File

@ -14,6 +14,6 @@
"version": "0.98.2-164",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/api-contract": "^7.0.1"
"@polkadot/api-contract": "^7.0.2"
}
}

View File

@ -14,9 +14,9 @@
"version": "0.98.2-164",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/api": "^7.0.1",
"@polkadot/extension-compat-metamask": "^0.42.3-4",
"@polkadot/extension-dapp": "^0.42.3-4",
"@polkadot/api": "^7.0.2",
"@polkadot/extension-compat-metamask": "^0.42.3-5",
"@polkadot/extension-dapp": "^0.42.3-5",
"@substrate/connect": "0.4.6",
"fflate": "^0.7.1",
"rxjs": "^7.4.0"

View File

@ -17,7 +17,7 @@
"testcontainers": "^7.24.0"
},
"devDependencies": {
"@polkadot/types-support": "^7.0.1",
"@polkadot/types-support": "^7.0.2",
"@testing-library/jest-dom": "^5.16.1",
"tsconfig-paths": "^3.12.0"
}

317
yarn.lock
View File

@ -2540,88 +2540,88 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/api-augment@npm:7.0.1"
"@polkadot/api-augment@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/api-augment@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api-base": 7.0.1
"@polkadot/rpc-augment": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/types-augment": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/api-base": 7.0.2
"@polkadot/rpc-augment": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/types-augment": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/util": ^8.2.2
checksum: 2f1b17150b45133c296dd5b98f1be846b2cd5ad9e802c534a8fec4c0e95bfe59deeaca1ef7054e3ab8ff70ba44e89b4ff549329cf3cdd839396e2a1cd6788f4b
checksum: 7c9c6c8e50c5552e01a358ad11552c81d851d8843771e6b0f192c87608b94c4f4a81b2d54a4aa0d9781cd8d767ef3ffb0c2a76db831752a39c1729170f06ba51
languageName: node
linkType: hard
"@polkadot/api-base@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/api-base@npm:7.0.1"
"@polkadot/api-base@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/api-base@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/rpc-core": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/rpc-core": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/util": ^8.2.2
rxjs: ^7.4.0
checksum: c89765470389524a7c1d74591bb93e3c9d102af7cb1168edd1ef9892fc92c1609cadb765bacaf894522dc90f558a555a3a84bbb315614aef11794908db3f8a64
checksum: 3dc46aff948728ec5e044433581bcc500a3b32be9e30abeb1c77f0828c4b854e2c0d10d1e0a71b5ffc03f817173d3b61cf45dd5d810b3a0c9d9b01b12080927e
languageName: node
linkType: hard
"@polkadot/api-contract@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/api-contract@npm:7.0.1"
"@polkadot/api-contract@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/api-contract@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/types-create": 7.0.1
"@polkadot/api": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/types-create": 7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
rxjs: ^7.4.0
checksum: c1251dec332b7c2c0d6d5e334e0eddfe5e6e3b21ca5b94e588d28800ed95611d6cab44ccb0d99629bb8af82f165c698f294b85c810fd3703fc6164eae7fde4f1
checksum: cded7b39fa363544f3a8e65dbc9f1a356561fa05f7d895279480acc0b2ef7707fab365b5f562c143004f5d84f30802d345c240f0eb66c3251c36b26d7d77f0a9
languageName: node
linkType: hard
"@polkadot/api-derive@npm:7.0.1, @polkadot/api-derive@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/api-derive@npm:7.0.1"
"@polkadot/api-derive@npm:7.0.2, @polkadot/api-derive@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/api-derive@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api": 7.0.1
"@polkadot/api-base": 7.0.1
"@polkadot/rpc-core": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/api": 7.0.2
"@polkadot/api-base": 7.0.2
"@polkadot/rpc-core": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
rxjs: ^7.4.0
checksum: be1c4af5acb4370ec45d2083ddc56723c6b13f30b6e53f96c3ae3052fe551974ec63ac33b46bd6214902bf749cd9a256fb2aa549ad9de45e0e221a77dd0edf92
checksum: 27abb056f839f7cf49f6e410a77a53b184213952174ccbe788166eac11400aef40d762e8e3f20df9deb9606d56336bb5083b29465048e3e0e74c7f9c67a192b9
languageName: node
linkType: hard
"@polkadot/api@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/api@npm:7.0.1"
"@polkadot/api@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/api@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api-augment": 7.0.1
"@polkadot/api-base": 7.0.1
"@polkadot/api-derive": 7.0.1
"@polkadot/api-augment": 7.0.2
"@polkadot/api-base": 7.0.2
"@polkadot/api-derive": 7.0.2
"@polkadot/keyring": ^8.2.2
"@polkadot/rpc-augment": 7.0.1
"@polkadot/rpc-core": 7.0.1
"@polkadot/rpc-provider": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/types-augment": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/types-create": 7.0.1
"@polkadot/types-known": 7.0.1
"@polkadot/rpc-augment": 7.0.2
"@polkadot/rpc-core": 7.0.2
"@polkadot/rpc-provider": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/types-augment": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/types-create": 7.0.2
"@polkadot/types-known": 7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
eventemitter3: ^4.0.7
rxjs: ^7.4.0
checksum: 5d1d62b7736047f2c3b150895bb820f1a4cede32ff4991afd827b00a0b3ad6665706e91b0f1d282517dfa3c5b8253489ca89b6c431731dddf4566e6a0469b5eb
checksum: 9b1b700d9c002acc8c94a6551fe6d9b827fb6e46b137f1a22c9c5114ed6e942b21efcdba5a58a497ebc1d97e0ec3928aade53e7382371f1556a5b722c0493dd8
languageName: node
linkType: hard
@ -2630,7 +2630,7 @@ __metadata:
resolution: "@polkadot/app-accounts@workspace:packages/page-accounts"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/phishing": ^0.6.561
"@polkadot/phishing": ^0.6.564
"@polkadot/react-components": ^0.98.2-164
"@polkadot/test-support": 0.98.2-164
"@polkadot/vanitygen": ^0.48.8
@ -2694,7 +2694,7 @@ __metadata:
resolution: "@polkadot/app-contracts@workspace:packages/page-contracts"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api-contract": ^7.0.1
"@polkadot/api-contract": ^7.0.2
languageName: unknown
linkType: soft
@ -2893,10 +2893,10 @@ __metadata:
"@metaverse-network-sdk/type-definitions": ^0.0.1-6
"@parallel-finance/type-definitions": 1.4.4
"@phala/typedefs": 0.2.29
"@polkadot/api": ^7.0.1
"@polkadot/api-derive": ^7.0.1
"@polkadot/api": ^7.0.2
"@polkadot/api-derive": ^7.0.2
"@polkadot/networks": ^8.2.2
"@polkadot/types": ^7.0.1
"@polkadot/types": ^7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/x-fetch": ^8.2.2
"@polymathnetwork/polymesh-types": 0.0.2
@ -2920,7 +2920,7 @@ __metadata:
dependencies:
"@babel/core": ^7.16.5
"@babel/polyfill": ^7.12.1
"@polkadot/dev": ^0.64.11
"@polkadot/dev": ^0.64.12
"@polkadot/react-components": ^0.98.2-164
"@types/react-dom": ^17.0.11
"@types/tmp": ^0.2.2
@ -2954,7 +2954,7 @@ __metadata:
"@babel/runtime": ^7.16.5
"@polkadot/apps-config": ^0.98.2-164
"@polkadot/apps-routing": ^0.98.2-164
"@polkadot/dev": ^0.64.11
"@polkadot/dev": ^0.64.12
"@polkadot/react-api": ^0.98.2-164
"@polkadot/react-components": ^0.98.2-164
"@polkadot/react-hooks": ^0.98.2-164
@ -2991,9 +2991,9 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.64.11":
version: 0.64.11
resolution: "@polkadot/dev@npm:0.64.11"
"@polkadot/dev@npm:^0.64.12":
version: 0.64.12
resolution: "@polkadot/dev@npm:0.64.12"
dependencies:
"@babel/cli": ^7.16.0
"@babel/core": ^7.16.5
@ -3026,14 +3026,14 @@ __metadata:
babel-plugin-styled-components: ^2.0.2
browserslist: ^4.19.1
coveralls: ^3.1.1
eslint: ^8.4.1
eslint: ^8.5.0
eslint-config-standard: ^16.0.3
eslint-import-resolver-node: ^0.3.6
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.25.3
eslint-plugin-import-newlines: ^1.1.5
eslint-plugin-import-newlines: ^1.1.6
eslint-plugin-node: ^11.1.0
eslint-plugin-promise: ^5.2.0
eslint-plugin-promise: ^6.0.0
eslint-plugin-react: ^7.27.1
eslint-plugin-react-hooks: ^4.3.0
eslint-plugin-simple-import-sort: ^7.0.0
@ -3078,49 +3078,52 @@ __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: 97cecfd0df01cffa2bb1767305e20eaa4a94a4005ae3c3571e525a47fcbe4776534910a77ff836c71237d1ece7970f550086955e86c6f3499cdad381f36fc8a6
checksum: 77d4857f670ca1bc00f6aca3bbfd1a0c9c07903324062ca2caf2c2ceaec2d2c59906ac3059251567784634c943d039dce7a25c53487f60f15b5d57721bf8d51d
languageName: node
linkType: hard
"@polkadot/extension-compat-metamask@npm:^0.42.3-4":
version: 0.42.3-4
resolution: "@polkadot/extension-compat-metamask@npm:0.42.3-4"
"@polkadot/extension-compat-metamask@npm:^0.42.3-5":
version: 0.42.3-5
resolution: "@polkadot/extension-compat-metamask@npm:0.42.3-5"
dependencies:
"@babel/runtime": ^7.16.5
"@metamask/detect-provider": ^1.2.0
"@polkadot/extension-inject": ^0.42.3-4
"@polkadot/util": ^8.1.2
"@polkadot/extension-inject": ^0.42.3-5
"@polkadot/util": ^8.2.2
web3: ^1.6.1
peerDependencies:
"@polkadot/util": "*"
checksum: 34bb1f3eb606d3076bb4be6a9fba9de109734d12fb8c9f0cc7790ab0dde2bd499637f5ddcb76f7c82bb27b0b702f5b45a76aaca533d7fcf81d9a747c0e4d54ef
checksum: 210793c2c1edc69c42ac7ecd4d1fb960ff6b39988a5a8c3b4772fc2d2bc2806b350aa29a3f09adde34d8fea71884691c25f898f2e3611c15720209cd6916e6bb
languageName: node
linkType: hard
"@polkadot/extension-dapp@npm:^0.42.3-4":
version: 0.42.3-4
resolution: "@polkadot/extension-dapp@npm:0.42.3-4"
"@polkadot/extension-dapp@npm:^0.42.3-5":
version: 0.42.3-5
resolution: "@polkadot/extension-dapp@npm:0.42.3-5"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/extension-inject": ^0.42.3-4
"@polkadot/util": ^8.1.2
"@polkadot/util-crypto": ^8.1.2
"@polkadot/extension-inject": ^0.42.3-5
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
peerDependencies:
"@polkadot/api": "*"
"@polkadot/util": "*"
"@polkadot/util-crypto": "*"
checksum: 4030322c7645600790da6996120a091ed2f65c3c379a86d28337af80990377aff015d9693193947617c47538e4f985115deddf22ba763970ed1f945c73f331ac
checksum: 1aecb60b5fab070c7d30dffaddeff57c1940fbbf41ce8599e88f4d6232afd43bc77bb5bd03202ddc350f915a5f18a2fab245d08928cddd5e5eb21cfc60ddaeca
languageName: node
linkType: hard
"@polkadot/extension-inject@npm:^0.42.3-4":
version: 0.42.3-4
resolution: "@polkadot/extension-inject@npm:0.42.3-4"
"@polkadot/extension-inject@npm:^0.42.3-5":
version: 0.42.3-5
resolution: "@polkadot/extension-inject@npm:0.42.3-5"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/rpc-provider": ^7.0.1
"@polkadot/types": ^7.0.1
"@polkadot/util-crypto": ^8.2.2
peerDependencies:
"@polkadot/api": "*"
checksum: d1628b7d7c995e6d2ab3d5f103e483672625f4b8fa4eaf6de3053f2af7b3af2a4c12d9dcb82f1984bf67871a9766706d26c846781a33e2401e9fcd43242b9399
checksum: c3bea918573c1d0f3e0ebb0d09cb815e9c86f8cf50136e428731da20c973abe170f27304ccff6bc0fec0fa2525143de08d729cb36e2ec9bd553429a8f768fc8c
languageName: node
linkType: hard
@ -3175,15 +3178,15 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/phishing@npm:^0.6.561":
version: 0.6.561
resolution: "@polkadot/phishing@npm:0.6.561"
"@polkadot/phishing@npm:^0.6.564":
version: 0.6.564
resolution: "@polkadot/phishing@npm:0.6.564"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
"@polkadot/x-fetch": ^8.2.2
checksum: cff9813022cad256c36e09bbe058e0ceccf1bd295cacf264d16386a2426aabba56aaac2dfb774ec5c24b3c89d70d33fb8af6744571f3d87f0fb04e11e006d263
checksum: f91b5c59feef49294a869e77b9666a29ea75616591d9b894d05b3bcf63ceda406b9e8b27d86835d2211474bd9e512c84484d87b5a960a5df6dd8a8dc293b7800
languageName: node
linkType: hard
@ -3192,9 +3195,9 @@ __metadata:
resolution: "@polkadot/react-api@workspace:packages/react-api"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api": ^7.0.1
"@polkadot/extension-compat-metamask": ^0.42.3-4
"@polkadot/extension-dapp": ^0.42.3-4
"@polkadot/api": ^7.0.2
"@polkadot/extension-compat-metamask": ^0.42.3-5
"@polkadot/extension-dapp": ^0.42.3-5
"@substrate/connect": 0.4.6
fflate: ^0.7.1
rxjs: ^7.4.0
@ -3325,41 +3328,41 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/rpc-augment@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/rpc-augment@npm:7.0.1"
"@polkadot/rpc-augment@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/rpc-augment@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/rpc-core": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/rpc-core": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/util": ^8.2.2
checksum: 5f9cc91c001d3db87b5aaf6410b50d88c79a768a7dceb0e8b893dd9771d78b9befe6137687a27e094a3e573f42ad5b710dae86324c44b851866254608ec7cf04
checksum: 929870cc206beba88758712c9137a26dd662a1d90e42cd585285a31f2f870fe464eec2fa2cb3dd7691d75a75ec94b21bf3cd076735367ee6d71cb0cebe6c9e2f
languageName: node
linkType: hard
"@polkadot/rpc-core@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/rpc-core@npm:7.0.1"
"@polkadot/rpc-core@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/rpc-core@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/rpc-augment": 7.0.1
"@polkadot/rpc-provider": 7.0.1
"@polkadot/types": 7.0.1
"@polkadot/rpc-augment": 7.0.2
"@polkadot/rpc-provider": 7.0.2
"@polkadot/types": 7.0.2
"@polkadot/util": ^8.2.2
rxjs: ^7.4.0
checksum: 307731a92bfda9020e029f1e27744b724407f312896550937bba97b2c3098b0ca5a40a8d7df5c1aa969f142e180bbd824989691e190cfffa992654a193ba0d87
checksum: 19991baa286a09c7774fc9dbb758d008dc5371b31a48c94b53478d033cd5353c57e5ddb5a17954470d8e59977030686b8c8489d2c34852717ecea63a8128192f
languageName: node
linkType: hard
"@polkadot/rpc-provider@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/rpc-provider@npm:7.0.1"
"@polkadot/rpc-provider@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/rpc-provider@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/keyring": ^8.2.2
"@polkadot/types": 7.0.1
"@polkadot/types-support": 7.0.1
"@polkadot/types": 7.0.2
"@polkadot/types-support": 7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
"@polkadot/x-fetch": ^8.2.2
@ -3368,7 +3371,7 @@ __metadata:
eventemitter3: ^4.0.7
mock-socket: ^9.0.8
nock: ^13.2.1
checksum: a11db3103a905e83013394e105a24cbb36dd3552bbc793f3b1486bfacca2c1ecfdc1fb87fd43ef1b7806ffddaf43baf067b552bb76a0ff5c0f8638a11009b3a3
checksum: e5e5a2a89be80937beb4dfd9c5fa328335c406b2153f0e3f7f010b8e432012c515ebb18d1b1b1dd43fcbab81cc0533590cb587e46a33d6b789294eaf322432c7
languageName: node
linkType: hard
@ -3376,7 +3379,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/test-support@workspace:packages/test-support"
dependencies:
"@polkadot/types-support": ^7.0.1
"@polkadot/types-support": ^7.0.2
"@testing-library/jest-dom": ^5.16.1
"@testing-library/react": ^12.1.2
testcontainers: ^7.24.0
@ -3384,85 +3387,85 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/ts@npm:^0.4.20":
version: 0.4.20
resolution: "@polkadot/ts@npm:0.4.20"
"@polkadot/ts@npm:^0.4.21":
version: 0.4.21
resolution: "@polkadot/ts@npm:0.4.21"
dependencies:
"@types/chrome": ^0.0.171
checksum: 07d72e24d1df54831fa9832afd2d6d2f2eba73b37a8d8906da6decf8e1a2bedd37b37ee2da78988b152adb0727428b37c230e7eb1b687d1f2d0ba49ae0839fc5
checksum: 4e8a1cfbbd64b1e1a09f64732de864b45f3ecba640f056cd83fb5d450cd8cf9b927d868001a40ac516a91071d0102127c34641cdfcb53988f73adce7ded453da
languageName: node
linkType: hard
"@polkadot/types-augment@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/types-augment@npm:7.0.1"
"@polkadot/types-augment@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/types-augment@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/types": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/types": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/util": ^8.2.2
checksum: 2a8ca48e04cfd676a7aa891a4d32f1fe4d9b7765af34b7b48a5087c83b9e51b34a528152dee538dc0dfe4eb050214eb6eeb1048e1bc0d0a4fe91157450d9565b
checksum: 6b92804c5247cf6186ba9a956b4871d6cc8f50030ac0ffe7ab5195f70c8e12c4f43d855c43fb1d309e511eef5c6968240092d9044991771af6a49423d3108668
languageName: node
linkType: hard
"@polkadot/types-codec@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/types-codec@npm:7.0.1"
"@polkadot/types-codec@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/types-codec@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/util": ^8.2.2
checksum: 0824d9fba349dfd8df43cd8e8c2d8bf2c421c29151ef4628bb983465faf01524cb0fc374ddf962d395e9d0f4add6a5987caad81dadd62e26c66e2349250210fe
checksum: eb6da6ef190c4c3e938b9718b592029649ef1fa408251aa10198d3a33d72d67a7f4315624fbad3deef22da7daf0748e50fabb0ffcfda0f7ec52caf85fb293d7e
languageName: node
linkType: hard
"@polkadot/types-create@npm:7.0.1":
version: 7.0.1
resolution: "@polkadot/types-create@npm:7.0.1"
"@polkadot/types-create@npm:7.0.2":
version: 7.0.2
resolution: "@polkadot/types-create@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/types-codec": 7.0.1
"@polkadot/types-codec": 7.0.2
"@polkadot/util": ^8.2.2
checksum: 9180d351baac10d67523ed9fd1be6b66f8a767eb30751ecfff5a8d1d2fc396c08a02ec0e28ebb473ce09c250cf4f5d059bc563abcb467ee6f462b6960da08945
checksum: a9b35a1303f0720ab1f3c3c6f64cad357c4430e2c1f4583cceaffbab57b5090417703cd3a5d4381ef36d495efdba20953f64a16b77db377f7be75fd36b91f9a4
languageName: node
linkType: hard
"@polkadot/types-known@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/types-known@npm:7.0.1"
"@polkadot/types-known@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/types-known@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/networks": ^8.2.2
"@polkadot/types": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/types-create": 7.0.1
"@polkadot/types": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/types-create": 7.0.2
"@polkadot/util": ^8.2.2
checksum: 91defef12ca77ba0db1207187094c771fc893285824dccbef6644582e6a3120a58c52bf8d68cf7d5ce655beb7a29a71135068e5b385c5651f57f983e3d3d5f76
checksum: 1e028a19fb7e9a0593fa21cf863385f8d46e5d9dfe42d7fa06d34031d8589efeff65943259cdf3b6af5d4725b7997180ad3f39491ecbc8e34afb133c297c39e1
languageName: node
linkType: hard
"@polkadot/types-support@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/types-support@npm:7.0.1"
"@polkadot/types-support@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/types-support@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/util": ^8.2.2
checksum: 9864571e378b50e80f7b975be4c8a786591350f53ab77b0a5747e78097ad69330b41bb2985a43a25ae34cffa988ff65ec0be83ed2175788e29b262a961005266
checksum: 47c22271a74c1d0c6054ef33e527f0b114ead8b04007b049ff8e56847e6a658d2998ce0636945f338dd2fafa2b760e2f56ea21e5eaeac1d324dc90757a4114ef
languageName: node
linkType: hard
"@polkadot/types@npm:^7.0.1":
version: 7.0.1
resolution: "@polkadot/types@npm:7.0.1"
"@polkadot/types@npm:^7.0.2":
version: 7.0.2
resolution: "@polkadot/types@npm:7.0.2"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/keyring": ^8.2.2
"@polkadot/types-augment": 7.0.1
"@polkadot/types-codec": 7.0.1
"@polkadot/types-create": 7.0.1
"@polkadot/types-augment": 7.0.2
"@polkadot/types-codec": 7.0.2
"@polkadot/types-create": 7.0.2
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
rxjs: ^7.4.0
checksum: 0f35c0f6f2e0ececeeab9981f0232e72e4809b3a4ad22236b42be9e7925807a831527709291cba7f6cb11f54bb5bf9496db63bdea360f7a2e4830f6693e055d1
checksum: ff7d53688723156839160088e489c2072b4edd531dcd66f0f2bf3b9b3aa6b791689cde87a4f96c9f15b112f5b2ac98b6a7022b8abae003f9237c51a3bc5ffd79
languageName: node
linkType: hard
@ -9358,14 +9361,14 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-import-newlines@npm:^1.1.5":
version: 1.1.5
resolution: "eslint-plugin-import-newlines@npm:1.1.5"
"eslint-plugin-import-newlines@npm:^1.1.6":
version: 1.1.6
resolution: "eslint-plugin-import-newlines@npm:1.1.6"
peerDependencies:
eslint: ">=6.0.0"
bin:
import-linter: lib/index.js
checksum: e26a61b5e3b0f70b522db047d54c5691bc46f2a39cdcd824c25611e427cca195ed0075275ce9170afd9e12ce3bfe461fad02fec810312f4af0709ad8b8e94e0e
checksum: 3a6c20bc5538289ac69ae5551482b46124deb0869f0f457e98efb6e1f70cdb9ce677ffc7973fbb4267a72de91a57c4021962a7d65fc88baca302408282915856
languageName: node
linkType: hard
@ -9408,12 +9411,12 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-promise@npm:^5.2.0":
version: 5.2.0
resolution: "eslint-plugin-promise@npm:5.2.0"
"eslint-plugin-promise@npm:^6.0.0":
version: 6.0.0
resolution: "eslint-plugin-promise@npm:6.0.0"
peerDependencies:
eslint: ^7.0.0
checksum: 5d6b2d28408c5afde6386942862427af3d83c9a130eb2555bb54b26a1761914e2c7326aca1be26dd3fee6405e65a2ee9432a4526147e5962545060ea0ef64058
eslint: ^7.0.0 || ^8.0.0
checksum: 7e761507c51267b77e4ad710e7c8938aa4f8f69b975886034e57497a1816e9527eda364e25aac03d1b4e0df2e738ba98e49ad075d028824fcfea533a1419751c
languageName: node
linkType: hard
@ -9531,9 +9534,9 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:8.4.1, eslint@npm:^8.4.1":
version: 8.4.1
resolution: "eslint@npm:8.4.1"
"eslint@npm:8.5.0, eslint@npm:^8.5.0":
version: 8.5.0
resolution: "eslint@npm:8.5.0"
dependencies:
"@eslint/eslintrc": ^1.0.5
"@humanwhocodes/config-array": ^0.9.2
@ -9575,7 +9578,7 @@ __metadata:
v8-compile-cache: ^2.0.3
bin:
eslint: bin/eslint.js
checksum: d962cd7cd0f68ddc2412f47154b8992ad3af987cf47fa6e60e51a2b7d32a91f934388f7d29e2c45b16b7ac69f0d220d0a483189ec6ba43a8a480110c34f158f9
checksum: c1a9e26070520a308cc30b62ba0d37d5b115ed23987a93219819537bdea9398e6ebe57c27d97be36ecc83b5162c72e82ecb0a9e5b44b7992980f9be90eb5c4b3
languageName: node
linkType: hard
@ -15962,8 +15965,8 @@ __metadata:
"@babel/runtime": ^7.16.5
"@crustio/crust-pin": ^1.0.0
"@pinata/sdk": ^1.1.23
"@polkadot/dev": ^0.64.11
"@polkadot/ts": ^0.4.20
"@polkadot/dev": ^0.64.12
"@polkadot/ts": ^0.4.21
"@types/bn.js": ^4.11.6
"@types/chart.js": ^2.9.34
"@types/file-saver": ^2.0.4