@rkmodules/rules 0.0.99 → 0.0.101

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.esm.js CHANGED
@@ -2238,14 +2238,14 @@ var Engine = /** @class */ (function () {
2238
2238
  var _this = this;
2239
2239
  if (inputs === void 0) { inputs = {}; }
2240
2240
  return __generator(this, function (_a) {
2241
- return [2 /*return*/, new Promise(function (resolve) {
2241
+ return [2 /*return*/, new Promise(function (resolve, reject) {
2242
2242
  var unsub = _this.subscribe("result", function (event) {
2243
2243
  if (event.name === node.name) {
2244
2244
  resolve(event);
2245
2245
  unsub();
2246
2246
  }
2247
2247
  });
2248
- _this.run(node, inputs);
2248
+ _this.run(node, inputs).catch(reject);
2249
2249
  })];
2250
2250
  });
2251
2251
  });