@gearbox-protocol/sdk 13.6.2 → 13.6.3

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.
@@ -66,7 +66,7 @@ class PoolPointsAPI {
66
66
  }
67
67
  static async getTokenTotal(token, network, tokensList) {
68
68
  const chainId = import_sdk.chains[network]?.id;
69
- const url = `https://charts-server.fly.dev/api/getBalanceAt?asset=${token}&chainId=${chainId}`;
69
+ const url = `https://api.gearbox.foundation/v1/getBalanceAt?asset=${token}&chainId=${chainId}`;
70
70
  const result = await import_axios.default.get(url);
71
71
  const balance = result.data.result.reduce(
72
72
  (sum, r) => r.effective_balance + sum,
@@ -36,7 +36,7 @@ class PoolPointsAPI {
36
36
  }
37
37
  static async getTokenTotal(token, network, tokensList) {
38
38
  const chainId = chains[network]?.id;
39
- const url = `https://charts-server.fly.dev/api/getBalanceAt?asset=${token}&chainId=${chainId}`;
39
+ const url = `https://api.gearbox.foundation/v1/getBalanceAt?asset=${token}&chainId=${chainId}`;
40
40
  const result = await axios.get(url);
41
41
  const balance = result.data.result.reduce(
42
42
  (sum, r) => r.effective_balance + sum,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "13.6.2",
3
+ "version": "13.6.3",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",