@cadenza.io/core 3.0.21 → 3.0.23

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
@@ -48,7 +48,10 @@ function deepCloneFilter(input, filterOut = () => false) {
48
48
  while (stack.length) {
49
49
  const { source, target, key } = stack.pop();
50
50
  const currentTarget = key !== void 0 ? target[key] : target;
51
- if (key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine") {
51
+ if (
52
+ // TODO Should probably not be done like this...
53
+ key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine" || key === "__httpServer" || key === "__httpsServer" || key === "__socketServer"
54
+ ) {
52
55
  target[key] = source;
53
56
  continue;
54
57
  }
@@ -885,7 +888,6 @@ var GraphNode = class _GraphNode extends SignalEmitter {
885
888
  isRunning: false,
886
889
  isComplete: true,
887
890
  resultContext: this.context.export(),
888
- //TODO: this needs processing
889
891
  errored: this.errored,
890
892
  failed: this.failed,
891
893
  errorMessage: context.__error,
@@ -905,7 +907,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
905
907
  data: {
906
908
  isRunning: false,
907
909
  isComplete: true,
908
- resultContext: context2,
910
+ resultContext: this.context.id,
909
911
  progress: 1,
910
912
  ended: formatTimestamp(end)
911
913
  },