@cadenza.io/core 3.0.20 → 3.0.22

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
@@ -885,7 +885,6 @@ var GraphNode = class _GraphNode extends SignalEmitter {
885
885
  isRunning: false,
886
886
  isComplete: true,
887
887
  resultContext: this.context.export(),
888
- //TODO: this needs processing
889
888
  errored: this.errored,
890
889
  failed: this.failed,
891
890
  errorMessage: context.__error,
@@ -905,7 +904,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
905
904
  data: {
906
905
  isRunning: false,
907
906
  isComplete: true,
908
- resultContext: context2,
907
+ resultContext: this.context.id,
909
908
  progress: 1,
910
909
  ended: formatTimestamp(end)
911
910
  },
@@ -1574,7 +1573,7 @@ var Task = class extends SignalEmitter {
1574
1573
  this.getTag = (context) => getTagCallback(context, this);
1575
1574
  this.throttled = true;
1576
1575
  }
1577
- if (register && !this.isHidden && !this.isSubMeta) {
1576
+ if (register && !this.isHidden) {
1578
1577
  const { __functionString, __getTagCallback } = this.export();
1579
1578
  this.emitWithMetadata("meta.task.created", {
1580
1579
  data: {
@@ -1601,7 +1600,8 @@ var Task = class extends SignalEmitter {
1601
1600
  // inputContextSchemaId: this.inputContextSchema,
1602
1601
  // outputContextSchemaId: this.outputContextSchema,
1603
1602
  },
1604
- __taskInstance: this
1603
+ __taskInstance: this,
1604
+ __isSubMeta: this.isSubMeta
1605
1605
  });
1606
1606
  }
1607
1607
  }