@elyx-code/project-logic-tree 0.0.6886 → 0.0.6887

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
@@ -158040,7 +158040,8 @@ class yq {
158040
158040
  return Vt.WhereStatement;
158041
158041
  }
158042
158042
  get isValid() {
158043
- return !!this.operator && !!this.left && !!this.right || this.and.length > 0 || this.or.length > 0;
158043
+ const p = this.left && ("isValid" in this.left ? this.left.isValid : !0), i = this.right && ("isValid" in this.right ? this.right.isValid : !0);
158044
+ return !!this.operator && !!this.left && !!this.right && p && i || this.and.length > 0 || this.or.length > 0;
158044
158045
  }
158045
158046
  get id() {
158046
158047
  return this.type + "--" + this._id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6886",
3
+ "version": "0.0.6887",
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",