@cadenza.io/core 3.0.14 → 3.0.15

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
@@ -798,7 +798,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
798
798
  uuid: this.id,
799
799
  routineExecutionId: this.routineExecId,
800
800
  executionTraceId: (_b = context.__executionTraceId) != null ? _b : (_a = context.__metadata) == null ? void 0 : _a.__executionTraceId,
801
- context: this.context.export(),
801
+ context: this.previousNodes.length === 0 ? this.context.id : this.context.export(),
802
802
  taskName: this.task.name,
803
803
  taskVersion: this.task.version,
804
804
  isMeta: this.isMeta(),
@@ -886,6 +886,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
886
886
  isRunning: false,
887
887
  isComplete: true,
888
888
  resultContext: this.context.export(),
889
+ //TODO: this needs processing
889
890
  errored: this.errored,
890
891
  failed: this.failed,
891
892
  errorMessage: context.__error,