From 71002ec99bb8843627cd165bcc1a9625cbc0ee2f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:57:26 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20version=20packages=20v0.10.2=20?= =?UTF-8?q?=F0=9F=8C=8A=20(#245)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] --- .changeset/angry-fishes-greet.md | 5 ----- CHANGELOG.md | 28 ++++++++++++++++++++-------- package.json | 2 +- 3 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 .changeset/angry-fishes-greet.md diff --git a/.changeset/angry-fishes-greet.md b/.changeset/angry-fishes-greet.md deleted file mode 100644 index 8c92889fc..000000000 --- a/.changeset/angry-fishes-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@coinbase/onchainkit': patch ---- - -fix: `button.target` is not dependent on `button.action` (#243) diff --git a/CHANGELOG.md b/CHANGELOG.md index f09a0117d..e5ff5ed10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.10.2 + +### Patch Changes + +- d0a2a35: fix: `button.target` is not dependent on `button.action` (#243) + ## 0.10.1 ### Patch Changes @@ -23,15 +29,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 { @@ -40,7 +46,10 @@ 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` @@ -48,15 +57,15 @@ const { 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 { @@ -65,7 +74,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 diff --git a/package.json b/package.json index 940623d4f..bdf8f334e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.10.1", + "version": "0.10.2", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT", "scripts": {