diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e9e451f1af5d..6a4fd81ad5f6 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -18,10 +18,10 @@ 24 sxlwar crab config (#6995) 24 WoeOm feat: subscan support fellowship, referenda v2 (#8987) 20 Nikita Update icon and colors for Realis.Network (#6336) + 18 Daria Showing waiting, active and inactive nominations on the Accounts page (#10998) 18 fomod-in Update translation.json (#5942) 18 Wei Tang Re-enable Neatcoin endpoint (#8271) 18 William Freudenberger re-activate centrifuge fullnodes (#9377) - 17 Daria Relay Chain Coretime UI bugs (#11043) 17 Frank Liu Add Onfinality endpoint for Statemint (#6513) 16 Sam Elamin update to a more stable enpoint behind load balancers (#9897) 16 Stefan Popov Use archive nodes for SORA Kusama and Polkadot parachains (#10215) @@ -269,6 +269,7 @@ 2 Jay Pan Peaq rpc add (#9547) 2 jimmy-tudeski Update add-accounts.json (#4759) 2 JimYam fix the bug that have no icon for listen in https://polkadot.js.org/apps (#7241) + 2 Juan Girini re-add IDN node provider (#11053) 2 Justin Zhou currently unreachable (#8130) 2 kaichao not enable identify for failed set identity txs. (#10747) 2 Krishna Singh Updated Polkadex mainnet and parachain endpoints (#9765) @@ -425,7 +426,6 @@ 1 Jim Counter Add Subspace Gemini 3h Nova endpoint (#10601) 1 jizer add trustbase infos (#4627) 1 joe petrowski unscrupelous to unscrupulous (#7935) - 1 Juan Girini Add Ideal Network testnet to Paseo (#10934) 1 Julien Remove now sunset dotscanner (#9714) 1 Jun Zhang Update translation.json (#4508) 1 Just van Stam Add Polimec Network (#10137) @@ -471,6 +471,7 @@ 1 motinados fill in all empty values in all languageCaches. (#3606) 1 MOZGIII Add Humanode network endpoint and logo (#8919) 1 Mridul Kumar fix: dropdown options not visible for metadata upgradable extensions (#10264) + 1 Mrigesh patni Add watr to paseo (#11057) 1 Nantian update acala rpc (#6704) 1 nasa8x Add GeekCash testnet, logo, color (#5265) 1 NightingaleAsh Add loom network kusama (#5591) diff --git a/package.json b/package.json index a2b89e08b588..3709741eec80 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "versions": { - "git": "0.145.2-9-x", + "git": "0.145.2-12-x", "npm": "0.145.1" }, "workspaces": [ diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 44076bd71b05..c1843c181094 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -13,7 +13,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "main": "index.js", "dependencies": { "@acala-network/type-definitions": "5.1.2", diff --git a/packages/apps-config/src/endpoints/testingRelayPaseo.ts b/packages/apps-config/src/endpoints/testingRelayPaseo.ts index c39b4b65d25b..98cc0a43e24b 100644 --- a/packages/apps-config/src/endpoints/testingRelayPaseo.ts +++ b/packages/apps-config/src/endpoints/testingRelayPaseo.ts @@ -3,7 +3,7 @@ import type { EndpointOption } from './types.js'; -import { chainsAmplitudeSVG, chainsCoretimeKusamaSVG, chainsFrequencyPaseoSVG, chainsHydrationPaseoSVG, chainsLaosSigmaPNG, chainsMyxcavPNG, chainsPaseoPNG, chainsPeoplePolkadotSVG, chainsPopNetworkSVG } from '@polkadot/apps-config/ui/logos/chains'; +import { chainsAmplitudeSVG, chainsCoretimeKusamaSVG, chainsFrequencyPaseoSVG, chainsHydrationPaseoSVG, chainsLaosSigmaPNG, chainsMyxcavPNG, chainsPaseoPNG, chainsPeoplePolkadotSVG, chainsPopNetworkSVG, chainsWatrPNG } from '@polkadot/apps-config/ui/logos/chains'; import { nodesAjunaPNG, nodesAssetHubSVG, nodesAventusSVG, nodesBajunPNG, nodesBifrostSVG, nodesBridgeHubSVG, nodesDarwiniaKoiSVG, nodesHyperbridgePNG, nodesIdealNetworkSVG, nodesIntegriteeSVG, nodesKiltPNG, nodesLitentryPaseoSVG, nodesMandalaPNG, nodesMusePNG, nodesMyriadPaseoSVG, nodesNodleSVG, nodesRegionxPNG, nodesRexSVG, nodesZeitgeistPNG } from '@polkadot/apps-config/ui/logos/nodes'; import { PASEO_GENESIS } from '../api/constants.js'; @@ -152,7 +152,7 @@ export const testParasPaseo: Omit[] = [ info: 'Ideal Network', paraId: 4502, providers: { - // 'IDN Node': 'wss://idn0-testnet.idealabs.network' https://github.com/polkadot-js/apps/issues/10966 + 'IDN Node': 'wss://idn0-testnet.idealabs.network' }, text: 'Ideal Network', ui: { @@ -302,6 +302,18 @@ export const testParasPaseo: Omit[] = [ logo: nodesRegionxPNG } }, + { + info: 'paseoWatr', + paraId: 2058, + providers: { + Watr: 'wss://rpc.dev.watr.org' + }, + text: 'Watr Network', + ui: { + color: '#373b39', + logo: chainsWatrPNG + } + }, { homepage: 'https://xcavate.io/', info: 'Xcavate', diff --git a/packages/apps-config/src/packageInfo.ts b/packages/apps-config/src/packageInfo.ts index 9d78bd0f9d31..6132bd6c0138 100644 --- a/packages/apps-config/src/packageInfo.ts +++ b/packages/apps-config/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/apps-config', path: 'auto', type: 'auto', version: '0.145.2-9-x' }; +export const packageInfo = { name: '@polkadot/apps-config', path: 'auto', type: 'auto', version: '0.145.2-12-x' }; diff --git a/packages/apps-electron/package.json b/packages/apps-electron/package.json index 67fb9c4a5a9c..f78b121bf010 100644 --- a/packages/apps-electron/package.json +++ b/packages/apps-electron/package.json @@ -15,7 +15,7 @@ "url": "https://github.com/polkadot-js/apps.git" }, "sideEffects": false, - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "main": "build/electron.js", "dependencies": { "electron-log": "^5.0.1", diff --git a/packages/apps-routing/package.json b/packages/apps-routing/package.json index 3cfd46ce2fbc..6185a3f0728d 100644 --- a/packages/apps-routing/package.json +++ b/packages/apps-routing/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/apps/package.json b/packages/apps/package.json index 00f4c19a8d5e..faae8fe7eb99 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -14,18 +14,18 @@ }, "sideEffects": true, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@acala-network/chopsticks-core": "^0.13.3", - "@polkadot/apps-config": "^0.145.2-9-x", - "@polkadot/apps-routing": "^0.145.2-9-x", + "@polkadot/apps-config": "^0.145.2-12-x", + "@polkadot/apps-routing": "^0.145.2-12-x", "@polkadot/dev": "^0.81.2", - "@polkadot/react-api": "^0.145.2-9-x", - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-hooks": "^0.145.2-9-x", - "@polkadot/react-params": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x", - "@polkadot/react-signer": "^0.145.2-9-x", + "@polkadot/react-api": "^0.145.2-12-x", + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-hooks": "^0.145.2-12-x", + "@polkadot/react-params": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x", + "@polkadot/react-signer": "^0.145.2-12-x", "punycode": "^2.3.1", "query-string": "^8.1.0", "react": "^18.2.0", diff --git a/packages/apps/src/packageInfo.ts b/packages/apps/src/packageInfo.ts index 83b822dfba47..6ebb387cea2a 100644 --- a/packages/apps/src/packageInfo.ts +++ b/packages/apps/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/apps', path: 'auto', type: 'auto', version: '0.145.2-9-x' }; +export const packageInfo = { name: '@polkadot/apps', path: 'auto', type: 'auto', version: '0.145.2-12-x' }; diff --git a/packages/page-accounts/package.json b/packages/page-accounts/package.json index 7282aa514f0d..9ac85c5ac3cf 100644 --- a/packages/page-accounts/package.json +++ b/packages/page-accounts/package.json @@ -14,19 +14,19 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@polkadot/hw-ledger": "^13.2.2", "@polkadot/phishing": "^0.24.2", - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-hooks": "^0.145.2-9-x", + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-hooks": "^0.145.2-12-x", "@polkadot/util": "^13.2.2", "@polkadot/vanitygen": "^0.60.2", "detect-browser": "^5.3.0", "file-saver": "^2.0.5" }, "devDependencies": { - "@polkadot/test-support": "0.145.2-9-x" + "@polkadot/test-support": "0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-addresses/package.json b/packages/page-addresses/package.json index b561860bc8e2..a8134593cfae 100644 --- a/packages/page-addresses/package.json +++ b/packages/page-addresses/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", + "@polkadot/react-components": "^0.145.2-12-x", "file-saver": "^2.0.5" }, "devDependencies": { diff --git a/packages/page-alliance/package.json b/packages/page-alliance/package.json index 16af537ce9f9..a13cc60bd8d7 100644 --- a/packages/page-alliance/package.json +++ b/packages/page-alliance/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-ambassador/package.json b/packages/page-ambassador/package.json index b6102c2bedb5..806ab3634a70 100644 --- a/packages/page-ambassador/package.json +++ b/packages/page-ambassador/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-assets/package.json b/packages/page-assets/package.json index ae20c79e3444..df58ef5948d8 100644 --- a/packages/page-assets/package.json +++ b/packages/page-assets/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-bounties/package.json b/packages/page-bounties/package.json index 78dcde15a36b..4780bc76317f 100644 --- a/packages/page-bounties/package.json +++ b/packages/page-bounties/package.json @@ -14,12 +14,12 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "devDependencies": { - "@polkadot/test-support": "0.145.2-9-x" + "@polkadot/test-support": "0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-broker/package.json b/packages/page-broker/package.json index 580c86fec647..84634cbb9822 100644 --- a/packages/page-broker/package.json +++ b/packages/page-broker/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "0.145.2-9-x", - "@polkadot/react-query": "0.145.2-9-x" + "@polkadot/react-components": "0.145.2-12-x", + "@polkadot/react-query": "0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-calendar/package.json b/packages/page-calendar/package.json index 0d235691ebb9..3462a87b754b 100644 --- a/packages/page-calendar/package.json +++ b/packages/page-calendar/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-claims/package.json b/packages/page-claims/package.json index db2074a0adce..62131c7bb7e2 100644 --- a/packages/page-claims/package.json +++ b/packages/page-claims/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", + "@polkadot/react-components": "^0.145.2-12-x", "secp256k1": "^3.8.0" }, "peerDependencies": { diff --git a/packages/page-collator/package.json b/packages/page-collator/package.json index a0a60688b12a..3b47b721da69 100644 --- a/packages/page-collator/package.json +++ b/packages/page-collator/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index d883f3df1098..225dbf249063 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@polkadot/api-contract": "14.2.1", "eventemitter3": "^5.0.1" diff --git a/packages/page-coretime/package.json b/packages/page-coretime/package.json index bd6a71c6b904..c6b66eafa9d1 100644 --- a/packages/page-coretime/package.json +++ b/packages/page-coretime/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-council/package.json b/packages/page-council/package.json index 48793ebefa9a..77f60f261e88 100644 --- a/packages/page-council/package.json +++ b/packages/page-council/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-democracy/package.json b/packages/page-democracy/package.json index 1ea07b16aa75..72119d22787f 100644 --- a/packages/page-democracy/package.json +++ b/packages/page-democracy/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-explorer/package.json b/packages/page-explorer/package.json index 28219e118f21..e22ab4a34dd6 100644 --- a/packages/page-explorer/package.json +++ b/packages/page-explorer/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-extrinsics/package.json b/packages/page-extrinsics/package.json index 6e658781c090..fa34a696f1be 100644 --- a/packages/page-extrinsics/package.json +++ b/packages/page-extrinsics/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-params": "^0.145.2-9-x", - "@polkadot/react-signer": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-params": "^0.145.2-12-x", + "@polkadot/react-signer": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-fellowship/package.json b/packages/page-fellowship/package.json index e37b95fd0d0a..59291ea39774 100644 --- a/packages/page-fellowship/package.json +++ b/packages/page-fellowship/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-files/package.json b/packages/page-files/package.json index f91b6b0af5f8..57916de40ed1 100644 --- a/packages/page-files/package.json +++ b/packages/page-files/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", + "@polkadot/react-components": "^0.145.2-12-x", "axios": "^1.6.2" }, "peerDependencies": { diff --git a/packages/page-gilt/package.json b/packages/page-gilt/package.json index 31e750067485..d65f03719f2e 100644 --- a/packages/page-gilt/package.json +++ b/packages/page-gilt/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-js/package.json b/packages/page-js/package.json index c9abf7ebbffb..07852bb66286 100644 --- a/packages/page-js/package.json +++ b/packages/page-js/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-membership/package.json b/packages/page-membership/package.json index 710e5498142c..1d0333b4b531 100644 --- a/packages/page-membership/package.json +++ b/packages/page-membership/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-nfts/package.json b/packages/page-nfts/package.json index 2b6f19d642a2..4be87d53fd3b 100644 --- a/packages/page-nfts/package.json +++ b/packages/page-nfts/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-nis/package.json b/packages/page-nis/package.json index 9478ad3d02ab..1240e741801a 100644 --- a/packages/page-nis/package.json +++ b/packages/page-nis/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-parachains/package.json b/packages/page-parachains/package.json index ed991ea293dc..9250f5388518 100644 --- a/packages/page-parachains/package.json +++ b/packages/page-parachains/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-poll/package.json b/packages/page-poll/package.json index 02f90935bc33..978e531b4b5a 100644 --- a/packages/page-poll/package.json +++ b/packages/page-poll/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-preimages/package.json b/packages/page-preimages/package.json index fd5e6bf0b2d5..129be125f1db 100644 --- a/packages/page-preimages/package.json +++ b/packages/page-preimages/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-ranked/package.json b/packages/page-ranked/package.json index 2f106c786f99..ca968cfaaa58 100644 --- a/packages/page-ranked/package.json +++ b/packages/page-ranked/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-referenda/package.json b/packages/page-referenda/package.json index bdcbc51e5e06..5fce2b771de5 100644 --- a/packages/page-referenda/package.json +++ b/packages/page-referenda/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "devDependencies": { "chart.js": "^4.4.1" }, diff --git a/packages/page-rpc/package.json b/packages/page-rpc/package.json index 6fcdd5999f66..e1a0c51f2a37 100644 --- a/packages/page-rpc/package.json +++ b/packages/page-rpc/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-runtime/package.json b/packages/page-runtime/package.json index 57042ae69a98..50adcf3a3697 100644 --- a/packages/page-runtime/package.json +++ b/packages/page-runtime/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-scheduler/package.json b/packages/page-scheduler/package.json index d9fd56393dd5..37a2ef10dc30 100644 --- a/packages/page-scheduler/package.json +++ b/packages/page-scheduler/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-settings/package.json b/packages/page-settings/package.json index b5b2f882f4d2..65b605622b36 100644 --- a/packages/page-settings/package.json +++ b/packages/page-settings/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/apps-config": "^0.145.2-9-x", - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x", + "@polkadot/apps-config": "^0.145.2-12-x", + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x", "query-string": "^8.1.0" }, "peerDependencies": { diff --git a/packages/page-signing/package.json b/packages/page-signing/package.json index d5cedb50fdc8..e2576f067640 100644 --- a/packages/page-signing/package.json +++ b/packages/page-signing/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-society/package.json b/packages/page-society/package.json index 5eceb4781a5a..d9b0cafb77c8 100644 --- a/packages/page-society/package.json +++ b/packages/page-society/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-staking-legacy/package.json b/packages/page-staking-legacy/package.json index 2fd14e320e1f..c0ee44ebe771 100644 --- a/packages/page-staking-legacy/package.json +++ b/packages/page-staking-legacy/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/app-explorer": "^0.145.2-9-x", - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/app-explorer": "^0.145.2-12-x", + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-staking/package.json b/packages/page-staking/package.json index 518169e44325..e595322d1f06 100644 --- a/packages/page-staking/package.json +++ b/packages/page-staking/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/app-explorer": "^0.145.2-9-x", - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/app-explorer": "^0.145.2-12-x", + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-staking/src/Actions/Account/ListNominees.tsx b/packages/page-staking/src/Actions/Account/ListNominees.tsx index 9b5a8045b6e0..762336c739bb 100644 --- a/packages/page-staking/src/Actions/Account/ListNominees.tsx +++ b/packages/page-staking/src/Actions/Account/ListNominees.tsx @@ -6,7 +6,7 @@ import type { BN } from '@polkadot/util'; import React, { useMemo } from 'react'; -import { AddressMini, ExpanderScroll, MarkWarning } from '@polkadot/react-components'; +import { AddressMini, ExpanderScroll, MarkWarning, Spinner } from '@polkadot/react-components'; import { useApi, useCall } from '@polkadot/react-hooks'; import { isFunction, isToBn } from '@polkadot/util'; @@ -68,15 +68,24 @@ function renderNominators (stashId: string, all: string[] = [], eraExposure?: De function ListNominees ({ nominating, stashId }: Props): React.ReactElement { const { t } = useTranslation(); const { api } = useApi(); - const { nomsActive, nomsChilled, nomsInactive, nomsOver, nomsWaiting } = useInactives(stashId, nominating); const sessionInfo = useCall(api.query.staking && api.derive.session?.indexes); const eraExposure = useCall(isFunction(api.query.staking.erasStakers) && api.derive.staking.eraExposure, [sessionInfo?.activeEra]); + const { nomsActive, nomsChilled, nomsInactive, nomsOver, nomsWaiting } = useInactives(stashId, nominating, eraExposure); const [renActive, renChilled, renInactive, renOver, renWaiting] = useMemo( () => [renderNominators(stashId, nomsActive, eraExposure), renderNominators(stashId, nomsChilled), renderNominators(stashId, nomsInactive), renderNominators(stashId, nomsOver), renderNominators(stashId, nomsWaiting)], [eraExposure, nomsActive, nomsChilled, nomsInactive, nomsOver, nomsWaiting, stashId] ); + if (!nomsInactive && !nomsWaiting) { + return ( + + ); + } + return ( <> {renOver && ( diff --git a/packages/page-staking/src/Actions/useInactives.ts b/packages/page-staking/src/Actions/useInactives.ts index e885288f15a4..7b351eade8f1 100644 --- a/packages/page-staking/src/Actions/useInactives.ts +++ b/packages/page-staking/src/Actions/useInactives.ts @@ -3,14 +3,14 @@ import type { ApiPromise } from '@polkadot/api'; import type { QueryableStorageMultiArg } from '@polkadot/api/types'; -import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; -import type { Option, u32 } from '@polkadot/types'; +import type { DeriveEraExposure, DeriveEraNominatorExposure, DeriveEraValidatorExposurePaged, DeriveSessionIndexes } from '@polkadot/api-derive/types'; +import type { Option, u16, u32 } from '@polkadot/types'; import type { EraIndex, Exposure, Nominations, SlashingSpans } from '@polkadot/types/interfaces'; import { useEffect, useState } from 'react'; import { createNamedHook, useApi, useCall, useIsMountedRef } from '@polkadot/react-hooks'; -import { BN_ZERO } from '@polkadot/util'; +import { BN, BN_ZERO } from '@polkadot/util'; interface Inactives { nomsActive?: string[]; @@ -20,28 +20,50 @@ interface Inactives { nomsWaiting?: string[]; } -function extractState (api: ApiPromise, stashId: string, slashes: Option[], nominees: string[], { activeEra }: DeriveSessionIndexes, submittedIn: EraIndex, exposures: Exposure[]): Inactives { - const max = api.consts.staking?.maxNominatorRewardedPerValidator as u32; +interface ExtractStateParams { + api: ApiPromise; + stashId: string; + slashes: Option[]; + nominees: string[]; + activeEra: EraIndex| undefined; + submittedIn: EraIndex; + exposures: Exposure[]; + version: number | undefined; + allNominators?: DeriveEraNominatorExposure; + activeValidators?: DeriveEraValidatorExposurePaged; +} - // chilled - // NOTE With the introduction of the SlashReported event, - // nominators are not auto-chilled on validator slash +function extractState (params: ExtractStateParams): Inactives { + const { activeEra, activeValidators, allNominators, api, exposures, nominees, slashes, stashId, submittedIn, version } = params; + + if (((version && version >= 14) && !allNominators && !activeValidators) || !activeEra || !version) { + return { nomsActive: [], nomsChilled: [], nomsInactive: [], nomsOver: [], nomsWaiting: [] }; + } + + // / For older non-paged exposure, a reward payout was restricted to the top + // / `MaxExposurePageSize` nominators. This is to limit the i/o cost for the + // / nominator payout. + const max = api.consts.staking?.maxNominatorRewardedPerValidator as u32 || new BN(512); + + /** + * NOTE With the introduction of the SlashReported event, nominators are not auto-chilled on validator slash + * + * Chilled validators / nominations + * - Chilling is the act of stepping back from any nominating or validating + * To be chilled, we have a slash era and it is later than the submission era + * (if submitted in the same, the nomination will only take effect after the era) + */ const nomsChilled = !api.events.staking.SlashReported - ? nominees.filter((_, index) => - slashes[index].isNone - ? false - // to be chilled, we have a slash era and it is later than the submission era - // (if submitted in the same, the nomination will only take effect after the era) - : slashes[index].unwrap().lastNonzeroSlash.gt(submittedIn) - ) + ? nominees.filter((_, index) => slashes[index].isNone ? false : slashes[index].unwrap().lastNonzeroSlash.gt(submittedIn)) : []; - // all nominations that are oversubscribed + /** + * Oversubscribed validators / nominations + * - validators that have been nominated by more than max accounts + */ const nomsOver = exposures .map(({ others }) => - others.sort((a, b) => - (b.value?.unwrap() || BN_ZERO).cmp(a.value?.unwrap() || BN_ZERO) - ) + others.sort((a, b) => (b.value?.unwrap() || BN_ZERO).cmp(a.value?.unwrap() || BN_ZERO)) ) .map((others, index) => !max || max.gtn(others.map(({ who }) => who.toString()).indexOf(stashId)) @@ -51,76 +73,130 @@ function extractState (api: ApiPromise, stashId: string, slashes: Option !!nominee && !nomsChilled.includes(nominee)); // first a blanket find of nominations not in the active set - let nomsInactive = exposures - .map((exposure, index) => - exposure.others.some(({ who }) => who.eq(stashId)) - ? null - : nominees[index] - ) + const inactiveValidators = exposures.map((exposure, index) => exposure.others.some(({ who }) => who.eq(stashId)) ? null : nominees[index]) .filter((nominee): nominee is string => !!nominee); - // waiting if validator is inactive or we have not submitted long enough ago - const nomsWaiting = exposures - .map((exposure, index) => - exposure.total?.unwrap().isZero() || ( - nomsInactive.includes(nominees[index]) && - // it could be activeEra + 1 (currentEra for last session) - submittedIn.gte(activeEra) - ) - ? nominees[index] - : null + /** + * Waiting validator / nomination + * - the validator is not active, not producing blocks in this era. + */ + let nomsWaiting: string[] = []; + + /** + * Active validator / nomination + * - the validator your funds are bonded to, + * - they are earning rewards in the current era (they were selected to be part of the current validators set in the current era) + */ + let nomsActive: string[] = []; + + /** + * Inactive validator / nomination + * - A set of nominations will be inactive when none of those nominees are participating in the current validator set + * (the set of validators currently elected to validate the network). + */ + let nomsInactive: string[] = []; + + /** + * When you first nominate validators, all of them will be "waiting" in the current era. + * The nominations will take effect in the next era. One will only see active validators (and begin earning staking rewards) after two eras, + * so on the third day earliest. + */ + if (submittedIn.eq(activeEra)) { + return { nomsActive: [], nomsChilled, nomsInactive: [], nomsOver, nomsWaiting: nominees }; + } + + if (version >= 14) { + nomsWaiting = inactiveValidators.filter((inactive) => !activeValidators?.[inactive] && !nomsChilled.includes(inactive) && !nomsOver.includes(inactive)); + nomsActive = allNominators?.[stashId] ? [allNominators?.[stashId][0].validatorId] : []; + nomsInactive = inactiveValidators.filter((nominee) => !nomsWaiting.includes(nominee) && !nomsChilled.includes(nominee) && !nomsOver.includes(nominee) && !nomsActive.includes(nominee)); + + return { nomsActive, nomsChilled, nomsInactive, nomsOver, nomsWaiting }; + } + + /** + * Keeping this for backwards compatibility * + * For staking pallet lower than version 14 + */ + nomsWaiting = exposures.map((exposure, index) => + exposure.total?.unwrap().isZero() || ( + inactiveValidators.includes(nominees[index]) && + // it could be activeEra + 1 (currentEra for last session) + submittedIn.gte(activeEra) ) + ? nominees[index] + : null + ) .filter((nominee): nominee is string => !!nominee) .filter((nominee) => !nomsChilled.includes(nominee) && !nomsOver.includes(nominee)); - // filter based on all inactives - const nomsActive = nominees.filter((nominee) => !nomsInactive.includes(nominee) && !nomsChilled.includes(nominee) && !nomsOver.includes(nominee)); - + nomsActive = nominees.filter((nominee) => !nomsInactive.includes(nominee) && !nomsChilled.includes(nominee) && !nomsOver.includes(nominee)); // inactive also contains waiting, remove those - nomsInactive = nomsInactive.filter((nominee) => !nomsWaiting.includes(nominee) && !nomsChilled.includes(nominee) && !nomsOver.includes(nominee)); - - return { - nomsActive, - nomsChilled, - nomsInactive, - nomsOver, - nomsWaiting - }; + nomsInactive = inactiveValidators.filter((nominee) => !nomsWaiting.includes(nominee) && !nomsChilled.includes(nominee) && !nomsOver.includes(nominee) && !nomsActive.includes(nominee)); + + return { nomsActive, nomsChilled, nomsInactive, nomsOver, nomsWaiting }; } -function useInactivesImpl (stashId: string, nominees?: string[]): Inactives { +/** + * + * @param stashId - address of the account that is performing staking + * @param nominees - the validators that the given account has nominated + * @returns + */ +function useInactivesImpl (stashId: string, nominees?: string[], eraExposure?: DeriveEraExposure): Inactives { const { api } = useApi(); const mountedRef = useIsMountedRef(); const [state, setState] = useState({}); + const [exposures, setExposures] = useState([]); + const [slashes, setSlashes] = useState[]>([]); + const [submittedIn, setSubmittedIn] = useState(); const indexes = useCall(api.derive.session.indexes); + const version = useCall(api.query.staking.palletVersion)?.toNumber(); + + /** + * pallet updates v14 introduces ErasStakersPaged which is used by the derive `staking.eraExposure` + */ + useEffect(() => { + if (version && version >= 14 && !eraExposure) { + return; + } + const exposuresData = nominees?.map((id) => eraExposure?.validators?.[id]).filter((val) => val) as Exposure[]; + + mountedRef.current && exposuresData?.length && nominees?.length && !!submittedIn && setState( + extractState({ + activeEra: indexes?.activeEra, + activeValidators: eraExposure?.validators, + allNominators: eraExposure?.nominators, + api, + exposures: exposuresData, + nominees, + slashes, + stashId, + submittedIn, + version + }) + ); + }, [api, stashId, slashes, nominees, indexes, submittedIn, eraExposure, version, mountedRef]); + + /** + * These calls are used by both staking pallet before v14 and after + */ useEffect((): () => void => { let unsub: (() => void) | undefined; if (mountedRef.current && nominees?.length && indexes) { - api - .queryMulti( - [[api.query.staking.nominators, stashId] as QueryableStorageMultiArg<'promise'>] - .concat( - api.query.staking.erasStakers - ? nominees.map((id) => [api.query.staking.erasStakers, [indexes.activeEra, id]]) - : nominees.map((id) => [api.query.staking.stakers, id]) - ) - .concat( - nominees.map((id) => [api.query.staking.slashingSpans, id]) - ), - ([optNominators, ...exposuresAndSpans]: [Option, ...(Exposure | Option)[]]): void => { - const exposures = exposuresAndSpans.slice(0, nominees.length) as Exposure[]; - const slashes = exposuresAndSpans.slice(nominees.length) as Option[]; - - mountedRef.current && setState( - extractState(api, stashId, slashes, nominees, indexes, optNominators.unwrapOrDefault().submittedIn, exposures) - ); - } - ) + api.queryMulti( + [[api.query.staking.nominators, stashId] as QueryableStorageMultiArg<'promise'>] + .concat( + nominees.map((id) => [api.query.staking.slashingSpans, id])) + , ([optNominators, ...slashingSpans]: [Option, ...(Option)[]]): void => { + setSubmittedIn(optNominators.unwrapOrDefault().submittedIn); + setSlashes(slashingSpans); + }) .then((_unsub): void => { unsub = _unsub; - }).catch(console.error); + }) + .catch(console.error); } return (): void => { @@ -128,6 +204,51 @@ function useInactivesImpl (stashId: string, nominees?: string[]): Inactives { }; }, [api, indexes, mountedRef, nominees, stashId]); + /** + * Deprecated calls for exposure + * - erasStakers - deprecated in v14 + * - stakers - deprecated earlier + */ + useEffect((): () => void => { + let unsub: (() => void) | undefined; + + if (version && version < 14 && mountedRef.current && nominees?.length && indexes) { + api.queryMulti( + api.query.staking.erasStakers + ? nominees.map((id) => [api.query.staking.erasStakers, [indexes?.activeEra, id]]) + : nominees.map((id) => [api.query.staking.stakers, id]) + , (exposures: Exposure[]): void => setExposures(exposures)) + .then((_unsub): void => { + unsub = _unsub; + }) + .catch(console.error); + } + + return (): void => { + unsub && unsub(); + }; + }, [api, indexes, mountedRef, nominees, stashId, version]); + + /** + * Extracting state for deprecated calls + */ + useEffect(() => { + if (exposures.length && slashes.length && nominees?.length && !!submittedIn) { + mountedRef.current && setState( + extractState({ + activeEra: indexes?.activeEra, + api, + exposures, + nominees, + slashes, + stashId, + submittedIn, + version + }) + ); + } + }, [api, stashId, slashes, nominees, indexes, submittedIn, exposures, version, mountedRef]); + return state; } diff --git a/packages/page-staking2/package.json b/packages/page-staking2/package.json index f009773db157..3efe5ff19aeb 100644 --- a/packages/page-staking2/package.json +++ b/packages/page-staking2/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-storage/package.json b/packages/page-storage/package.json index 7f75051c6529..e5e2705752b0 100644 --- a/packages/page-storage/package.json +++ b/packages/page-storage/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-params": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-params": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-sudo/package.json b/packages/page-sudo/package.json index 2c056fe55dff..b36f632a7d6d 100644 --- a/packages/page-sudo/package.json +++ b/packages/page-sudo/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-tech-comm/package.json b/packages/page-tech-comm/package.json index 7938016b33d7..f0cbdc54e39c 100644 --- a/packages/page-tech-comm/package.json +++ b/packages/page-tech-comm/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-treasury/package.json b/packages/page-treasury/package.json index 0c31c1f01b04..814ddf4464a7 100644 --- a/packages/page-treasury/package.json +++ b/packages/page-treasury/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-query": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-query": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-utilities/package.json b/packages/page-utilities/package.json index ebf361cdd9fb..81d70c99ab83 100644 --- a/packages/page-utilities/package.json +++ b/packages/page-utilities/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", - "@polkadot/react-params": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x", + "@polkadot/react-params": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-whitelist/package.json b/packages/page-whitelist/package.json index 527d13d284cf..ffe899dbc731 100644 --- a/packages/page-whitelist/package.json +++ b/packages/page-whitelist/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/react-api/package.json b/packages/react-api/package.json index 913cd83edeef..be91d0130b7c 100644 --- a/packages/react-api/package.json +++ b/packages/react-api/package.json @@ -14,7 +14,7 @@ }, "sideEffects": true, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "browser": { "fs": false, "path": false diff --git a/packages/react-components/package.json b/packages/react-components/package.json index 4558d62a61c7..acc089c08392 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -14,16 +14,16 @@ }, "sideEffects": true, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-fontawesome": "^0.2.0", "@polkadot/keyring": "^13.2.2", - "@polkadot/react-api": "^0.145.2-9-x", + "@polkadot/react-api": "^0.145.2-12-x", "@polkadot/react-identicon": "^3.11.2", "@polkadot/react-qr": "^3.11.2", - "@polkadot/react-query": "^0.145.2-9-x", + "@polkadot/react-query": "^0.145.2-12-x", "@polkadot/ui-keyring": "^3.11.2", "@polkadot/ui-settings": "^3.11.2", "@polkadot/util": "^13.2.2", diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index ae580a64fa69..b509999fb984 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@polkadot/hw-ledger": "^13.2.2", "@polkadot/hw-ledger-transports": "^13.2.2", diff --git a/packages/react-params/package.json b/packages/react-params/package.json index 6f71f9526937..386b3463160b 100644 --- a/packages/react-params/package.json +++ b/packages/react-params/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { - "@polkadot/react-components": "^0.145.2-9-x", + "@polkadot/react-components": "^0.145.2-12-x", "multiformats": "^12.1.3" }, "peerDependencies": { diff --git a/packages/react-query/package.json b/packages/react-query/package.json index 664ad0aa1f76..0cf48d221711 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/react-signer/package.json b/packages/react-signer/package.json index ca9beb563402..155426a51a77 100644 --- a/packages/react-signer/package.json +++ b/packages/react-signer/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@polkadot-api/merkleize-metadata": "^1.1.9", "@polkadot/hw-ledger": "^13.2.2", - "@polkadot/react-components": "^0.145.2-9-x" + "@polkadot/react-components": "^0.145.2-12-x" }, "peerDependencies": { "react": "*", diff --git a/packages/test-support/package.json b/packages/test-support/package.json index 045a18af90eb..5e7fdab9fbb8 100644 --- a/packages/test-support/package.json +++ b/packages/test-support/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.145.2-9-x", + "version": "0.145.2-12-x", "dependencies": { "@testing-library/react": "^14.1.2", "testcontainers": "^10.4.0" diff --git a/yarn.lock b/yarn.lock index 41a0375698e7..e35e4f1983a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1292,9 +1292,9 @@ __metadata: dependencies: "@polkadot/hw-ledger": "npm:^13.2.2" "@polkadot/phishing": "npm:^0.24.2" - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-hooks": "npm:^0.145.2-9-x" - "@polkadot/test-support": "npm:0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-hooks": "npm:^0.145.2-12-x" + "@polkadot/test-support": "npm:0.145.2-12-x" "@polkadot/util": "npm:^13.2.2" "@polkadot/vanitygen": "npm:^0.60.2" detect-browser: "npm:^5.3.0" @@ -1310,7 +1310,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-addresses@workspace:packages/page-addresses" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" "@testing-library/react": "npm:^14.1.2" file-saver: "npm:^2.0.5" testcontainers: "npm:^10.4.0" @@ -1345,7 +1345,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-assets@workspace:packages/page-assets" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1357,8 +1357,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-bounties@workspace:packages/page-bounties" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/test-support": "npm:0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/test-support": "npm:0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1370,8 +1370,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-broker@workspace:packages/page-broker" dependencies: - "@polkadot/react-components": "npm:0.145.2-9-x" - "@polkadot/react-query": "npm:0.145.2-9-x" + "@polkadot/react-components": "npm:0.145.2-12-x" + "@polkadot/react-query": "npm:0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1383,7 +1383,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-calendar@workspace:packages/page-calendar" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1395,7 +1395,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-claims@workspace:packages/page-claims" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" secp256k1: "npm:^3.8.0" peerDependencies: react: "*" @@ -1431,8 +1431,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-coretime@workspace:packages/page-coretime" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1444,8 +1444,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-council@workspace:packages/page-council" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1457,8 +1457,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-democracy@workspace:packages/page-democracy" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1466,11 +1466,11 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/app-explorer@npm:^0.145.2-9-x, @polkadot/app-explorer@workspace:packages/page-explorer": +"@polkadot/app-explorer@npm:^0.145.2-12-x, @polkadot/app-explorer@workspace:packages/page-explorer": version: 0.0.0-use.local resolution: "@polkadot/app-explorer@workspace:packages/page-explorer" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1482,9 +1482,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-extrinsics@workspace:packages/page-extrinsics" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-params": "npm:^0.145.2-9-x" - "@polkadot/react-signer": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-params": "npm:^0.145.2-12-x" + "@polkadot/react-signer": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1506,7 +1506,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-files@workspace:packages/page-files" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" axios: "npm:^1.6.2" peerDependencies: react: "*" @@ -1519,7 +1519,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-gilt@workspace:packages/page-gilt" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1531,7 +1531,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-js@workspace:packages/page-js" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1543,8 +1543,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-membership@workspace:packages/page-membership" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1556,7 +1556,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-nfts@workspace:packages/page-nfts" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1568,7 +1568,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-nis@workspace:packages/page-nis" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1580,8 +1580,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-parachains@workspace:packages/page-parachains" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1593,7 +1593,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-poll@workspace:packages/page-poll" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1637,7 +1637,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-rpc@workspace:packages/page-rpc" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1649,7 +1649,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-runtime@workspace:packages/page-runtime" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1671,9 +1671,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-settings@workspace:packages/page-settings" dependencies: - "@polkadot/apps-config": "npm:^0.145.2-9-x" - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/apps-config": "npm:^0.145.2-12-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" query-string: "npm:^8.1.0" peerDependencies: react: "*" @@ -1686,7 +1686,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-signing@workspace:packages/page-signing" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1698,7 +1698,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-society@workspace:packages/page-society" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1710,9 +1710,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-staking-legacy@workspace:packages/page-staking-legacy" dependencies: - "@polkadot/app-explorer": "npm:^0.145.2-9-x" - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/app-explorer": "npm:^0.145.2-12-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1734,9 +1734,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-staking@workspace:packages/page-staking" dependencies: - "@polkadot/app-explorer": "npm:^0.145.2-9-x" - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/app-explorer": "npm:^0.145.2-12-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1748,8 +1748,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-storage@workspace:packages/page-storage" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-params": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-params": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1761,7 +1761,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-sudo@workspace:packages/page-sudo" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1773,8 +1773,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-tech-comm@workspace:packages/page-tech-comm" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1786,8 +1786,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-treasury@workspace:packages/page-treasury" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1799,8 +1799,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-utilities@workspace:packages/page-utilities" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-params": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-params": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -1818,7 +1818,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/apps-config@npm:^0.145.2-9-x, @polkadot/apps-config@workspace:packages/apps-config": +"@polkadot/apps-config@npm:^0.145.2-12-x, @polkadot/apps-config@workspace:packages/apps-config": version: 0.0.0-use.local resolution: "@polkadot/apps-config@workspace:packages/apps-config" dependencies: @@ -1890,7 +1890,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/apps-routing@npm:^0.145.2-9-x, @polkadot/apps-routing@workspace:packages/apps-routing": +"@polkadot/apps-routing@npm:^0.145.2-12-x, @polkadot/apps-routing@workspace:packages/apps-routing": version: 0.0.0-use.local resolution: "@polkadot/apps-routing@workspace:packages/apps-routing" peerDependencies: @@ -1905,15 +1905,15 @@ __metadata: resolution: "@polkadot/apps@workspace:packages/apps" dependencies: "@acala-network/chopsticks-core": "npm:^0.13.3" - "@polkadot/apps-config": "npm:^0.145.2-9-x" - "@polkadot/apps-routing": "npm:^0.145.2-9-x" + "@polkadot/apps-config": "npm:^0.145.2-12-x" + "@polkadot/apps-routing": "npm:^0.145.2-12-x" "@polkadot/dev": "npm:^0.81.2" - "@polkadot/react-api": "npm:^0.145.2-9-x" - "@polkadot/react-components": "npm:^0.145.2-9-x" - "@polkadot/react-hooks": "npm:^0.145.2-9-x" - "@polkadot/react-params": "npm:^0.145.2-9-x" - "@polkadot/react-query": "npm:^0.145.2-9-x" - "@polkadot/react-signer": "npm:^0.145.2-9-x" + "@polkadot/react-api": "npm:^0.145.2-12-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" + "@polkadot/react-hooks": "npm:^0.145.2-12-x" + "@polkadot/react-params": "npm:^0.145.2-12-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" + "@polkadot/react-signer": "npm:^0.145.2-12-x" "@types/punycode": "npm:^2.1.3" assert: "npm:^2.1.0" buffer: "npm:^6.0.3" @@ -2154,7 +2154,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-api@npm:^0.145.2-9-x, @polkadot/react-api@workspace:packages/react-api": +"@polkadot/react-api@npm:^0.145.2-12-x, @polkadot/react-api@workspace:packages/react-api": version: 0.0.0-use.local resolution: "@polkadot/react-api@workspace:packages/react-api" dependencies: @@ -2171,7 +2171,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-components@npm:0.145.2-9-x, @polkadot/react-components@npm:^0.145.2-9-x, @polkadot/react-components@workspace:packages/react-components": +"@polkadot/react-components@npm:0.145.2-12-x, @polkadot/react-components@npm:^0.145.2-12-x, @polkadot/react-components@workspace:packages/react-components": version: 0.0.0-use.local resolution: "@polkadot/react-components@workspace:packages/react-components" dependencies: @@ -2179,10 +2179,10 @@ __metadata: "@fortawesome/free-solid-svg-icons": "npm:^6.5.1" "@fortawesome/react-fontawesome": "npm:^0.2.0" "@polkadot/keyring": "npm:^13.2.2" - "@polkadot/react-api": "npm:^0.145.2-9-x" + "@polkadot/react-api": "npm:^0.145.2-12-x" "@polkadot/react-identicon": "npm:^3.11.2" "@polkadot/react-qr": "npm:^3.11.2" - "@polkadot/react-query": "npm:^0.145.2-9-x" + "@polkadot/react-query": "npm:^0.145.2-12-x" "@polkadot/ui-keyring": "npm:^3.11.2" "@polkadot/ui-settings": "npm:^3.11.2" "@polkadot/util": "npm:^13.2.2" @@ -2221,7 +2221,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-hooks@npm:^0.145.2-9-x, @polkadot/react-hooks@workspace:packages/react-hooks": +"@polkadot/react-hooks@npm:^0.145.2-12-x, @polkadot/react-hooks@workspace:packages/react-hooks": version: 0.0.0-use.local resolution: "@polkadot/react-hooks@workspace:packages/react-hooks" dependencies: @@ -2260,11 +2260,11 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-params@npm:^0.145.2-9-x, @polkadot/react-params@workspace:packages/react-params": +"@polkadot/react-params@npm:^0.145.2-12-x, @polkadot/react-params@workspace:packages/react-params": version: 0.0.0-use.local resolution: "@polkadot/react-params@workspace:packages/react-params" dependencies: - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" multiformats: "npm:^12.1.3" peerDependencies: react: "*" @@ -2295,7 +2295,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-query@npm:0.145.2-9-x, @polkadot/react-query@npm:^0.145.2-9-x, @polkadot/react-query@workspace:packages/react-query": +"@polkadot/react-query@npm:0.145.2-12-x, @polkadot/react-query@npm:^0.145.2-12-x, @polkadot/react-query@workspace:packages/react-query": version: 0.0.0-use.local resolution: "@polkadot/react-query@workspace:packages/react-query" peerDependencies: @@ -2305,13 +2305,13 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-signer@npm:^0.145.2-9-x, @polkadot/react-signer@workspace:packages/react-signer": +"@polkadot/react-signer@npm:^0.145.2-12-x, @polkadot/react-signer@workspace:packages/react-signer": version: 0.0.0-use.local resolution: "@polkadot/react-signer@workspace:packages/react-signer" dependencies: "@polkadot-api/merkleize-metadata": "npm:^1.1.9" "@polkadot/hw-ledger": "npm:^13.2.2" - "@polkadot/react-components": "npm:^0.145.2-9-x" + "@polkadot/react-components": "npm:^0.145.2-12-x" peerDependencies: react: "*" react-dom: "*" @@ -2370,7 +2370,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/test-support@npm:0.145.2-9-x, @polkadot/test-support@workspace:packages/test-support": +"@polkadot/test-support@npm:0.145.2-12-x, @polkadot/test-support@workspace:packages/test-support": version: 0.0.0-use.local resolution: "@polkadot/test-support@workspace:packages/test-support" dependencies: