Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2025

Bumps viem from 2.23.2 to 2.24.2.

Release notes

Sourced from viem's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Minor Changes

  • #3427 2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7 Thanks @​jxom! - Stabilized EIP-7702.

    • Added prepareAuthorization and signAuthorization Actions to the Wallet Client.
    • Added hashAuthorization, recoverAuthorizationAddress, and verifyAuthorization Utilities.
    • Renamed account.experimental_signAuthorization to account.signAuthorization.
  • #3427 2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7 Thanks @​jxom! - BREAKING (Experimental): Removed deprecated walletActionsEip5792 export. Use eip5792Actions instead.

  • #3427 2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7 Thanks @​jxom! - BREAKING (Experimental): Removed deprecated ERC-6492 exports in viem/experimental. These are no longer experimental. Use exports from viem instead.

  • #3427 2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7 Thanks @​jxom! - BREAKING (Experimental): Removed deprecated walletActionsErc7715 export. Use erc7715Actions instead.

  • #3427 2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7 Thanks @​jxom! - BREAKING (Experimental):

    Removed EIP-7702 exports in viem/experimental. These are no longer experimental. Use exports from viem or viem/utils instead.

    Note, there is also a behavioral change in the stable EIP-7702 signAuthorization function. Previously, it was assumed that the signer of the Authorization was also the executor of the Transaction. This is no longer the case.

    If the signer of the Authorization is NOT the executor of the Transaction, you no longer need to pass a sponsor parameter.

    const eoa = privateKeyToAccount('0x...')
    const relay = privateKeyToAccount('0x...')
    const authorization = await client.signAuthorization({
    account: eoa,
    contractAddress: '0x...',
    
    sponsor: true
    })
    
    const transaction = await client.sendTransaction({
    account: relay,
    authorizationList: [authorization],
    })

    If the signer of the Authorization is ALSO the executor of the Transaction, you will now need to pass the executor parameter with a value of 'self'.

... (truncated)

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)

Bumps [viem](https://github.com/wevm/viem) from 2.23.2 to 2.24.2.
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/[email protected]@2.24.2)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 31, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 7, 2025

Superseded by #99.

@dependabot dependabot bot closed this Apr 7, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/viem-2.24.2 branch April 7, 2025 17:38
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