0.81 (#1010)
This commit is contained in:
+4
-7
@@ -1,4 +1,4 @@
|
||||
# 0.82.1
|
||||
# 0.81.1
|
||||
|
||||
- The dependency on `@polkadot/keyring` has been removed - if you relied on the API to provide this, you would now need to manually add it
|
||||
- Update `HeaderExtended` to retrieve author information from substrate 2.x (new `PreRuntime` digests)
|
||||
@@ -7,16 +7,13 @@
|
||||
- Fix for disconnection when default providers (non-specified) are used
|
||||
- Don't console.log type decoding errors and then throw, only re-throw with additional info
|
||||
- Support latest substrate 2.x v5 metadata
|
||||
- Add support for new inherent digests from substrate.
|
||||
- **Breaking change** Because of the new `Seal`, the old/new Seals are not compatible. If you were using the old `Seal` from the `Digest`s, you would now use `isSealV0` for the pre-substrate 1.0 version and the new `isSeal` for the current version
|
||||
- Add `ApprovalFlag`, `SetIndex`, `VoterInfo` types for council as per substrate
|
||||
- Update `ContractInfo` to match substrate master
|
||||
- Cater for `Vec`, `Option`, `Result`, tuples and fixed vectors for contracts ABIs
|
||||
- Additional examples for subscriptions using multi
|
||||
- Add `off` method to `ApiBase` to remove an event listener
|
||||
|
||||
# 0.81.1
|
||||
|
||||
- Add support for new inherent digests from substrate.
|
||||
- **Breaking change** Because of the new `Seal`, the old/new Seals are not compatible. If you were using the old `Seal` from the `Digest`s, you would now use `isSealV0` for the pre-substrate 1.0 version and the new `isSeal` for the current version
|
||||
- Add `off` method to `Api` (Base, for both `ApiPromise` & `ApiRx`) to remove an event listener
|
||||
|
||||
# 0.80.1
|
||||
|
||||
|
||||
+1
-1
@@ -9,5 +9,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.81.0-beta.19"
|
||||
"version": "0.81.0"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-derive",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.0",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -28,12 +28,12 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/api": "^0.81.0-beta.19",
|
||||
"@polkadot/types": "^0.81.0-beta.19",
|
||||
"@polkadot/api": "^0.81.0",
|
||||
"@polkadot/types": "^0.81.0",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"memoizee": "^0.4.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5"
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.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.81.0-beta.19",
|
||||
"@polkadot/extrinsics": "^0.81.0-beta.19",
|
||||
"@polkadot/rpc-provider": "^0.81.0-beta.19",
|
||||
"@polkadot/rpc-rx": "^0.81.0-beta.19",
|
||||
"@polkadot/storage": "^0.81.0-beta.19",
|
||||
"@polkadot/types": "^0.81.0-beta.19",
|
||||
"@polkadot/util-crypto": "^0.93.0-beta.5"
|
||||
"@polkadot/api-derive": "^0.81.0",
|
||||
"@polkadot/extrinsics": "^0.81.0",
|
||||
"@polkadot/rpc-provider": "^0.81.0",
|
||||
"@polkadot/rpc-rx": "^0.81.0",
|
||||
"@polkadot/storage": "^0.81.0",
|
||||
"@polkadot/types": "^0.81.0",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5"
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-core",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.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.81.0-beta.19",
|
||||
"@polkadot/rpc-provider": "^0.81.0-beta.19",
|
||||
"@polkadot/types": "^0.81.0-beta.19",
|
||||
"@polkadot/util": "^0.93.0-beta.5"
|
||||
"@polkadot/jsonrpc": "^0.81.0",
|
||||
"@polkadot/rpc-provider": "^0.81.0",
|
||||
"@polkadot/types": "^0.81.0",
|
||||
"@polkadot/util": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.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.81.0-beta.19",
|
||||
"@polkadot/util": "^0.93.0-beta.5",
|
||||
"@polkadot/util-crypto": "^0.93.0-beta.5",
|
||||
"@polkadot/storage": "^0.81.0",
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1",
|
||||
"@types/nock": "^10.0.3",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
"websocket": "^1.0.28"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5",
|
||||
"@polkadot/keyring": "^0.93.1",
|
||||
"mock-socket": "^8.0.5",
|
||||
"nock": "^10.0.4"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-rx",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.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.81.0-beta.19",
|
||||
"@polkadot/rpc-provider": "^0.81.0-beta.19",
|
||||
"@polkadot/rpc-core": "^0.81.0",
|
||||
"@polkadot/rpc-provider": "^0.81.0",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"@types/rx": "^4.1.1",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5"
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/extrinsics",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.0",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/polkadot-js/api.git",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
@@ -11,7 +11,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/types": "^0.81.0-beta.19",
|
||||
"@polkadot/util": "^0.93.0-beta.5"
|
||||
"@polkadot/types": "^0.81.0",
|
||||
"@polkadot/util": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/jsonrpc",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.0",
|
||||
"description": "Method definitions for the Polkadot RPC layer",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/storage",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.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.81.0-beta.19",
|
||||
"@polkadot/util": "^0.93.0-beta.5",
|
||||
"@polkadot/util-crypto": "^0.93.0-beta.5"
|
||||
"@polkadot/types": "^0.81.0",
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5"
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types",
|
||||
"version": "0.81.0-beta.19",
|
||||
"version": "0.81.0",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,10 +27,10 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/util": "^0.93.0-beta.5",
|
||||
"@polkadot/util-crypto": "^0.93.0-beta.5"
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.0-beta.5"
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1801,14 +1801,14 @@
|
||||
typescript "^3.5.1"
|
||||
vuepress "^1.0.1"
|
||||
|
||||
"@polkadot/keyring@^0.93.0-beta.5":
|
||||
version "0.93.0-beta.5"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.93.0-beta.5.tgz#581cedb279ce718026a5d901065293d4193dfbe9"
|
||||
integrity sha512-NHNVyn1DmpD6yN06caHdkmrrhQIh/bvs87DlnsjsGA2PccQFH+UO315Qa3eNmueZorCzyIKTsOYBpY1lwehqSw==
|
||||
"@polkadot/keyring@^0.93.1":
|
||||
version "0.93.1"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.93.1.tgz#c3dcf848154164ac1f41d61441511defadcf9d4a"
|
||||
integrity sha512-sJ9E9AKcJASdnkbzBA1L773oPgXAkEF3LsUjpkaDTelPqzsky6hdyglj3oQpkCj6Oofd1BwJeonmqinIV8Fl4Q==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.5"
|
||||
"@polkadot/util" "^0.93.0-beta.5"
|
||||
"@polkadot/util-crypto" "^0.93.0-beta.5"
|
||||
"@polkadot/util" "^0.93.1"
|
||||
"@polkadot/util-crypto" "^0.93.1"
|
||||
"@types/bs58" "^4.0.0"
|
||||
bs58 "^4.0.1"
|
||||
|
||||
@@ -1819,13 +1819,13 @@
|
||||
dependencies:
|
||||
"@types/chrome" "^0.0.86"
|
||||
|
||||
"@polkadot/util-crypto@^0.93.0-beta.5":
|
||||
version "0.93.0-beta.5"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.93.0-beta.5.tgz#81a399395825b22d532d3834c12e143112564cd5"
|
||||
integrity sha512-GntTfbZd2qfIo1GdYTHtimuDhQIiexiLaQ3/qfShAZ3BP1QiVHx6yYFngMPkEKnebx7rgowT4g0yH1ztf35WiQ==
|
||||
"@polkadot/util-crypto@^0.93.1":
|
||||
version "0.93.1"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.93.1.tgz#5cd2506f601cd80b28f0556bb8dd3187857059a4"
|
||||
integrity sha512-oSTUnJxWQkd6XopK+HFOa8sgTSTJW6LOoTg8iv6QCkddyEhsk8XkTe43AE4F+RA0VOi7MOiiBEl6Pl5eFIer9g==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.5"
|
||||
"@polkadot/util" "^0.93.0-beta.5"
|
||||
"@polkadot/util" "^0.93.1"
|
||||
"@polkadot/wasm-crypto" "^0.11.1"
|
||||
"@types/bip39" "^2.4.2"
|
||||
"@types/pbkdf2" "^3.0.0"
|
||||
@@ -1838,10 +1838,10 @@
|
||||
tweetnacl "^1.0.1"
|
||||
xxhashjs "^0.2.2"
|
||||
|
||||
"@polkadot/util@^0.93.0-beta.5":
|
||||
version "0.93.0-beta.5"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.93.0-beta.5.tgz#c0b27459fdf4848382403b924698f1b012df8c88"
|
||||
integrity sha512-dhJ56+5dYAAz45rdc5AqvFGI1qeQ8qTGiFbiE9S+ZXimEU/3mR1LRcq8nMx4aeZaC3blrReuAmzTxLS2c6aOsw==
|
||||
"@polkadot/util@^0.93.1":
|
||||
version "0.93.1"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.93.1.tgz#d07d633b35e02640da1361259750c061022d4e05"
|
||||
integrity sha512-ORqpaCf7pDtg07/TVPnXyEKTyL7YhlTT9xFU1UFv3WoTLPrGThFlZnWQrfOVYuuMtlnsdpt2evJ1i5V9alGdOQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.5"
|
||||
"@types/bn.js" "^4.11.5"
|
||||
|
||||
Reference in New Issue
Block a user