impermax-sdk 1.2.34 → 1.2.35

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.
@@ -47,7 +47,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
47
47
  [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-base-solv2/v0.0.2',
48
48
  },
49
49
  [types_1.Networks.Scroll]: {
50
- [types_1.Factory.SOLV2]: '',
50
+ [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-scroll-solv2/v0.0.1',
51
51
  },
52
52
  };
53
53
  exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
@@ -472,7 +472,8 @@ function initializeTvlData() {
472
472
  for (const network of networks) {
473
473
  for (const factory in subgraphs_1.IMPERMAX_SUBGRAPH_URL[network]) {
474
474
  const subgraph = subgraphs_1.IMPERMAX_SUBGRAPH_URL[network][factory];
475
- calls.push(this.apolloFetcher(subgraph, query.tvlQuery()));
475
+ if (subgraph && subgraph.length > 0)
476
+ calls.push(this.apolloFetcher(subgraph, query.tvlQuery()));
476
477
  }
477
478
  }
478
479
  let results;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",