Skip to content

Releases: wevm/viem

viem@2.47.0

04 Mar 22:11
1205d5a

Choose a tag to compare

Minor Changes

  • 1adb83804d5f6c3f36d5f293de88532330d52dc7 Thanks @jxom! - Breaking (viem/tempo): chainId is now required when signing access key authorizations with signKeyAuthorization. It is recommended to use client.accessKey.signAuthorization instead for inferred chain ID.

    import { client } from './viem.config'
    import { Account } from 'viem/tempo'
    
    const account = Account.from({ privateKey: '0x...' })
    const accessKey = Account.fromP256(generatePrivateKey(), {
      access: account,
    })
    
    - const keyAuthorization = await account.signKeyAuthorization(accessKey)
    + const keyAuthorization = await client.accessKey.signAuthorization({
    +   account,
    +   accessKey,
    + })

Patch Changes

viem@2.46.3

24 Feb 01:15
51cb587

Choose a tag to compare

Patch Changes

viem@2.46.2

17 Feb 20:43
c677096

Choose a tag to compare

Patch Changes

viem@2.46.1

16 Feb 02:28
72fbfc3

Choose a tag to compare

Patch Changes

viem@2.46.0

15 Feb 04:02
93981f7

Choose a tag to compare

Minor Changes

  • #4304 b6b50d40fb6bbadc851377b74b2dd4da584958b0 Thanks @jxom! - Breaking (viem/tempo): Renamed nonceKey: 'random' to nonceKey: 'expiring' to align with TIP-1009 terminology.

    TIP-1009 defines "expiring nonces" as time-based replay protection using validBefore timestamps. The name 'expiring' better describes the mechanism than 'random'.

    await sendTransaction(client, {
      account,
    - nonceKey: 'random',
    + nonceKey: 'expiring',
      to: '0x...',
    })

viem@2.45.3

11 Feb 03:20
803d4d9

Choose a tag to compare

Patch Changes

viem@2.45.2

09 Feb 02:27
4b7585c

Choose a tag to compare

Patch Changes

viem@2.45.1

29 Jan 23:29
2ec2006

Choose a tag to compare

Patch Changes

viem@2.45.0

25 Jan 10:39
8acc1b3

Choose a tag to compare

Minor Changes

Patch Changes

viem@2.44.4

15 Jan 19:08
d18b3b2

Choose a tag to compare

Patch Changes