@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/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
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-
|
|
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
|
}
|