Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump @polkadot/types from 11.2.1 to 12.0.1 #1143

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 25, 2024

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps @polkadot/types from 11.2.1 to 12.0.1.

Release notes

Sourced from @​polkadot/types's releases.

v12.0.1

Important Changes:

  • Addition of an optional signedTransaction field to the SignerResult response for injected signers. This only applies to the signPayload method exposed in the Signer interface for polkadot-js. As the name suggests the field expects a signed transaction (extrinsic) when inputted. When its present, the api will not add the signature to the payload, but instead broadcast the inputted signed transaction. This means the signer may modify the payload it's given. The only part of the payload that may not be modified is the call data. This is verified on the api, and will throw an error if it does not match the initial payloads call data.
    • This is very useful for signers that want to adjust the mode and metadataHash field for the CheckMetadataHash signed extension.
    • Note that this is not your traditional breaking change since it more-so acts as an addition, but since this is a high magnitude change it is going to be considered a MAJOR bump.
    • For more info please review the following PR [(#5914)](polkadot-js/api#5914)

Changes:

  • Replace system_accountNextIndex with runtime api call accountNonceApi for api.derive.tx.signingInfo
  • Sanitize eras for api.derive.staking._stakerRewards

v11.3.1

Changes:

  • Fix period assumption on signingInfo (derive)
  • Bump dev to 0.79.3
  • Update {Polkadot, Kusama, Westend} types-known
  • Bump Substrate metadata to latest
    • NOTE: Moving forward when bumping the metadata for {Polkadot, Kusama, Substrate} the version will always be a minor bump since it can add, modify, remove augmented types.
Changelog

Sourced from @​polkadot/types's changelog.

12.0.1 June 24, 2024

Important Changes:

  • Addition of an optional signedTransaction field to the SignerResult response for injected signers. This only applies to the signPayload method exposed in the Signer interface for polkadot-js. As the name suggests the field expects a signed transaction (extrinsic) when inputted. When its present, the api will not add the signature to the payload, but instead broadcast the inputted signed transaction. This means the signer may modify the payload it's given. The only part of the payload that may not be modified is the call data. This is verified on the api, and will throw an error if it does not match the initial payloads call data.
    • This is very useful for signers that want to adjust the mode and metadataHash field for the CheckMetadataHash signed extension.
    • Note that this is not your traditional breaking change since it more-so acts as an addition, but since this is a high magnitude change it is going to be considered a MAJOR bump.
    • For more info please review the following PR [(#5914)](polkadot-js/api#5914)

Changes:

  • Replace system_accountNextIndex with runtime api call accountNonceApi for api.derive.tx.signingInfo
  • Sanitize eras for api.derive.staking._stakerRewards

11.3.1 June 17, 2024

Changes:

  • Fix period assumption on signingInfo (derive)
  • Bump dev to 0.79.3
  • Update {Polkadot, Kusama, Westend} types-known
  • Bump Substrate metadata to latest
    • NOTE: Moving forward when bumping the metadata for {Polkadot, Kusama, Substrate} the version will always be a minor bump since it can add, modify, remove augmented types.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 25, 2024
@dependabot dependabot bot requested a review from leonardocustodio as a code owner June 25, 2024 12:47
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Jun 25, 2024
@dependabot dependabot bot requested a review from justraman as a code owner June 25, 2024 12:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/polkadot/types-12.0.1 branch 2 times, most recently from dccb295 to 18a73ce Compare June 27, 2024 13:26
@leonardocustodio leonardocustodio self-assigned this Jun 27, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/polkadot/types-12.0.1 branch from 18a73ce to ce6521e Compare June 27, 2024 13:28
Bumps [@polkadot/types](https://github.com/polkadot-js/api/tree/HEAD/packages/types) from 11.2.1 to 12.0.1.
- [Release notes](https://github.com/polkadot-js/api/releases)
- [Changelog](https://github.com/polkadot-js/api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/polkadot-js/api/commits/v12.0.1/packages/types)

---
updated-dependencies:
- dependency-name: "@polkadot/types"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/polkadot/types-12.0.1 branch from ce6521e to e9e2936 Compare June 27, 2024 13:30
@leonardocustodio leonardocustodio self-requested a review June 27, 2024 13:30
@leonardocustodio leonardocustodio merged commit 6b2f76e into master Jun 27, 2024
6 checks passed
@leonardocustodio leonardocustodio deleted the dependabot/npm_and_yarn/polkadot/types-12.0.1 branch June 27, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

1 participant