@rkmodules/rules 0.0.167 → 0.0.168

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.cjs.js CHANGED
@@ -3555,7 +3555,8 @@ var Engine = /** @class */ (function () {
3555
3555
  // get inputs defaults
3556
3556
  var fn = this.fnIndex[nodeName];
3557
3557
  if (!fn) {
3558
- throw new Error("Function ".concat(nodeName, " not found in index. Use engine.build() to add custom functions."));
3558
+ console.warn("Function ".concat(nodeName, " not found in index. Use engine.build() to add custom functions."));
3559
+ return oldFn;
3559
3560
  }
3560
3561
  var inputs = {};
3561
3562
  Object.entries(fn.inputs || {}).forEach(function (_a) {