microboard-temp 0.4.102 → 0.4.103

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.
@@ -52278,7 +52278,7 @@ class BoardSelection {
52278
52278
  this.handleItemCopy(item, copiedItemsMap);
52279
52279
  });
52280
52280
  this.list().flatMap((item) => {
52281
- if (item instanceof Frame2) {
52281
+ if ("index" in item && item.index) {
52282
52282
  return item.getChildrenIds();
52283
52283
  }
52284
52284
  return [];
package/dist/cjs/index.js CHANGED
@@ -52278,7 +52278,7 @@ class BoardSelection {
52278
52278
  this.handleItemCopy(item, copiedItemsMap);
52279
52279
  });
52280
52280
  this.list().flatMap((item) => {
52281
- if (item instanceof Frame2) {
52281
+ if ("index" in item && item.index) {
52282
52282
  return item.getChildrenIds();
52283
52283
  }
52284
52284
  return [];
package/dist/cjs/node.js CHANGED
@@ -54751,7 +54751,7 @@ class BoardSelection {
54751
54751
  this.handleItemCopy(item, copiedItemsMap);
54752
54752
  });
54753
54753
  this.list().flatMap((item) => {
54754
- if (item instanceof Frame2) {
54754
+ if ("index" in item && item.index) {
54755
54755
  return item.getChildrenIds();
54756
54756
  }
54757
54757
  return [];
@@ -52127,7 +52127,7 @@ class BoardSelection {
52127
52127
  this.handleItemCopy(item, copiedItemsMap);
52128
52128
  });
52129
52129
  this.list().flatMap((item) => {
52130
- if (item instanceof Frame2) {
52130
+ if ("index" in item && item.index) {
52131
52131
  return item.getChildrenIds();
52132
52132
  }
52133
52133
  return [];
package/dist/esm/index.js CHANGED
@@ -52120,7 +52120,7 @@ class BoardSelection {
52120
52120
  this.handleItemCopy(item, copiedItemsMap);
52121
52121
  });
52122
52122
  this.list().flatMap((item) => {
52123
- if (item instanceof Frame2) {
52123
+ if ("index" in item && item.index) {
52124
52124
  return item.getChildrenIds();
52125
52125
  }
52126
52126
  return [];
package/dist/esm/node.js CHANGED
@@ -54588,7 +54588,7 @@ class BoardSelection {
54588
54588
  this.handleItemCopy(item, copiedItemsMap);
54589
54589
  });
54590
54590
  this.list().flatMap((item) => {
54591
- if (item instanceof Frame2) {
54591
+ if ("index" in item && item.index) {
54592
54592
  return item.getChildrenIds();
54593
54593
  }
54594
54594
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.102",
3
+ "version": "0.4.103",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",