11# Changelog
22
3+ ## 0.11.2
4+
5+ ### Patch Changes
6+
7+ - 695b4a0: - ** feat** : upgraded ` @xmtp/frames-validator ` package to [ 0.6.0] ( https://github.com/xmtp/xmtp-node-js-tools/pull/191 ) . By @zizzamia #278 #277
8+
39## 0.11.1
410
511### Patch Changes
@@ -41,15 +47,15 @@ The input parameters as well as return types of `useName` and `useAvatar` hooks
4147Before
4248
4349``` tsx
44- import { useName } from ' @coinbase/onchainkit/identity' ;
50+ import { useName } from " @coinbase/onchainkit/identity" ;
4551
46- const { ensName, isLoading } = useName (' 0x1234' );
52+ const { ensName, isLoading } = useName (" 0x1234" );
4753```
4854
4955After
5056
5157``` tsx
52- import { useName } from ' @coinbase/onchainkit/identity' ;
58+ import { useName } from " @coinbase/onchainkit/identity" ;
5359
5460// Return type signature is following @tanstack/react-query useQuery hook signature
5561const {
@@ -58,23 +64,26 @@ const {
5864 isError,
5965 error,
6066 status,
61- } = useName ({ address: ' 0x1234' }, { enabled: true , cacheTime: 1000 * 60 * 60 * 24 });
67+ } = useName (
68+ { address: " 0x1234" },
69+ { enabled: true , cacheTime: 1000 * 60 * 60 * 24 },
70+ );
6271```
6372
6473### ` useAvatar `
6574
6675Before
6776
6877``` tsx
69- import { useAvatar } from ' @coinbase/onchainkit/identity' ;
78+ import { useAvatar } from " @coinbase/onchainkit/identity" ;
7079
71- const { ensAvatar, isLoading } = useAvatar (' vitalik.eth' );
80+ const { ensAvatar, isLoading } = useAvatar (" vitalik.eth" );
7281```
7382
7483After
7584
7685``` tsx
77- import { useAvatar } from ' @coinbase/onchainkit/identity' ;
86+ import { useAvatar } from " @coinbase/onchainkit/identity" ;
7887
7988// Return type signature is following @tanstack/react-query useQuery hook signature
8089const {
@@ -83,7 +92,10 @@ const {
8392 isError,
8493 error,
8594 status,
86- } = useAvatar ({ ensName: ' vitalik.eth' }, { enabled: true , cacheTime: 1000 * 60 * 60 * 24 });
95+ } = useAvatar (
96+ { ensName: " vitalik.eth" },
97+ { enabled: true , cacheTime: 1000 * 60 * 60 * 24 },
98+ );
8799```
88100
89101## 0.9.12
0 commit comments