This commit is contained in:
Jaco 2021-12-20 12:21:36 +01:00 committed by GitHub
parent 9af2d39b3c
commit 65d3ccc51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 493 additions and 379 deletions

View File

@ -61,7 +61,7 @@
"@babel/runtime": "^7.16.5",
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.1.23",
"@polkadot/dev": "^0.64.5",
"@polkadot/dev": "^0.64.11",
"@polkadot/ts": "^0.4.20",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.34",
@ -90,18 +90,18 @@
"webpack-cli": "^4.9.1"
},
"resolutions": {
"@polkadot/api": "^6.11.1",
"@polkadot/api-contract": "^6.11.1",
"@polkadot/hw-ledger": "^8.1.2",
"@polkadot/keyring": "^8.1.2",
"@polkadot/networks": "^8.1.2",
"@polkadot/phishing": "^0.6.512",
"@polkadot/rpc-provider": "^6.11.1",
"@polkadot/types": "^6.11.1",
"@polkadot/types-known": "^6.11.1",
"@polkadot/types-support": "^6.11.1",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"@polkadot/api": "^7.0.1",
"@polkadot/api-contract": "^7.0.1",
"@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/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"@polkadot/wasm-crypto": "^4.5.1",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.3.1",

View File

@ -28,7 +28,12 @@
"@metaverse-network-sdk/type-definitions": "^0.0.1-6",
"@parallel-finance/type-definitions": "1.4.4",
"@phala/typedefs": "0.2.29",
"@polkadot/networks": "^8.1.2",
"@polkadot/api": "^7.0.1",
"@polkadot/api-derive": "^7.0.1",
"@polkadot/networks": "^8.2.2",
"@polkadot/types": "^7.0.1",
"@polkadot/util": "^8.2.2",
"@polkadot/x-fetch": "^8.2.2",
"@polymathnetwork/polymesh-types": "0.0.2",
"@snowfork/snowbridge-types": "0.2.6",
"@sora-substrate/type-definitions": "1.6.30",
@ -36,12 +41,10 @@
"@unique-nft/types": "0.2.0",
"@zeitgeistpm/type-defs": "0.3.7",
"@zeroio/type-definitions": "0.0.14",
"i18next": "^21.6.0",
"lodash": "^4.17.21",
"moonbeam-types-bundle": "2.0.2",
"pontem-types-bundle": "1.0.15",
"rxjs": "^7.4.0"
},
"devDependencies": {
"i18next": "^21.6.0"
}
}

View File

@ -1,10 +1,8 @@
// Copyright 2017-2021 @polkadot/app-accounts authors & contributors
// SPDX-License-Identifier: Apache-2.0
import BN from 'bn.js';
import { selectableNetworks } from '@polkadot/networks';
import { assert } from '@polkadot/util';
import { assert, BN } from '@polkadot/util';
function getGenesis (name: string): string {
const network = selectableNetworks.find(({ network }) => network === name);

View File

@ -7,10 +7,10 @@ import type { AccountData, AccountId, AccountIndex, Address, Balance } from '@po
import type { Codec, OverrideBundleDefinition } from '@polkadot/types/types';
import { equilibrium, equilibriumNext } from '@equilab/definitions';
import BN from 'bn.js';
import { map } from 'rxjs';
import { Enum } from '@polkadot/types';
import { BN } from '@polkadot/util';
interface SignedBalance extends Enum {
readonly isPositive: boolean;

View File

@ -73,7 +73,7 @@ function subscribeNewHeads (
(): Observable<HeaderExtended> =>
combineLatest([api.rpc.chain.subscribeNewHeads()]).pipe(
map(([header]): HeaderExtended => {
return createHeaderExtended(header.registry, header, api);
return createHeaderExtended(header.registry as Registry, header, api);
})
)
);
@ -88,7 +88,7 @@ function getHeader (
(): Observable<HeaderExtended> =>
combineLatest([api.rpc.chain.getHeader()]).pipe(
map(([header]): HeaderExtended => {
return createHeaderExtended(header.registry, header, api);
return createHeaderExtended(header.registry as Registry, header, api);
})
)
);

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
import { externalLogos } from '../ui/logos';

View File

@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type BN from 'bn.js';
import type { BN } from '@polkadot/util';
export type LinkTypes = 'address' | 'block' | 'bounty' | 'council' | 'extrinsic' | 'proposal' | 'referendum' | 'techcomm' | 'tip' | 'treasury';

View File

@ -14,7 +14,7 @@
"dependencies": {
"@babel/core": "^7.16.5",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.64.5",
"@polkadot/dev": "^0.64.11",
"@polkadot/react-components": "^0.98.2-162",
"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-162",
"@polkadot/apps-routing": "^0.98.2-162",
"@polkadot/dev": "^0.64.5",
"@polkadot/dev": "^0.64.11",
"@polkadot/react-api": "^0.98.2-162",
"@polkadot/react-components": "^0.98.2-162",
"@polkadot/react-hooks": "^0.98.2-162",

View File

@ -5,6 +5,7 @@
import './initSettings';
import 'semantic-ui-css/semantic.min.css';
import '@polkadot/react-components/i18n';
import '@polkadot/api-augment';
import React from 'react';
import ReactDOM from 'react-dom';

View File

@ -14,9 +14,9 @@
"version": "0.98.2-162",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/phishing": "^0.6.551",
"@polkadot/phishing": "^0.6.561",
"@polkadot/react-components": "^0.98.2-162",
"@polkadot/vanitygen": "^0.48.7",
"@polkadot/vanitygen": "^0.48.8",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5"
},

View File

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

View File

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

View File

@ -17,15 +17,15 @@
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@polkadot/keyring": "^8.1.2",
"@polkadot/keyring": "^8.2.2",
"@polkadot/react-api": "^0.98.2-162",
"@polkadot/react-identicon": "^0.87.5",
"@polkadot/react-qr": "^0.87.5",
"@polkadot/react-identicon": "^0.87.6",
"@polkadot/react-qr": "^0.87.6",
"@polkadot/react-query": "^0.98.2-162",
"@polkadot/ui-keyring": "^0.87.5",
"@polkadot/ui-settings": "^0.87.5",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"@polkadot/ui-keyring": "^0.87.6",
"@polkadot/ui-settings": "^0.87.6",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^21.6.0",

View File

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

770
yarn.lock

File diff suppressed because it is too large Load Diff