@cadenza.io/core 3.1.3 → 3.1.4

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
@@ -971,7 +971,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
971
971
  this.emitWithMetadata.bind(this),
972
972
  this.onProgress.bind(this)
973
973
  );
974
- if (result.errored || result.failed) {
974
+ if ((result == null ? void 0 : result.errored) || (result == null ? void 0 : result.failed)) {
975
975
  return this.retry(result);
976
976
  }
977
977
  return result;
@@ -1089,6 +1089,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
1089
1089
  __error: `Node error: ${error}`,
1090
1090
  __retries: this.retries,
1091
1091
  error: `Node error: ${error}`,
1092
+ errored: true,
1092
1093
  returnedValue: this.result,
1093
1094
  ...errorData
1094
1095
  };