Skip to content

Releases: wevm/viem

viem@0.0.1-alpha.35

27 Feb 22:33
c38441d
Compare
Choose a tag to compare
viem@0.0.1-alpha.35 Pre-release
Pre-release

Patch Changes

  • 057e01e Thanks @jxom! - - testClient.getTxPoolContenttestClient.getTxpoolContent

    • testClient.getTxPoolStatustestClient.getTxpoolStatus
  • #85 2350d1a Thanks @jxom! - Breaking: Renamed encodeAbi & decodeAbi to encodeAbiParameters & decodeAbiParameters, and modified API from named arguments to inplace arguments:

    import {
    - encodeAbi,
    - decodeAbi,
    + encodeAbiParameters,
    + decodeAbiParameters,
    } from 'viem'
    
    -const result = encodeAbi({ params, values })
    +const result = encodeAbiParameters(params, values)
    
    -const result = decodeAbi({ params, data })
    +const result = decodeAbiParameters(params, data)

viem@0.0.1-alpha.34

25 Feb 00:15
446a56e
Compare
Choose a tag to compare
viem@0.0.1-alpha.34 Pre-release
Pre-release

Patch Changes

  • e1634b5 Thanks @jxom! - Fixed ABI encoding dynamic tuple child derivation

viem@0.0.1-alpha.33

24 Feb 03:38
4b8c653
Compare
Choose a tag to compare
viem@0.0.1-alpha.33 Pre-release
Pre-release

Patch Changes

  • 1971e6a Thanks @jxom! - Added assertion to check if addresses are valid for sendTransaction, estimateGas & call.

viem@0.0.1-alpha.32

23 Feb 05:55
5d1cfc1
Compare
Choose a tag to compare
viem@0.0.1-alpha.32 Pre-release
Pre-release

Patch Changes

  • 7243744 Thanks @jxom! - Added support for 4001 & 4902 RPC error codes.

viem@0.0.1-alpha.31

22 Feb 20:50
dd4c3c6
Compare
Choose a tag to compare
viem@0.0.1-alpha.31 Pre-release
Pre-release

Patch Changes

  • #89 3e45853 Thanks @jxom! - Added fetchOptions to the http transport.

  • #91 0ac32c2 Thanks @jxom! - Breaking: Renamed getFunctionSignature and getEventSignature to getFunctionSelector and getEventSelector.

viem@0.0.1-alpha.30

22 Feb 03:25
874867c
Compare
Choose a tag to compare
viem@0.0.1-alpha.30 Pre-release
Pre-release

Patch Changes

  • #81 eb572b0 Thanks @jxom! - Improved transaction & contract error messaging & coalesce error messages from nodes.

viem@0.0.1-alpha.29

21 Feb 21:14
6e9b7d4
Compare
Choose a tag to compare
viem@0.0.1-alpha.29 Pre-release
Pre-release

Patch Changes

  • 6bdee9c Thanks @jxom! - Fixed issue where fallback transport was not falling back on timeouts

viem@0.0.1-alpha.28

20 Feb 20:28
aea95eb
Compare
Choose a tag to compare
viem@0.0.1-alpha.28 Pre-release
Pre-release

Patch Changes

  • 8ef068b Thanks @jxom! - Added 502, 503 and 504 error codes as "non-deterministic" errors for fallback transport & retries.

  • #79 db9caa9 Thanks @jxom! - Added timeout as a config option to the http and webSocket Transports.

  • #77 d6a29f5 Thanks @jxom! - Decorated Clients with their respective Actions.

    Example:

    import { createPublicClient, http } from 'viem'
    import { mainnet } from 'viem/chains'
    -import { getBlockNumber } from 'viem/public'
    
    const client = createPublicClient({
      chain: mainnet,
      transport: http(),
    })
    
    - const blockNumber = await getBlockNumber(client)
    + const blockNumber = await client.getBlockNumber()

viem@0.0.1-alpha.26

14 Feb 05:50
853e13f
Compare
Choose a tag to compare
viem@0.0.1-alpha.26 Pre-release
Pre-release

Patch Changes

  • 7d9a241 Thanks @jxom! - Added estimateContractGas.

  • 7d9a241 Thanks @jxom! - Added retryCount and retryDelay config to Transports.

viem@0.0.1-alpha.25

11 Feb 10:54
4daa8c8
Compare
Choose a tag to compare
viem@0.0.1-alpha.25 Pre-release
Pre-release

Patch Changes

  • 6c902f8 Thanks @jxom! - Added decodeEventLog.

  • #68 1be77b3 Thanks @jxom! - Breaking: Removed all public/wallet/test actions & utils from the viem entrypoint to their respective entrypoints:

    • viem = Clients & Transport exports
    • viem/chains = Chains exports
    • viem/contract = Contract Actions & Utils exports
    • viem/ens = ENS Actions & Utils exports
    • viem/public = Public Actions exports
    • viem/test = Test Actions exports
    • viem/utils = Utils exports
    • viem/wallet = Wallet Actions exports
  • #66 f19fc32 Thanks @tmm! - Added ENS actions getEnsAddress and getEnsName.