diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 7a174b1c..e2c900c4 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@polkadot/keyring": "^2.0.0-beta.4", - "@polkadot/types": "^1.0.0-beta.13", + "@polkadot/types": "^1.0.0-beta.17", "@polkadot/util": "^2.0.0-beta.4" }, "optionalDependencies": { diff --git a/packages/ui-settings/src/defaults/endpoints.ts b/packages/ui-settings/src/defaults/endpoints.ts index 5c488e88..6143760a 100644 --- a/packages/ui-settings/src/defaults/endpoints.ts +++ b/packages/ui-settings/src/defaults/endpoints.ts @@ -6,7 +6,7 @@ import { Option } from '../types'; import { isPolkadot } from './type'; -type ChainName = 'alexander' | 'edgeware' | 'edgewareTest' | 'flamingFir' | 'kusama' | 'kulupu'; +type ChainName = 'alexander' | 'edgeware' | 'edgewareTest' | 'flamingFir' | 'kusama' | 'kulupu' | 'westend'; interface ChainData { chainDisplay: string; @@ -22,7 +22,7 @@ interface PoviderData { } // we use this to give an ordering to the chains available -const ORDER_CHAINS: ChainName[] = ['kusama', 'edgeware', 'alexander', 'edgewareTest', 'flamingFir', 'kulupu']; +const ORDER_CHAINS: ChainName[] = ['kusama', 'edgeware', 'westend', 'edgewareTest', 'flamingFir', 'kulupu']; // we use this to order the providers inside the chains const ORDER_PROVIDERS: ProviderName[] = ['parity', 'w3f', 'unfrastructure', 'commonwealth', 'kulupu']; @@ -58,6 +58,11 @@ const CHAIN_INFO: Record = { chainDisplay: 'Kulupu', logo: 'substrate', type: 'Kulupu Mainnet' + }, + westend: { + chainDisplay: 'Westend', + logo: 'alexander', + type: 'Polkadot Testnet' } }; @@ -75,7 +80,8 @@ const PROVIDERS: Record = { nodes: { // alexander: 'wss://poc3-rpc.polkadot.io/', flamingFir: 'wss://substrate-rpc.parity.io/', - kusama: 'wss://kusama-rpc.polkadot.io/' + kusama: 'wss://kusama-rpc.polkadot.io/', + westend: 'wss://westend-rpc.polkadot.io' } }, unfrastructure: { diff --git a/yarn.lock b/yarn.lock index 401fc6f5..e2f6d3b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2237,13 +2237,13 @@ "@polkadot/util" "^2.0.0-beta.4" "@polkadot/util-crypto" "^2.0.0-beta.4" -"@polkadot/metadata@^1.0.0-beta.13": - version "1.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.0.0-beta.13.tgz#14a98ba637b1a7fc3af1555d5ab96d62b332f1d4" - integrity sha512-Kaira59039p/41WDp+DG9gfWA0wv+vfYaYL7+T3kFguuANvp0vqK66p8VSdaYYpL3IF4alQdUoneHBDOUnFaAA== +"@polkadot/metadata@^1.0.0-beta.17": + version "1.0.0-beta.17" + resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.0.0-beta.17.tgz#5f921f077d4c8036df6ecca62bc9d8a1996b9596" + integrity sha512-BFO4S+LQp1g/seLBt43yh502pXvpd8UrZBCfv0PuJmG2yRrdg96vBbWsTP4PDVUw9OU1jBRMWDqwUc2iLMBilQ== dependencies: "@babel/runtime" "^7.7.7" - "@polkadot/types" "^1.0.0-beta.13" + "@polkadot/types" "^1.0.0-beta.17" "@polkadot/util" "^2.0.0-beta.4" "@polkadot/util-crypto" "^2.0.0-beta.4" @@ -2254,13 +2254,13 @@ dependencies: "@types/chrome" "^0.0.91" -"@polkadot/types@^1.0.0-beta.13": - version "1.0.0-beta.13" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.0.0-beta.13.tgz#200e9468285920ad6ed3749ca4022adc46fe8ecf" - integrity sha512-iDrCMqdy5g087yEeKXGlzMehFgg3jVcTerhJTckh0RQEE91IzMh7TWj9rBubB5ym3HhjKWxdEpEhtbiIfOiqJA== +"@polkadot/types@^1.0.0-beta.17": + version "1.0.0-beta.17" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.0.0-beta.17.tgz#947ae9fce74eb33601408f353f3f6a33a3198ec8" + integrity sha512-kiWjGvlNu0hwRmmWB8AErptuG6k04v4VBnZ02lzkpv9CYQpoZkkG29IDcMqfFsnPTNAEcfF4IA/TIawzIL65YA== dependencies: "@babel/runtime" "^7.7.7" - "@polkadot/metadata" "^1.0.0-beta.13" + "@polkadot/metadata" "^1.0.0-beta.17" "@polkadot/util" "^2.0.0-beta.4" "@polkadot/util-crypto" "^2.0.0-beta.4" "@types/memoizee" "^0.4.3"