From 8b270e17fc4288d914b8106fd35289dcd8e6d07b Mon Sep 17 00:00:00 2001 From: Alec Chen <93971719+0xAlec@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:03:01 -0400 Subject: [PATCH 1/3] use `v2` as default --- src/swap/components/Swap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swap/components/Swap.tsx b/src/swap/components/Swap.tsx index 32ed5a6367..55b4826a35 100644 --- a/src/swap/components/Swap.tsx +++ b/src/swap/components/Swap.tsx @@ -17,7 +17,7 @@ export function Swap({ maxSlippage: DEFAULT_MAX_SLIPPAGE, }, className, - experimental = { useAggregator: true }, + experimental = { useAggregator: false }, onError, onStatus, onSuccess, From 0466d8b6d9f06f3af9acde704fe749690add0cd8 Mon Sep 17 00:00:00 2001 From: Alec Chen <93971719+0xAlec@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:04:35 -0400 Subject: [PATCH 2/3] Create nervous-lamps-jog.md --- .changeset/nervous-lamps-jog.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nervous-lamps-jog.md diff --git a/.changeset/nervous-lamps-jog.md b/.changeset/nervous-lamps-jog.md new file mode 100644 index 0000000000..e5b47fa84c --- /dev/null +++ b/.changeset/nervous-lamps-jog.md @@ -0,0 +1,5 @@ +--- +'@coinbase/onchainkit': patch +--- + +feat: set v2 as default API for Swap. by @0xAlec #1254 From e7c2bc0506da7f769a7d0b06ace9ce6997a71de8 Mon Sep 17 00:00:00 2001 From: Alec Chen <93971719+0xAlec@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:04:49 -0400 Subject: [PATCH 3/3] Update nervous-lamps-jog.md --- .changeset/nervous-lamps-jog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/nervous-lamps-jog.md b/.changeset/nervous-lamps-jog.md index e5b47fa84c..191eac4340 100644 --- a/.changeset/nervous-lamps-jog.md +++ b/.changeset/nervous-lamps-jog.md @@ -2,4 +2,4 @@ '@coinbase/onchainkit': patch --- -feat: set v2 as default API for Swap. by @0xAlec #1254 +**feat**: set v2 as default API for Swap. by @0xAlec #1254