diff --git a/CHANGELOG.md b/CHANGELOG.md index 88c7699c..747c18ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.29.1 + +Swap to using a dev HDKD keyring (only available on latest substrate master, only affects nodes running with --dev, normal operation unaffected) + # 0.28.1 Default Substrate icon is Jdenticon diff --git a/lerna.json b/lerna.json index a1b75240..9499919b 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ "packages": [ "packages/*" ], - "version": "0.28.8" + "version": "0.29.0" } diff --git a/package.json b/package.json index 3c2207c3..5fcb38fa 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/runtime": "^7.3.4", - "@polkadot/dev-react": "^0.25.11", - "@polkadot/ts": "^0.1.54", + "@polkadot/dev-react": "^0.25.13", + "@polkadot/ts": "^0.1.56", "empty": "^0.10.1", "gh-pages": "^2.0.1" } diff --git a/packages/ui-assets/package.json b/packages/ui-assets/package.json index a5a761dc..6c121f48 100644 --- a/packages/ui-assets/package.json +++ b/packages/ui-assets/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-assets", - "version": "0.28.8", + "version": "0.29.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 fbd55dab..1eef7b86 100644 --- a/packages/ui-identicon/package.json +++ b/packages/ui-identicon/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-identicon", - "version": "0.28.8", + "version": "0.29.0", "description": "Renders an SVG picture representing an address", "main": "index.js", "author": "Jaco Greeff ", @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.3.4", - "@polkadot/ui-settings": "^0.28.8", + "@polkadot/ui-settings": "^0.29.0", "@types/color": "^3.0.0", "@types/react-copy-to-clipboard": "^4.2.6", "color": "^3.0.0", @@ -23,8 +23,8 @@ "react": "*" }, "devDependencies": { - "@polkadot/keyring": "^0.34.36", - "@polkadot/util-crypto": "^0.34.36", + "@polkadot/keyring": "^0.36.1", + "@polkadot/util-crypto": "^0.36.1", "xmlserializer": "^0.6.1" } } diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index a691dfbf..c5436ce5 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-keyring", - "version": "0.28.8", + "version": "0.29.0", "main": "index.js", "repository": "https://github.com/polkadot-js/apps.git", "author": "Jaco Greeff ", @@ -16,9 +16,9 @@ "store": "^2.0.12" }, "devDependencies": { - "@polkadot/keyring": "^0.34.36", - "@polkadot/types": "^0.45.21", - "@polkadot/util": "^0.34.36" + "@polkadot/keyring": "^0.36.1", + "@polkadot/types": "^0.46.11", + "@polkadot/util": "^0.36.1" }, "peerDependencies": { "@polkadot/keyring": "*", diff --git a/packages/ui-keyring/src/Base.ts b/packages/ui-keyring/src/Base.ts index 8b1e8b36..cabdb2b7 100644 --- a/packages/ui-keyring/src/Base.ts +++ b/packages/ui-keyring/src/Base.ts @@ -84,7 +84,7 @@ export default class Base { } protected initKeyring (options: KeyringOptions): void { - const keyring = testKeyring({ addressPrefix: this._prefix, ...options }); + const keyring = testKeyring({ addressPrefix: this._prefix, ...options }, true); if (isBoolean(options.isDevelopment)) { this.setDevMode(options.isDevelopment); diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index 661e3654..6d6ce9ea 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-settings", - "version": "0.28.8", + "version": "0.29.0", "description": "Manages app settings", "main": "index.js", "author": "Jaco Greeff ", diff --git a/packages/ui-util/package.json b/packages/ui-util/package.json index cd6ce27c..ce8a68ef 100644 --- a/packages/ui-util/package.json +++ b/packages/ui-util/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/ui-util", - "version": "0.28.8", + "version": "0.29.0", "description": "Utility functions (non-React) that aid in display, formats and determination", "main": "index.js", "author": "Jaco Greeff ", @@ -12,7 +12,7 @@ "@babel/runtime": "^7.3.4" }, "devDependencies": { - "@polkadot/types": "^0.45.21" + "@polkadot/types": "^0.46.11" }, "peerDependencies": { "@polkadot/types": "*" diff --git a/yarn.lock b/yarn.lock index a802fe71..e7c74802 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1461,15 +1461,15 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" -"@polkadot/dev-react@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.25.11.tgz#d1865df46d58504f9f6b9e260323d5e6eb37c47f" - integrity sha512-tebx8qumiwAalOt4GKzH2yz1guDmCNZBGQw7YxEdheuYD6LVEMw/V1zyZdIhUQ1EHjxlwqepZj6raA32ZAWhAQ== +"@polkadot/dev-react@^0.25.13": + version "0.25.13" + resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.25.13.tgz#703163b2485333a4ee9988cf24fc48983a02e8e0" + integrity sha512-wIU/VBqf5ZVdjKBn6fSryn/EklLmzNwh77jiv5JPT7E9oZ4OpKIioMI0mupPVO5oaIQWXKAh1bU1MIFUoCxgew== dependencies: "@babel/core" "^7.3.4" "@babel/plugin-syntax-dynamic-import" "^7.2.0" "@babel/preset-react" "^7.0.0" - "@polkadot/dev" "^0.25.11" + "@polkadot/dev" "^0.25.13" "@types/react" "^16.8.5" "@types/react-dom" "^16.8.2" "@types/styled-components" "4.1.8" @@ -1485,7 +1485,7 @@ mini-css-extract-plugin "^0.5.0" react "^16.8.3" react-dom "^16.8.3" - react-hot-loader "^4.7.1" + react-hot-loader "^4.7.2" style-loader "^0.23.0" styled-components "^4.1.3" thread-loader "^2.1.2" @@ -1497,10 +1497,10 @@ webpack-plugin-serve "^0.7.2" worker-loader "^2.0.0" -"@polkadot/dev@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.25.11.tgz#73235add1eb0c86257ed8f1ab60e213be79a93f1" - integrity sha512-Fs9VFlwwZVKtk+J9kjNG0lWDpTYvcVXOksMXJ1lQLnf2YhqFILsq8kETfoXWbDbusgcok69hoA4YcNtwiEAGWg== +"@polkadot/dev@^0.25.13": + version "0.25.13" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.25.13.tgz#2cb3888cba59409dc0e5f829b41c738e34e8fad7" + integrity sha512-uHizvsNzNodL+aL7B0z363l4/mAfguzdaP5xggUsI9z2iA3GPu80gmgmLgMq+0kbr/Ju0N3vWP5BgUI4OH5/Qw== dependencies: "@babel/cli" "^7.2.3" "@babel/core" "^7.3.4" @@ -1533,45 +1533,45 @@ typescript "^3.3.3333" vuepress "^1.0.0-alpha.40" -"@polkadot/keyring@^0.34.36": - version "0.34.36" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.34.36.tgz#cc88802a6128dee8850874226e5bdef2ca22952f" - integrity sha512-AWf4mIWokVLInEOfEBOZ8MnPbMs04V22kjIJ3tcYuantUUc947dW39lKKgSY8R3qF37Y5VU/ILmBzOBy6cvLCg== +"@polkadot/keyring@^0.36.1": + version "0.36.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.36.1.tgz#c34b4c8132e96e80a374b906c7190f39c92e5eb5" + integrity sha512-LTEPA2IGjr6v0Q4UdWb8vhVCJMV1Iy9++vKFNm/MVjedwYAtcaHa2UqmjgejJhndHf1DJLKZvQYFHmPUUDI4jQ== dependencies: "@babel/runtime" "^7.3.4" - "@polkadot/util" "^0.34.36" - "@polkadot/util-crypto" "^0.34.36" + "@polkadot/util" "^0.36.1" + "@polkadot/util-crypto" "^0.36.1" "@types/bs58" "^4.0.0" bs58 "^4.0.1" -"@polkadot/schnorrkel-js@^0.1.2-2": +"@polkadot/schnorrkel-js@^0.1.2-3": version "0.1.2-3" resolved "https://registry.yarnpkg.com/@polkadot/schnorrkel-js/-/schnorrkel-js-0.1.2-3.tgz#9117ac5126b465a1cf53c2b6bb68a17efc7e0390" integrity sha512-1LgF4wtER3q5uqY67CdOsQQ/SBqT6v0ZKQIS3cOTVByF16WtApD6U324uCJyMdie+GZFv0xr/40I4Ni2It+8jw== -"@polkadot/ts@^0.1.54": - version "0.1.54" - resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.54.tgz#cac6a12809f886fb7698bfbf3ffb27b793f7745d" - integrity sha512-wYiJZ62v0IyG7jO6nQ7XsxHiYJH1i0x3BuHPiV/LiAq4QSX0LVv0q3SbN7hwrEDb4kmHtHkKpF9iXV8fKLFH2w== +"@polkadot/ts@^0.1.56": + version "0.1.56" + resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27" + integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg== -"@polkadot/types@^0.45.21": - version "0.45.21" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.45.21.tgz#5ded5d141d84dcca1d93592701cabcd72de88ffa" - integrity sha512-H6GD3J8HOtq2hpteTKqgelfhVPkJYxSHQ05gtCkbSCRLeeYKBDJyHsh6dByiU0g2Pspk44+LX4u+zxCbOXMeOA== +"@polkadot/types@^0.46.11": + version "0.46.11" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.46.11.tgz#a33c491376e47820b3820f54112eda3b28fdba58" + integrity sha512-ZsT6S6F6aIywrCV0WSfYOnCkIgYK3HnXPPY6W6rWdrL/JDNgJUGHi0CpZR3CeWU993AmrzieXamarRuY9ELsWA== dependencies: "@babel/runtime" "^7.3.4" - "@polkadot/keyring" "^0.34.36" - "@polkadot/util" "^0.34.36" + "@polkadot/keyring" "^0.36.1" + "@polkadot/util" "^0.36.1" core-js "^2.6.5" -"@polkadot/util-crypto@^0.34.36": - version "0.34.36" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.34.36.tgz#d58d8ef3d1501cc6dd87f11a092e3c27791c5b67" - integrity sha512-DMUhMhIPDmduV1Rw+aVP1zP7SIn3C3utRcleMriSWlqWZJGA8D5xMQUW8samOLee+Ev7pPO5QrnCQOmFY6+tpQ== +"@polkadot/util-crypto@^0.36.1": + version "0.36.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.36.1.tgz#8a706939bd9e2066a53f42c5573ca9b845be3827" + integrity sha512-To17e43Tl+a3b08BtM9LSoK9j49xnDA/V3YxNclHFMur+JEsraMYooNQegfehcQTCbnnkZW+j+TeadlvN1OCBw== dependencies: "@babel/runtime" "^7.3.4" - "@polkadot/schnorrkel-js" "^0.1.2-2" - "@polkadot/util" "^0.34.36" + "@polkadot/schnorrkel-js" "^0.1.2-3" + "@polkadot/util" "^0.36.1" "@types/bip39" "^2.4.2" "@types/pbkdf2" "^3.0.0" "@types/secp256k1" "^3.5.0" @@ -1584,10 +1584,10 @@ tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^0.34.36": - version "0.34.36" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.34.36.tgz#eeb699202d9e3dfb7e64277ef5179334f1d97737" - integrity sha512-BTDvWeieW5hZABK54kt37e+f8GfmnfwGdNaKI1AKZA4p7Ms5iRCKMVRTSx3p69zLT10KChOlhUPGgdr/AlFFtg== +"@polkadot/util@^0.36.1": + version "0.36.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.36.1.tgz#680b3e9358a9131f05a2e4fe7938cb03065a7afa" + integrity sha512-lAILZlBhPoSowtX1wjkZiJDE0y2TYLqe7QMQSaDvk5/u4VT9ZcSqdoIqeZWy0YInG8ISW3bd9L7rjNGmUGKpCg== dependencies: "@babel/runtime" "^7.3.4" "@types/bn.js" "^4.11.4" @@ -1598,7 +1598,6 @@ camelcase "^5.0.0" chalk "^2.4.2" core-js "^2.6.5" - deasync "^0.1.14" ip-regex "^4.0.0" moment "^2.24.0" @@ -2944,11 +2943,6 @@ bindings@^1.2.1: dependencies: file-uri-to-path "1.0.0" -bindings@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.2.1.tgz#14ad6113812d2d37d72e67b4cacb4bb726505f11" - integrity sha1-FK1hE4EtLTfXLme0ystLtyZQXxE= - bip39@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.5.0.tgz#51cbd5179460504a63ea3c000db3f787ca051235" @@ -4351,14 +4345,6 @@ de-indent@^1.0.2: resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" integrity sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0= -deasync@^0.1.14: - version "0.1.14" - resolved "https://registry.yarnpkg.com/deasync/-/deasync-0.1.14.tgz#232ea2252b443948cad033d792eb3b24b0a3d828" - integrity sha512-wN8sIuEqIwyQh72AG7oY6YQODCxIp1eXzEZlZznBuwDF8Q03Tdy9QNp1BNZXeadXoklNrw+Ip1fch+KXo/+ASw== - dependencies: - bindings "~1.2.1" - node-addon-api "^1.6.0" - debug@*, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" @@ -6088,10 +6074,12 @@ hogan.js@^3.0.2: mkdirp "0.3.0" nopt "1.0.10" -hoist-non-react-statics@^2.5.0: - version "2.5.5" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" - integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw== +hoist-non-react-statics@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b" + integrity sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA== + dependencies: + react-is "^16.7.0" home-or-tmp@^3.0.0: version "3.0.0" @@ -7837,11 +7825,6 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.merge@^4.6.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" - integrity sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ== - lodash.set@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" @@ -8528,11 +8511,6 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-addon-api@^1.6.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-1.6.2.tgz#d8aad9781a5cfc4132cc2fecdbdd982534265217" - integrity sha512-479Bjw9nTE5DdBSZZWprFryHGjUaQC31y1wHo19We/k0BZlrmhqQitWoUL0cD8+scljCbIUL+E58oRDEakdGGA== - node-fetch-npm@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" @@ -10121,16 +10099,16 @@ react-dom@^16.8.3: prop-types "^15.6.2" scheduler "^0.13.3" -react-hot-loader@^4.7.1: - version "4.7.1" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.7.1.tgz#1260b939297859cff35aff61412887a92c9b4275" - integrity sha512-OVq9tBndJ+KJWyWbj6kAkJbRVFx3Ykx+XOlndT3zyxAQMBFFygV+AS9RQi6Z2axkPIcEkuE5K6nkpcjlzR8I9w== +react-hot-loader@^4.7.2: + version "4.8.0" + resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.8.0.tgz#0b7c7dd9407415e23eb8246fdd28b0b839f54cb6" + integrity sha512-HY9F0vITYSVmXhAR6tPkMk240nxmoH8+0rca9iO2B82KVguiCiBJkieS0Wb4CeSIzLWecYx3iOcq8dcbnp0bxA== dependencies: fast-levenshtein "^2.0.6" global "^4.3.0" - hoist-non-react-statics "^2.5.0" + hoist-non-react-statics "^3.3.0" loader-utils "^1.1.0" - lodash.merge "^4.6.1" + lodash "^4.17.11" prop-types "^15.6.1" react-lifecycles-compat "^3.0.4" shallowequal "^1.0.2"