Skip to content

Releases: coinbase/onchainkit

v0.11.3

11 Apr 22:10
c7b0562
Compare
Choose a tag to compare

Patch Changes

  • feat: exposed the getName and getAvatar utilities to assist in retrieving name and avatar identity information. These utilities come in handy when working with Next.js or any Node.js backend. By @Zizzamia #265 #283 b795268

v0.11.2

10 Apr 23:21
5009107
Compare
Choose a tag to compare

Patch Changes

v0.11.1

10 Apr 19:59
631c0d9
Compare
Choose a tag to compare

Patch Changes

v0.11.0

17 Mar 23:08
7509a07
Compare
Choose a tag to compare

Minor Changes

v0.10.2

12 Mar 00:58
71002ec
Compare
Choose a tag to compare

Patch Changes

v0.10.1

08 Mar 17:05
763af35
Compare
Choose a tag to compare

Patch Changes

v0.10.0

06 Mar 19:29
4907806
Compare
Choose a tag to compare

Minor Changes

  • 4090f4f: - feat: Replace internal useOnchainActionWithCache with tanstack/react-query. This affects useName and useAvatar hooks. The return type and the input parameters also changed for these 2 hooks.

    BREAKING CHANGES

    The input parameters as well as return types of useName and useAvatar hooks have changed. The return type of useName and useAvatar hooks changed.

    useName

    Before

    import { useName } from "@coinbase/onchainkit/identity";
    
    const { ensName, isLoading } = useName("0x1234");

    After

    import { useName } from "@coinbase/onchainkit/identity";
    
    // Return type signature is following @tanstack/react-query useQuery hook signature
    const {
      data: name,
      isLoading,
      isError,
      error,
      status,
    } = useName(
      { address: "0x1234" },
      { enabled: true, cacheTime: 1000 * 60 * 60 * 24 },
    );

    useAvatar

    Before

    import { useAvatar } from "@coinbase/onchainkit/identity";
    
    const { ensAvatar, isLoading } = useAvatar("vitalik.eth");

    After

    import { useAvatar } from "@coinbase/onchainkit/identity";
    
    // Return type signature is following @tanstack/react-query useQuery hook signature
    const {
      data: avatar,
      isLoading,
      isError,
      error,
      status,
    } = useAvatar(
      { ensName: "vitalik.eth" },
      { enabled: true, cacheTime: 1000 * 60 * 60 * 24 },
    );

v0.9.12

06 Mar 02:12
6b7885c
Compare
Choose a tag to compare

Patch Changes

v0.9.11

06 Mar 00:10
93041c2
Compare
Choose a tag to compare

Patch Changes

  • fix: converted the value for FrameTransactionEthSendParams to string. By @Zizzamia 221 6763bb2

v0.9.10

05 Mar 21:23
e913bf7
Compare
Choose a tag to compare

Patch Changes