@secondlayer/subgraphs 4.1.1 → 4.1.2

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.
@@ -2075,6 +2075,8 @@ function indexEventTypesForFilterTypes(filterTypes) {
2075
2075
  return [...types];
2076
2076
  }
2077
2077
  function referencedIndexEventTypes(subgraph) {
2078
+ if (!subgraph.sources)
2079
+ return [];
2078
2080
  return indexEventTypesForFilterTypes(sourceFilters(subgraph).map((f) => f.type));
2079
2081
  }
2080
2082
  function isStreamsIndexEligible(subgraph) {
@@ -3106,5 +3108,5 @@ export {
3106
3108
  BLOCK_RETRY_DELAYS_MS
3107
3109
  };
3108
3110
 
3109
- //# debugId=549D408DF0062C4864756E2164756E21
3111
+ //# debugId=ABF6EBB4150E31CC64756E2164756E21
3110
3112
  //# sourceMappingURL=block-processor.js.map