@timardex/cluemart-shared 1.5.507 → 1.5.509

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.mjs CHANGED
@@ -678,6 +678,14 @@ function computeDailyClueState(dailyClue) {
678
678
  };
679
679
  }
680
680
  const index = getDayIndex(start, today);
681
+ console.log("DEBUG", {
682
+ end: end.format(),
683
+ index,
684
+ letterToday: shuffled[index],
685
+ shuffledLength: shuffled.length,
686
+ start: start.format(),
687
+ today: today.format()
688
+ });
681
689
  if (index < 0 || index >= shuffled.length) return null;
682
690
  const letterToday = shuffled[index]?.trim().toLowerCase();
683
691
  if (!letterToday) return null;