@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.
@@ -1,4 +1,4 @@
1
- import "../chunk-KIMDTSLW.mjs";
1
+ import "../chunk-O5IIN45V.mjs";
2
2
  import "../chunk-RQDZX76B.mjs";
3
3
  import "../chunk-DWO35OY4.mjs";
4
4
  import "../chunk-I7WE3EBR.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  dateFormat,
15
15
  normalizeUrl,
16
16
  timeFormat
17
- } from "../chunk-MPIOTUCT.mjs";
17
+ } from "../chunk-AUTKJ6QP.mjs";
18
18
  import {
19
19
  EnumEventDateStatus,
20
20
  EnumEventType,
package/dist/index.cjs CHANGED
@@ -860,13 +860,13 @@ function getDayIndex(startDate) {
860
860
  function computeDailyClueState(dailyClue) {
861
861
  const { startDate, endDate } = dailyClue.gameFields.gameDate;
862
862
  const { shuffled, collected } = dailyClue.letterInfo;
863
- const shuffledPlacements = seededShuffle(
864
- gameScreenIdentifierList,
865
- startDate.toISOString()
866
- );
867
863
  const today = (0, import_dayjs.default)().utc().startOf("day");
868
864
  const start = (0, import_dayjs.default)(startDate).utc().startOf("day");
869
865
  const end = (0, import_dayjs.default)(endDate).utc().startOf("day");
866
+ const shuffledPlacements = seededShuffle(
867
+ gameScreenIdentifierList,
868
+ start.toISOString()
869
+ );
870
870
  if (today.isBefore(start)) {
871
871
  return null;
872
872
  }