Skip to content

Commit

Permalink
Merge pull request #11 from tinymanorg/fix/add-selectable-assets-para…
Browse files Browse the repository at this point in the history
…meter-correctly

Change selectable asset parameter value
  • Loading branch information
Anlerkan authored Jun 3, 2024
2 parents 9543860 + 17f3a8f commit 150c1be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tinymanorg/tinyman-swap-widget-sdk",
"version": "1.0.7",
"version": "1.0.8",
"description": "Easily integrate Tinyman Swap Widget into your dApp with JavaScript SDK.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/WidgetController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class WidgetController {

if (selectableAssets) {
searchParams[SwapWidgetSearchParamKey.SELECTABLE_ASSETS] =
JSON.stringify(selectableAssets);
selectableAssets.join(",");
}

return `${SWAP_WIDGET_BASE_URL}?${new URLSearchParams(searchParams)}`;
Expand Down

0 comments on commit 150c1be

Please sign in to comment.