Bump deps (#8726)
This commit is contained in:
parent
57bd0c8a97
commit
9861924f9f
@ -7,7 +7,12 @@ const findPackages = require('./scripts/findPackages.cjs');
|
||||
|
||||
// NOTE: While we can remove @polkadot/... packages such as react-markdown still has issues with Jest 28
|
||||
// ... TL;DR We still end up with a massive list here
|
||||
const ESM_PKG = ['bail', 'character-entities', 'chart.js', 'comma-separated-tokens', 'decode-named-character-reference', 'hast-to-', 'hast-util-', 'hastscript', 'html-void-elements', 'is-plain-obj', 'mdast-', 'micromark', 'multiformats', 'property-information', 'react-markdown', 'rehype-raw', 'remark-parse', 'remark-rehype', 'space-separated-tokens', 'trough', 'uint8arrays', 'unified', 'unist-', 'vfile', 'vfile-', 'web-namespaces', 'zwitch'];
|
||||
const ESM_PKG = [
|
||||
// general packages
|
||||
'bail', 'character-entities', 'chart.js', 'comma-separated-tokens', 'decode-named-character-reference', 'hast-to-', 'hast-util-', 'hastscript', 'html-void-elements', 'is-plain-obj', 'mdast-', 'micromark', 'multiformats', 'property-information', 'react-markdown', 'rehype-raw', 'remark-parse', 'remark-rehype', 'space-separated-tokens', 'trough', 'uint8arrays', 'unified', 'unist-', 'vfile', 'vfile-', 'web-namespaces', 'zwitch',
|
||||
// type packages
|
||||
'@logion/node-api'
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
...config,
|
||||
|
||||
60
package.json
60
package.json
@ -72,10 +72,10 @@
|
||||
"@polkadot/dev": "^0.67.177",
|
||||
"@types/chart.js": "^2.9.37",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
"@types/jest": "^29.2.4",
|
||||
"@types/react-beautiful-dnd": "^13.1.2",
|
||||
"@types/jest": "^29.2.5",
|
||||
"@types/react-beautiful-dnd": "^13.1.3",
|
||||
"@types/react-copy-to-clipboard": "^5.0.4",
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"@types/react-dom": "^18.0.10",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/store": "^2.0.2",
|
||||
"@types/styled-components": "^5.1.26",
|
||||
@ -94,34 +94,34 @@
|
||||
"styled-components": "^5.3.6"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^9.10.5",
|
||||
"@polkadot/api-augment": "^9.10.5",
|
||||
"@polkadot/api-base": "^9.10.5",
|
||||
"@polkadot/api-contract": "^9.10.5",
|
||||
"@polkadot/api-derive": "^9.10.5",
|
||||
"@polkadot/hw-ledger": "^10.2.2",
|
||||
"@polkadot/keyring": "^10.2.2",
|
||||
"@polkadot/networks": "^10.2.2",
|
||||
"@polkadot/phishing": "^0.18.12",
|
||||
"@polkadot/rpc-augment": "^9.10.5",
|
||||
"@polkadot/rpc-core": "^9.10.5",
|
||||
"@polkadot/rpc-provider": "^9.10.5",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/types-augment": "^9.10.5",
|
||||
"@polkadot/types-codec": "^9.10.5",
|
||||
"@polkadot/types-create": "^9.10.5",
|
||||
"@polkadot/types-known": "^9.10.5",
|
||||
"@polkadot/types-support": "^9.10.5",
|
||||
"@polkadot/util": "^10.2.2",
|
||||
"@polkadot/util-crypto": "^10.2.2",
|
||||
"@polkadot/api": "^9.11.1",
|
||||
"@polkadot/api-augment": "^9.11.1",
|
||||
"@polkadot/api-base": "^9.11.1",
|
||||
"@polkadot/api-contract": "^9.11.1",
|
||||
"@polkadot/api-derive": "^9.11.1",
|
||||
"@polkadot/hw-ledger": "^10.2.3",
|
||||
"@polkadot/keyring": "^10.2.3",
|
||||
"@polkadot/networks": "^10.2.3",
|
||||
"@polkadot/phishing": "^0.18.13",
|
||||
"@polkadot/rpc-augment": "^9.11.1",
|
||||
"@polkadot/rpc-core": "^9.11.1",
|
||||
"@polkadot/rpc-provider": "^9.11.1",
|
||||
"@polkadot/types": "^9.11.1",
|
||||
"@polkadot/types-augment": "^9.11.1",
|
||||
"@polkadot/types-codec": "^9.11.1",
|
||||
"@polkadot/types-create": "^9.11.1",
|
||||
"@polkadot/types-known": "^9.11.1",
|
||||
"@polkadot/types-support": "^9.11.1",
|
||||
"@polkadot/util": "^10.2.3",
|
||||
"@polkadot/util-crypto": "^10.2.3",
|
||||
"@polkadot/wasm-crypto": "^6.4.1",
|
||||
"@polkadot/x-bigint": "^10.2.2",
|
||||
"@polkadot/x-fetch": "^10.2.2",
|
||||
"@polkadot/x-global": "^10.2.2",
|
||||
"@polkadot/x-randomvalues": "^10.2.2",
|
||||
"@polkadot/x-textdecoder": "^10.2.2",
|
||||
"@polkadot/x-textencoder": "^10.2.2",
|
||||
"@polkadot/x-ws": "^10.2.2",
|
||||
"@polkadot/x-bigint": "^10.2.3",
|
||||
"@polkadot/x-fetch": "^10.2.3",
|
||||
"@polkadot/x-global": "^10.2.3",
|
||||
"@polkadot/x-randomvalues": "^10.2.3",
|
||||
"@polkadot/x-textdecoder": "^10.2.3",
|
||||
"@polkadot/x-textencoder": "^10.2.3",
|
||||
"@polkadot/x-ws": "^10.2.3",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"styled-components": "^5.3.1",
|
||||
"typescript": "^4.9.4"
|
||||
|
||||
@ -15,41 +15,41 @@
|
||||
"dependencies": {
|
||||
"@acala-network/type-definitions": "^4.1.8-1",
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@bifrost-finance/type-definitions": "1.7.1",
|
||||
"@bifrost-finance/type-definitions": "1.7.2",
|
||||
"@crustio/type-definitions": "1.3.0",
|
||||
"@darwinia/types": "2.8.10",
|
||||
"@darwinia/types-known": "2.8.10",
|
||||
"@digitalnative/type-definitions": "1.1.27",
|
||||
"@docknetwork/node-types": "0.13.0",
|
||||
"@docknetwork/node-types": "0.15.0",
|
||||
"@edgeware/node-types": "3.6.2-wako",
|
||||
"@equilab/definitions": "1.4.14",
|
||||
"@frequency-chain/api-augment": "^0.9.29",
|
||||
"@interlay/interbtc-types": "1.9.0",
|
||||
"@equilab/definitions": "1.4.18",
|
||||
"@frequency-chain/api-augment": "^1.0.0",
|
||||
"@interlay/interbtc-types": "1.11.0",
|
||||
"@kiltprotocol/type-definitions": "^0.30.0",
|
||||
"@laminar/type-definitions": "0.3.1",
|
||||
"@logion/node-api": "^0.7.0",
|
||||
"@mangata-finance/types": "^0.9.0",
|
||||
"@logion/node-api": "^0.9.0-3",
|
||||
"@mangata-finance/types": "^0.17.0",
|
||||
"@metaverse-network-sdk/type-definitions": "^0.0.1-13",
|
||||
"@parallel-finance/type-definitions": "1.7.13",
|
||||
"@phala/typedefs": "0.2.32",
|
||||
"@polkadot/api": "^9.10.5",
|
||||
"@polkadot/api-derive": "^9.10.5",
|
||||
"@polkadot/networks": "^10.2.2",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/util": "^10.2.2",
|
||||
"@polkadot/x-fetch": "^10.2.2",
|
||||
"@parallel-finance/type-definitions": "1.7.14",
|
||||
"@phala/typedefs": "0.2.33",
|
||||
"@polkadot/api": "^9.11.1",
|
||||
"@polkadot/api-derive": "^9.11.1",
|
||||
"@polkadot/networks": "^10.2.3",
|
||||
"@polkadot/types": "^9.11.1",
|
||||
"@polkadot/util": "^10.2.3",
|
||||
"@polkadot/x-fetch": "^10.2.3",
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
"@snowfork/snowbridge-types": "0.2.7",
|
||||
"@sora-substrate/type-definitions": "1.10.21",
|
||||
"@subsocial/definitions": "^0.7.8-dev.0",
|
||||
"@unique-nft/opal-testnet-types": "930.31.0",
|
||||
"@unique-nft/quartz-mainnet-types": "930.31.0",
|
||||
"@unique-nft/unique-mainnet-types": "930.31.0",
|
||||
"@zeitgeistpm/type-defs": "0.9.0",
|
||||
"@sora-substrate/type-definitions": "1.12.4",
|
||||
"@subsocial/definitions": "^0.7.9",
|
||||
"@unique-nft/opal-testnet-types": "930.34.0",
|
||||
"@unique-nft/quartz-mainnet-types": "930.34.0",
|
||||
"@unique-nft/unique-mainnet-types": "930.33.0",
|
||||
"@zeitgeistpm/type-defs": "0.10.0",
|
||||
"@zeroio/type-definitions": "0.0.14",
|
||||
"lodash": "^4.17.21",
|
||||
"moonbeam-types-bundle": "2.0.9",
|
||||
"pontem-types-bundle": "1.0.15",
|
||||
"rxjs": "^7.6.0"
|
||||
"rxjs": "^7.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@
|
||||
"electron-updater": "^5.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"@types/react-dom": "^18.0.10",
|
||||
"@types/tmp": "^0.2.3",
|
||||
"babel-loader": "^8.3.0",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
|
||||
@ -37,11 +37,11 @@
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"css-loader": "^5.2.7",
|
||||
"empty": "^0.10.1",
|
||||
"html-loader": "^4.1.0",
|
||||
"html-loader": "^4.2.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"https-browserify": "^1.0.0",
|
||||
"markdown-loader": "^8.0.0",
|
||||
"mini-css-extract-plugin": "^2.6.1",
|
||||
"mini-css-extract-plugin": "^2.7.2",
|
||||
"null-loader": "^4.0.1",
|
||||
"os-browserify": "^0.3.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
|
||||
@ -14,12 +14,12 @@
|
||||
"version": "0.122.3-234-x",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/hw-ledger": "^10.2.2",
|
||||
"@polkadot/phishing": "^0.18.12",
|
||||
"@polkadot/hw-ledger": "^10.2.3",
|
||||
"@polkadot/phishing": "^0.18.13",
|
||||
"@polkadot/react-components": "^0.122.3-234-x",
|
||||
"@polkadot/react-hooks": "^0.122.3-234-x",
|
||||
"@polkadot/util": "^10.2.2",
|
||||
"@polkadot/vanitygen": "^0.52.21",
|
||||
"@polkadot/util": "^10.2.3",
|
||||
"@polkadot/vanitygen": "^0.52.22",
|
||||
"detect-browser": "^5.3.0",
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
|
||||
@ -19,6 +19,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"testcontainers": "^8.16.0"
|
||||
"testcontainers": "^9.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"version": "0.122.3-234-x",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/api-contract": "^9.10.5"
|
||||
"@polkadot/api-contract": "^9.11.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,11 +18,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/api": "^9.10.5",
|
||||
"@polkadot/extension-compat-metamask": "^0.44.7",
|
||||
"@polkadot/extension-dapp": "^0.44.7",
|
||||
"@polkadot/rpc-provider": "^9.10.5",
|
||||
"@polkadot/api": "^9.11.1",
|
||||
"@polkadot/extension-compat-metamask": "^0.44.8",
|
||||
"@polkadot/extension-dapp": "^0.44.8",
|
||||
"@polkadot/rpc-provider": "^9.11.1",
|
||||
"fflate": "^0.7.4",
|
||||
"rxjs": "^7.6.0"
|
||||
"rxjs": "^7.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,6 +8,7 @@ import type { ChainProperties, ChainType } from '@polkadot/types/interfaces';
|
||||
import type { KeyringStore } from '@polkadot/ui-keyring/types';
|
||||
import type { ApiProps, ApiState } from './types';
|
||||
|
||||
import * as Sc from '@substrate/connect';
|
||||
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
|
||||
import store from 'store';
|
||||
|
||||
@ -247,7 +248,7 @@ async function getLightProvider (chain: string): Promise<ScProvider> {
|
||||
throw new Error(`Unable to construct light chain ${chain}`);
|
||||
}
|
||||
|
||||
const relay = new ScProvider(relaySpecs[relayName]);
|
||||
const relay = new ScProvider(Sc, relaySpecs[relayName]);
|
||||
|
||||
if (!paraName) {
|
||||
return relay;
|
||||
@ -257,7 +258,7 @@ async function getLightProvider (chain: string): Promise<ScProvider> {
|
||||
const specMod = await import(`${lightSpecs[relayName][paraName]}`);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
return new ScProvider(JSON.stringify(specMod.default), relay);
|
||||
return new ScProvider(Sc, JSON.stringify(specMod.default), relay);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -17,18 +17,18 @@
|
||||
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||
"@polkadot/keyring": "^10.2.2",
|
||||
"@polkadot/keyring": "^10.2.3",
|
||||
"@polkadot/react-api": "^0.122.3-234-x",
|
||||
"@polkadot/react-identicon": "^2.9.14",
|
||||
"@polkadot/react-qr": "^2.9.14",
|
||||
"@polkadot/react-identicon": "^2.9.15",
|
||||
"@polkadot/react-qr": "^2.9.15",
|
||||
"@polkadot/react-query": "^0.122.3-234-x",
|
||||
"@polkadot/ui-keyring": "^2.9.14",
|
||||
"@polkadot/ui-settings": "^2.9.14",
|
||||
"@polkadot/util": "^10.2.2",
|
||||
"@polkadot/util-crypto": "^10.2.2",
|
||||
"@polkadot/ui-keyring": "^2.9.15",
|
||||
"@polkadot/ui-settings": "^2.9.15",
|
||||
"@polkadot/util": "^10.2.3",
|
||||
"@polkadot/util-crypto": "^10.2.3",
|
||||
"@types/chartjs-plugin-crosshair": "^1.1.1",
|
||||
"chart.js": "^3.9.1",
|
||||
"chartjs-plugin-annotation": "^2.1.0",
|
||||
"chartjs-plugin-annotation": "^2.1.1",
|
||||
"chartjs-plugin-crosshair": "^1.2.0",
|
||||
"codeflask": "^1.4.1",
|
||||
"i18next": "^21.10.0",
|
||||
@ -45,9 +45,9 @@
|
||||
"react-markdown": "^8.0.4",
|
||||
"react-router": "^5.3.4",
|
||||
"react-router-dom": "^5.3.4",
|
||||
"react-tooltip": "^4.2.21",
|
||||
"react-tooltip": "^4.5.1",
|
||||
"rehype-raw": "^6.1.1",
|
||||
"semantic-ui-css": "^2.4.1",
|
||||
"semantic-ui-css": "^2.5.0",
|
||||
"semantic-ui-react": "^0.88.2",
|
||||
"store": "^2.0.12",
|
||||
"styled-theming": "^2.2.0"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"version": "0.122.3-234-x",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/hw-ledger": "^10.2.2",
|
||||
"@polkadot/hw-ledger": "^10.2.3",
|
||||
"is-ipfs": "6.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,6 +15,6 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/react-components": "^0.122.3-234-x",
|
||||
"multiformats": "^9.8.1"
|
||||
"multiformats": "^9.9.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"version": "0.122.3-234-x",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/hw-ledger": "^10.2.2",
|
||||
"@polkadot/hw-ledger": "^10.2.3",
|
||||
"@polkadot/react-components": "^0.122.3-234-x"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,11 +14,11 @@
|
||||
"version": "0.122.3-234-x",
|
||||
"dependencies": {
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"testcontainers": "^8.16.0"
|
||||
"testcontainers": "^9.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "^9.10.5",
|
||||
"@polkadot/types-support": "^9.11.1",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"tsconfig-paths": "^4.1.1"
|
||||
"tsconfig-paths": "^4.1.2"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user