@elyx-code/project-logic-tree 0.0.6711 → 0.0.6712

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
@@ -82509,7 +82509,7 @@ const wi = class wi extends Gr {
82509
82509
  editable: !0,
82510
82510
  type: d.FunctionCall,
82511
82511
  writesValues: [],
82512
- catchesError: !0,
82512
+ catchesError: !1,
82513
82513
  declaration: null,
82514
82514
  inputs: [],
82515
82515
  outputs: [],
@@ -86268,7 +86268,7 @@ Please consider than any updates might affect the overlap with the signature of
86268
86268
  )
86269
86269
  ), n, s = {}) {
86270
86270
  const c = {
86271
- catchesError: !0,
86271
+ catchesError: !1,
86272
86272
  id: s.id || x.UUID.uuid(),
86273
86273
  version: s.version || x.UUID.uuid(),
86274
86274
  createdAt: s.createdAt || (i == null ? void 0 : i.timestamp) || G().toISOString(),
@@ -86989,7 +86989,7 @@ const di = class di extends Gr {
86989
86989
  editable: !0,
86990
86990
  type: d.Operation,
86991
86991
  writesValues: [],
86992
- catchesError: !0,
86992
+ catchesError: !1,
86993
86993
  declaration: null,
86994
86994
  inputs: [],
86995
86995
  outputs: [],
@@ -93251,7 +93251,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
93251
93251
  )
93252
93252
  ), n, s) {
93253
93253
  const c = n || this.project, e = s || x.UUID.uuid(), y = x.UUID.uuid(), m = {
93254
- catchesError: !0,
93254
+ catchesError: !1,
93255
93255
  id: e,
93256
93256
  version: y,
93257
93257
  createdAt: (i == null ? void 0 : i.timestamp) || G().toISOString(),
@@ -93294,7 +93294,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
93294
93294
  )
93295
93295
  ), n, s) {
93296
93296
  const c = n || this.project, e = s || x.UUID.uuid(), y = x.UUID.uuid(), m = {
93297
- catchesError: !0,
93297
+ catchesError: !1,
93298
93298
  id: e,
93299
93299
  version: y,
93300
93300
  createdAt: (i == null ? void 0 : i.timestamp) || G().toISOString(),
@@ -93548,7 +93548,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
93548
93548
  )
93549
93549
  ), n, s = {}) {
93550
93550
  const c = {
93551
- catchesError: !0,
93551
+ catchesError: !1,
93552
93552
  id: s.id || x.UUID.uuid(),
93553
93553
  version: s.version || x.UUID.uuid(),
93554
93554
  createdAt: s.createdAt || (i == null ? void 0 : i.timestamp) || G().toISOString(),
@@ -93688,7 +93688,7 @@ const Zt = class Zt extends Gr {
93688
93688
  editable: !0,
93689
93689
  type: d.Loop,
93690
93690
  writesValues: [],
93691
- catchesError: !0,
93691
+ catchesError: !1,
93692
93692
  declaration: null,
93693
93693
  inputs: [],
93694
93694
  outputs: [],
@@ -125193,7 +125193,7 @@ const fi = class fi extends Gr {
125193
125193
  deletable: !0,
125194
125194
  editable: !0,
125195
125195
  type: d.VariableInstance,
125196
- catchesError: !0,
125196
+ catchesError: !1,
125197
125197
  declaration: null,
125198
125198
  internalCalls: [],
125199
125199
  successCalls: [],
@@ -127613,7 +127613,7 @@ const yi = class yi extends Gr {
127613
127613
  deletable: !0,
127614
127614
  editable: !0,
127615
127615
  type: d.VariableDeclaration,
127616
- catchesError: !0,
127616
+ catchesError: !1,
127617
127617
  name: "",
127618
127618
  codeName: null,
127619
127619
  description: "",
@@ -129752,7 +129752,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
129752
129752
  return;
129753
129753
  }
129754
129754
  if (!v.find(
129755
- (w) => b.declaration === w
129755
+ (w) => {
129756
+ var V;
129757
+ return ((V = b.declaration) == null ? void 0 : V.id) === (w == null ? void 0 : w.id);
129758
+ }
129756
129759
  )) {
129757
129760
  const w = b.remove({ ignoreUpstream: !1 }, i);
129758
129761
  c.push(...w.removed), n.push(...w.updated);
@@ -130001,7 +130004,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
130001
130004
  if (this.dataType.entity)
130002
130005
  this.dataType.isObject() && [
130003
130006
  ...this.dataType.entity.properties
130004
- ].filter((v) => !this.outputs.find((b) => b.declaration === v)).map((v) => {
130007
+ ].filter((v) => !this.outputs.find((b) => {
130008
+ var E;
130009
+ return ((E = b.declaration) == null ? void 0 : E.id) === (v == null ? void 0 : v.id);
130010
+ })).map((v) => {
130005
130011
  const b = {
130006
130012
  id: x.UUID.uuid(),
130007
130013
  version: x.UUID.uuid(),
@@ -130013,10 +130019,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
130013
130019
  editable: !0,
130014
130020
  type: d.OutputMap,
130015
130021
  parent: this.toReference(),
130016
- declaration: v,
130022
+ declaration: v == null ? void 0 : v.toJSON(),
130017
130023
  index: v.index,
130018
130024
  writesValues: []
130019
- }, E = he(
130025
+ };
130026
+ if (this.id === "0f7ef123-9320-4a91-9bb6-32f4e77e52f2")
130027
+ throw console.log("Creating output for property:", v), new Error("[VariableDeclarationState.syncOutputs] Creating new output from property");
130028
+ const E = he(
130020
130029
  b,
130021
130030
  this.project
130022
130031
  );
@@ -151636,7 +151645,7 @@ const hi = class hi extends Gr {
151636
151645
  editable: !0,
151637
151646
  type: d.Search,
151638
151647
  writesValues: [],
151639
- catchesError: !0,
151648
+ catchesError: !1,
151640
151649
  name: "",
151641
151650
  description: "",
151642
151651
  inputsDeclarations: [],
@@ -154823,7 +154832,7 @@ const mi = class mi extends Gr {
154823
154832
  editable: !0,
154824
154833
  type: d.InternalCall,
154825
154834
  writesValues: [],
154826
- catchesError: !0,
154835
+ catchesError: !1,
154827
154836
  declaration: null,
154828
154837
  inputs: [],
154829
154838
  outputs: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6711",
3
+ "version": "0.0.6712",
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",