Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Oct 7, 2024
1 parent 428234f commit f2447b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "validators-dao/sol-swap" }
{ "repo": "validatorsdao/typescript-library" }
],
"commit": false,
"fixed": [],
Expand Down
2 changes: 2 additions & 0 deletions packages/sol-swap/src/examples/jupiter/getQuote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const getQuote = async () => {
if (typeof quote === 'string') {
throw new Error(quote)
}
const estimatedAmount = quote.outAmount
console.log(`Estimated Amount: ${estimatedAmount}`)
await jupiterSwap(quote)
}

Expand Down

0 comments on commit f2447b4

Please sign in to comment.