Bump API & util (#5565)

* Bump API & util

* Fix exports
This commit is contained in:
Jaco 2021-06-11 18:12:04 +03:00 committed by GitHub
parent d5b9aefc0c
commit 0b7b085bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 968 additions and 962 deletions

View File

@ -12,17 +12,17 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^4.13.2-5",
"@polkadot/api-contract": "^4.13.2-5",
"@polkadot/hw-ledger": "^6.7.1",
"@polkadot/keyring": "^6.7.1",
"@polkadot/networks": "^6.7.1",
"@polkadot/phishing": "^0.6.190",
"@polkadot/types": "^4.13.2-5",
"@polkadot/util": "^6.7.1",
"@polkadot/util-crypto": "^6.7.1",
"@polkadot/api": "^4.13.2-6",
"@polkadot/api-contract": "^4.13.2-6",
"@polkadot/hw-ledger": "^6.7.2-7",
"@polkadot/keyring": "^6.7.2-7",
"@polkadot/networks": "^6.7.2-7",
"@polkadot/phishing": "^0.6.192",
"@polkadot/types": "^4.13.2-6",
"@polkadot/util": "^6.7.2-7",
"@polkadot/util-crypto": "^6.7.2-7",
"@polkadot/wasm-crypto": "^4.0.2",
"@polkadot/x-rxjs": "^6.7.1",
"@polkadot/x-rxjs": "^6.7.2-7",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
"typescript": "^4.3.2"
@ -71,7 +71,7 @@
"@babel/runtime": "^7.14.0",
"@crustio/crust-pin": "^0.0.1",
"@pinata/sdk": "^1.1.23",
"@polkadot/dev": "^0.62.41",
"@polkadot/dev": "^0.62.42",
"@polkadot/ts": "^0.3.89",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.32",

View File

@ -18,7 +18,7 @@
"@kiltprotocol/type-definitions": "^0.1.6",
"@laminar/type-definitions": "^0.3.1",
"@phala/typedefs": "^0.1.3",
"@polkadot/networks": "^6.7.1",
"@polkadot/networks": "^6.7.2-7",
"@polymathnetwork/polymesh-types": "^0.0.2",
"@snowfork/snowbridge-types": "^0.2.3",
"@sora-substrate/type-definitions": "^1.3.17",

View File

@ -265,14 +265,14 @@ export const chainColors = Object.entries({
WILT: chainKilt,
'Zenlink PC1': chainZenlink,
'ZERO.IO': chainZero
}).reduce((colors, [chain, color]): Record<string, string> => ({
}).reduce<Record<string, string>>((colors, [chain, color]) => ({
...colors,
[chain.toLowerCase()]: color
}), {});
// Alphabetical overrides based on the actual software node type
// NOTE: This is as retrieved via the system.name RPC
export const nodeColors: Record<string, string> = [
export const nodeColors = [
['Apron Node', nodeApron],
['Basilisk', nodeBasilisk],
['Bit.Country Node', nodeBitCountry],
@ -332,19 +332,19 @@ export const nodeColors: Record<string, string> = [
['Zeitgeist Node', nodeZeitgeist],
['Zeitgeist Collator', nodeZeitgeist],
['Zenlink Collator', nodeZenlink]
].reduce((colors, [node, color]): Record<string, string> => ({
].reduce<Record<string, string>>((colors, [node, color]) => ({
...colors,
[node.toLowerCase().replace(/-/g, ' ')]: color
}), {});
// Alphabetical overrides based on the actual software node type
// NOTE: This is as retrieved via the system.name RPC
export const specColors: Record<string, string> = [
export const specColors = [
['shell', specShell],
['statemine', specStatemine],
['statemint', specStatemint],
['westmint', specWestmint]
].reduce((colors, [spec, color]): Record<string, any> => ({
].reduce<Record<string, string>>((colors, [spec, color]) => ({
...colors,
[spec.toLowerCase().replace(/-/g, ' ')]: color
}), {});

View File

@ -6,7 +6,7 @@
"dependencies": {
"@babel/core": "^7.14.3",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.62.41",
"@polkadot/dev": "^0.62.42",
"@polkadot/react-components": "^0.92.4-11",
"electron-log": "^4.3.5",
"electron-updater": "^4.3.9"

View File

@ -11,7 +11,7 @@
"@babel/runtime": "^7.14.0",
"@polkadot/apps-config": "^0.92.4-11",
"@polkadot/apps-routing": "^0.92.4-11",
"@polkadot/dev": "^0.62.41",
"@polkadot/dev": "^0.62.42",
"@polkadot/react-api": "^0.92.4-11",
"@polkadot/react-components": "^0.92.4-11",
"@polkadot/react-hooks": "^0.92.4-11",

View File

@ -6,7 +6,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/phishing": "^0.6.190",
"@polkadot/phishing": "^0.6.192",
"@polkadot/react-components": "^0.92.4-11",
"@polkadot/vanitygen": "^0.37.2-1",
"detect-browser": "^5.2.0",

View File

@ -6,6 +6,6 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api-contract": "^4.13.2-5"
"@polkadot/api-contract": "^4.13.2-6"
}
}

View File

@ -6,9 +6,9 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api": "^4.13.2-5",
"@polkadot/extension-dapp": "^0.38.4-18",
"@polkadot/x-rxjs": "^6.7.1",
"@polkadot/api": "^4.13.2-6",
"@polkadot/extension-dapp": "^0.38.4",
"@polkadot/x-rxjs": "^6.7.2-7",
"fflate": "^0.7.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.7.1",
"@polkadot/keyring": "^6.7.2-7",
"@polkadot/react-api": "^0.92.4-11",
"@polkadot/react-identicon": "^0.79.2-2",
"@polkadot/react-qr": "^0.79.2-2",
"@polkadot/react-query": "^0.92.4-11",
"@polkadot/ui-keyring": "^0.79.2-2",
"@polkadot/ui-settings": "^0.79.2-2",
"@polkadot/util": "^6.7.1",
"@polkadot/util-crypto": "^6.7.1",
"@polkadot/util": "^6.7.2-7",
"@polkadot/util-crypto": "^6.7.2-7",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.9.2",

1876
yarn.lock

File diff suppressed because it is too large Load Diff