Skip to content

Commit

Permalink
chore: version packages 🔖 (#1269)
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 Sep 20, 2024
1 parent c2edf33 commit 1baacd4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .changeset/nervous-lamps-jog.md

This file was deleted.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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.32.0",
"version": "0.33.0",
"type": "module",
"repository": "https://github.com/coinbase/onchainkit.git",
"license": "MIT",
Expand Down

0 comments on commit 1baacd4

Please sign in to comment.