diff --git a/package.json b/package.json index 4d215f9ed8..9b9f02343f 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,12 @@ "packages/*" ], "resolutions": { - "@polkadot/api": "^1.12.0-beta.13", - "@polkadot/api-contract": "^1.12.0-beta.13", - "@polkadot/keyring": "^2.9.0-beta.3", - "@polkadot/types": "^1.12.0-beta.13", - "@polkadot/util": "^2.9.0-beta.3", - "@polkadot/util-crypto": "^2.9.0-beta.3", + "@polkadot/api": "^1.13.0-beta.2", + "@polkadot/api-contract": "^1.13.0-beta.2", + "@polkadot/keyring": "^2.10.0-beta.1", + "@polkadot/types": "^1.13.0-beta.2", + "@polkadot/util": "^2.10.0-beta.1", + "@polkadot/util-crypto": "^2.10.0-beta.1", "babel-core": "^7.0.0-bridge.0", "typescript": "^3.8.3" }, @@ -35,20 +35,20 @@ "start": "yarn clean && cd packages/apps && webpack --config webpack.config.js" }, "devDependencies": { - "@babel/core": "^7.9.0", + "@babel/core": "^7.9.6", "@babel/register": "^7.9.0", - "@babel/runtime": "^7.9.2", - "@polkadot/dev": "^0.52.11", - "@polkadot/ts": "^0.3.18", + "@babel/runtime": "^7.9.6", + "@polkadot/dev": "^0.52.12", + "@polkadot/ts": "^0.3.19", "@types/bn.js": "^4.11.6", - "@types/chart.js": "^2.9.19", + "@types/chart.js": "^2.9.20", "@types/file-saver": "^2.0.1", "@types/i18next": "^13.0.0", "@types/jest": "^25.2.1", "@types/react-beautiful-dnd": "^12.1.2", "@types/react-copy-to-clipboard": "^4.3.0", - "@types/react-dom": "^16.9.6", - "@types/react-router-dom": "^5.1.4", + "@types/react-dom": "^16.9.7", + "@types/react-router-dom": "^5.1.5", "@types/react-tooltip": "^3.11.0", "@types/store": "^2.0.2", "@types/styled-components": "^5.1.0", @@ -56,10 +56,10 @@ "i18next-scanner": "^2.11.0", "react": "^16.13.1", "react-dom": "^16.13.1", - "stylelint": "^13.3.2", + "stylelint": "^13.3.3", "stylelint-config-recommended": "^3.0.0", "stylelint-config-styled-components": "^0.1.1", - "webpack": "^4.42.1", + "webpack": "^4.43.0", "webpack-cli": "^3.3.11", "webpack-plugin-serve": "^0.12.1" } diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 4bc21086dd..c92e583caa 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -11,7 +11,7 @@ "contributors": [], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "edgeware-node-types": "^2.0.1" } } diff --git a/packages/apps-routing/package.json b/packages/apps-routing/package.json index 369fe2b5c3..b6d3f9f23b 100644 --- a/packages/apps-routing/package.json +++ b/packages/apps-routing/package.json @@ -11,6 +11,6 @@ "contributors": [], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2" + "@babel/runtime": "^7.9.6" } } diff --git a/packages/apps/package.json b/packages/apps/package.json index 20699418ae..118214d4f0 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -14,8 +14,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/polyfill": "^7.8.7", - "@babel/runtime": "^7.9.2", - "@polkadot/dev": "^0.52.11", + "@babel/runtime": "^7.9.6", + "@polkadot/dev": "^0.52.12", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-signer": "0.42.0-beta.60", "query-string": "^6.12.1" @@ -23,15 +23,15 @@ "devDependencies": { "babel-loader": "^8.1.0", "copy-webpack-plugin": "^5.1.1", - "css-loader": "^3.5.2", + "css-loader": "^3.5.3", "empty": "^0.10.1", "file-loader": "^6.0.0", "html-loader": "^1.1.0", - "html-webpack-plugin": "^4.2.0", + "html-webpack-plugin": "^4.2.1", "markdown-loader": "^5.1.0", "mini-css-extract-plugin": "^0.9.0", "source-map-explorer": "^2.4.2", - "style-loader": "^1.1.4", + "style-loader": "^1.2.1", "thread-loader": "^2.1.3", "url-loader": "^4.1.0" } diff --git a/packages/page-123code/package.json b/packages/page-123code/package.json index f23e2bdab4..30dd249271 100644 --- a/packages/page-123code/package.json +++ b/packages/page-123code/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-accounts/package.json b/packages/page-accounts/package.json index b883fe3a5d..ddc5627119 100644 --- a/packages/page-accounts/package.json +++ b/packages/page-accounts/package.json @@ -11,7 +11,7 @@ "contributors": [], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-qr": "^0.53.0-beta.1", "@polkadot/vanitygen": "^0.11.1", diff --git a/packages/page-claims/package.json b/packages/page-claims/package.json index e9068aad8b..96ddf4ca1f 100644 --- a/packages/page-claims/package.json +++ b/packages/page-claims/package.json @@ -12,7 +12,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "secp256k1": "^3.8.0" } diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index bbf048bf40..cd07ead6ef 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", - "@polkadot/api-contract": "^1.12.0-beta.13" + "@babel/runtime": "^7.9.6", + "@polkadot/api-contract": "^1.13.0-beta.2" } } diff --git a/packages/page-council/package.json b/packages/page-council/package.json index 3c9029717a..b22adab39b 100644 --- a/packages/page-council/package.json +++ b/packages/page-council/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-query": "0.42.0-beta.60" } diff --git a/packages/page-dashboard/package.json b/packages/page-dashboard/package.json index 4beb393037..1d22efdab9 100644 --- a/packages/page-dashboard/package.json +++ b/packages/page-dashboard/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/apps-routing": "0.42.0-beta.60", "@polkadot/react-components": "0.42.0-beta.60" } diff --git a/packages/page-democracy/package.json b/packages/page-democracy/package.json index b9e725dae7..91efbe12ee 100644 --- a/packages/page-democracy/package.json +++ b/packages/page-democracy/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-query": "0.42.0-beta.60" } diff --git a/packages/page-explorer/package.json b/packages/page-explorer/package.json index 7a804bca37..a0f4856e30 100644 --- a/packages/page-explorer/package.json +++ b/packages/page-explorer/package.json @@ -11,7 +11,7 @@ "contributors": [], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-extrinsics/package.json b/packages/page-extrinsics/package.json index 3a0364e198..9d3b1ea5c2 100644 --- a/packages/page-extrinsics/package.json +++ b/packages/page-extrinsics/package.json @@ -11,7 +11,7 @@ "contributors": [], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-params": "0.42.0-beta.60", "@polkadot/react-signer": "0.42.0-beta.60" diff --git a/packages/page-generic-asset/package.json b/packages/page-generic-asset/package.json index fb35db9043..f4b72ed43c 100644 --- a/packages/page-generic-asset/package.json +++ b/packages/page-generic-asset/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-i18n/package.json b/packages/page-i18n/package.json index 0a0ec6a706..03f278e20d 100644 --- a/packages/page-i18n/package.json +++ b/packages/page-i18n/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-js/package.json b/packages/page-js/package.json index 923cbed391..4617645199 100644 --- a/packages/page-js/package.json +++ b/packages/page-js/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-parachains/package.json b/packages/page-parachains/package.json index ddd5c7d60f..cf3a4de2d6 100644 --- a/packages/page-parachains/package.json +++ b/packages/page-parachains/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-query": "0.42.0-beta.60" } diff --git a/packages/page-settings/package.json b/packages/page-settings/package.json index 48a993efb0..90a036e766 100644 --- a/packages/page-settings/package.json +++ b/packages/page-settings/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/apps-config": "0.42.0-beta.60", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-query": "0.42.0-beta.60", diff --git a/packages/page-society/package.json b/packages/page-society/package.json index 3e75c2271f..6521af245a 100644 --- a/packages/page-society/package.json +++ b/packages/page-society/package.json @@ -8,7 +8,7 @@ "author": "Jaco Greeff ", "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/react-components": "0.42.0-beta.60" } } diff --git a/packages/page-staking/package.json b/packages/page-staking/package.json index 17d242039e..3909784d3c 100644 --- a/packages/page-staking/package.json +++ b/packages/page-staking/package.json @@ -11,7 +11,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@babel/runtime": "^7.9.2", + "@babel/runtime": "^7.9.6", "@polkadot/app-explorer": "0.42.0-beta.60", "@polkadot/react-components": "0.42.0-beta.60", "@polkadot/react-query": "0.42.0-beta.60" diff --git a/packages/page-staking/src/Actions/Account/SetSessionKey.tsx b/packages/page-staking/src/Actions/Account/SetSessionKey.tsx index 18fadb15ea..d1268e396b 100644 --- a/packages/page-staking/src/Actions/Account/SetSessionKey.tsx +++ b/packages/page-staking/src/Actions/Account/SetSessionKey.tsx @@ -10,11 +10,12 @@ import { useTranslation } from '../../translate'; interface Props { controllerId: string; onClose: () => void; + stashId: string; } const EMPTY_PROOF = new Uint8Array(); -function SetSessionKey ({ controllerId, onClose }: Props): React.ReactElement | null { +function SetSessionKey ({ controllerId, onClose, stashId }: Props): React.ReactElement | null { const { t } = useTranslation(); const [keys, setKeys] = useState(null); @@ -22,23 +23,41 @@ function SetSessionKey ({ controllerId, onClose }: Props): React.ReactElement - - + + + + + + +

{t('The stash and controller pair. This transaction, setting the session keys, will be sent from the controller.')}

+
+
+ + + + + +

{t('The hex output from author_rotateKeys, as executed on the validator node. The keys will show as pending until applied at the start of a new session.')}

+
+
- - - + + + + + + +

{t('The stash and controller pair. This transaction, managing preferences, will be sent from the controller.')}

+
+
+ + + + + +

{t('The commission is deducted from all rewards before the remainder is split with nominators.')}

+
+
)} {isUnbondOpen && ( diff --git a/packages/page-staking/src/Payouts/PayButton.tsx b/packages/page-staking/src/Payouts/PayButton.tsx index c08b60afb2..27c6f258f8 100644 --- a/packages/page-staking/src/Payouts/PayButton.tsx +++ b/packages/page-staking/src/Payouts/PayButton.tsx @@ -59,36 +59,53 @@ function PayButton ({ isAll, isDisabled, payout }: Props): React.ReactElement {payout && isVisible && ( - + - {Array.isArray(payout) - ? ( - ( - - )) - } - /> - ) - : ( + + - ) - } - + + +

{t('Any account can request payout for stakers, this is not limited to accounts that will be rewarded.')}

+
+
+ + + {Array.isArray(payout) + ? ( + ( + + )) + } + /> + ) + : ( + + ) + } + + +

{t('All the listed validators and all their nominators will receive their rewards.')}

+
+
)}