@glowlabs-org/utils 0.1.3 → 0.1.4

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.
@@ -1,3 +1,3 @@
1
1
  export * from "./lib/create-weekly-report/types/index";
2
2
  export * from "./constants/index";
3
- export { createWeeklyReport } from "./lib/create-weekly-report/index";
3
+ export { createWeeklyReport, createWeeklyReportLegacy, } from "./lib/create-weekly-report/index";
package/dist/cjs/index.js CHANGED
@@ -18897,9 +18897,6 @@ async function createWeeklyReportLegacy(args) {
18897
18897
  };
18898
18898
  }
18899
18899
  async function createWeeklyReport({ week, gcaUrls, apiUrl, }) {
18900
- if (week < 72) {
18901
- return createWeeklyReportLegacy({ week, gcaUrls, apiUrl });
18902
- }
18903
18900
  const map = new Map();
18904
18901
  const [apiResponse, auditsRes] = await Promise.all([
18905
18902
  fetchFarmsForWeek(week, gcaUrls, apiUrl),
@@ -19085,4 +19082,5 @@ async function createWeeklyReport({ week, gcaUrls, apiUrl, }) {
19085
19082
 
19086
19083
  exports.GENESIS_TIMESTAMP = GENESIS_TIMESTAMP;
19087
19084
  exports.createWeeklyReport = createWeeklyReport;
19085
+ exports.createWeeklyReportLegacy = createWeeklyReportLegacy;
19088
19086
  //# sourceMappingURL=index.js.map