diff --git a/lerna.json b/lerna.json index 32ea9d61..485be430 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ "packages": [ "packages/*" ], - "version": "0.23.4" + "version": "0.24.0" } diff --git a/packages/ui-assets/package.json b/packages/ui-assets/package.json index 78f858a7..3ff2591a 100644 --- a/packages/ui-assets/package.json +++ b/packages/ui-assets/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-assets", - "version": "0.23.4", + "version": "0.24.0", "description": "Static assets shared accross projects", "main": "index.js", "author": "Jaco Greeff ", diff --git a/packages/ui-identicon/package.json b/packages/ui-identicon/package.json index c7212279..7257c86b 100644 --- a/packages/ui-identicon/package.json +++ b/packages/ui-identicon/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-identicon", - "version": "0.23.4", + "version": "0.24.0", "description": "Renders an SVG picture representing an address", "main": "index.js", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/keyring": "^0.33.19", - "@polkadot/ui-settings": "^0.23.4", + "@polkadot/ui-settings": "^0.24.0", "@polkadot/util-crypto": "^0.33.19", "@types/color": "^3.0.0", "@types/react-copy-to-clipboard": "^4.2.6", diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 6e4ced7f..19ab9424 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-keyring", - "version": "0.23.4", + "version": "0.24.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -12,7 +12,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/keyring": "^0.33.19", - "@polkadot/types": "^0.34.3", + "@polkadot/types": "^0.34.6", "@types/store": "^2.0.1", "store": "^2.0.12" } diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index 572e5c2d..ccbf5e34 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-settings", - "version": "0.23.4", + "version": "0.24.0", "description": "Manages app settings", "main": "index.js", "author": "Jaco Greeff ", diff --git a/packages/ui-settings/src/defaults.ts b/packages/ui-settings/src/defaults.ts index de898268..4011823e 100644 --- a/packages/ui-settings/src/defaults.ts +++ b/packages/ui-settings/src/defaults.ts @@ -7,27 +7,27 @@ import { ChainsInfo, Options } from './types'; const CHAINS: ChainsInfo = [ { name: 'Development', - chainId: 0, - decimals: 0, - unit: 'Unit' + networkId: 0, + tokenDecimals: 0, + tokenSymbol: 'Unit' }, { name: 'Local Testnet', - chainId: 0, - decimals: 0, - unit: 'Unit' + networkId: 0, + tokenDecimals: 0, + tokenSymbol: 'Unit' }, { - name: 'BBQ Birch', - chainId: 68, - decimals: 15, - unit: 'BBQ' + name: 'Charred Cherry', + networkId: 68, + tokenDecimals: 15, + tokenSymbol: 'CHR' } ]; const ENDPOINTS: Options = [ - { text: 'BBQ Birch (hosted by Parity)', value: 'wss://substrate-rpc.parity.io/' }, - { disabled: true, text: 'Polkadot PoC-3 (hosted by Parity)', value: 'wss://polkadot-rpc.polkadot.io/' }, + { text: 'Charred Cherry (Substrate, hosted by Parity)', value: 'wss://substrate-rpc.parity.io/' }, + { disabled: true, text: 'Alexander (Polkadot, hosted by Parity)', value: 'wss://polkadot-rpc.polkadot.io/' }, { text: 'Local Node (127.0.0.1:9944)', value: 'ws://127.0.0.1:9944/' } ]; diff --git a/packages/ui-settings/src/index.ts b/packages/ui-settings/src/index.ts index bad7d470..eaa73b26 100644 --- a/packages/ui-settings/src/index.ts +++ b/packages/ui-settings/src/index.ts @@ -16,7 +16,7 @@ class Settings implements SettingsStruct { constructor () { const settings = store.get('settings') || {}; - // FIXME Here we have the defaults for BBQ, swap to Polkadot as soon as poc-3 is there + // FIXME Here we have the defaults for Charred Cherry, swap to Polkadot as soon as poc-3 is there // FIXME WS_URL first, then substrate-rpc this._apiUrl = settings.apiUrl || ENDPOINTS[0].value || process.env.WS_URL; this._i18nLang = settings.i18nLang || LANGUAGES[0].value; diff --git a/packages/ui-settings/src/types.ts b/packages/ui-settings/src/types.ts index f512adf7..a52145ec 100644 --- a/packages/ui-settings/src/types.ts +++ b/packages/ui-settings/src/types.ts @@ -4,9 +4,9 @@ export type ChainsInfo = Array<{ name: string, - chainId: number, - decimals: number, - unit: string + networkId: number, + tokenDecimals: number, + tokenSymbol: string }>; export type Options = Array<{ diff --git a/yarn.lock b/yarn.lock index f9ac2e1e..41a481a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1441,10 +1441,10 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.43.tgz#e59d86cf6bed833010315c5b301bfea6c05fd4a8" integrity sha512-B7mSH+yrc7PBHMWUfpTFAK0OLgOesWlzkhse0/O8Itu2Rf6YrixEnhUYKEDp7mDO3h2SlBwn6BfVkvY4qvtwgg== -"@polkadot/types@^0.34.3": - version "0.34.3" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.34.3.tgz#c72118d3d016a6143dd5da5b8483eefaf5ca06ef" - integrity sha512-/HrVOwQjH66OqVmELBLB/0tKXoxRew8T5npfntnq1zBKKmv8RTV4BddfW1okXmLfld2uu9qEpMQ06QGUc+OyTQ== +"@polkadot/types@^0.34.6": + version "0.34.6" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.34.6.tgz#8230ae4448f3ff17deba9f5ffd8a1916dfdd7d6c" + integrity sha512-Ge0uMEdojpZ+pRbDAOcvI0k/YRoVL6ZMa/iMAuQ1pvwTX7B2eHe5NdfDa4Qyw/M6g4+FHc7tMNWR8rpj6Jublw== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.19"