Skip to content

Commit

Permalink
chore: bump sdk nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 3, 2024
1 parent d9038a4 commit 918773f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-socks-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@swapkit/plugin-kado": minor
---

Nightly release
13 changes: 5 additions & 8 deletions packages/plugins/kado/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,12 @@ function plugin({ config: { kadoApiKey } }: SwapKitPluginParams<{ kadoApiKey: st
currency,
};

const quote = await RequestClient.get<KadoQuoteResponse>(
"https://api.kado.money/v2/ramp/quote",
{
json: quoteRequest,
headers: {
"X-Widget-Id": kadoApiKey,
},
const quote = await RequestClient.get<KadoQuoteResponse>("https://api.kado.money/v2/ramp/quote", {
searchParams: quoteRequest,
headers: {
"X-Widget-Id": kadoApiKey,
},
);
});

if (!quote.success) {
throw new Error(quote.message);
Expand Down

0 comments on commit 918773f

Please sign in to comment.