From ca8da1ff96f3b42d035be2f52a29f98c657d2b53 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 4 Jun 2019 13:05:06 +0200 Subject: [PATCH] 0.80 (#969) --- CHANGELOG.md | 9 ++++++++ lerna.json | 2 +- packages/api-derive/package.json | 8 +++---- packages/api/package.json | 18 ++++++++-------- packages/rpc-core/package.json | 10 ++++----- packages/rpc-provider/package.json | 10 ++++----- packages/rpc-rx/package.json | 8 +++---- packages/type-extrinsics/package.json | 6 +++--- packages/type-jsonrpc/package.json | 2 +- packages/type-storage/package.json | 10 ++++----- packages/types/package.json | 6 +++--- yarn.lock | 30 +++++++++++++-------------- 12 files changed, 64 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5adc37638e..4e5e9fde85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.80.1 + +- Support for mortal transactions +- Better DoubleMap storage support +- api-derive cleanups, including additional info for balances.all and taking.info returning redeemable and locked balances +- Added SignaturePayloadRaw for better offline signing support +- Updated metadata for current substrate master +- Misc. cleanups and fixes + # 0.79.1 - DoubleMap query support diff --git a/lerna.json b/lerna.json index 668bc9e3dd..25558050b2 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.80.0-beta.18" + "version": "0.80.0" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 42a4458687..22bcd0af21 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -28,9 +28,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/api": "^0.80.0-beta.18", - "@polkadot/keyring": "^0.92.0-beta.3", - "@polkadot/types": "^0.80.0-beta.18", + "@polkadot/api": "^0.80.0", + "@polkadot/keyring": "^0.92.1", + "@polkadot/types": "^0.80.0", "@types/memoizee": "^0.4.2", "memoizee": "^0.4.14" } diff --git a/packages/api/package.json b/packages/api/package.json index 997dd321dc..45cbbfdff6 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -27,15 +27,15 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/api-derive": "^0.80.0-beta.18", - "@polkadot/extrinsics": "^0.80.0-beta.18", - "@polkadot/rpc-provider": "^0.80.0-beta.18", - "@polkadot/rpc-rx": "^0.80.0-beta.18", - "@polkadot/storage": "^0.80.0-beta.18", - "@polkadot/types": "^0.80.0-beta.18", - "@polkadot/util-crypto": "^0.92.0-beta.3" + "@polkadot/api-derive": "^0.80.0", + "@polkadot/extrinsics": "^0.80.0", + "@polkadot/rpc-provider": "^0.80.0", + "@polkadot/rpc-rx": "^0.80.0", + "@polkadot/storage": "^0.80.0", + "@polkadot/types": "^0.80.0", + "@polkadot/util-crypto": "^0.92.1" }, "devDependencies": { - "@polkadot/keyring": "^0.92.0-beta.3" + "@polkadot/keyring": "^0.92.1" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 5cf637bf45..44fd6365be 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,9 +27,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/jsonrpc": "^0.80.0-beta.18", - "@polkadot/rpc-provider": "^0.80.0-beta.18", - "@polkadot/types": "^0.80.0-beta.18", - "@polkadot/util": "^0.92.0-beta.3" + "@polkadot/jsonrpc": "^0.80.0", + "@polkadot/rpc-provider": "^0.80.0", + "@polkadot/types": "^0.80.0", + "@polkadot/util": "^0.92.1" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 325507636a..a3c4a1b0c2 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -27,16 +27,16 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/storage": "^0.80.0-beta.18", - "@polkadot/util": "^0.92.0-beta.3", - "@polkadot/util-crypto": "^0.92.0-beta.3", + "@polkadot/storage": "^0.80.0", + "@polkadot/util": "^0.92.1", + "@polkadot/util-crypto": "^0.92.1", "@types/nock": "^10.0.3", "eventemitter3": "^3.1.0", "isomorphic-fetch": "^2.2.1", "websocket": "^1.0.28" }, "devDependencies": { - "@polkadot/keyring": "^0.92.0-beta.3", + "@polkadot/keyring": "^0.92.1", "mock-socket": "^8.0.5", "nock": "^10.0.4" } diff --git a/packages/rpc-rx/package.json b/packages/rpc-rx/package.json index 48c2159cf7..ea514e0a5f 100644 --- a/packages/rpc-rx/package.json +++ b/packages/rpc-rx/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-rx", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "An RxJs wrapper around the Polkadot JS API", "main": "index.js", "keywords": [ @@ -27,14 +27,14 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-rx#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/rpc-core": "^0.80.0-beta.18", - "@polkadot/rpc-provider": "^0.80.0-beta.18", + "@polkadot/rpc-core": "^0.80.0", + "@polkadot/rpc-provider": "^0.80.0", "@types/memoizee": "^0.4.2", "@types/rx": "^4.1.1", "memoizee": "^0.4.14", "rxjs": "^6.5.2" }, "devDependencies": { - "@polkadot/keyring": "^0.92.0-beta.3" + "@polkadot/keyring": "^0.92.1" } } diff --git a/packages/type-extrinsics/package.json b/packages/type-extrinsics/package.json index d8d40aca1f..0e8ea9541a 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/extrinsics", - "version": "0.80.0-beta.18", + "version": "0.80.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.5", - "@polkadot/types": "^0.80.0-beta.18", - "@polkadot/util": "^0.92.0-beta.3" + "@polkadot/types": "^0.80.0", + "@polkadot/util": "^0.92.1" } } diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index 1ca6553580..e9c8fbe9eb 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Method definitions for the Polkadot RPC layer", "main": "index.js", "publishConfig": { diff --git a/packages/type-storage/package.json b/packages/type-storage/package.json index 3c06395e18..51c9be0332 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/storage", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Generic wrapper wrapper around state storage", "main": "index.js", "publishConfig": { @@ -27,11 +27,11 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-storage#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/types": "^0.80.0-beta.18", - "@polkadot/util": "^0.92.0-beta.3", - "@polkadot/util-crypto": "^0.92.0-beta.3" + "@polkadot/types": "^0.80.0", + "@polkadot/util": "^0.92.1", + "@polkadot/util-crypto": "^0.92.1" }, "devDependencies": { - "@polkadot/keyring": "^0.92.0-beta.3" + "@polkadot/keyring": "^0.92.1" } } diff --git a/packages/types/package.json b/packages/types/package.json index c05c95a87d..cefe93467f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.80.0-beta.18", + "version": "0.80.0", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [ @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/keyring": "^0.92.0-beta.3", - "@polkadot/util": "^0.92.0-beta.3" + "@polkadot/keyring": "^0.92.1", + "@polkadot/util": "^0.92.1" } } diff --git a/yarn.lock b/yarn.lock index d710cdd22c..9de4e1091a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1720,14 +1720,14 @@ typescript "^3.5.1" vuepress "^1.0.0-alpha.47" -"@polkadot/keyring@^0.92.0-beta.3": - version "0.92.0-beta.3" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.92.0-beta.3.tgz#c05bb7e974964cf38478d11d0946ad2ad1362854" - integrity sha512-XxoYRvs10aONr6wZTNK5hbwQ2O0ocRVP/KrR5CNKXJhVuMoTES36UEo+1WcoaX0ThBauEfsLC9+8jIz02SsM8w== +"@polkadot/keyring@^0.92.1": + version "0.92.1" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.92.1.tgz#6841fcf5371ff148ddaf4e14891ab2a5ece8f6f1" + integrity sha512-20nvbhozxxxc8/vf90Ot9SJybbeZFtSw6ULp9vh+1315NJdtFyP7etXRYlJNW1Qyo97cImWnnlvjkNX0bRzyvQ== dependencies: "@babel/runtime" "^7.4.5" - "@polkadot/util" "^0.92.0-beta.3" - "@polkadot/util-crypto" "^0.92.0-beta.3" + "@polkadot/util" "^0.92.1" + "@polkadot/util-crypto" "^0.92.1" "@types/bs58" "^4.0.0" bs58 "^4.0.1" @@ -1736,13 +1736,13 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.58.tgz#bd8883d590fc5be27e1db75c5c629e6bc8c4ce5c" integrity sha512-+veSrr59SefA43RX034eef1T8qhO15Ye0BQ1+3FxjuFBnlCVmzj6iKGuzCtp4kGp3uFeotQ3m/2xMA+akSwq4Q== -"@polkadot/util-crypto@^0.92.0-beta.3": - version "0.92.0-beta.3" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.92.0-beta.3.tgz#74782ec2bc5948bcd929bbc91615580dc8b4047e" - integrity sha512-aHASAly+jVLzS91EiHcib29IXaIU3GwgYhfVE8Qq8m+wT3jlcYoqnH9wu4ElyOiEHO2lSnmyP1/Zbb6YKzC4LQ== +"@polkadot/util-crypto@^0.92.1": + version "0.92.1" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.92.1.tgz#7aef6661804ea9602703a01b5c98da37a2b1753f" + integrity sha512-sacWyQREP0lmPEhRySLeB8OUmbJBVd8YPubkovDsFpEYe0SWwbefwdyeESqTqwlTAgQciBS1XhpULkJBMIWVYw== dependencies: "@babel/runtime" "^7.4.5" - "@polkadot/util" "^0.92.0-beta.3" + "@polkadot/util" "^0.92.1" "@polkadot/wasm-crypto" "^0.11.1" "@types/bip39" "^2.4.2" "@types/pbkdf2" "^3.0.0" @@ -1755,10 +1755,10 @@ tweetnacl "^1.0.1" xxhashjs "^0.2.2" -"@polkadot/util@^0.92.0-beta.3": - version "0.92.0-beta.3" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.92.0-beta.3.tgz#e4b85f4916edded4013f8d7cacbc7c7a470d2424" - integrity sha512-Ub95H6gvVvKggK/jbuIVpGmRj5/GlrTJEjaHwwVz7BmvixJrhaPtNP2qLPD+LOMPhVzmLmhdESMLywgc2nsFjQ== +"@polkadot/util@^0.92.1": + version "0.92.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.92.1.tgz#0665a9b6f0ce1d2f8f1da2a1d45ff69ae39ead53" + integrity sha512-UB1KSotfcv78LJoKmjjvwZeX0r1b50XDuzvOKFlqvfSoxbpXgwDaNENAKRLIm+Q7ODgv/F1+9YBW8zwWg6gInQ== dependencies: "@babel/runtime" "^7.4.5" "@types/bn.js" "^4.11.5"