From 1baacd4583a5acf0139414e31a748d00406a0203 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 09:46:25 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20version=20packages=20=F0=9F=94=96=20(#?= =?UTF-8?q?1269)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] --- .changeset/nervous-lamps-jog.md | 15 --------------- CHANGELOG.md | 17 +++++++++++++++++ package.json | 2 +- 3 files changed, 18 insertions(+), 16 deletions(-) delete mode 100644 .changeset/nervous-lamps-jog.md diff --git a/.changeset/nervous-lamps-jog.md b/.changeset/nervous-lamps-jog.md deleted file mode 100644 index c897c7250c..0000000000 --- a/.changeset/nervous-lamps-jog.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'@coinbase/onchainkit': minor ---- - -- **feat**: set v2 as default API for Swap. by @0xAlec #1254 -- **chore**: updated `SwapSettingsSlippageInput` to use the input config defaultMaxSlippage value. By @cpcramer #1263 -- **feat**: added batched Swap transactions from ERC-20. by @0xAlec #1272 - -Breaking Changes - -Updated `LifecycleStatus` in `Swap` component for swaps from ERC-20 tokens. -Previously, there were 2 transactions when swapping from an ERC-20 token. -Now, there is an extra approval. (Approve ERC-20 against Permit2 -> Approve Uniswap to spend the approved ERC-20s on Permit2 -> Execute Swap Transaction) -Additionally, for Coinbase Smart Wallet users, transaction calls are now batched so only one `transactionApproved` lifecycle status will be emitted under the `Batched` transaction type for swaps from ERC-20s. -If you're listening to the `LifecycleStatus` in `Swap`, please make sure your app accounts for the extra transaction. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a48e73099..c12274b3ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.33.0 + +### Minor Changes + +- 8904699: - **feat**: set v2 as default API for Swap. by @0xAlec #1254 + + - **chore**: updated `SwapSettingsSlippageInput` to use the input config defaultMaxSlippage value. By @cpcramer #1263 + - **feat**: added batched Swap transactions from ERC-20. by @0xAlec #1272 + + Breaking Changes + + Updated `LifecycleStatus` in `Swap` component for swaps from ERC-20 tokens. + Previously, there were 2 transactions when swapping from an ERC-20 token. + Now, there is an extra approval. (Approve ERC-20 against Permit2 -> Approve Uniswap to spend the approved ERC-20s on Permit2 -> Execute Swap Transaction) + Additionally, for Coinbase Smart Wallet users, transaction calls are now batched so only one `transactionApproved` lifecycle status will be emitted under the `Batched` transaction type for swaps from ERC-20s. + If you're listening to the `LifecycleStatus` in `Swap`, please make sure your app accounts for the extra transaction. + ## 0.32.0 ### Minor Changes diff --git a/package.json b/package.json index f4f730d3ec..3a219378a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.32.0", + "version": "0.33.0", "type": "module", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT",