Skip to content

Commit a339491

Browse files
authored
1.2 (#1867)
1 parent ea87472 commit a339491

File tree

11 files changed

+34
-34
lines changed

11 files changed

+34
-34
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1.2.0-beta.x
1+
# 1.2.1 Feb 16, 2020
22

33
- **Important** Update RPC status codes (latest Substrate 2), with the `isInBlock` (`isFinalized` now indicates finality)
44
- Storage `.entries(arg?: any)` now has the correct argument type for DoubleMap (Thanks to https://github.com/monitz87)

docs/start/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Polkadot/Substrate supports both immortal and mortal transactions. For immortal,
3434

3535
The length for this transaction validity is set to 50 blocks, which translates to 5 minutes assuming a default of 6 second blocktimes. (10 blocks per minute in this default configuration).
3636

37-
## My chain does not support the system.account
37+
## My chain does not support system.account queries
3838

3939
The API always tracks the latest Substrate master in terms of examples. This means that nonce & balance queries are done via the `api.query.system.account(<account>)` which returns a Tuple `(Index, AccountData)` where the first is the nonce, the second a struct containing the free and reserved balances. As with all `api.query.*` endpoint, this is decorated based on what the chain you connect to support.
4040

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"packages": [
1010
"packages/*"
1111
],
12-
"version": "1.2.0-beta.30"
12+
"version": "1.2.0"
1313
}

packages/api-contract/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/api": "^1.2.0-beta.30",
31-
"@polkadot/rpc-core": "^1.2.0-beta.30",
32-
"@polkadot/types": "^1.2.0-beta.30",
30+
"@polkadot/api": "^1.2.0",
31+
"@polkadot/rpc-core": "^1.2.0",
32+
"@polkadot/types": "^1.2.0",
3333
"@polkadot/util": "^2.3.1",
3434
"bn.js": "^5.1.1",
3535
"rxjs": "^6.5.4"

packages/api-derive/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.8.4",
31-
"@polkadot/api": "^1.2.0-beta.30",
32-
"@polkadot/rpc-core": "^1.2.0-beta.30",
33-
"@polkadot/rpc-provider": "^1.2.0-beta.30",
34-
"@polkadot/types": "^1.2.0-beta.30",
31+
"@polkadot/api": "^1.2.0",
32+
"@polkadot/rpc-core": "^1.2.0",
33+
"@polkadot/rpc-provider": "^1.2.0",
34+
"@polkadot/types": "^1.2.0",
3535
"@polkadot/util": "^2.3.1",
3636
"@polkadot/util-crypto": "^2.3.1",
3737
"bn.js": "^5.1.1",

packages/api/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,12 +27,12 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/api-derive": "^1.2.0-beta.30",
30+
"@polkadot/api-derive": "^1.2.0",
3131
"@polkadot/keyring": "^2.3.1",
32-
"@polkadot/metadata": "^1.2.0-beta.30",
33-
"@polkadot/rpc-core": "^1.2.0-beta.30",
34-
"@polkadot/rpc-provider": "^1.2.0-beta.30",
35-
"@polkadot/types": "^1.2.0-beta.30",
32+
"@polkadot/metadata": "^1.2.0",
33+
"@polkadot/rpc-core": "^1.2.0",
34+
"@polkadot/rpc-provider": "^1.2.0",
35+
"@polkadot/types": "^1.2.0",
3636
"@polkadot/util": "^2.3.1",
3737
"@polkadot/util-crypto": "^2.3.1",
3838
"bn.js": "^5.1.1",

packages/metadata/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/types": "^1.2.0-beta.30",
30+
"@polkadot/types": "^1.2.0",
3131
"@polkadot/util": "^2.3.1",
3232
"@polkadot/util-crypto": "^2.3.1",
3333
"bn.js": "^5.1.1"

packages/rpc-core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,10 +27,10 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/jsonrpc": "^1.2.0-beta.30",
31-
"@polkadot/metadata": "^1.2.0-beta.30",
32-
"@polkadot/rpc-provider": "^1.2.0-beta.30",
33-
"@polkadot/types": "^1.2.0-beta.30",
30+
"@polkadot/jsonrpc": "^1.2.0",
31+
"@polkadot/metadata": "^1.2.0",
32+
"@polkadot/rpc-provider": "^1.2.0",
33+
"@polkadot/types": "^1.2.0",
3434
"@polkadot/util": "^2.3.1",
3535
"memoizee": "^0.4.14",
3636
"rxjs": "^6.5.4"

packages/rpc-provider/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/jsonrpc": "^1.2.0-beta.30",
31-
"@polkadot/metadata": "^1.2.0-beta.30",
32-
"@polkadot/types": "^1.2.0-beta.30",
30+
"@polkadot/jsonrpc": "^1.2.0",
31+
"@polkadot/metadata": "^1.2.0",
32+
"@polkadot/types": "^1.2.0",
3333
"@polkadot/util": "^2.3.1",
3434
"@polkadot/util-crypto": "^2.3.1",
3535
"bn.js": "^5.1.1",

packages/type-jsonrpc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/jsonrpc",
3-
"version": "1.2.0-beta.30",
3+
"version": "1.2.0",
44
"description": "Method definitions for the Polkadot RPC layer",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-jsonrpc#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.4",
30-
"@polkadot/types": "^1.2.0-beta.30",
30+
"@polkadot/types": "^1.2.0",
3131
"@polkadot/util": "^2.3.1"
3232
}
3333
}

0 commit comments

Comments
 (0)