diff --git a/CHANGELOG.md b/CHANGELOG.md index 8901bdcaf9..b253b1112b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ # 0.50.1 +- Support metadata V2 as per latest substrate master +- Update metadata with new types as per lastest substrate master - Lastest util-crypto (usage of WASM with JS fallbacks if not available) -- Update util & keyring +- Update upstream @polkadot dependencies (for new crypto) # 0.49.1 diff --git a/lerna.json b/lerna.json index b475dfb491..bd67214846 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.51.0-beta.2" + "version": "0.51.0" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 2cfb47f874..2989888029 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -31,8 +31,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/api": "^0.51.0-beta.2", - "@polkadot/types": "^0.51.0-beta.2", + "@polkadot/api": "^0.51.0", + "@polkadot/types": "^0.51.0", "@types/memoizee": "^0.4.2", "memoizee": "^0.4.14" } diff --git a/packages/api/package.json b/packages/api/package.json index c4576d84df..84ea817946 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -30,12 +30,12 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/api-derive": "^0.51.0-beta.2", - "@polkadot/extrinsics": "^0.51.0-beta.2", - "@polkadot/rpc-provider": "^0.51.0-beta.2", - "@polkadot/rpc-rx": "^0.51.0-beta.2", - "@polkadot/storage": "^0.51.0-beta.2", - "@polkadot/types": "^0.51.0-beta.2", - "@polkadot/util-crypto": "^0.41.0-beta.1" + "@polkadot/api-derive": "^0.51.0", + "@polkadot/extrinsics": "^0.51.0", + "@polkadot/rpc-provider": "^0.51.0", + "@polkadot/rpc-rx": "^0.51.0", + "@polkadot/storage": "^0.51.0", + "@polkadot/types": "^0.51.0", + "@polkadot/util-crypto": "^0.41.1" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index c63c5a73b6..afb0da899c 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -30,9 +30,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/jsonrpc": "^0.51.0-beta.2", - "@polkadot/rpc-provider": "^0.51.0-beta.2", - "@polkadot/types": "^0.51.0-beta.2", - "@polkadot/util": "^0.41.0-beta.1" + "@polkadot/jsonrpc": "^0.51.0", + "@polkadot/rpc-provider": "^0.51.0", + "@polkadot/types": "^0.51.0", + "@polkadot/util": "^0.41.1" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 5c80819cb5..7005612fa8 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -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.41.0-beta.1", - "@polkadot/storage": "^0.51.0-beta.2", - "@polkadot/util": "^0.41.0-beta.1", - "@polkadot/util-crypto": "^0.41.0-beta.1", + "@polkadot/keyring": "^0.41.1", + "@polkadot/storage": "^0.51.0", + "@polkadot/util": "^0.41.1", + "@polkadot/util-crypto": "^0.41.1", "@types/nock": "^9.3.1", "eventemitter3": "^3.1.0", "isomorphic-fetch": "^2.2.1", diff --git a/packages/rpc-rx/package.json b/packages/rpc-rx/package.json index 44bd12601d..ffe820fefd 100644 --- a/packages/rpc-rx/package.json +++ b/packages/rpc-rx/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-rx", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "An RxJs wrapper around the Polkadot JS API", "main": "index.js", "keywords": [ @@ -30,8 +30,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-rx#readme", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/rpc-core": "^0.51.0-beta.2", - "@polkadot/rpc-provider": "^0.51.0-beta.2", + "@polkadot/rpc-core": "^0.51.0", + "@polkadot/rpc-provider": "^0.51.0", "@types/memoizee": "^0.4.2", "@types/rx": "^4.1.1", "memoizee": "^0.4.14", diff --git a/packages/type-extrinsics/package.json b/packages/type-extrinsics/package.json index d6d8b8f7c1..3c1ceadb60 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/extrinsics", - "version": "0.51.0-beta.2", + "version": "0.51.0", "main": "index.js", "repository": "https://github.com/polkadot-js/api.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.0", - "@polkadot/types": "^0.51.0-beta.2", - "@polkadot/util": "^0.41.0-beta.1" + "@polkadot/types": "^0.51.0", + "@polkadot/util": "^0.41.1" } } diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index 536623f84e..65cc7d01f0 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Method definitions for the Polkadot RPC layer", "main": "index.js", "engines": { diff --git a/packages/type-storage/package.json b/packages/type-storage/package.json index c502332fe1..609da5d58a 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/storage", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Generic wrapper wrapper around state storage", "main": "index.js", "engines": { @@ -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.41.0-beta.1", - "@polkadot/types": "^0.51.0-beta.2", - "@polkadot/util": "^0.41.0-beta.1", - "@polkadot/util-crypto": "^0.41.0-beta.1" + "@polkadot/keyring": "^0.41.1", + "@polkadot/types": "^0.51.0", + "@polkadot/util": "^0.41.1", + "@polkadot/util-crypto": "^0.41.1" } } diff --git a/packages/types/package.json b/packages/types/package.json index 16ffe0db57..e2325a3a7a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.51.0-beta.2", + "version": "0.51.0", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [ @@ -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.41.0-beta.1", - "@polkadot/util": "^0.41.0-beta.1" + "@polkadot/keyring": "^0.41.1", + "@polkadot/util": "^0.41.1" } } diff --git a/yarn.lock b/yarn.lock index a7276d6063..4522a48295 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1579,14 +1579,14 @@ typescript "^3.3.4000" vuepress "^1.0.0-alpha.44" -"@polkadot/keyring@^0.41.0-beta.1": - version "0.41.0-beta.1" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.41.0-beta.1.tgz#71ade88df75b3eaf7d76c761082f667f0b186d2e" - integrity sha512-p27DeCQPusSAWKIkWEQeiXDdUIOgh8cR3/IYHOCXg9bWLOUx3Qkv4CtLn09Ghzxs3pU/Mjg0NWnupmyoSBP65Q== +"@polkadot/keyring@^0.41.1": + version "0.41.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.41.1.tgz#d6c6a179e3546385eccd5b61011d46c3d52eb8cf" + integrity sha512-kN3Op1TffWJfcnag+eTiFafx2z9jubjk9abU8fqlFM1qR0TzCOyLboB6JP0bUdSy3nu9+36qGi48HTAd3SOtCQ== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.41.0-beta.1" - "@polkadot/util-crypto" "^0.41.0-beta.1" + "@polkadot/util" "^0.41.1" + "@polkadot/util-crypto" "^0.41.1" "@types/bs58" "^4.0.0" bs58 "^4.0.1" @@ -1595,13 +1595,13 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27" integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg== -"@polkadot/util-crypto@^0.41.0-beta.1": - version "0.41.0-beta.1" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.41.0-beta.1.tgz#c774c49df215b8be268e398b8507eb6f5384ba59" - integrity sha512-VOTz+nKZxUo6kPwi/6KY3sBVe844uZZA7GslFlw9l5wQAP5V94QdWkqP0Qiwsh8NAUtlX3jn2rGZVO5B0ShtRA== +"@polkadot/util-crypto@^0.41.1": + version "0.41.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.41.1.tgz#6be426b8df0a48f52ac5f6de4eeff4b95c6962f6" + integrity sha512-cNTQxjn3O38uJx79hvBDYu88vkg/8Det88+sO+c9NqQ1PSVBf26kHwDtMZQnUTkGGV8Hn6sLKCYCgkvgXDE+Ww== dependencies: "@babel/runtime" "^7.4.0" - "@polkadot/util" "^0.41.0-beta.1" + "@polkadot/util" "^0.41.1" "@polkadot/wasm-crypto" "^0.5.1" "@polkadot/wasm-dalek-ed25519" "^0.5.1" "@polkadot/wasm-schnorrkel" "^0.5.1" @@ -1617,10 +1617,10 @@ tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^0.41.0-beta.1": - version "0.41.0-beta.1" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.41.0-beta.1.tgz#02167d46ec9516d6265b741fbfcd374ed6b1fa99" - integrity sha512-FIuWsQEMhIEl15dN+bGMQhX9SnXRleM3pfqdE/JNmDE5DvVZ3XOIixgvJ62IXdmBvNvjCaH6YDp97VFTd7zZcQ== +"@polkadot/util@^0.41.1": + version "0.41.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.41.1.tgz#b67762a0a7408138d843adc7240944e704e819e7" + integrity sha512-1mFHxxdXyRgeFk0ygfJklzsf6HiEEMikrpUgr+3Dw5S7KromjPD8EbWkpcZQZ3Png5PTwGyjrx7MYY4Ajiu5xQ== dependencies: "@babel/runtime" "^7.4.0" "@types/bn.js" "^4.11.4"