v12.0.2
Important Changes:
withSignedTransaction: This option has been added toSignerOptions. When usingsignAndSend,signAsync, anddryRunyou may now enable or disable the use of thesignedTransactionfield by adding thewithSignedTransactionoption. 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. withSignedTransactionhas also been added to theSignerPayloadtype which allows forpayload.toPayload()to include the option.
signAsync: now accepts thesignedTransactionfield as well. This means that ifwithSignedTransactionis enabled, andsignedTransactionis 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)