@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/{chunk-4NULTN5V.mjs → chunk-EFNSI75F.mjs} +2 -2
- package/dist/{chunk-G5GKLIPZ.mjs → chunk-UOPC7KMU.mjs} +9 -9
- package/dist/{chunk-G5GKLIPZ.mjs.map → chunk-UOPC7KMU.mjs.map} +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +8 -8
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-4NULTN5V.mjs.map → chunk-EFNSI75F.mjs.map} +0 -0
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,
|