Skip to content

Commit 5009107

Browse files
chore: version packages v0.11.2 🌊 (#280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1e09417 commit 5009107

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

.changeset/soft-apricots-cross.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
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
4147
Before
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

4955
After
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
5561
const {
@@ -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

6675
Before
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

7483
After
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
8089
const {
@@ -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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coinbase/onchainkit",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"repository": "https://github.com/coinbase/onchainkit.git",
55
"license": "MIT",
66
"scripts": {

0 commit comments

Comments
 (0)