@elyx-code/project-logic-tree 0.0.6841 → 0.0.6843

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.
package/dist/index.js CHANGED
@@ -100653,6 +100653,7 @@ const pi = class pi extends zr {
100653
100653
  let a = JSON.parse(
100654
100654
  JSON.stringify(i)
100655
100655
  );
100656
+ (a.valueAsTypeList || a.valueAsTypeSingle) && (a.name = ye.EntityTemplate);
100656
100657
  const c = [], e = [], f = sui(a, r), h = Jr(
100657
100658
  a
100658
100659
  );
@@ -125745,7 +125746,13 @@ class wn {
125745
125746
  return p;
125746
125747
  }
125747
125748
  move(p, i) {
125748
- this.onlyEntities.includes(p) && p.metaSync(i, this.changeSet);
125749
+ if (this.onlyEntities.includes(p)) {
125750
+ if (!this.changeSet)
125751
+ throw new Error(
125752
+ "Change set is not defined for this area, cannot move entity"
125753
+ );
125754
+ p.metaSync(i, this.changeSet);
125755
+ }
125749
125756
  }
125750
125757
  // Create new areas for the children of this area
125751
125758
  addChild(p) {
@@ -190853,7 +190860,7 @@ function Ou(l, p, i, r, a = {}) {
190853
190860
  ri(
190854
190861
  r,
190855
190862
  c + 1,
190856
- e + 1,
190863
+ h ? e + 1 : e,
190857
190864
  `Part of state instance of parent: ${L}`
190858
190865
  );
190859
190866
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6841",
3
+ "version": "0.0.6843",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",