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 f11af09 commit 24ce3a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/violet-fishes-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@swapkit/plugin-kado": minor
---

Nightly release
2 changes: 1 addition & 1 deletion packages/plugins/kado/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function plugin({ config: { kadoApiKey } }: SwapKitPluginParams<{ kadoApiKey: st
try {
const isOnRamp = sellAsset.chain === Chain.Fiat;

const transactionType = isOnRamp ? "sell" : "buy";
const transactionType = isOnRamp ? "buy" : "sell";

const currency = (isOnRamp ? sellAsset.symbol : buyAsset.symbol) as KadoFiatCurrency;

Expand Down

0 comments on commit 24ce3a4

Please sign in to comment.