@timardex/cluemart-shared 1.5.496 → 1.5.498

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
@@ -565,13 +565,13 @@ function getDayIndex(startDate) {
565
565
  function computeDailyClueState(dailyClue) {
566
566
  const { startDate, endDate } = dailyClue.gameFields.gameDate;
567
567
  const { shuffled, collected } = dailyClue.letterInfo;
568
- const shuffledPlacements = seededShuffle(
569
- gameScreenIdentifierList,
570
- startDate.toISOString()
571
- );
572
568
  const today = dayjs().utc().startOf("day");
573
569
  const start = dayjs(startDate).utc().startOf("day");
574
570
  const end = dayjs(endDate).utc().startOf("day");
571
+ const shuffledPlacements = seededShuffle(
572
+ gameScreenIdentifierList,
573
+ start.toISOString()
574
+ );
575
575
  if (today.isBefore(start)) {
576
576
  return null;
577
577
  }