@elyx-code/project-logic-tree 0.0.6697 → 0.0.6698

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
@@ -182462,30 +182462,20 @@ function $f(d, p, i = !1) {
182462
182462
  ancestor: c,
182463
182463
  callType: "entry"
182464
182464
  };
182465
- } else if (Li.includes(c.type)) {
182466
- if (d.calledBy.length === 1) {
182467
- if (c.successCalls.includes(
182468
- n
182469
- ))
182470
- return {
182471
- ancestor: c,
182472
- callType: "success"
182473
- };
182474
- if (c.errorCalls.includes(
182475
- n
182476
- ))
182477
- return {
182478
- ancestor: c,
182479
- callType: "error"
182480
- };
182481
- } else if (c.successCalls.includes(
182465
+ } else if (Li.includes(c.type) && n.calledBy.length === 1) {
182466
+ if (c.successCalls.includes(
182482
182467
  n
182483
- ) || c.errorCalls.includes(
182468
+ ))
182469
+ return {
182470
+ ancestor: c,
182471
+ callType: "success"
182472
+ };
182473
+ if (c.errorCalls.includes(
182484
182474
  n
182485
182475
  ))
182486
182476
  return {
182487
- ancestor: null,
182488
- callType: null
182477
+ ancestor: c,
182478
+ callType: "error"
182489
182479
  };
182490
182480
  }
182491
182481
  const E = b.filter((Z) => {
@@ -182627,7 +182617,7 @@ function gji(d) {
182627
182617
  o.OutputMap
182628
182618
  ].includes(d.type))
182629
182619
  throw new Error(
182630
- `[getEarliestSingleCallerAncestorOfValueWriterAndItsValueReaders] Entity: ${d.id} - ${le(
182620
+ `[getEarliestSingleCallerAncestorOfValueWriterAndItsValueReaders] ${d.type}: ${d.id} - ${le(
182631
182621
  d,
182632
182622
  d.project
182633
182623
  )} - Can only be used with a value writer entity`
@@ -182635,7 +182625,7 @@ function gji(d) {
182635
182625
  let p;
182636
182626
  if (fm.includes(d.type) ? p = d : d.type === o.OutputMap && (p = d.parent), !p)
182637
182627
  throw new Error(
182638
- `[getEarliestSingleCallerAncestorOfValueWriterAndItsValueReaders] Entity: ${d.id} - ${le(
182628
+ `[getEarliestSingleCallerAncestorOfValueWriterAndItsValueReaders] ${d.type}: ${d.id} - ${le(
182639
182629
  d,
182640
182630
  d.project
182641
182631
  )} - Can only be used with a value writer entity that has a caller`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6697",
3
+ "version": "0.0.6698",
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",