@timardex/cluemart-shared 1.5.508 → 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;
@@ -692,14 +700,6 @@ function computeDailyClueState(dailyClue) {
692
700
  todaysPlacement: null
693
701
  };
694
702
  }
695
- console.log("DEBUG", {
696
- end: end.format(),
697
- index,
698
- letterToday: shuffled[index],
699
- shuffledLength: shuffled.length,
700
- start: start.format(),
701
- today: today.format()
702
- });
703
703
  return {
704
704
  gameHistory: null,
705
705
  todaysClue: shuffledPlacements[index].clue,