From 2dee50f019f2f6fe511fcbce8b74b96d1d7b3a58 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 9 Jan 2020 11:59:21 +0100 Subject: [PATCH] Bump deps (#1704) --- CHANGELOG.md | 14 +++++++-- packages/api-derive/package.json | 2 +- packages/api/package.json | 6 ++-- packages/metadata/package.json | 6 ++-- packages/rpc-core/package.json | 2 +- packages/rpc-provider/package.json | 6 ++-- packages/types/package.json | 6 ++-- yarn.lock | 50 +++++++++++++++--------------- 8 files changed, 51 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ba1291ba0..834647122f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.100.1 + +- **Important** This will the the last API version with Substrate 1.x support. Although you will still be able to use subsequent versions with older chans, dependent libraries such as sr25519 may not be compatible. +- Add support for the Substrate identity module +- Remove the `codec/Data` type, to remove a conflict with Substrate. This type is now named `Raw` +- Fix for linked maps using `Option` +- Add support for `BTreeSet` (Thanks to https://github.com/satellitex) +- Add support for Metadata v10 +- Add support for latest Polkadot/Substrate types + # 0.99.1 - **Breaking change** The `Data` and `U8a` type has been renamed and just replaced with the `Raw` type @@ -9,9 +19,9 @@ # 0.98.1 -- Make the TypeScript generation script mor re-usable (Thanks to @xlc) +- Make the TypeScript generation script mor re-usable (Thanks to https://github.com/xlc) - Add `.entries()` for all map-types, returning storage keys and values -- Add `.signAsync` to submittable extrinsics (Thanks to @c410-f3r) +- Add `.signAsync` to submittable extrinsics (Thanks to https://github.com/c410-f3r) - Cleanup circular references between internal dependencies - Support for new Substrate democracy with preimages in derive - Alignment of types with Substrate/Polkadot master branches diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 7d3c2df23d..0ff638ff0b 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -32,6 +32,6 @@ "@polkadot/types": "^0.100.0-beta.20" }, "devDependencies": { - "@polkadot/keyring": "^1.7.1" + "@polkadot/keyring": "^1.8.1" } } diff --git a/packages/api/package.json b/packages/api/package.json index 142f0d12fa..3391fb547c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -28,14 +28,14 @@ "dependencies": { "@babel/runtime": "^7.7.7", "@polkadot/api-derive": "^0.100.0-beta.20", - "@polkadot/keyring": "^1.7.1", + "@polkadot/keyring": "^1.8.1", "@polkadot/metadata": "^0.100.0-beta.20", "@polkadot/rpc-core": "^0.100.0-beta.20", "@polkadot/rpc-provider": "^0.100.0-beta.20", "@polkadot/types": "^0.100.0-beta.20", - "@polkadot/util-crypto": "^1.7.1" + "@polkadot/util-crypto": "^1.8.1" }, "devDependencies": { - "@polkadot/keyring": "^1.7.1" + "@polkadot/keyring": "^1.8.1" } } diff --git a/packages/metadata/package.json b/packages/metadata/package.json index d7a7c7715e..5b1f043c2d 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -28,10 +28,10 @@ "dependencies": { "@babel/runtime": "^7.7.7", "@polkadot/types": "^0.100.0-beta.20", - "@polkadot/util": "^1.7.1", - "@polkadot/util-crypto": "^1.7.1" + "@polkadot/util": "^1.8.1", + "@polkadot/util-crypto": "^1.8.1" }, "devDependencies": { - "@polkadot/keyring": "^1.7.1" + "@polkadot/keyring": "^1.8.1" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 13c6ad2f3a..87617e84ab 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -30,7 +30,7 @@ "@polkadot/jsonrpc": "^0.100.0-beta.20", "@polkadot/rpc-provider": "^0.100.0-beta.20", "@polkadot/types": "^0.100.0-beta.20", - "@polkadot/util": "^1.7.1", + "@polkadot/util": "^1.8.1", "rxjs": "^6.5.4" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index a6d2e1fef6..20a8b9f0a0 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -28,14 +28,14 @@ "dependencies": { "@babel/runtime": "^7.7.7", "@polkadot/metadata": "^0.100.0-beta.20", - "@polkadot/util": "^1.7.1", - "@polkadot/util-crypto": "^1.7.1", + "@polkadot/util": "^1.8.1", + "@polkadot/util-crypto": "^1.8.1", "eventemitter3": "^4.0.0", "isomorphic-fetch": "^2.2.1", "websocket": "^1.0.31" }, "devDependencies": { - "@polkadot/keyring": "^1.7.1", + "@polkadot/keyring": "^1.8.1", "mock-socket": "^9.0.2", "nock": "^11.7.1" } diff --git a/packages/types/package.json b/packages/types/package.json index 285e5b0547..e5b4d78347 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -28,12 +28,12 @@ "dependencies": { "@babel/runtime": "^7.7.7", "@polkadot/metadata": "^0.100.0-beta.20", - "@polkadot/util": "^1.7.1", - "@polkadot/util-crypto": "^1.7.1", + "@polkadot/util": "^1.8.1", + "@polkadot/util-crypto": "^1.8.1", "@types/memoizee": "^0.4.3", "memoizee": "^0.4.14" }, "devDependencies": { - "@polkadot/keyring": "^1.7.1" + "@polkadot/keyring": "^1.8.1" } } diff --git a/yarn.lock b/yarn.lock index dece523a20..38ad322015 100644 --- a/yarn.lock +++ b/yarn.lock @@ -823,7 +823,7 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.7.4", "@babel/runtime@^7.7.7": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.7.7": version "7.7.7" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz#194769ca8d6d7790ec23605af9ee3e42a0aa79cf" integrity sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA== @@ -1902,14 +1902,14 @@ typescript "^3.7.4" vuepress "^1.2.0" -"@polkadot/keyring@^1.7.1": - version "1.7.1" - resolved "https://registry.npmjs.org/@polkadot/keyring/-/keyring-1.7.1.tgz#53a3dd87e547aaee0a877e4fc5fdfc4757e60a0d" - integrity sha512-CWCnU0zsaot0QvEiasKfhCiVlZCIVKOQGPzXiVE9JSjoqTQQJ0BEdaEfM4x0/bFFvvsn/8RcjLPpxBPSfe2eOg== +"@polkadot/keyring@^1.8.1": + version "1.8.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-1.8.1.tgz#69a9209f22b766a9e2d97d36bfca8bcdbc4daa18" + integrity sha512-KeDbfP8biY3bXEhMv1ANp9d3kCuXj2oxseuDK0jvxRo7CehVME9UwAMGQK3Y9NCUuYWd+xTO2To0ZOqR7hdmuQ== dependencies: - "@babel/runtime" "^7.7.4" - "@polkadot/util" "^1.7.1" - "@polkadot/util-crypto" "^1.7.1" + "@babel/runtime" "^7.7.7" + "@polkadot/util" "^1.8.1" + "@polkadot/util-crypto" "^1.8.1" "@polkadot/ts@^0.1.90": version "0.1.90" @@ -1918,13 +1918,13 @@ dependencies: "@types/chrome" "^0.0.91" -"@polkadot/util-crypto@^1.7.1": - version "1.7.1" - resolved "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-1.7.1.tgz#6cb1ed1f7ecbea3b41100231830817e7fd116dc6" - integrity sha512-g0JCciJLJXbkc/Q+2QuJgCgS0Xfl7tO97ALdsI00bgSDA7zlh2zhjpx03Ve47hMndmn7K8ClIGrj4nxHx/95Tw== +"@polkadot/util-crypto@^1.8.1": + version "1.8.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-1.8.1.tgz#dbc3f75c4a780bd31cd37e63cf27bade54728646" + integrity sha512-ypUs10hV1HPvYc0ZsEu+LTGSEh0rkr0as/FUh7+Z9v3Bxibn3aO+EOxJPQuDbZZ59FSMRmc9SeOSa0wn9ddrnw== dependencies: - "@babel/runtime" "^7.7.4" - "@polkadot/util" "^1.7.1" + "@babel/runtime" "^7.7.7" + "@polkadot/util" "^1.8.1" "@polkadot/wasm-crypto" "^0.14.1" "@types/bip39" "^2.4.2" "@types/bs58" "^4.0.0" @@ -1936,17 +1936,17 @@ blakejs "^1.1.0" bs58 "^4.0.1" js-sha3 "^0.8.0" - secp256k1 "^3.7.0" + secp256k1 "^3.8.0" tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^1.7.1": - version "1.7.1" - resolved "https://registry.npmjs.org/@polkadot/util/-/util-1.7.1.tgz#cb262fa5a441097c0c093532f70d0b7e0503fbb1" - integrity sha512-tWvh+vYDIiXDIWgAGd9zyJWlDKxQ5KYTKZ9uTlLxfuy1qXEdVOjlX9Qz5+FACU2742e8tTvtvM9KfK05VK5X/A== +"@polkadot/util@^1.8.1": + version "1.8.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-1.8.1.tgz#7473383a1eb26bec59cca53643cf07bc078fe052" + integrity sha512-sFpr+JLCG9d+epjboXsmJ1qcKa96r8ZYzXmVo8+aPzI/9jKKyez6Unox/dnfnpKppZB2nJuLcsxQm6nocp2Caw== dependencies: - "@babel/runtime" "^7.7.4" - "@types/bn.js" "^4.11.5" + "@babel/runtime" "^7.7.7" + "@types/bn.js" "^4.11.6" bn.js "^4.11.8" camelcase "^5.3.1" chalk "^3.0.0" @@ -1998,9 +1998,9 @@ dependencies: "@types/node" "*" -"@types/bn.js@^4.11.5": +"@types/bn.js@^4.11.6": version "4.11.6" - resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" integrity sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg== dependencies: "@types/node" "*" @@ -10973,9 +10973,9 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -secp256k1@^3.7.0: +secp256k1@^3.8.0: version "3.8.0" - resolved "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz#28f59f4b01dbee9575f56a47034b7d2e3b3b352d" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.0.tgz#28f59f4b01dbee9575f56a47034b7d2e3b3b352d" integrity sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw== dependencies: bindings "^1.5.0"