Skip to content

Commit

Permalink
chore: version packages 🔖
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 8, 2024
1 parent 8028007 commit 850c216
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .changeset/nine-wasps-work.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.10.1

### Patch Changes

- 8028007: - **feat**: added `post_url` optional metadata for `tx` Frame. By @zizzamia #235

## 0.10.0

### Minor Changes
Expand All @@ -15,15 +21,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 @@ -32,23 +38,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 @@ -57,7 +66,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.10.0",
"version": "0.10.1",
"repository": "https://github.com/coinbase/onchainkit.git",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 850c216

Please sign in to comment.