From 5f5ce7a098e547ed84ba1d69bf0e6c31c97d6edf Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 20 Dec 2018 22:58:02 +0100 Subject: [PATCH] Bump package (should have been done with metadata, breaking) (#507) --- CHANGELOG.md | 6 ++++- lerna.json | 2 +- package.json | 2 +- packages/api-observable/package.json | 10 ++++---- packages/api/package.json | 12 ++++----- packages/rpc-core/package.json | 8 +++--- packages/rpc-provider/package.json | 4 +-- packages/rpc-rx/package.json | 6 ++--- packages/type-extrinsics/package.json | 4 +-- packages/type-jsonrpc/package.json | 2 +- packages/type-storage/package.json | 4 +-- packages/types/package.json | 2 +- yarn.lock | 36 +++------------------------ 13 files changed, 37 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb39ece63b..2af4973206 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.35.1 + +Swapped to new metadata structures from Substrate. If the API is not working with your node, update Substrate to latest master branch. (Or 0.9.1 for Charred Cherry). Dropped support for old metadata as found as far back as BBQ Birch. + # 0.34.1 -- Changed the send signature (for future expansion of eg. events) to return `result: { status: ExtrinsicStatus }` instead of `status: ExtrinsicStatus`. For most cases where only status `type` checks are used, i.e. `status.type === 'Finalised'` this should not be a breaking change. Deep inspection of the status object however will need to adapt. +Changed the send signature (for future expansion of eg. events) to return `result: { status: ExtrinsicStatus }` instead of `status: ExtrinsicStatus`. For most cases where only status `type` checks are used, i.e. `status.type === 'Finalised'` this should not be a breaking change. Deep inspection of the status object however will need to adapt. diff --git a/lerna.json b/lerna.json index eb3d229488..4de2de4ea9 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.34.12" + "version": "0.35.0" } diff --git a/package.json b/package.json index 6001a7dbb9..34181f3c3f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@polkadot/dev": "^0.23.1", + "@polkadot/dev": "^0.23.3", "@polkadot/ts": "^0.1.44" } } diff --git a/packages/api-observable/package.json b/packages/api-observable/package.json index 1d015820f5..2d4f4ba293 100644 --- a/packages/api-observable/package.json +++ b/packages/api-observable/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-observable", - "version": "0.34.12", + "version": "0.35.0", "description": "An Observable wrapper around the Polkadot JS API", "main": "index.js", "keywords": [ @@ -30,10 +30,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-rx#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/extrinsics": "^0.34.12", - "@polkadot/rpc-core": "^0.34.12", - "@polkadot/rpc-provider": "^0.34.12", - "@polkadot/storage": "^0.34.12", + "@polkadot/extrinsics": "^0.35.0", + "@polkadot/rpc-core": "^0.35.0", + "@polkadot/rpc-provider": "^0.35.0", + "@polkadot/storage": "^0.35.0", "@types/rx": "^4.1.1", "rxjs": "^6.3.3" } diff --git a/packages/api/package.json b/packages/api/package.json index 9dd18f4eb2..d0c74e9922 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.34.12", + "version": "0.35.0", "description": "An RxJS wrapper around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -30,11 +30,11 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/extrinsics": "^0.34.12", - "@polkadot/rpc-provider": "^0.34.12", - "@polkadot/rpc-rx": "^0.34.12", - "@polkadot/storage": "^0.34.12", - "@polkadot/types": "^0.34.12", + "@polkadot/extrinsics": "^0.35.0", + "@polkadot/rpc-provider": "^0.35.0", + "@polkadot/rpc-rx": "^0.35.0", + "@polkadot/storage": "^0.35.0", + "@polkadot/types": "^0.35.0", "@types/rx": "^4.1.1", "rxjs": "^6.3.3" } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index b67167c042..8baca62844 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.34.12", + "version": "0.35.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.2.0", - "@polkadot/jsonrpc": "^0.34.12", - "@polkadot/rpc-provider": "^0.34.12", - "@polkadot/types": "^0.34.12", + "@polkadot/jsonrpc": "^0.35.0", + "@polkadot/rpc-provider": "^0.35.0", + "@polkadot/types": "^0.35.0", "@polkadot/util": "^0.33.22" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 265e5cacc5..5e1eac70ea 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.34.12", + "version": "0.35.0", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -31,7 +31,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/keyring": "^0.33.22", - "@polkadot/storage": "^0.34.12", + "@polkadot/storage": "^0.35.0", "@polkadot/util": "^0.33.22", "@polkadot/util-crypto": "^0.33.22", "@types/nock": "^9.3.0", diff --git a/packages/rpc-rx/package.json b/packages/rpc-rx/package.json index 427f5663dd..8aeb94d367 100644 --- a/packages/rpc-rx/package.json +++ b/packages/rpc-rx/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-rx", - "version": "0.34.12", + "version": "0.35.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.2.0", - "@polkadot/rpc-core": "^0.34.12", - "@polkadot/rpc-provider": "^0.34.12", + "@polkadot/rpc-core": "^0.35.0", + "@polkadot/rpc-provider": "^0.35.0", "@types/rx": "^4.1.1", "rxjs": "^6.3.3" } diff --git a/packages/type-extrinsics/package.json b/packages/type-extrinsics/package.json index 4988810cec..18468432e2 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/extrinsics", - "version": "0.34.12", + "version": "0.35.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.2.0", - "@polkadot/types": "^0.34.12", + "@polkadot/types": "^0.35.0", "@polkadot/util": "^0.33.22" } } diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index d82dd07966..5b84e9bad8 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.34.12", + "version": "0.35.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 223906e994..5d40db7c0b 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/storage", - "version": "0.34.12", + "version": "0.35.0", "description": "Generic wrapper wrapper around state storage", "main": "index.js", "engines": { @@ -31,7 +31,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/keyring": "^0.33.22", - "@polkadot/types": "^0.34.12", + "@polkadot/types": "^0.35.0", "@polkadot/util": "^0.33.22", "@polkadot/util-crypto": "^0.33.22" } diff --git a/packages/types/package.json b/packages/types/package.json index b33b34fa0b..c25616461e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.34.12", + "version": "0.35.0", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [ diff --git a/yarn.lock b/yarn.lock index 4f3ed3009a..aa1321216e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -114,17 +114,6 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.1.0" -"@babel/helper-create-class-features-plugin@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.2.2.tgz#aac79552e41c94716a804d371e943f20171df0c5" - integrity sha512-Q4qZE5wS3NWpOS6UV9yhIS/NmSyf2keF0E0IwDvx8WxTheVopVIY6BSQ/0vz72OTTruz0cOA2yIUh6Kdg3qprA== - dependencies: - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-member-expression-to-functions" "^7.0.0" - "@babel/helper-optimise-call-expression" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.1.0" - "@babel/helper-define-map@^7.1.0": version "7.1.0" resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz#3b74caec329b3c80c116290887c0dd9ae468c20c" @@ -306,15 +295,6 @@ "@babel/helper-create-class-features-plugin" "^7.2.1" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-decorators@^7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.2.2.tgz#e7ce762732760542a5268a49bd19251f06dccd08" - integrity sha512-ylkKcbbS5IUocCti0gk762LMiMODWmlwRzyj1OCbPa83vSBlTKLmeBo9KMhoNpydibPcVwrP5rYJd0cKTVu7hw== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.2.2" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-decorators" "^7.2.0" - "@babel/plugin-proposal-json-strings@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz#568ecc446c6148ae6b267f02551130891e29f317" @@ -355,13 +335,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-decorators@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz#c50b1b957dcc69e4b1127b65e1c33eef61570c1b" - integrity sha512-38QdqVoXdHUQfTpZo3rQwqQdWtCn5tMv4uV6r2RMfTqNBuv4ZBhz79SfaQWKTVmxHjeFv/DnXVC/+agHCklYWA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-json-strings@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz#72bd13f6ffe1d25938129d2a186b11fd62951470" @@ -1403,15 +1376,14 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.2.tgz#54c5a964462be3d4d78af631363c18d6fa91ac26" integrity sha512-yprFYuno9FtNsSHVlSWd+nRlmGoAbqbeCwOryP6sC/zoCjhpArcRMYp19EvpSUSizJAlsXEwJv+wcWS9XaXdMw== -"@polkadot/dev@^0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.23.1.tgz#e66a24ade33912976776f1029733ec057585d9a4" - integrity sha512-lheKMUUUAB9du7gfcbfIG/1DzYpYAP+2ubuy0glt2hzlZxEu/ZT9/gj0JRXCzSR1qnN0+EZCI1HWRBMnO8qM/A== +"@polkadot/dev@^0.23.3": + version "0.23.3" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.23.3.tgz#ee9bc6ccb1f985c8c79c8537bbebcd97cefbec1b" + integrity sha512-jAUbcEP0kQBkU9cXnlzghjqaDFda/cKjdXxR5nbgA8aIt5DvkACbihHSc0+ZDw5dr4NrbtDxx7hNuriWffKstg== dependencies: "@babel/cli" "^7.2.0" "@babel/core" "^7.2.2" "@babel/plugin-proposal-class-properties" "^7.2.0" - "@babel/plugin-proposal-decorators" "^7.2.2" "@babel/plugin-proposal-object-rest-spread" "^7.2.0" "@babel/plugin-transform-runtime" "^7.2.0" "@babel/preset-env" "^7.2.0"