diff --git a/CHANGELOG.md b/CHANGELOG.md index e9cbb690eb..13605eed76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.46.1 + +- Extended type registration to now handle internal types as well. Additionally the built-in Extrinsic type can now we overridden with a custom version. (There should be no external use impact from either change) + # 0.45.1 - Storage with option values now correctly return `Option` and is indicated as such in the documentation diff --git a/lerna.json b/lerna.json index 1cdb5c91d9..f07c0a5d20 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.45.21" + "version": "0.46.0" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index a36bce971c..4180f2f42e 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.45.21", + "version": "0.46.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.3.4", - "@polkadot/api": "^0.45.21", - "@polkadot/types": "^0.45.21", + "@polkadot/api": "^0.46.0", + "@polkadot/types": "^0.46.0", "@types/memoizee": "^0.4.2", "memoizee": "^0.4.14" } diff --git a/packages/api/package.json b/packages/api/package.json index 741ed20249..6112b6d20a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.45.21", + "version": "0.46.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.3.4", - "@polkadot/api-derive": "^0.45.21", - "@polkadot/extrinsics": "^0.45.21", - "@polkadot/rpc-provider": "^0.45.21", - "@polkadot/rpc-rx": "^0.45.21", - "@polkadot/storage": "^0.45.21", - "@polkadot/types": "^0.45.21", + "@polkadot/api-derive": "^0.46.0", + "@polkadot/extrinsics": "^0.46.0", + "@polkadot/rpc-provider": "^0.46.0", + "@polkadot/rpc-rx": "^0.46.0", + "@polkadot/storage": "^0.46.0", + "@polkadot/types": "^0.46.0", "@polkadot/util-crypto": "^0.34.36" } } diff --git a/packages/api/test/e2e/promise-tx.spec.js b/packages/api/test/e2e/promise-tx.spec.js index 33683e24a4..3881aefea2 100644 --- a/packages/api/test/e2e/promise-tx.spec.js +++ b/packages/api/test/e2e/promise-tx.spec.js @@ -162,7 +162,8 @@ describe.skip('e2e transactions', () => { expect(hash.toHex()).toHaveLength(66); }); - it('makes a transfer, swaps types and then another one', async (done) => { + // skipped (needs sr25519 enabled on chain) + it.skip('makes a transfer, swaps types and then another one', async (done) => { const pair = createPair('sr25519', { seed: stringToU8a('testing123'.padEnd(32)) }); function doOne (cb) { diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 405d775368..2e7cd21f6d 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.45.21", + "version": "0.46.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.3.4", - "@polkadot/jsonrpc": "^0.45.21", - "@polkadot/rpc-provider": "^0.45.21", - "@polkadot/types": "^0.45.21", + "@polkadot/jsonrpc": "^0.46.0", + "@polkadot/rpc-provider": "^0.46.0", + "@polkadot/types": "^0.46.0", "@polkadot/util": "^0.34.36" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index f73864d6e4..b593ee9351 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.45.21", + "version": "0.46.0", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -31,7 +31,7 @@ "dependencies": { "@babel/runtime": "^7.3.4", "@polkadot/keyring": "^0.34.36", - "@polkadot/storage": "^0.45.21", + "@polkadot/storage": "^0.46.0", "@polkadot/util": "^0.34.36", "@polkadot/util-crypto": "^0.34.36", "@types/nock": "^9.3.1", diff --git a/packages/rpc-rx/package.json b/packages/rpc-rx/package.json index 6dac126db2..339b7174a6 100644 --- a/packages/rpc-rx/package.json +++ b/packages/rpc-rx/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-rx", - "version": "0.45.21", + "version": "0.46.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.3.4", - "@polkadot/rpc-core": "^0.45.21", - "@polkadot/rpc-provider": "^0.45.21", + "@polkadot/rpc-core": "^0.46.0", + "@polkadot/rpc-provider": "^0.46.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 736a5eceea..521f24db77 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/extrinsics", - "version": "0.45.21", + "version": "0.46.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.3.4", - "@polkadot/types": "^0.45.21", + "@polkadot/types": "^0.46.0", "@polkadot/util": "^0.34.36" } } diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index 61f7217e08..797b4d3f5e 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.45.21", + "version": "0.46.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 b01e61bb0a..4fd5412c1f 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/storage", - "version": "0.45.21", + "version": "0.46.0", "description": "Generic wrapper wrapper around state storage", "main": "index.js", "engines": { @@ -31,7 +31,7 @@ "dependencies": { "@babel/runtime": "^7.3.4", "@polkadot/keyring": "^0.34.36", - "@polkadot/types": "^0.45.21", + "@polkadot/types": "^0.46.0", "@polkadot/util": "^0.34.36", "@polkadot/util-crypto": "^0.34.36" } diff --git a/packages/types/package.json b/packages/types/package.json index ded9c1afa9..77c67e2e45 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.45.21", + "version": "0.46.0", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [