@simon-says-build/demo-player 0.13.2 → 0.13.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/core.js +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simon-says-build/demo-player",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "description": "SimonSays mobile demo player: walks a preview's viewer through a job's change, inside the app. Renders nothing unless the bundle carries a demo.",
5
5
  "repository": {
6
6
  "type": "git",
package/src/core.js CHANGED
@@ -10,7 +10,7 @@ import { bubbleBox } from './step-place.js';
10
10
  // What this player is, said when the app registers for "Ready to see"
11
11
  // (packages/ssb-overlay sends it; functions/in-app-notify.mjs clientOf). Kept
12
12
  // equal to package.json by test/core.test.mjs.
13
- export const PLAYER_VERSION = '0.13.2';
13
+ export const PLAYER_VERSION = '0.13.3';
14
14
 
15
15
  export const HOST = 5;
16
16
  export const TEXT = 6;
@@ -210,7 +210,11 @@ let tuck = null;
210
210
  let overlayHere = false;
211
211
  export function setTuckedDemo(resume) { tuck = typeof resume === 'function' ? resume : null; }
212
212
  export const tuckedDemo = () => tuck;
213
- export function announceOverlay() { overlayHere = true; }
213
+ // `on` (0.13.3): the overlay says so only while its button is DRAWN — it draws
214
+ // none for a login SSB does not show it to (a review copy's cast), and a
215
+ // collapsed review with no button and no pill could not be brought back
216
+ // (Connie Ho's review on SSB's simulator, 2026-11-06).
217
+ export function announceOverlay(on = true) { overlayHere = !!on; }
214
218
  export const overlayAnnounced = () => overlayHere;
215
219
 
216
220
  // A DEMO STARTED AT RUN TIME (2026-10-20, the in-app overlay's ▶ Demo, "Ready