From cf46cde6ec10bb02ef86ac901e14bddb8697431a Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Fri, 29 Nov 2019 16:52:46 +0100 Subject: [PATCH] Swap to CC3 for Kusama (#1963) * Swap to CC3 for Kusama * 0.37 * CC3 * API bump --- CHANGELOG.md | 23 +++ lerna.json | 2 +- package.json | 6 +- packages/app-123code/package.json | 4 +- packages/app-accounts/package.json | 6 +- packages/app-address-book/package.json | 4 +- packages/app-claims/package.json | 4 +- packages/app-contracts/package.json | 6 +- packages/app-council/package.json | 6 +- packages/app-dashboard/package.json | 6 +- packages/app-democracy/package.json | 6 +- packages/app-explorer/package.json | 4 +- packages/app-extrinsics/package.json | 8 +- packages/app-generic-asset/package.json | 4 +- packages/app-js/package.json | 4 +- packages/app-parachains/package.json | 6 +- packages/app-settings/package.json | 6 +- packages/app-staking/package.json | 8 +- packages/app-staking/src/Targets/Summary.tsx | 13 +- packages/app-staking/src/Targets/index.tsx | 99 +++++++------ packages/app-storage/package.json | 6 +- packages/app-sudo/package.json | 4 +- packages/app-toolbox/package.json | 4 +- packages/app-transfer/package.json | 6 +- packages/app-treasury/package.json | 6 +- packages/apps-routing/package.json | 2 +- packages/apps/package.json | 8 +- packages/react-api/package.json | 4 +- packages/react-components/package.json | 12 +- packages/react-hooks/package.json | 2 +- packages/react-params/package.json | 4 +- packages/react-query/package.json | 2 +- packages/react-signer/package.json | 6 +- yarn.lock | 142 +++++++++---------- 34 files changed, 234 insertions(+), 199 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07acbeb0ef..d57fbc247f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +# 0.37.1 + +- Support for Kusama CC3 +- Support for contracts with new ABI v2 (Thanks to @kwingram25) +- Support for on-chain nicks +- Speed improvements for the staking pages +- Add account derivation from existing account +- Council voting with runner up & phragmen +- Allow favorites in validators pages +- Rework nominations to take favorites & current into account +- Enhance AddressCard with additional info (incl. vested) +- Move account/address actions to popup menu +- Convert a large number of components to use hooks +- Display validator graphs +- Refactor of backup modal (Thanks to @LukeSugiura) +- Enable lanugage setting options (Thanks to @LukeSugiura) +- Allow for signRaw to be used in the signing toolbox (injected accounts) +- Display account names in status events +- Nomination targets dashboard +- Validator preferences are expressed as commission % as supported by chains +- Account locks are applied on a genesis range (e.g. CC2 & CC3 allow availability) +- ... lots of smaller enhancements & bug fixes + # 0.36.1 - Api 0.95.1, Util 1.6.1, Extension 0.13.1 diff --git a/lerna.json b/lerna.json index b7d14a4276..da2d6fd187 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ "packages": [ "packages/*" ], - "version": "0.37.0-beta.139" + "version": "0.37.0" } diff --git a/package.json b/package.json index d5513f2e6f..5bbc5601ae 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "packages/*" ], "resolutions": { - "@polkadot/api": "^0.97.1", - "@polkadot/api-contract": "^0.97.1", + "@polkadot/api": "^0.98.0-beta.0", + "@polkadot/api-contract": "^0.98.0-beta.0", "@polkadot/keyring": "^1.7.1", - "@polkadot/types": "^0.97.1", + "@polkadot/types": "^0.98.0-beta.0", "@polkadot/util": "^1.7.1", "@polkadot/util-crypto": "^1.7.1", "babel-core": "^7.0.0-bridge.0", diff --git a/packages/app-123code/package.json b/packages/app-123code/package.json index f9d59445d3..922e07f3b6 100644 --- a/packages/app-123code/package.json +++ b/packages/app-123code/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-123code", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A basic app that shows the ropes on customisation", "main": "index.js", "scripts": {}, @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-accounts/package.json b/packages/app-accounts/package.json index b9f09666d2..326408e904 100644 --- a/packages/app-accounts/package.json +++ b/packages/app-accounts/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-accounts", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-qr": "^0.47.0-beta.12", + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-qr": "^0.47.1", "@types/file-saver": "^2.0.0", "@types/yargs": "^13.0.2", "babel-plugin-module-resolver": "^3.1.1", diff --git a/packages/app-address-book/package.json b/packages/app-address-book/package.json index c36f14acc6..549aac2254 100644 --- a/packages/app-address-book/package.json +++ b/packages/app-address-book/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-address-book", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-claims/package.json b/packages/app-claims/package.json index adfdd74331..d760496486 100644 --- a/packages/app-claims/package.json +++ b/packages/app-claims/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-claims", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "An app for claiming Polkadot tokens", "main": "index.js", "scripts": {}, @@ -12,6 +12,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-contracts/package.json b/packages/app-contracts/package.json index 7da225994c..d658b405e6 100644 --- a/packages/app-contracts/package.json +++ b/packages/app-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-contracts", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "Deployment and management of substrate contracts", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/api-contract": "^0.97.1", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/api-contract": "^0.98.0-beta.0", + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-council/package.json b/packages/app-council/package.json index be356f01b7..e57329904a 100644 --- a/packages/app-council/package.json +++ b/packages/app-council/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-council", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "Council", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/app-dashboard/package.json b/packages/app-dashboard/package.json index dc897a5190..91da541c85 100644 --- a/packages/app-dashboard/package.json +++ b/packages/app-dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-dashboard", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "Dashboard for all apps, allowing for an overview and quick navigation", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/apps-routing": "^0.37.0-beta.139", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/apps-routing": "^0.37.0", + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-democracy/package.json b/packages/app-democracy/package.json index 17ea43eb18..399f018c30 100644 --- a/packages/app-democracy/package.json +++ b/packages/app-democracy/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-democracy", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A referendum & proposal app", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/app-explorer/package.json b/packages/app-explorer/package.json index 42a89d44d2..b8ca1d3ed1 100644 --- a/packages/app-explorer/package.json +++ b/packages/app-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-explorer", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-extrinsics/package.json b/packages/app-extrinsics/package.json index 6afec71401..2ac7b807fb 100644 --- a/packages/app-extrinsics/package.json +++ b/packages/app-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-extrinsics", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-params": "^0.37.0-beta.139", - "@polkadot/react-signer": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-params": "^0.37.0", + "@polkadot/react-signer": "^0.37.0" } } diff --git a/packages/app-generic-asset/package.json b/packages/app-generic-asset/package.json index 66a6ea9ec9..fed992eb3b 100644 --- a/packages/app-generic-asset/package.json +++ b/packages/app-generic-asset/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-generic-asset", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A basic GenericAsset transfer app", "main": "index.js", "scripts": {}, @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-js/package.json b/packages/app-js/package.json index 4a7afb6daa..187989c89e 100644 --- a/packages/app-js/package.json +++ b/packages/app-js/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-js", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A simple JavaScript console for playing with the API", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", + "@polkadot/react-components": "^0.37.0", "snappyjs": "^0.6.0" } } diff --git a/packages/app-parachains/package.json b/packages/app-parachains/package.json index 27c51bd2e3..ab8877d356 100644 --- a/packages/app-parachains/package.json +++ b/packages/app-parachains/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-parachains", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "Parachains", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/app-settings/package.json b/packages/app-settings/package.json index 7b6f76da21..d7130b0853 100644 --- a/packages/app-settings/package.json +++ b/packages/app-settings/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-settings", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "Settings management", "main": "index.js", "scripts": {}, @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139", + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0", "query-string": "^6.8.3" } } diff --git a/packages/app-staking/package.json b/packages/app-staking/package.json index 5ddbaa1456..8bfd7ce599 100644 --- a/packages/app-staking/package.json +++ b/packages/app-staking/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-staking", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A basic staking app", "main": "index.js", "scripts": {}, @@ -11,8 +11,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/app-explorer": "^0.37.0-beta.139", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/app-explorer": "^0.37.0", + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/app-staking/src/Targets/Summary.tsx b/packages/app-staking/src/Targets/Summary.tsx index 9bcdc19927..c1d03699c8 100644 --- a/packages/app-staking/src/Targets/Summary.tsx +++ b/packages/app-staking/src/Targets/Summary.tsx @@ -21,20 +21,25 @@ interface Props extends I18nProps { interface StakeInfo { percentage: string; staked: string | null; - total: string | null; } function Summary ({ lastReward, t, totalStaked }: Props): React.ReactElement { const { api } = useApi(); const totalInsurance = trackStream(api.query.balances.totalIssuance, []); - const [{ percentage, staked, total }, setStakeInfo] = useState({ percentage: '-', staked: null, total: null }); + const [{ percentage, staked }, setStakeInfo] = useState({ percentage: '-', staked: null }); + const [total, setTotal] = useState(null); + + useEffect((): void => { + if (totalInsurance) { + setTotal(totalInsurance.toString()); + } + }, [totalInsurance]); useEffect((): void => { if (totalInsurance && totalStaked?.gtn(0)) { setStakeInfo({ percentage: `${(totalStaked.muln(10000).div(totalInsurance).toNumber() / 100).toFixed(2)}%`, - staked: totalStaked.toString(), - total: totalInsurance.toString() + staked: totalStaked.toString() }); } }, [totalInsurance, totalStaked]); diff --git a/packages/app-staking/src/Targets/index.tsx b/packages/app-staking/src/Targets/index.tsx index 33ee722c84..82e8ffc53f 100644 --- a/packages/app-staking/src/Targets/index.tsx +++ b/packages/app-staking/src/Targets/index.tsx @@ -162,54 +162,61 @@ function Targets ({ className, sessionRewards, t }: Props): React.ReactElement

- {validators.length !== 0 && ( - <> - + {validators.length + ? ( + <> + +

+ + + + + + + + + + + + + + + + + {validators.map((info): React.ReactNode => + + )} + +
  + + +  commissionnominatorstotal stakeown stakeother stakepayout (est.) 
+
+ + ) + : (
- - - - - - - - - - - - - - - - - {validators.map((info): React.ReactNode => - - )} - -
  - - -  commissionnominatorstotal stakeown stakeother stakepayout (est.) 
+ {t('Validator info not available')}
- - )} + ) + } ); } diff --git a/packages/app-storage/package.json b/packages/app-storage/package.json index 300f537927..6698603ce5 100644 --- a/packages/app-storage/package.json +++ b/packages/app-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-storage", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-params": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-params": "^0.37.0" } } diff --git a/packages/app-sudo/package.json b/packages/app-sudo/package.json index a5d4ae2c82..c57c5e09de 100644 --- a/packages/app-sudo/package.json +++ b/packages/app-sudo/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-sudo", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A basic app that shows the ropes on customisation", "main": "index.js", "scripts": {}, @@ -12,6 +12,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-toolbox/package.json b/packages/app-toolbox/package.json index b97f2840d6..3b22bfd6b8 100644 --- a/packages/app-toolbox/package.json +++ b/packages/app-toolbox/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-toolbox", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/app-transfer/package.json b/packages/app-transfer/package.json index a335acc6f3..7701b3c452 100644 --- a/packages/app-transfer/package.json +++ b/packages/app-transfer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-transfer", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A basic transfer app", "main": "index.js", "scripts": {}, @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/app-treasury/package.json b/packages/app-treasury/package.json index d00b3ff4dc..9e71c0a388 100644 --- a/packages/app-treasury/package.json +++ b/packages/app-treasury/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/app-treasury", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A referendum & proposal app", "main": "index.js", "scripts": {}, @@ -12,7 +12,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-query": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-query": "^0.37.0" } } diff --git a/packages/apps-routing/package.json b/packages/apps-routing/package.json index 39cf956a0f..01ae56dbee 100644 --- a/packages/apps-routing/package.json +++ b/packages/apps-routing/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/apps-routing", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", diff --git a/packages/apps/package.json b/packages/apps/package.json index f8ceefd390..ef22e4fe60 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/apps", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "An Apps portal into the Polkadot network", "main": "index.js", "homepage": ".", @@ -14,9 +14,9 @@ "dependencies": { "@babel/polyfill": "^7.7.0", "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-signer": "^0.37.0-beta.139", - "@polkadot/ui-assets": "^0.47.0-beta.12", + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-signer": "^0.37.0", + "@polkadot/ui-assets": "^0.47.1", "query-string": "^6.8.3" } } diff --git a/packages/react-api/package.json b/packages/react-api/package.json index d4f11fd27a..84a91ccaa9 100644 --- a/packages/react-api/package.json +++ b/packages/react-api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-api", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A collection of RxJs React components the Polkadot JS API", "main": "index.js", "keywords": [ @@ -31,7 +31,7 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/api": "^0.97.1", + "@polkadot/api": "^0.98.0-beta.0", "@polkadot/extension-dapp": "^0.14.0-beta.6", "edgeware-node-types": "^1.0.10", "rxjs-compat": "^6.5.3" diff --git a/packages/react-components/package.json b/packages/react-components/package.json index be36d6c5fd..f73a7018b3 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-components", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -12,11 +12,11 @@ "dependencies": { "@babel/runtime": "^7.7.4", "@polkadot/keyring": "^1.7.1", - "@polkadot/react-api": "^0.37.0-beta.139", - "@polkadot/react-identicon": "^0.47.0-beta.12", - "@polkadot/react-query": "^0.37.0-beta.139", - "@polkadot/ui-keyring": "^0.47.0-beta.12", - "@polkadot/ui-settings": "^0.47.0-beta.12", + "@polkadot/react-api": "^0.37.0", + "@polkadot/react-identicon": "^0.47.1", + "@polkadot/react-query": "^0.37.0", + "@polkadot/ui-keyring": "^0.47.1", + "@polkadot/ui-settings": "^0.47.1", "@types/chart.js": "^2.8.10", "@types/i18next": "^13.0.0", "@types/react-copy-to-clipboard": "^4.3.0", diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index f79daefc29..da2b18969f 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-hooks", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A collection of React hooks the Polkadot JS Apps UI", "main": "index.js", "keywords": [ diff --git a/packages/react-params/package.json b/packages/react-params/package.json index 233eefb541..6e35acd0c8 100644 --- a/packages/react-params/package.json +++ b/packages/react-params/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-params", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139" + "@polkadot/react-components": "^0.37.0" } } diff --git a/packages/react-query/package.json b/packages/react-query/package.json index aeeb56002d..26a1ea5f73 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-query", - "version": "0.37.0-beta.139", + "version": "0.37.0", "description": "A collection of RxJs React components the Polkadot JS API", "main": "index.js", "keywords": [ diff --git a/packages/react-signer/package.json b/packages/react-signer/package.json index e560b1a22c..73bd7600cc 100644 --- a/packages/react-signer/package.json +++ b/packages/react-signer/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/react-signer", - "version": "0.37.0-beta.139", + "version": "0.37.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.4", - "@polkadot/react-components": "^0.37.0-beta.139", - "@polkadot/react-qr": "^0.47.0-beta.12" + "@polkadot/react-components": "^0.37.0", + "@polkadot/react-qr": "^0.47.1" } } diff --git a/yarn.lock b/yarn.lock index e63f635a84..55e0b33feb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2029,35 +2029,35 @@ dependencies: "@types/node" ">= 8" -"@polkadot/api-contract@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.97.1.tgz#e5ae3e7f97ca1367c2ecf78267666e3d5e323391" - integrity sha512-rpj8SYZrkL1TjlIfAHa2KKhnaOzpE3msuG1/257lzAKbrFTQefuuO0ePRPGZiZaveg4kbWhOwy0HiyB1EpxhDA== +"@polkadot/api-contract@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.98.0-beta.0.tgz#218b763c43f66f4f6446d16fe0d275bad188246f" + integrity sha512-GMAMHgGOXXp6GHfoL6syfpicXWtmFM9izcphao1VBm4p0u4fCvuiLBQCtK4a2mCiiX7ej2GSe5/zKzDm/JPUlw== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/types" "^0.97.1" + "@polkadot/types" "^0.98.0-beta.0" -"@polkadot/api-derive@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.97.1.tgz#f0ef55f7b3e91a2060db1a88d301cc8a96ef497d" - integrity sha512-lZowtrvqSfNO3LL89xSS4Gf7ec6fNOj4H8ywglnM58Msxd+WOho9uieIY7ywZhiWozXN5DXM8iwqCKHxVoVGOA== +"@polkadot/api-derive@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.98.0-beta.0.tgz#23ecace3c930ab56ac8bb6c7882a7953b1eaf5b9" + integrity sha512-UCsHYg3rGAZ5cwIypGQmaxnXibHOiP63NQUdglQOGvTCnSlBxGeT2Y51PHHwZuSLOGgLnbR6XennCnYGNAauKA== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/api" "^0.97.1" - "@polkadot/types" "^0.97.1" + "@polkadot/api" "^0.98.0-beta.0" + "@polkadot/types" "^0.98.0-beta.0" -"@polkadot/api@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.97.1.tgz#10fcf0c72c8bd45a78443fbb360ae74a0feba1d6" - integrity sha512-Hd7xabK37D9EJ4zdo83MvMjwyy2l97L7GI62bwWjzojvmkapLIHY5lGA02Gi/LL7tLOTPdw+jkdXSbyE2ysziA== +"@polkadot/api@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.98.0-beta.0.tgz#44bb55e19bab49f73c99c528094a7094082da941" + integrity sha512-Mh0/2/8PKAIriAA2vBrZHJhdRkw/XMOhTWS1Bp22PnjsGKxQ3hZmV9tYLf1oGFD9S9V05G3v4KU72oiKIlKhjA== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/api-derive" "^0.97.1" + "@polkadot/api-derive" "^0.98.0-beta.0" "@polkadot/keyring" "^1.7.1" - "@polkadot/metadata" "^0.97.1" - "@polkadot/rpc-core" "^0.97.1" - "@polkadot/rpc-provider" "^0.97.1" - "@polkadot/types" "^0.97.1" + "@polkadot/metadata" "^0.98.0-beta.0" + "@polkadot/rpc-core" "^0.98.0-beta.0" + "@polkadot/rpc-provider" "^0.98.0-beta.0" + "@polkadot/types" "^0.98.0-beta.0" "@polkadot/util-crypto" "^1.7.1" "@polkadot/dev-react@^0.32.0-beta.15": @@ -2161,10 +2161,10 @@ dependencies: "@babel/runtime" "^7.7.4" -"@polkadot/jsonrpc@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.97.1.tgz#40db2edf06a248d76b0e1900c1036881414aff9e" - integrity sha512-4f/t1YrOOluUhxQXsVaQy4XJ96QiZjML3bTmIOMTIx6VKFIzTX7oRmhPeafVwyg9oj4p04WCuslmzUVV4dXbyQ== +"@polkadot/jsonrpc@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.98.0-beta.0.tgz#041f5ad81053ce7dba451114f0fb54a994b4bcb5" + integrity sha512-XmYxvdsNl0/GdOn/9h65Qrwyn3X7ZXTtRYNi5kmvDPBYjvblbGf5goeWSMIUNj5X0BvIkfOQ1t8TIQH3zObK0w== dependencies: "@babel/runtime" "^7.7.4" @@ -2177,24 +2177,24 @@ "@polkadot/util" "^1.7.1" "@polkadot/util-crypto" "^1.7.1" -"@polkadot/metadata@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-0.97.1.tgz#31c3ecdaa5afbd9ab896521e88504904d8c68bf1" - integrity sha512-RbU0aNi2VwGJ2U902d0vuCIjgeZRgE8G0MJm0kR6F0nR+Ya5iSRAdLx4J6hm4kMdu9wvVDK2eUOuXiCmNskJww== +"@polkadot/metadata@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-0.98.0-beta.0.tgz#b02d1c76ed4622ec8c5ae846e286c4262dd99dd1" + integrity sha512-Fc4d8hjVrZQbzEBY/hK4j4mrk+LJAxvs0gLZIVr6A77hCdwrSuxVSMLzF+JWnn15Ufismhnh35sasTjjFBhOYg== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/types" "^0.97.1" + "@polkadot/types" "^0.98.0-beta.0" "@polkadot/util" "^1.7.1" "@polkadot/util-crypto" "^1.7.1" -"@polkadot/react-identicon@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.47.0-beta.12.tgz#f0e66e0053ec865d5098ca37e17e6859ca9a9b5c" - integrity sha512-U+7BXvpa1015FLwUZ4/ChqOq3TLZb0uH0iAHqEdZ+yXZ4461VWBcO12O9OHmM1vGXfaEQZPn/LmIHrY4ybKVEQ== +"@polkadot/react-identicon@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.47.1.tgz#792889d6170f4693dc3fffc4165f8e8e43e44e39" + integrity sha512-9G5wxhCTY7LZIO8Vd7rHeEXyVI8OUrv7zPiePuthvVLyCMLX3OWFMqALm/+10R4ZsmLK8yBFl+fvAcfuWZm1vw== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/ui-settings" "^0.47.0-beta.12" - "@polkadot/ui-shared" "^0.47.0-beta.12" + "@polkadot/ui-settings" "^0.47.1" + "@polkadot/ui-shared" "^0.47.1" "@types/color" "^3.0.0" "@types/react-copy-to-clipboard" "^4.3.0" color "^3.1.2" @@ -2202,35 +2202,35 @@ react-copy-to-clipboard "^5.0.2" styled-components "^4.4.1" -"@polkadot/react-qr@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.47.0-beta.12.tgz#f8a697a9a6b5ab3ccb23033242292ad3d83c6dae" - integrity sha512-o7ee8qqqUJt4zf/KdfsVON75NUG/yJ+9PCO/L931etoRqdOapuXPeLGPKPdLX7YlTKBMsTDiwA+w1a7bAwBJbg== +"@polkadot/react-qr@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.47.1.tgz#b8d897284727eb833ed771b440f210d41cb8b937" + integrity sha512-CnEqmjYS/ypGPTWEZZa61YVD3hrswMYTxeZOSe/E7MvxGxuCKcLUx4V/syaW8FRRbA/KR2+e4SvZ9F0pxS1rwQ== dependencies: "@babel/runtime" "^7.7.4" "@types/react-qr-reader" "^2.1.1" qrcode-generator "^1.4.4" react-qr-reader "^2.2.1" -"@polkadot/rpc-core@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.97.1.tgz#bfeb69849c9101222abb12fcbd603d8921b1c83a" - integrity sha512-Np4uCupKuESxFYqPYxSYRr95F6nfy+lZOms/QM86w3wWusOkry8qFubJ0gra6LQ9qQi1s1CPHEyz+K6JkSxrHg== +"@polkadot/rpc-core@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.98.0-beta.0.tgz#868c82bc17883120a2ab88381e4480db720d0cda" + integrity sha512-CqYOvqxuo7GLvuXF1eQFoC+WDLo7AGUS6aT9Muk6PoSRaOHKHLeXnbaWskSLrF0jWhhcSAMlqlh3uOLuRDdtAA== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/jsonrpc" "^0.97.1" - "@polkadot/rpc-provider" "^0.97.1" - "@polkadot/types" "^0.97.1" + "@polkadot/jsonrpc" "^0.98.0-beta.0" + "@polkadot/rpc-provider" "^0.98.0-beta.0" + "@polkadot/types" "^0.98.0-beta.0" "@polkadot/util" "^1.7.1" rxjs "^6.5.3" -"@polkadot/rpc-provider@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.97.1.tgz#19da466081bde6702e347e064f4dde952a94c187" - integrity sha512-YU9+5wHyYw8LbuZclEgzDQtTwAdNWjqW3lBxL4xvu3ptGjnzlUjXHOxR0p8sLIU6DO6Bi8/RttVuJnm9gMZQYQ== +"@polkadot/rpc-provider@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.98.0-beta.0.tgz#9503e9071dfdeff007a9b2a7c4d51d0df7a90678" + integrity sha512-quQm+mTD0IgqN1RWc0EKOq3LEIQVzPcgN5yt/l9HOpf9FFde1OaPzyRQVpOITK0LcmvpAY2HA/WvvvvRCcAbxA== dependencies: "@babel/runtime" "^7.7.4" - "@polkadot/metadata" "^0.97.1" + "@polkadot/metadata" "^0.98.0-beta.0" "@polkadot/util" "^1.7.1" "@polkadot/util-crypto" "^1.7.1" eventemitter3 "^4.0.0" @@ -2244,10 +2244,10 @@ dependencies: "@types/chrome" "^0.0.91" -"@polkadot/types@^0.97.1": - version "0.97.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.97.1.tgz#382bcc1ec392ebd8d1e6bccba3c80c395df4e4b9" - integrity sha512-0NkE8/d2m2BQSwvnfVAsEkTFs9l1R4ao15D8lAtJZeAe/B5ohs0rcg9bndK8PntGZZ5dUW+Xmy+JqnLCjLiPwQ== +"@polkadot/types@^0.98.0-beta.0": + version "0.98.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.98.0-beta.0.tgz#5c51c234772c1c456ac43bbef71c3804e65e0e02" + integrity sha512-pmATM5HA4wHJHATvYOZym48TXvpST5xxG49+E5qHMi9Wsoij0RFiFNqyuOl/RIeFd8Xp1xhCIxZo0NbS17NT9g== dependencies: "@babel/runtime" "^7.7.4" "@polkadot/util" "^1.7.1" @@ -2255,17 +2255,17 @@ "@types/memoizee" "^0.4.3" memoizee "^0.4.14" -"@polkadot/ui-assets@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.47.0-beta.12.tgz#74f339d9e39572b93415c41acebea1425f4eef4e" - integrity sha512-+fxQvbPb5rLUXLMhgRJG6PPGpxyb6xEy0O8PDND0//rhMuOjkiP/JpHQm94ICCVUoo/iuKnueVIZw/WCtvYz6Q== +"@polkadot/ui-assets@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.47.1.tgz#83a6ec5372ec7961374bac04d4cba35ace527765" + integrity sha512-U+U6NW8+Bi5KRKz2OvronxVhAo8A3Ofb/zEB8YruC7PkyVeKDxj9f7j97DCp1Quo9slxr4JWyBstH1Yo2SdHCw== dependencies: "@babel/runtime" "^7.7.4" -"@polkadot/ui-keyring@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.47.0-beta.12.tgz#5bba2e64833e99c8a2a785aca36629594caa7992" - integrity sha512-JFytEF/V+xvcH5QwnBVvg0e1MjjkplrGJb+QeqEH8qbDVmDLGr2QGT3mLYAelFNxKVJicrBxnT//rTpwfOWJXg== +"@polkadot/ui-keyring@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.47.1.tgz#023db1b1c8044bd76c93f4fffd9be293d4c88bc7" + integrity sha512-nz92ZeuI9M0RYB1JtYZxB6vci9xDGujsWDBEfzAHOv7FeB8OxVhTWLFaMDXmrfCOeE8ddcoX4LdS27TzX07h6w== dependencies: "@babel/runtime" "^7.7.4" "@ledgerhq/hw-transport-u2f" "^4.73.7" @@ -2281,19 +2281,19 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.73.7" -"@polkadot/ui-settings@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.47.0-beta.12.tgz#d9b7d1130a920f564d120faf54111dec28403272" - integrity sha512-qXkMHwbWWJMKUKGvSVFw/9AuIx9l78UjU0YCRmfo7p5uoDSeJMEdPhoLPwJVB7QgGFLwyDpDo1m4hO47cWXM7A== +"@polkadot/ui-settings@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.47.1.tgz#1cbcab943557538baab30b80d80ac74f6d17199d" + integrity sha512-vvKNvznkkL2WShFyJxWG3AYHukVKDo+Z3k5x4beTQNVXmfXpM5RjZJlhHq8nGAdMjR4rml+RqkjAjJ9KQ6bg8A== dependencies: "@babel/runtime" "^7.7.4" "@types/store" "^2.0.2" store "^2.0.12" -"@polkadot/ui-shared@^0.47.0-beta.12": - version "0.47.0-beta.12" - resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.47.0-beta.12.tgz#fe1fc1ee4de2e261ac901f0f2666c66b12459267" - integrity sha512-8pVUaGGDwMuo4LQbcCI5Fg7EIeBNPLMJlWyJRuriJvVuDDsc+xe4TQqY1oEKnQ9Cbl/yt65FcG111jnzkQcyFQ== +"@polkadot/ui-shared@^0.47.1": + version "0.47.1" + resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.47.1.tgz#21132058ab1d66a1cf58eb45597fde7c22d6c72e" + integrity sha512-Un1NtBx115/037c4GgqxgA2qCk3lJDedKCgP03XXZ7keXKelxa+hpWHCi0Jl28vMO1stXQpSkAuZ78WkBMkB6A== dependencies: "@babel/runtime" "^7.7.4" "@types/color" "^3.0.0"