From e1ebadb02c4b7f7301ca7909bf96206522e972fc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:20:47 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20version=20packages=20v0.31.3=20?= =?UTF-8?q?=F0=9F=8C=8A=20=20(#1188)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] --- .changeset/sixty-clocks-shop.md | 8 -------- CHANGELOG.md | 29 +++++++++++++++++++---------- package.json | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 .changeset/sixty-clocks-shop.md diff --git a/.changeset/sixty-clocks-shop.md b/.changeset/sixty-clocks-shop.md deleted file mode 100644 index 5be9e2b8ed..0000000000 --- a/.changeset/sixty-clocks-shop.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@coinbase/onchainkit": patch ---- - -- **feat**: added `buildPayTransaction` utilities for making RPC calls to hydrate a charge and build a pay transaction in preparation for `Pay` button. By @avidreder #1177 -- **feat**: implemented custom slippage support sub-components in the `Swap` component. By @cpcramer #1187 #1192 #1191 #1195 #1196 #1206 -- **docs**: added Build Onchain Apps guide using OnchainKit's `app template`. By @zizzamia #1202 -- **fix**: updated v1 `Swap` API to pass the correct slippage unit of measurement. By @cpcramer #1189 diff --git a/CHANGELOG.md b/CHANGELOG.md index 19b09239da..8da56b12e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,21 @@ # Changelog +## 0.31.3 + +### Patch Changes + +- a417d30: - **feat**: added `buildPayTransaction` utilities for making RPC calls to hydrate a charge and build a pay transaction in preparation for `Pay` button. By @avidreder #1177 + - **feat**: implemented custom slippage support sub-components in the `Swap` component. By @cpcramer #1187 #1192 #1191 #1195 #1196 #1206 + - **docs**: added Build Onchain Apps guide using OnchainKit's `app template`. By @zizzamia #1202 + - **fix**: updated v1 `Swap` API to pass the correct slippage unit of measurement. By @cpcramer #1189 + ## 0.31.2 ### Patch Changes - - **feat**: added connect wallet functionality to Swap component for disconnected users. By @abcrane123 #1173 - - **fix**: added logic to refetch balances and clear inputs after Swap succeeds. By @0xAlec #1089 - - **fix**: adjusted Swap component style to prevent UI shifting. By @abcrane123 #1184 +- **feat**: added connect wallet functionality to Swap component for disconnected users. By @abcrane123 #1173 +- **fix**: added logic to refetch balances and clear inputs after Swap succeeds. By @0xAlec #1089 +- **fix**: adjusted Swap component style to prevent UI shifting. By @abcrane123 #1184 ## 0.31.1 @@ -109,30 +118,30 @@ The `onStatus` callback will expose ```ts export type LifeCycleStatus = | { - statusName: "init"; + statusName: 'init'; statusData: null; } | { - statusName: "error"; + statusName: 'error'; statusData: SwapError; } | { - statusName: "amountChange"; + statusName: 'amountChange'; statusData: null; } | { - statusName: "transactionPending"; + statusName: 'transactionPending'; statusData: null; } | { - statusName: "transactionApproved"; + statusName: 'transactionApproved'; statusData: { transactionHash: Hex; - transactionType: "ERC20" | "Permit2"; + transactionType: 'ERC20' | 'Permit2'; }; } | { - statusName: "success"; + statusName: 'success'; statusData: { transactionReceipt: TransactionReceipt; }; diff --git a/package.json b/package.json index 1a93c28433..c0417fe056 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.31.2", + "version": "0.31.3", "type": "module", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT",