* Bump deps

* Bump API
This commit is contained in:
Jaco 2021-07-10 08:36:28 +03:00 committed by GitHub
parent f4da109ca0
commit e0b788f3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 336 additions and 345 deletions

View File

@ -12,16 +12,16 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^4.17.2-14",
"@polkadot/api-contract": "^4.17.2-14",
"@polkadot/hw-ledger": "^6.11.2-10",
"@polkadot/keyring": "^6.11.2-10",
"@polkadot/networks": "^6.11.2-10",
"@polkadot/api": "^4.17.2-19",
"@polkadot/api-contract": "^4.17.2-19",
"@polkadot/hw-ledger": "^6.11.2-16",
"@polkadot/keyring": "^6.11.2-16",
"@polkadot/networks": "^6.11.2-16",
"@polkadot/phishing": "^0.6.220",
"@polkadot/types": "^4.17.2-14",
"@polkadot/util": "^6.11.2-10",
"@polkadot/util-crypto": "^6.11.2-10",
"@polkadot/wasm-crypto": "^4.1.1",
"@polkadot/types": "^4.17.2-19",
"@polkadot/util": "^6.11.2-16",
"@polkadot/util-crypto": "^6.11.2-16",
"@polkadot/wasm-crypto": "^4.1.2",
"@substrate/connect": "0.3.10",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
@ -73,7 +73,7 @@
"@babel/runtime": "^7.14.6",
"@crustio/crust-pin": "^0.0.1",
"@pinata/sdk": "^1.1.23",
"@polkadot/dev": "^0.62.52",
"@polkadot/dev": "^0.62.57",
"@polkadot/ts": "^0.4.4",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.32",

View File

@ -19,7 +19,7 @@
"@kiltprotocol/type-definitions": "^0.1.8",
"@laminar/type-definitions": "^0.3.1",
"@phala/typedefs": "^0.2.1",
"@polkadot/networks": "^6.11.2-10",
"@polkadot/networks": "^6.11.2-16",
"@polymathnetwork/polymesh-types": "^0.0.2",
"@snowfork/snowbridge-types": "^0.2.3",
"@sora-substrate/type-definitions": "^1.3.32",

View File

@ -3,11 +3,11 @@
import BN from 'bn.js';
import networks from '@polkadot/networks';
import { selectableNetworks } from '@polkadot/networks';
import { assert } from '@polkadot/util';
function getGenesis (name: string): string {
const network = networks.find(({ network }) => network === name);
const network = selectableNetworks.find(({ network }) => network === name);
assert(network && network.genesisHash[0], `Unable to find genesisHash for ${name}`);

View File

@ -4,9 +4,9 @@
import type { TFunction } from 'i18next';
import type { Option } from './types';
import known from '@polkadot/networks';
import { selectableNetworks } from '@polkadot/networks';
const networks = known
const networks = selectableNetworks
.map(({ displayName, network, prefix }) => ({
info: network,
text: displayName,

View File

@ -6,7 +6,7 @@
"dependencies": {
"@babel/core": "^7.14.6",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.62.52",
"@polkadot/dev": "^0.62.57",
"@polkadot/react-components": "^0.94.2-58",
"electron-log": "^4.3.5",
"electron-updater": "^4.3.10"

View File

@ -11,7 +11,7 @@
"@babel/runtime": "^7.14.6",
"@polkadot/apps-config": "^0.94.2-58",
"@polkadot/apps-routing": "^0.94.2-58",
"@polkadot/dev": "^0.62.52",
"@polkadot/dev": "^0.62.57",
"@polkadot/react-api": "^0.94.2-58",
"@polkadot/react-components": "^0.94.2-58",
"@polkadot/react-hooks": "^0.94.2-58",

View File

@ -8,7 +8,7 @@
"@babel/runtime": "^7.14.6",
"@polkadot/phishing": "^0.6.220",
"@polkadot/react-components": "^0.94.2-58",
"@polkadot/vanitygen": "^0.41.1",
"@polkadot/vanitygen": "^0.41.2-0",
"detect-browser": "^5.2.0",
"file-saver": "^2.0.5"
},

View File

@ -3,7 +3,7 @@
import React, { useEffect, useRef, useState } from 'react';
import networks from '@polkadot/networks';
import { selectableNetworks } from '@polkadot/networks';
import { Dropdown, MarkError, Modal } from '@polkadot/react-components';
import { useTranslation } from '../translate';
@ -15,7 +15,7 @@ interface Props {
seedType: string;
}
const ledgerNets = networks.filter(({ hasLedgerSupport }) => hasLedgerSupport);
const ledgerNets = selectableNetworks.filter(({ hasLedgerSupport }) => hasLedgerSupport);
function CreateSuriLedger ({ className, onChange, seedType }: Props): React.ReactElement<Props> {
const { t } = useTranslation();

View File

@ -6,6 +6,6 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/api-contract": "^4.17.2-14"
"@polkadot/api-contract": "^4.17.2-19"
}
}

View File

@ -7,7 +7,7 @@ import type { SettingsStruct } from '@polkadot/ui-settings/types';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { createLanguages, createSs58 } from '@polkadot/apps-config';
import { all as allNetworks } from '@polkadot/networks';
import { allNetworks } from '@polkadot/networks';
import { Button, Dropdown, MarkWarning } from '@polkadot/react-components';
import { useApi, useLedger } from '@polkadot/react-hooks';
import { settings } from '@polkadot/ui-settings';

View File

@ -6,8 +6,8 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/api": "^4.17.2-14",
"@polkadot/extension-dapp": "^0.38.8",
"@polkadot/api": "^4.17.2-19",
"@polkadot/extension-dapp": "^0.38.9-0",
"@substrate/connect": "^0.3.10",
"fflate": "^0.7.1",
"rxjs": "^7.2.0"

View File

@ -9,15 +9,15 @@
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@polkadot/keyring": "^6.11.2-10",
"@polkadot/keyring": "^6.11.2-16",
"@polkadot/react-api": "^0.94.2-58",
"@polkadot/react-identicon": "^0.83.2-1",
"@polkadot/react-qr": "^0.83.2-1",
"@polkadot/react-identicon": "^0.83.2-5",
"@polkadot/react-qr": "^0.83.2-5",
"@polkadot/react-query": "^0.94.2-58",
"@polkadot/ui-keyring": "^0.83.2-1",
"@polkadot/ui-settings": "^0.83.2-1",
"@polkadot/util": "^6.11.2-10",
"@polkadot/util-crypto": "^6.11.2-10",
"@polkadot/ui-keyring": "^0.83.2-5",
"@polkadot/ui-settings": "^0.83.2-5",
"@polkadot/util": "^6.11.2-16",
"@polkadot/util-crypto": "^6.11.2-16",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.9.2",

619
yarn.lock

File diff suppressed because it is too large Load Diff