microboard-temp 0.5.145 → 0.5.147

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.
@@ -52645,6 +52645,7 @@ class BoardSelection {
52645
52645
  memorySnapshot = null;
52646
52646
  constructor(board) {
52647
52647
  this.board = board;
52648
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
52648
52649
  safeRequestAnimationFrame(this.updateScheduledObservers);
52649
52650
  this.tool = new SelectionTransformer(board, this);
52650
52651
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -52707,6 +52708,10 @@ class BoardSelection {
52707
52708
  if (!this.board.events) {
52708
52709
  return;
52709
52710
  }
52711
+ if (operation.method === "transformMany") {
52712
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
52713
+ console.trace("[DEBUG] transformMany stack trace");
52714
+ }
52710
52715
  const command = createCommand(this.board, operation);
52711
52716
  command.apply();
52712
52717
  this.board.events.emit(operation, command);
@@ -56529,6 +56534,10 @@ class Events2 {
56529
56534
  connection?.subscribe(board);
56530
56535
  }
56531
56536
  emit(operation, command) {
56537
+ if (operation.method === "transformMany") {
56538
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
56539
+ console.trace("[DEBUG] transformMany stack trace");
56540
+ }
56532
56541
  const userId = this.getUserId();
56533
56542
  const body = {
56534
56543
  eventId: this.getNextEventId(),
package/dist/cjs/index.js CHANGED
@@ -52645,6 +52645,7 @@ class BoardSelection {
52645
52645
  memorySnapshot = null;
52646
52646
  constructor(board) {
52647
52647
  this.board = board;
52648
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
52648
52649
  safeRequestAnimationFrame(this.updateScheduledObservers);
52649
52650
  this.tool = new SelectionTransformer(board, this);
52650
52651
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -52707,6 +52708,10 @@ class BoardSelection {
52707
52708
  if (!this.board.events) {
52708
52709
  return;
52709
52710
  }
52711
+ if (operation.method === "transformMany") {
52712
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
52713
+ console.trace("[DEBUG] transformMany stack trace");
52714
+ }
52710
52715
  const command = createCommand(this.board, operation);
52711
52716
  command.apply();
52712
52717
  this.board.events.emit(operation, command);
@@ -56529,6 +56534,10 @@ class Events2 {
56529
56534
  connection?.subscribe(board);
56530
56535
  }
56531
56536
  emit(operation, command) {
56537
+ if (operation.method === "transformMany") {
56538
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
56539
+ console.trace("[DEBUG] transformMany stack trace");
56540
+ }
56532
56541
  const userId = this.getUserId();
56533
56542
  const body = {
56534
56543
  eventId: this.getNextEventId(),
package/dist/cjs/node.js CHANGED
@@ -55118,6 +55118,7 @@ class BoardSelection {
55118
55118
  memorySnapshot = null;
55119
55119
  constructor(board) {
55120
55120
  this.board = board;
55121
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
55121
55122
  safeRequestAnimationFrame(this.updateScheduledObservers);
55122
55123
  this.tool = new SelectionTransformer(board, this);
55123
55124
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -55180,6 +55181,10 @@ class BoardSelection {
55180
55181
  if (!this.board.events) {
55181
55182
  return;
55182
55183
  }
55184
+ if (operation.method === "transformMany") {
55185
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
55186
+ console.trace("[DEBUG] transformMany stack trace");
55187
+ }
55183
55188
  const command = createCommand(this.board, operation);
55184
55189
  command.apply();
55185
55190
  this.board.events.emit(operation, command);
@@ -59002,6 +59007,10 @@ class Events2 {
59002
59007
  connection?.subscribe(board);
59003
59008
  }
59004
59009
  emit(operation, command) {
59010
+ if (operation.method === "transformMany") {
59011
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
59012
+ console.trace("[DEBUG] transformMany stack trace");
59013
+ }
59005
59014
  const userId = this.getUserId();
59006
59015
  const body = {
59007
59016
  eventId: this.getNextEventId(),
@@ -52488,6 +52488,7 @@ class BoardSelection {
52488
52488
  memorySnapshot = null;
52489
52489
  constructor(board) {
52490
52490
  this.board = board;
52491
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
52491
52492
  safeRequestAnimationFrame(this.updateScheduledObservers);
52492
52493
  this.tool = new SelectionTransformer(board, this);
52493
52494
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -52550,6 +52551,10 @@ class BoardSelection {
52550
52551
  if (!this.board.events) {
52551
52552
  return;
52552
52553
  }
52554
+ if (operation.method === "transformMany") {
52555
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
52556
+ console.trace("[DEBUG] transformMany stack trace");
52557
+ }
52553
52558
  const command = createCommand(this.board, operation);
52554
52559
  command.apply();
52555
52560
  this.board.events.emit(operation, command);
@@ -56372,6 +56377,10 @@ class Events2 {
56372
56377
  connection?.subscribe(board);
56373
56378
  }
56374
56379
  emit(operation, command) {
56380
+ if (operation.method === "transformMany") {
56381
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
56382
+ console.trace("[DEBUG] transformMany stack trace");
56383
+ }
56375
56384
  const userId = this.getUserId();
56376
56385
  const body = {
56377
56386
  eventId: this.getNextEventId(),
package/dist/esm/index.js CHANGED
@@ -52481,6 +52481,7 @@ class BoardSelection {
52481
52481
  memorySnapshot = null;
52482
52482
  constructor(board) {
52483
52483
  this.board = board;
52484
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
52484
52485
  safeRequestAnimationFrame(this.updateScheduledObservers);
52485
52486
  this.tool = new SelectionTransformer(board, this);
52486
52487
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -52543,6 +52544,10 @@ class BoardSelection {
52543
52544
  if (!this.board.events) {
52544
52545
  return;
52545
52546
  }
52547
+ if (operation.method === "transformMany") {
52548
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
52549
+ console.trace("[DEBUG] transformMany stack trace");
52550
+ }
52546
52551
  const command = createCommand(this.board, operation);
52547
52552
  command.apply();
52548
52553
  this.board.events.emit(operation, command);
@@ -56365,6 +56370,10 @@ class Events2 {
56365
56370
  connection?.subscribe(board);
56366
56371
  }
56367
56372
  emit(operation, command) {
56373
+ if (operation.method === "transformMany") {
56374
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
56375
+ console.trace("[DEBUG] transformMany stack trace");
56376
+ }
56368
56377
  const userId = this.getUserId();
56369
56378
  const body = {
56370
56379
  eventId: this.getNextEventId(),
package/dist/esm/node.js CHANGED
@@ -54949,6 +54949,7 @@ class BoardSelection {
54949
54949
  memorySnapshot = null;
54950
54950
  constructor(board) {
54951
54951
  this.board = board;
54952
+ console.log("[DEBUG] BoardSelection initialized - version check OK");
54952
54953
  safeRequestAnimationFrame(this.updateScheduledObservers);
54953
54954
  this.tool = new SelectionTransformer(board, this);
54954
54955
  this.quickAddButtons = getQuickAddButtons(this, board);
@@ -55011,6 +55012,10 @@ class BoardSelection {
55011
55012
  if (!this.board.events) {
55012
55013
  return;
55013
55014
  }
55015
+ if (operation.method === "transformMany") {
55016
+ console.error("[DEBUG] transformMany emitted!", JSON.stringify(operation));
55017
+ console.trace("[DEBUG] transformMany stack trace");
55018
+ }
55014
55019
  const command = createCommand(this.board, operation);
55015
55020
  command.apply();
55016
55021
  this.board.events.emit(operation, command);
@@ -58833,6 +58838,10 @@ class Events2 {
58833
58838
  connection?.subscribe(board);
58834
58839
  }
58835
58840
  emit(operation, command) {
58841
+ if (operation.method === "transformMany") {
58842
+ console.error("[DEBUG] transformMany emitted from Events.emit!", JSON.stringify(operation));
58843
+ console.trace("[DEBUG] transformMany stack trace");
58844
+ }
58836
58845
  const userId = this.getUserId();
58837
58846
  const body = {
58838
58847
  eventId: this.getNextEventId(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.145",
3
+ "version": "0.5.147",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",