@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.mjs CHANGED
@@ -934,7 +934,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
934
934
  this.emitWithMetadata.bind(this),
935
935
  this.onProgress.bind(this)
936
936
  );
937
- if (result.errored || result.failed) {
937
+ if ((result == null ? void 0 : result.errored) || (result == null ? void 0 : result.failed)) {
938
938
  return this.retry(result);
939
939
  }
940
940
  return result;
@@ -1052,6 +1052,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
1052
1052
  __error: `Node error: ${error}`,
1053
1053
  __retries: this.retries,
1054
1054
  error: `Node error: ${error}`,
1055
+ errored: true,
1055
1056
  returnedValue: this.result,
1056
1057
  ...errorData
1057
1058
  };