Skip to content

Commit

Permalink
chore: version packages v0.11.2 🌊 (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Apr 10, 2024
1 parent 1e09417 commit 5009107
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .changeset/soft-apricots-cross.md

This file was deleted.

28 changes: 20 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.11.2

### Patch Changes

- 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

## 0.11.1

### Patch Changes
Expand Down Expand Up @@ -41,15 +47,15 @@ The input parameters as well as return types of `useName` and `useAvatar` hooks
Before

```tsx
import { useName } from '@coinbase/onchainkit/identity';
import { useName } from "@coinbase/onchainkit/identity";

const { ensName, isLoading } = useName('0x1234');
const { ensName, isLoading } = useName("0x1234");
```

After

```tsx
import { useName } from '@coinbase/onchainkit/identity';
import { useName } from "@coinbase/onchainkit/identity";

// Return type signature is following @tanstack/react-query useQuery hook signature
const {
Expand All @@ -58,23 +64,26 @@ const {
isError,
error,
status,
} = useName({ address: '0x1234' }, { enabled: true, cacheTime: 1000 * 60 * 60 * 24 });
} = useName(
{ address: "0x1234" },
{ enabled: true, cacheTime: 1000 * 60 * 60 * 24 },
);
```

### `useAvatar`

Before

```tsx
import { useAvatar } from '@coinbase/onchainkit/identity';
import { useAvatar } from "@coinbase/onchainkit/identity";

const { ensAvatar, isLoading } = useAvatar('vitalik.eth');
const { ensAvatar, isLoading } = useAvatar("vitalik.eth");
```

After

```tsx
import { useAvatar } from '@coinbase/onchainkit/identity';
import { useAvatar } from "@coinbase/onchainkit/identity";

// Return type signature is following @tanstack/react-query useQuery hook signature
const {
Expand All @@ -83,7 +92,10 @@ const {
isError,
error,
status,
} = useAvatar({ ensName: 'vitalik.eth' }, { enabled: true, cacheTime: 1000 * 60 * 60 * 24 });
} = useAvatar(
{ ensName: "vitalik.eth" },
{ enabled: true, cacheTime: 1000 * 60 * 60 * 24 },
);
```

## 0.9.12
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coinbase/onchainkit",
"version": "0.11.1",
"version": "0.11.2",
"repository": "https://github.com/coinbase/onchainkit.git",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 5009107

Please sign in to comment.