@puzzmo/cli 1.0.85 → 1.0.86

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puzzmo/cli",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "puzzmo": "./lib/index.js"
@@ -199,7 +199,8 @@ const setupBoard = (data: Puzzle, savedState?: State) => {
199
199
 
200
200
  /**
201
201
  * Lifecycle entrypoint:
202
- * - `sdk.gameReady()` blocks until the host sends puzzle/state/theme.
202
+ * - `sdk.gameReady()` blocks until the host sends puzzle/state/theme. `puzzleString` is null when
203
+ * the host sends no puzzle (e.g. an endless mode), so we fall back to the built-in board.
203
204
  * - `sdk.gameLoaded()` tells the host we're done bootstrapping; the host will
204
205
  * then dispatch `start` (or restore a paused session).
205
206
  */