@q9labsai/chalk-whiteboard 5.1.0 → 5.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### follow-view-owner
6
+
7
+ Converge Follow views on one Episode owner, recover from its canonical snapshot,
8
+ and preserve real camera moves during recovery and tab switches. Zoom controls
9
+ and keyboard moves now consistently leave Follow and lead the person's view.
10
+
11
+ Keep all 500 active people's views using internal schema-generated limits in the client and React caches. The client's public bounds, event unions and decoded-frame unions are unchanged. The client now exports `ChalkWhiteboardViewVersions`, which the React SDK uses to order view moves, and whiteboard view events now carry `ownerId`, `ownerSequence` and `originEpoch`, so both releases are minor.
12
+
3
13
  ## 5.1.0
4
14
 
5
15
  - Add headless mode for hosts that draw their own board controls: `WhiteboardCanvas` accepts `headless`, `inkColor` and `onEngineReady`, and the React entry exports `WhiteboardEngineHandle` (clear, clear with undo, place math), `CANONICAL_INK`, and `observeEngineHistory` with `EngineHistoryState`.
@@ -35,9 +35,17 @@ export type WhiteboardCollaborationEvent = {
35
35
  } & ({
36
36
  readonly originParticipantId: string;
37
37
  readonly originSequence: number;
38
+ readonly originEpoch?: string;
38
39
  } | {
39
40
  readonly originParticipantId?: never;
40
41
  readonly originSequence?: never;
42
+ readonly originEpoch?: never;
43
+ }) & ({
44
+ readonly ownerId: string;
45
+ readonly ownerSequence: number;
46
+ } | {
47
+ readonly ownerId?: never;
48
+ readonly ownerSequence?: never;
41
49
  })) | {
42
50
  readonly type: "reset_required";
43
51
  readonly sceneId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q9labsai/chalk-whiteboard",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -71,7 +71,7 @@
71
71
  "@types/react": "^19.0.0",
72
72
  "@types/react-dom": "^19.2.3",
73
73
  "esbuild": "0.28.2",
74
- "happy-dom": "^20.11.2",
74
+ "happy-dom": "^21.0.4",
75
75
  "react": "19.2.7",
76
76
  "react-dom": "19.2.7",
77
77
  "typescript": "^5.7.2"