viem

TypeScript Interface for Ethereum

OTHER License

Downloads
2.5M
Stars
2K
Committers
391

Bot releases are visible (Hide)

viem - [email protected] Latest Release

Published by github-actions[bot] 3 months ago

Patch Changes

  • 91aafc0 Thanks @jxom! - Added name to ResourceNotFoundRpcErrorType
viem - [email protected]

Published by github-actions[bot] 3 months ago

Minor Changes

  • #2570 fee80a9a Thanks @jxom! - Experimental: Added EIP-7702 Extension. See Docs

  • #2586 0b1693aa Thanks @tmm! - Renamed "zkSync" to "ZKsync":

    • Context: "zkSync" was officially renamed to "ZKsync" a while ago.
    • Variable names: zkSync -> zksync (for simplicity and consistency between folder/file names and variables).
    • Types: ZkSync -> Zksync.
    • Old naming still remains in Viem, however is marked as @deprecated and will be removed in the next major release.

    Removed deprecated zkSyncTestnet chain.

  • #2583 b5aa9651 Thanks @jxom! - Added ability for consumer (libraries built on top of Viem) to globally configure properties on BaseError.

    import { setErrorConfig } from 'viem'
    
    setErrorConfig({
      getDocsUrl({ name }) {
        return `https://examplelib.com?error=${name}`
      }
      version: '[email protected]'
    })
    

Patch Changes

  • #2581 837507f6 Thanks @cygaar! - Added ZKsync config to Abstract Testnet chain.

  • #2561 1c5d64a3 Thanks @Yuripetusko! - Fixed #2560: infer the correct payable value type on function overloads by matching function against args.

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • 5a528d9b Thanks @jxom! - Propagated message + cause to root Error instance.
viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • #2516 44281e8 Thanks @izayl! - Added keepAlive property to webSocket transport to send keep-alive ping messages (defaults to true).
viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Minor Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • b71e656e Thanks @jxom! - Exported types required for inference.
viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • 690cb9a7 Thanks @jxom! - Exported types required for inference.
viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • 7d3d505 Thanks @jxom! - Allow override of Content-Type header on http transport.
viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • aa42f47 Thanks @jxom! - Updated Darwinia chain explorer URL.

  • 759e34d Thanks @jxom! - Enforced r and s hex values on Signature to be always padded to 32 bytes.

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

viem - [email protected]

Published by github-actions[bot] 4 months ago

Patch Changes

  • ec3b0e0 Thanks @jxom! - Added fallback verification in verifyHash.
viem - [email protected]

Published by github-actions[bot] 4 months ago

Patch Changes