Skip to content

fix(deps): update dependency viem to ^2.28.0 #786

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
viem (source) ^2.23.2 -> ^2.28.0 age adoption passing confidence

Release Notes

wevm/viem (viem)

v2.28.0

Compare Source

Minor Changes
Patch Changes

v2.27.3

Compare Source

Patch Changes

v2.27.2

Patch Changes

v2.27.0

Compare Source

Minor Changes
Patch Changes

v2.26.5

Compare Source

Patch Changes

v2.26.4

Compare Source

Patch Changes

v2.26.3

Compare Source

Patch Changes

v2.26.2

Compare Source

Patch Changes

v2.26.1

Compare Source

Patch Changes

v2.26.0

Compare Source

Minor Changes
getCallsStatus
```diff
const result = await client.getCallsStatus({ id })
//    ^?
      {
+       atomic: boolean
+       chainId: number
+       id: string
        receipts: Receipt[]
-       status: 'PENDING' | 'CONFIRMED'
+       status: 'pending' | 'success' | 'failure' | undefined
+       statusCode: number
+       version: string
}
```
sendCalls
```diff
const result = await client.sendCalls({ calls })
//    ^?
-     string
+     { id: string, capabilities?: Capabilities }
```
waitForCallsStatus
```diff
const result = await client.waitForCallsStatus({ id })
//    ^?
      {
+       atomic: boolean
+       chainId: number
+       id: string
        receipts: Receipt[]
-       status: 'PENDING' | 'CONFIRMED'
+       status: 'pending' | 'success' | 'failure' | undefined
+       statusCode: number
+       version: string
}
```
Patch Changes

v2.25.0

Compare Source

Minor Changes
Patch Changes

v2.24.3

Compare Source

Patch Changes

v2.24.2

Compare Source

Patch Changes

v2.24.1

Compare Source

Patch Changes

v2.24.0

Compare Source

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'.

    const eoa = privateKeyToAccount('0x...')
    - const relay = privateKeyToAccount('0x...')
    
    const authorization = await client.signAuthorization({
      account: eoa,
      contractAddress: '0x...',
    + executor: 'self',
    })
    
    const transaction = await client.sendTransaction({
    - account: relay,
    + account: eoa,
      authorizationList: [authorization],
    })
Patch Changes

v2.23.15

Compare Source

Patch Changes

v2.23.14

Compare Source

Patch Changes

v2.23.13

Compare Source

Patch Changes

v2.23.12

Compare Source

Patch Changes

v2.23.11

Compare Source

Patch Changes

v2.23.10

Compare Source

Patch Changes

v2.23.9

Compare Source

Patch Changes

v2.23.8

Compare Source

Patch Changes

v2.23.7

Compare Source

Patch Changes

v2.23.6

Compare Source

Patch Changes

v2.23.5

Compare Source

Patch Changes

v2.23.4

Compare Source

Patch Changes

v2.23.3

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8:00 before 23:00 every weekday except on Friday" in timezone UTC.

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) February 22, 2025 05:33
@renovate renovate bot force-pushed the renovate/viem-2.x branch from c0bef25 to 4740b59 Compare February 24, 2025 11:40
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.3 fix(deps): update dependency viem to ^2.23.4 Feb 24, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from edeac77 to 4950fad Compare February 27, 2025 02:38
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.4 fix(deps): update dependency viem to ^2.23.5 Feb 27, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from cf2914d to 1e84135 Compare March 7, 2025 06:51
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.5 fix(deps): update dependency viem to ^2.23.6 Mar 7, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 1e84135 to 01039c6 Compare March 10, 2025 06:49
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.6 fix(deps): update dependency viem to ^2.23.7 Mar 10, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 3 times, most recently from f5d6189 to 5559765 Compare March 11, 2025 06:08
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.7 fix(deps): update dependency viem to ^2.23.8 Mar 11, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 5559765 to dd6f83c Compare March 12, 2025 23:03
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.8 fix(deps): update dependency viem to ^2.23.9 Mar 12, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from dd6f83c to 59212b9 Compare March 15, 2025 02:55
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.9 fix(deps): update dependency viem to ^2.23.10 Mar 15, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from b4e77e2 to 25a4c3c Compare March 18, 2025 01:53
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.23.10 fix(deps): update dependency viem to ^2.23.11 Mar 18, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 6 times, most recently from 3fae51f to 4e906e3 Compare March 19, 2025 16:44
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from 8eb40c1 to c1fd369 Compare April 3, 2025 22:31
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.24.2 fix(deps): update dependency viem to ^2.24.3 Apr 3, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from c1fd369 to 50334d6 Compare April 6, 2025 06:04
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.24.3 fix(deps): update dependency viem to ^2.25.0 Apr 6, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from 85e7317 to bf447aa Compare April 10, 2025 03:37
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.25.0 fix(deps): update dependency viem to ^2.26.0 Apr 10, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from bf447aa to e1d8afd Compare April 10, 2025 22:12
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.0 fix(deps): update dependency viem to ^2.26.1 Apr 10, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from e1d8afd to 1eabbbe Compare April 11, 2025 10:07
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.1 fix(deps): update dependency viem to ^2.26.2 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 1eabbbe to 050ffa3 Compare April 14, 2025 03:48
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.2 fix(deps): update dependency viem to ^2.26.3 Apr 14, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 3 times, most recently from acb5202 to 2e899ff Compare April 17, 2025 03:47
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.3 fix(deps): update dependency viem to ^2.26.4 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 2e899ff to 2b5f407 Compare April 17, 2025 07:35
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.4 fix(deps): update dependency viem to ^2.26.5 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch 2 times, most recently from 61e7397 to 4ba1af6 Compare April 18, 2025 02:44
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.26.5 fix(deps): update dependency viem to ^2.27.0 Apr 18, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 4ba1af6 to 0df3484 Compare April 20, 2025 10:55
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.27.0 fix(deps): update dependency viem to ^2.27.2 Apr 20, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from 0df3484 to b134645 Compare April 24, 2025 22:57
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.27.2 fix(deps): update dependency viem to ^2.27.3 Apr 24, 2025
@renovate renovate bot force-pushed the renovate/viem-2.x branch from b134645 to 2fbec29 Compare April 25, 2025 13:57
@renovate renovate bot changed the title fix(deps): update dependency viem to ^2.27.3 fix(deps): update dependency viem to ^2.28.0 Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants