@netless/forge-whiteboard 1.1.0-beta.2 → 1.1.0-beta.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.
@@ -29979,6 +29979,8 @@ var Camera = class extends import_eventemitter37.default {
29979
29979
  this.emit("userViewModeChange", userId, this.requestUserMap(userId).get(WhiteboardKeys.cameraMode), value.oldValue);
29980
29980
  }
29981
29981
  }
29982
+ } else if (value.action === "delete") {
29983
+ debugger;
29982
29984
  }
29983
29985
  }
29984
29986
  });
@@ -32359,6 +32361,7 @@ var WhiteboardApplication = class _WhiteboardApplication extends import_forge_ro
32359
32361
  _WhiteboardApplication.instanceCount.set(this.appId, (_WhiteboardApplication.instanceCount.get(this.appId) ?? 0) + 1);
32360
32362
  (0, import_forge_room12.log)(`whiteboard ${this.appId} initialize. instance count: ${_WhiteboardApplication.instanceCount.get(this.appId) ?? 0}`, {}, "info");
32361
32363
  this.appDoc.transact(() => {
32364
+ console.warn("initialize whiteboard application");
32362
32365
  this.permissions = new WhiteboardPermissions(this.writableManager, this.userManager, (userId) => {
32363
32366
  return this.userMap(userId);
32364
32367
  });
@@ -32557,6 +32560,8 @@ var WhiteboardApplication = class _WhiteboardApplication extends import_forge_ro
32557
32560
  this.rootElement.appendChild(this.liveCursor.container);
32558
32561
  this.getMap("attrs").observe(this.handleViewportUpdate);
32559
32562
  this.writableManager().on("writableChanged", this.handleWritableChanged);
32563
+ console.warn("initialize whiteboard application end");
32564
+ console.log(this.appDoc.toJSON());
32560
32565
  }, "whiteboard-initialize");
32561
32566
  }
32562
32567
  clearElements() {