microboard-temp 0.4.31 → 0.4.33

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]) {
@@ -50571,7 +50571,7 @@ class BoardSelection {
50571
50571
  setStrokeWidth(width2) {
50572
50572
  const operation = {
50573
50573
  class: "Shape",
50574
- method: "setStrokeWidth",
50574
+ method: "setBorderWidth",
50575
50575
  item: [],
50576
50576
  width: width2,
50577
50577
  newData: { width: width2 }
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]) {
@@ -50571,7 +50571,7 @@ class BoardSelection {
50571
50571
  setStrokeWidth(width2) {
50572
50572
  const operation = {
50573
50573
  class: "Shape",
50574
- method: "setStrokeWidth",
50574
+ method: "setBorderWidth",
50575
50575
  item: [],
50576
50576
  width: width2,
50577
50577
  newData: { width: width2 }
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]) {
@@ -53111,7 +53111,7 @@ class BoardSelection {
53111
53111
  setStrokeWidth(width2) {
53112
53112
  const operation = {
53113
53113
  class: "Shape",
53114
- method: "setStrokeWidth",
53114
+ method: "setBorderWidth",
53115
53115
  item: [],
53116
53116
  width: width2,
53117
53117
  newData: { width: width2 }
@@ -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]) {
@@ -50421,7 +50421,7 @@ class BoardSelection {
50421
50421
  setStrokeWidth(width2) {
50422
50422
  const operation = {
50423
50423
  class: "Shape",
50424
- method: "setStrokeWidth",
50424
+ method: "setBorderWidth",
50425
50425
  item: [],
50426
50426
  width: width2,
50427
50427
  newData: { width: width2 }
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]) {
@@ -50414,7 +50414,7 @@ class BoardSelection {
50414
50414
  setStrokeWidth(width2) {
50415
50415
  const operation = {
50416
50416
  class: "Shape",
50417
- method: "setStrokeWidth",
50417
+ method: "setBorderWidth",
50418
50418
  item: [],
50419
50419
  width: width2,
50420
50420
  newData: { width: width2 }
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]) {
@@ -52949,7 +52949,7 @@ class BoardSelection {
52949
52949
  setStrokeWidth(width2) {
52950
52950
  const operation = {
52951
52951
  class: "Shape",
52952
- method: "setStrokeWidth",
52952
+ method: "setBorderWidth",
52953
52953
  item: [],
52954
52954
  width: width2,
52955
52955
  newData: { width: width2 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.31",
3
+ "version": "0.4.33",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",