microboard-temp 0.4.31 → 0.4.32

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.
@@ -19465,7 +19465,7 @@ class BaseCommand {
19465
19465
  const op = this.operation;
19466
19466
  let newData = {};
19467
19467
  if (op.prevData) {
19468
- newData = op.prevData;
19468
+ newData = { ...op.prevData };
19469
19469
  } else {
19470
19470
  Object.keys(op.newData).forEach((key) => {
19471
19471
  if (item[key]) {
package/dist/cjs/index.js CHANGED
@@ -19465,7 +19465,7 @@ class BaseCommand {
19465
19465
  const op = this.operation;
19466
19466
  let newData = {};
19467
19467
  if (op.prevData) {
19468
- newData = op.prevData;
19468
+ newData = { ...op.prevData };
19469
19469
  } else {
19470
19470
  Object.keys(op.newData).forEach((key) => {
19471
19471
  if (item[key]) {
package/dist/cjs/node.js CHANGED
@@ -22004,7 +22004,7 @@ class BaseCommand {
22004
22004
  const op = this.operation;
22005
22005
  let newData = {};
22006
22006
  if (op.prevData) {
22007
- newData = op.prevData;
22007
+ newData = { ...op.prevData };
22008
22008
  } else {
22009
22009
  Object.keys(op.newData).forEach((key) => {
22010
22010
  if (item[key]) {
@@ -19315,7 +19315,7 @@ class BaseCommand {
19315
19315
  const op = this.operation;
19316
19316
  let newData = {};
19317
19317
  if (op.prevData) {
19318
- newData = op.prevData;
19318
+ newData = { ...op.prevData };
19319
19319
  } else {
19320
19320
  Object.keys(op.newData).forEach((key) => {
19321
19321
  if (item[key]) {
package/dist/esm/index.js CHANGED
@@ -19308,7 +19308,7 @@ class BaseCommand {
19308
19308
  const op = this.operation;
19309
19309
  let newData = {};
19310
19310
  if (op.prevData) {
19311
- newData = op.prevData;
19311
+ newData = { ...op.prevData };
19312
19312
  } else {
19313
19313
  Object.keys(op.newData).forEach((key) => {
19314
19314
  if (item[key]) {
package/dist/esm/node.js CHANGED
@@ -21842,7 +21842,7 @@ class BaseCommand {
21842
21842
  const op = this.operation;
21843
21843
  let newData = {};
21844
21844
  if (op.prevData) {
21845
- newData = op.prevData;
21845
+ newData = { ...op.prevData };
21846
21846
  } else {
21847
21847
  Object.keys(op.newData).forEach((key) => {
21848
21848
  if (item[key]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.31",
3
+ "version": "0.4.32",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",