Skip to content

viem@2.46.0

Choose a tag to compare

@github-actions github-actions released this 15 Feb 04:02
· 1014 commits to main since this release
93981f7

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...',
    })