@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/{chunk-MPIOTUCT.mjs → chunk-AUTKJ6QP.mjs} +5 -5
- package/dist/chunk-AUTKJ6QP.mjs.map +1 -0
- package/dist/{chunk-KIMDTSLW.mjs → chunk-O5IIN45V.mjs} +2 -2
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +4 -4
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-MPIOTUCT.mjs.map +0 -1
- /package/dist/{chunk-KIMDTSLW.mjs.map → chunk-O5IIN45V.mjs.map} +0 -0
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
|
}
|