@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1366,7 +1366,7 @@ var SwapService = class {
|
|
|
1366
1366
|
return num.toFixed(decimals);
|
|
1367
1367
|
}
|
|
1368
1368
|
async refreshPairsFromBackend() {
|
|
1369
|
-
const response = await fetch(`${this.config.badckendApiUrl}/dex/graph-pairs`, {
|
|
1369
|
+
const response = await fetch(`${this.config.badckendApiUrl}/dex/graph-pairs?network=${this.config.defiApiNetworkName}`, {
|
|
1370
1370
|
method: "GET"
|
|
1371
1371
|
});
|
|
1372
1372
|
if (!response.ok) throw new Error(`Network error: ${response.status}`);
|