diff --git a/package-lock.json b/package-lock.json index b0664f3..68fe828 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tinymanorg/tinyman-swap-widget-sdk", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@tinymanorg/tinyman-swap-widget-sdk", - "version": "1.0.7", + "version": "1.0.8", "license": "ISC", "dependencies": { "@tinymanorg/tinyman-js-sdk": "^3.0.0", diff --git a/package.json b/package.json index 17c3d56..072b38e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/WidgetController.ts b/src/WidgetController.ts index 08a91d1..572f358 100644 --- a/src/WidgetController.ts +++ b/src/WidgetController.ts @@ -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)}`;