@kaspacom/swap-sdk 1.1.21 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1334,7 +1334,7 @@ var SwapService = class {
1334
1334
  return num.toFixed(decimals);
1335
1335
  }
1336
1336
  async refreshPairsFromBackend() {
1337
- const response = await fetch(`${this.config.badckendApiUrl}/dex/graph-pairs`, {
1337
+ const response = await fetch(`${this.config.badckendApiUrl}/dex/graph-pairs?network=${this.config.defiApiNetworkName}`, {
1338
1338
  method: "GET"
1339
1339
  });
1340
1340
  if (!response.ok) throw new Error(`Network error: ${response.status}`);