Skip to content

Commit

Permalink
feat: set v2 as default API for Swap (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec authored Sep 17, 2024
1 parent e03f217 commit 8904699
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nervous-lamps-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@coinbase/onchainkit': patch
---

**feat**: set v2 as default API for Swap. by @0xAlec #1254
2 changes: 1 addition & 1 deletion src/swap/components/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function Swap({
maxSlippage: DEFAULT_MAX_SLIPPAGE,
},
className,
experimental = { useAggregator: true },
experimental = { useAggregator: false },
onError,
onStatus,
onSuccess,
Expand Down

0 comments on commit 8904699

Please sign in to comment.