From b8863a0d14249bc3bbd04fec3eab62d14bdcd945 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 30 Mar 2019 19:24:49 +0100 Subject: [PATCH] Bump util-crypto (new wasm-crypto) (#815) --- CHANGELOG.md | 5 +++ package.json | 2 +- packages/api/package.json | 2 +- packages/rpc-core/package.json | 2 +- packages/rpc-provider/package.json | 6 +-- packages/type-extrinsics/package.json | 2 +- packages/type-storage/package.json | 6 +-- packages/types/package.json | 4 +- yarn.lock | 60 +++++++++++---------------- 9 files changed, 41 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9931e9d468..6e157f9821 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.76.1 + +- Update @polkadot/keyring to enable Alice's stash account on dev chains +- Update @polkadot/util-crypto with smaller footprint + # 0.75.1 - Start journey to 1.0 diff --git a/package.json b/package.json index 15fdc0ce26..5b26226a7c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@babel/core": "^7.4.0", "@babel/register": "^7.4.0", "@babel/runtime": "^7.4.0", - "@polkadot/dev": "^0.28.1", + "@polkadot/dev": "^0.29.0-beta.0", "@polkadot/ts": "^0.1.56", "gh-pages": "^2.0.1" } diff --git a/packages/api/package.json b/packages/api/package.json index 13d1a94572..25c5cd35b0 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -36,6 +36,6 @@ "@polkadot/rpc-rx": "^0.75.1", "@polkadot/storage": "^0.75.1", "@polkadot/types": "^0.75.1", - "@polkadot/util-crypto": "^0.75.1" + "@polkadot/util-crypto": "^0.76.0-beta.2" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 341d31555b..0b1b78fd5c 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -33,6 +33,6 @@ "@polkadot/jsonrpc": "^0.75.1", "@polkadot/rpc-provider": "^0.75.1", "@polkadot/types": "^0.75.1", - "@polkadot/util": "^0.75.1" + "@polkadot/util": "^0.76.0-beta.2" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index fe2c45f1a7..1bed07a3df 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -30,10 +30,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/keyring": "^0.75.1", + "@polkadot/keyring": "^0.76.0-beta.2", "@polkadot/storage": "^0.75.1", - "@polkadot/util": "^0.75.1", - "@polkadot/util-crypto": "^0.75.1", + "@polkadot/util": "^0.76.0-beta.2", + "@polkadot/util-crypto": "^0.76.0-beta.2", "@types/nock": "^9.3.1", "eventemitter3": "^3.1.0", "isomorphic-fetch": "^2.2.1", diff --git a/packages/type-extrinsics/package.json b/packages/type-extrinsics/package.json index 31f884b7d0..0bced81b42 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -12,6 +12,6 @@ "dependencies": { "@babel/runtime": "^7.4.0", "@polkadot/types": "^0.75.1", - "@polkadot/util": "^0.75.1" + "@polkadot/util": "^0.76.0-beta.2" } } diff --git a/packages/type-storage/package.json b/packages/type-storage/package.json index 4c610bd033..69e82c854b 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -30,9 +30,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-storage#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/keyring": "^0.75.1", + "@polkadot/keyring": "^0.76.0-beta.2", "@polkadot/types": "^0.75.1", - "@polkadot/util": "^0.75.1", - "@polkadot/util-crypto": "^0.75.1" + "@polkadot/util": "^0.76.0-beta.2", + "@polkadot/util-crypto": "^0.76.0-beta.2" } } diff --git a/packages/types/package.json b/packages/types/package.json index 14e75ced6b..a6fb445e41 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/keyring": "^0.75.1", - "@polkadot/util": "^0.75.1" + "@polkadot/keyring": "^0.76.0-beta.2", + "@polkadot/util": "^0.76.0-beta.2" } } diff --git a/yarn.lock b/yarn.lock index 232436b848..ec21960a6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1543,10 +1543,10 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" -"@polkadot/dev@^0.28.1": - version "0.28.1" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.28.1.tgz#c9b53a5948252c4f11686a13cd5990d84687f9a6" - integrity sha512-x2Yh/KFaTfiQNOs2A1cBJyZRAA5sk/hKerghfj2BubnWm9M+Qx112aoApKUL+s0KMOyKU3ZQjiGSuGyGn6TtqA== +"@polkadot/dev@^0.29.0-beta.0": + version "0.29.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.29.0-beta.0.tgz#ec4296b7365b1fb2c788cf78ea2ed97d1631b9e1" + integrity sha512-kKhTshLED1XvpecJ3ECBQARFAmRRw3xPxvHvV5+EaPZvN0XTGn7DRi3QfP9IugAsDbT5kVWLokojkBgjgiFstg== dependencies: "@babel/cli" "^7.2.3" "@babel/core" "^7.4.0" @@ -1579,14 +1579,14 @@ typescript "^3.3.4000" vuepress "^1.0.0-alpha.44" -"@polkadot/keyring@^0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.75.1.tgz#9b3c32f5f403ba2b7f6aed760750111f49240cdd" - integrity sha512-TdwtrEnTG0U7Ecnduuoi3ON2K2k+DMdsKWPjZmooaXb8x2piudDzg+ouVnU17uOWTWAOeofRrLZENzMfiXfKZA== +"@polkadot/keyring@^0.76.0-beta.2": + version "0.76.0-beta.2" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.76.0-beta.2.tgz#307cfcb624bf477763195bb7f91359823d8a74da" + integrity sha512-O1i+2PbZBFcMTzMWwVQT3gf8w7osPPWpxmjvxwBPOpJoWD7QyK2ht/nHgSJ4FDkt4FGNKXJDp5qnsudfUWEkaA== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.75.1" - "@polkadot/util-crypto" "^0.75.1" + "@polkadot/util" "^0.76.0-beta.2" + "@polkadot/util-crypto" "^0.76.0-beta.2" "@types/bs58" "^4.0.0" bs58 "^4.0.1" @@ -1595,16 +1595,14 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27" integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg== -"@polkadot/util-crypto@^0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.75.1.tgz#9f2e85c3283a53248de7ac97cb08b82d6f13ea25" - integrity sha512-8LIRUzXY96H0cv5YA4r/+GYJB4f/gM+SGz6OaEv6NKBagaQpA6MOEJIgMFQ7tsB6eDh2dwYouDrKHT+qIFNsCw== +"@polkadot/util-crypto@^0.76.0-beta.2": + version "0.76.0-beta.2" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.76.0-beta.2.tgz#898c695afc12ebc1064d66983024eec04d529963" + integrity sha512-01BHDL8lwtkmmhSQt8EcKzqjlnoeMBoZGi7KP6bJ9hPlYAarhUHssP8iJCeGNc0a+nZzQRZNULYVGnHnHRuBcg== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.75.1" - "@polkadot/wasm-crypto" "^0.6.1" - "@polkadot/wasm-dalek-ed25519" "^0.6.1" - "@polkadot/wasm-schnorrkel" "^0.6.1" + "@polkadot/util" "^0.76.0-beta.2" + "@polkadot/wasm-crypto" "^0.8.0-beta.0" "@types/bip39" "^2.4.2" "@types/pbkdf2" "^3.0.0" "@types/secp256k1" "^3.5.0" @@ -1617,10 +1615,10 @@ tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^0.75.1": - version "0.75.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.75.1.tgz#f1719b7ac416e73d0683e443498b9693d7ac42f4" - integrity sha512-rXd8J6MR0MLFoi1duddUNL0ftKBtpuysgxUU4hGuVq335jS7xqNAV//nwwLXSLCsOkd3rlLJSz6mxbFXH/PfrQ== +"@polkadot/util@^0.76.0-beta.2": + version "0.76.0-beta.2" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.76.0-beta.2.tgz#f9d0dafa40fd14a49ff48c264909d3d8f11914da" + integrity sha512-7Z/N709zxtk/cdraw8txOA3Tabeebg83X9tUakEW/nu2pg5q69W/lttalC3ECf/rvGHjLbrfOy4eNYvy4lS8PQ== dependencies: "@babel/runtime" "^7.4.0" "@types/bn.js" "^4.11.4" @@ -1632,20 +1630,10 @@ ip-regex "^4.0.0" moment "^2.24.0" -"@polkadot/wasm-crypto@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-0.6.1.tgz#34e14cf6946060e50bc6f423afa6a11b8eadec4e" - integrity sha512-Qpyzu4EQEKgO6S1sAxuVsqB10OoP3mi7QIygR68g/IregfzrFgz1lOEBoG3RJPhDZf4tNwNNIta7orm4GHAs4Q== - -"@polkadot/wasm-dalek-ed25519@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-dalek-ed25519/-/wasm-dalek-ed25519-0.6.1.tgz#59f385ae55c080c88851b8d6399a26e7c5e3949b" - integrity sha512-rJuHLJeQGVxOm1BlG8nmeNGVA+rOjZCQE0rKzEdZyFHO8huoSpLyKo96nLyOhbE/xb2FMVj7Kk1vSHe2e8MenA== - -"@polkadot/wasm-schnorrkel@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-schnorrkel/-/wasm-schnorrkel-0.6.1.tgz#68d0cebd063fd5294ba5757f167c814613344310" - integrity sha512-XlDPqKqFGYLwkd4FjjaDgvrQCrTfUfIMski6+LNyRwbpsIHhkGoEWXE/byIsB6FTcHBUDpXq9ZFdaddmXfV8pg== +"@polkadot/wasm-crypto@^0.8.0-beta.0": + version "0.8.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-0.8.0-beta.0.tgz#52f7dae87f55a9232273dbedb97c0557689d0fab" + integrity sha512-eFZaC5AV0XKsTTKx8xnTIOGOgyVLwZSjNRNhRcYMPAhADqmhp7PCNcqRGoT39XyKgAka9Mx8IsbbaLLDArdVWQ== "@types/babel__core@^7.1.0": version "7.1.0"