Skip to content

Releases: wevm/viem

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.

viem@0.0.1-alpha.24

09 Feb 19:58
9b2faa0
Compare
Choose a tag to compare
viem@0.0.1-alpha.24 Pre-release
Pre-release

Patch Changes

  • #63 7473582 Thanks @tmm! - Exported missing watchContractEvent and watchEvent actions.

viem@0.0.1-alpha.23

09 Feb 16:42
7513820
Compare
Choose a tag to compare
viem@0.0.1-alpha.23 Pre-release
Pre-release

Patch Changes

viem@0.0.1-alpha.22

09 Feb 00:58
5e26410
Compare
Choose a tag to compare
viem@0.0.1-alpha.22 Pre-release
Pre-release

Patch Changes

  • #57 40c76e3 Thanks @jxom! - support Panic & custom contract errors

  • #56 3e90197 Thanks @jxom! - - Breaking: Renamed humanMessage to shortMessage in BaseError.

    • Added multicall.
    • Support overloaded contract functions.

viem@0.0.1-alpha.21

07 Feb 01:50
3b0f7a4
Compare
Choose a tag to compare
viem@0.0.1-alpha.21 Pre-release
Pre-release

Patch Changes

  • 5a6bdf8 Thanks @jxom! - Fixed an issue where encodeAbi couldn't encode dynamic bytes larger than 32 bytes"

viem@0.0.1-alpha.20

06 Feb 02:09
c3d740a
Compare
Choose a tag to compare
viem@0.0.1-alpha.20 Pre-release
Pre-release

Patch Changes

  • ebf1dc8 Thanks @jxom! - Added watchEvent

  • ebf1dc8 Thanks @jxom! - Added watchContractEvent

  • ae90357 Thanks @jxom! - Made watchBlocks more type safe with the includeTransactions arg.

viem@0.0.1-alpha.19

03 Feb 02:33
1cf58c3
Compare
Choose a tag to compare
viem@0.0.1-alpha.19 Pre-release
Pre-release

Patch Changes

viem@0.0.1-alpha.18

03 Feb 02:14
03aaf06
Compare
Choose a tag to compare
viem@0.0.1-alpha.18 Pre-release
Pre-release

Patch Changes