diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index a7bd6d67..d4e322a9 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@polkadot/keyring": "^1.1.1", - "@polkadot/types": "^0.90.0-beta.47", + "@polkadot/types": "^0.90.0-beta.70", "@polkadot/util": "^1.1.1" }, "peerDependencies": { diff --git a/packages/ui-settings/src/defaults.ts b/packages/ui-settings/src/defaults.ts index 19bb5495..018a5155 100644 --- a/packages/ui-settings/src/defaults.ts +++ b/packages/ui-settings/src/defaults.ts @@ -13,7 +13,8 @@ const WSS_NODES = { hosted: 'hosted by Parity', nodes: { alex: 'wss://poc3-rpc.polkadot.io/', - fir: 'wss://substrate-rpc.parity.io/' + fir: 'wss://substrate-rpc.parity.io/', + kusama: 'wss://kusama-rpc.polkadot.io/' } }, unfra: { @@ -32,10 +33,26 @@ const CRYPTOS: Options = [ ]; const ENDPOINTS: Options = [ - { text: `Alexander (Polkadot, ${WSS_NODES.parity.hosted})`, value: WSS_NODES.parity.nodes.alex }, - { text: `Alexander (Polkadot, ${WSS_NODES.unfra.hosted})`, value: WSS_NODES.unfra.nodes.alex }, - { text: `Flaming Fir (Substrate, ${WSS_NODES.parity.hosted})`, value: WSS_NODES.parity.nodes.fir }, - { text: 'Local Node (127.0.0.1:9944)', value: 'ws://127.0.0.1:9944/' } + { + text: `Kusama (Polkadot Canary, ${WSS_NODES.parity.hosted})`, + value: WSS_NODES.parity.nodes.kusama + }, + { + text: `Alexander (Polkadot Test, ${WSS_NODES.parity.hosted})`, + value: WSS_NODES.parity.nodes.alex + }, + { + text: `Alexander (Polkadot Test, ${WSS_NODES.unfra.hosted})`, + value: WSS_NODES.unfra.nodes.alex + }, + { + text: `Flaming Fir (Substrate Test, ${WSS_NODES.parity.hosted})`, + value: WSS_NODES.parity.nodes.fir + }, + { + text: 'Local Node (127.0.0.1:9944)', + value: 'ws://127.0.0.1:9944/' + } ]; const LANGUAGES: Options = [ @@ -65,7 +82,7 @@ const UITHEMES: Options = [ ]; const ENDPOINT_DEFAULT = isPolkadot - ? WSS_NODES.parity.nodes.alex + ? WSS_NODES.parity.nodes.kusama : WSS_NODES.parity.nodes.fir; const PREFIX_DEFAULT = -1; diff --git a/yarn.lock b/yarn.lock index 2fb6fa1e..27dd3abe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2103,10 +2103,10 @@ dependencies: "@types/chrome" "^0.0.86" -"@polkadot/types@^0.90.0-beta.47": - version "0.90.0-beta.47" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.90.0-beta.47.tgz#c125fcbbee9afdeaee88f1da72ab63a61033935b" - integrity sha512-1x0A8ix2YQOpqXb2ajR2TpAuQ1Bw0NAVbeOkFqFger8KTng+l+KRgWcOzNVw0XR2wjMLlJT1TGAktutgBzu8wQ== +"@polkadot/types@^0.90.0-beta.70": + version "0.90.0-beta.70" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.90.0-beta.70.tgz#ed96d3a6410be6bd0e0590421d0ab294d93fed87" + integrity sha512-Pg4z5zi832Gq+NKWqbo+TEwNgJhm3FZAI2dkIy8N+nF5PZAi/PIbXECaZLF55bxi3MdHJqRzSTuEwUcgAQY6og== dependencies: "@babel/runtime" "^7.5.5" "@polkadot/util" "^1.1.1" @@ -2397,11 +2397,16 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^12.7.1": +"@types/node@*": version "12.7.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.1.tgz#3b5c3a26393c19b400844ac422bd0f631a94d69d" integrity sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw== +"@types/node@^12.7.1": + version "12.7.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.2.tgz#c4e63af5e8823ce9cc3f0b34f7b998c2171f0c44" + integrity sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -2445,7 +2450,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.9.0": +"@types/react@*": version "16.9.0" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.0.tgz#27434f16d889a335eb4626d1f1e67eda54039e5b" integrity sha512-eOct1hyZI9YZf/eqNlYu7jxA9qyTw1EGXruAJhHhBDBpc00W0C1vwlnh+hkOf7UFZkNK+UxnFBpwAZe3d7XJhQ== @@ -2453,6 +2458,14 @@ "@types/prop-types" "*" csstype "^2.2.0" +"@types/react@^16.9.0": + version "16.9.2" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.2.tgz#6d1765431a1ad1877979013906731aae373de268" + integrity sha512-jYP2LWwlh+FTqGd9v7ynUKZzjj98T8x7Yclz479QdRhHfuW9yQ+0jjnD31eXSXutmBpppj5PYNLYLRfnZJvcfg== + dependencies: + "@types/prop-types" "*" + csstype "^2.2.0" + "@types/secp256k1@^3.5.0": version "3.5.0" resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-3.5.0.tgz#0f3baf16b07488c6da2633a63b4160bcf8d0fd5b"