Skip to content

Commit

Permalink
Fix PlunderSwap plugin API: remove ignored tool parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtbc committed Feb 5, 2025
1 parent fb76f39 commit 43b45eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions typescript/.changeset/breezy-pants-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@goat-sdk/plugin-plunderswap": minor
---

Remove parameter from PlunderSwap swap tool API.
1 change: 0 additions & 1 deletion typescript/packages/plugins/plunderswap/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export class SwapParameters extends createToolParameters(
.describe(
"minimum bound on how much of the other token, the last in the token path, must be received in exchange",
),
toAddress: z.string().describe("address of the account in which to deposit the tokens received in exchange"),
deadline: z.coerce.date().describe("by when the exchange must be completed"),
}),
) {}
Expand Down

0 comments on commit 43b45eb

Please sign in to comment.