Download Latest Version wagmi@3.1.0 source code.tar.gz (956.1 kB)
Email in envelope

Get an email when there's a new version of wagmi

Home / @wagmi_vue@0.4.3
Name Modified Size InfoDownloads / Week
Parent folder
@wagmi_vue@0.4.3 source code.tar.gz 2025-12-03 956.1 kB
@wagmi_vue@0.4.3 source code.zip 2025-12-03 1.6 MB
README.md 2025-12-03 1.1 kB
Totals: 3 Items   2.6 MB 0

Patch Changes

  • Deprecated custom mutate function names and renamed to mutate/mutateAsync to reduce destructure key renaming fatigue and align with TanStack Query terminology. (#4878)

    Before

    Had to destructure hook result and often rename keys when using multiple of the same hook. Could decide not to destructure, but syntax becomes awkward for mutate functions (e.g. connect.connect or connect.connectAsync).

    ts const { connect, isPending: connectIsPending } = useConnect(); const { writeContract: transfer, error: transferError, isPending: transferIsPending, } = useWriteContract(); const { writeContract: approve, error: approveError } = useWriteContract();

    After

    Allows you to name the hook result whatever you want and not worry about also renaming properties.

    ts const connect = useConnect(); // connect.isPending const transfer = useWriteContract(); // transfer.mutate, transfer.error, transfer.isPending const approve = useWriteContract(); // approve.mutate, approve.error

Source: README.md, updated 2025-12-03