mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
feat: Frontage service code review
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.79-rc19",
|
||||
"version": "0.20.79-rc20",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -45,7 +45,7 @@ export class Frontage {
|
||||
tickers,
|
||||
}: { category: TickersCategories, tickers?: string } & TickersBaseSearchParams) => {
|
||||
const queryParams = new URLSearchParams({
|
||||
tickers: category === 'FAVORITES' && tickers !== undefined ? encodeURIComponent(tickers) : '',
|
||||
tickers: category === 'FAVORITES' && tickers !== undefined ? tickers : '',
|
||||
category: category !== 'FAVORITES' ? encodeURIComponent(category) : '',
|
||||
currentNetwork: currentNetwork !== undefined ? encodeURIComponent(currentNetwork).toUpperCase() : '',
|
||||
targetNetwork: targetNetwork !== undefined ? encodeURIComponent(targetNetwork).toUpperCase() : '',
|
||||
|
||||
Reference in New Issue
Block a user