Skip to content

Commit

Permalink
12.0.2 (#5924)
Browse files Browse the repository at this point in the history
* 12.0.2

* Add extra description
  • Loading branch information
TarikGul authored Jun 27, 2024
1 parent 02947a1 commit e64eb91
Show file tree
Hide file tree
Showing 18 changed files with 182 additions and 166 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CHANGELOG

## 12.0.2 June 27, 2024

**Important Changes**:

- `withSignedTransaction`: This option has been added to `SignerOptions`. When using `signAndSend`, `signAsync`, and `dryRun` you may now enable or disable the use of the `signedTransaction` field by adding the `withSignedTransaction` option. When withSignedTransaction is not enabled but the signer adds a signedTransaction the api will error.
- Always disabled by default.
- This ensures no big breaking changes happen to the interface of `signPayload`.
- `withSignedTransaction` has also been added to the `SignerPayload` type which allows for `payload.toPayload()` to include the option.
- `signAsync`: now accepts the `signedTransaction` field as well. This means that if `withSignedTransaction` is enabled, and `signedTransaction` is present the api will adjust the current payload attached to the SubmittableExtrinsic, and add the signature. Then the user can call `.send()` as they please.
- `dryRun`: All steps will be the same as signAsync with the exception that .send() has never needed to be called.

Contributed:

- Add LocationToAccountApi::convert_location runtime API (Thanks to https://github.com/bkontur)


## 12.0.1 June 24, 2024

**Important Changes**:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"versions": {
"git": "12.0.2-3-x",
"npm": "12.0.1"
Expand Down
12 changes: 6 additions & 6 deletions packages/api-augment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "12.0.2-3-x",
"@polkadot/rpc-augment": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-augment": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/api-base": "12.0.2",
"@polkadot/rpc-augment": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-augment": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/api-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/rpc-core": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
Expand Down
16 changes: 8 additions & 8 deletions packages/api-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-create": "12.0.2-3-x",
"@polkadot/api": "12.0.2",
"@polkadot/api-augment": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/types-create": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "12.0.2-3-x"
"@polkadot/types-support": "12.0.2"
}
}
24 changes: 12 additions & 12 deletions packages/api-derive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/api-base": "12.0.2-3-x",
"@polkadot/rpc-core": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/api": "12.0.2",
"@polkadot/api-augment": "12.0.2",
"@polkadot/api-base": "12.0.2",
"@polkadot/rpc-core": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/rpc-augment": "12.0.2-3-x",
"@polkadot/rpc-provider": "12.0.2-3-x",
"@polkadot/types-support": "12.0.2-3-x"
"@polkadot/api": "12.0.2",
"@polkadot/api-augment": "12.0.2",
"@polkadot/rpc-augment": "12.0.2",
"@polkadot/rpc-provider": "12.0.2",
"@polkadot/types-support": "12.0.2"
}
}
28 changes: 14 additions & 14 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/api-base": "12.0.2-3-x",
"@polkadot/api-derive": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2",
"@polkadot/api-base": "12.0.2",
"@polkadot/api-derive": "12.0.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "12.0.2-3-x",
"@polkadot/rpc-core": "12.0.2-3-x",
"@polkadot/rpc-provider": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-augment": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-create": "12.0.2-3-x",
"@polkadot/types-known": "12.0.2-3-x",
"@polkadot/rpc-augment": "12.0.2",
"@polkadot/rpc-core": "12.0.2",
"@polkadot/rpc-provider": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-augment": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/types-create": "12.0.2",
"@polkadot/types-known": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/types-support": "12.0.2-3-x"
"@polkadot/api-augment": "12.0.2",
"@polkadot/types-support": "12.0.2"
}
}
8 changes: 4 additions & 4 deletions packages/rpc-augment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/rpc-core": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/rpc-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "12.0.2-3-x",
"@polkadot/rpc-provider": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/rpc-augment": "12.0.2",
"@polkadot/rpc-provider": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "12.0.2-3-x"
"@polkadot/rpc-augment": "12.0.2"
}
}
6 changes: 3 additions & 3 deletions packages/rpc-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-support": "12.0.2-3-x",
"@polkadot/types": "12.0.2",
"@polkadot/types-support": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-fetch": "^12.6.2",
Expand Down
20 changes: 10 additions & 10 deletions packages/typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
Expand All @@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "12.0.2-3-x",
"@polkadot/api-augment": "12.0.2-3-x",
"@polkadot/rpc-augment": "12.0.2-3-x",
"@polkadot/rpc-provider": "12.0.2-3-x",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-augment": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-create": "12.0.2-3-x",
"@polkadot/types-support": "12.0.2-3-x",
"@polkadot/api": "12.0.2",
"@polkadot/api-augment": "12.0.2",
"@polkadot/rpc-augment": "12.0.2",
"@polkadot/rpc-provider": "12.0.2",
"@polkadot/types": "12.0.2",
"@polkadot/types-augment": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/types-create": "12.0.2",
"@polkadot/types-support": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/types-augment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/types-codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
"@polkadot/x-bigint": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-augment": "12.0.2-3-x",
"@polkadot/types-support": "12.0.2-3-x",
"@polkadot/types": "12.0.2",
"@polkadot/types-augment": "12.0.2",
"@polkadot/types-support": "12.0.2",
"@polkadot/util-crypto": "^12.6.2"
}
}
6 changes: 3 additions & 3 deletions packages/types-create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "12.0.2-3-x"
"@polkadot/types": "12.0.2"
}
}
10 changes: 5 additions & 5 deletions packages/types-known/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.6.2",
"@polkadot/types": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-create": "12.0.2-3-x",
"@polkadot/types": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/types-create": "12.0.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "12.0.2-3-x"
"@polkadot/api": "12.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/types-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
Expand Down
10 changes: 5 additions & 5 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.0.2-3-x",
"version": "12.0.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-augment": "12.0.2-3-x",
"@polkadot/types-codec": "12.0.2-3-x",
"@polkadot/types-create": "12.0.2-3-x",
"@polkadot/types-augment": "12.0.2",
"@polkadot/types-codec": "12.0.2",
"@polkadot/types-create": "12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "12.0.2-3-x"
"@polkadot/types-support": "12.0.2"
}
}
Loading

0 comments on commit e64eb91

Please sign in to comment.