@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.mjs CHANGED
@@ -11,7 +11,10 @@ function deepCloneFilter(input, filterOut = () => false) {
11
11
  while (stack.length) {
12
12
  const { source, target, key } = stack.pop();
13
13
  const currentTarget = key !== void 0 ? target[key] : target;
14
- if (key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine") {
14
+ if (
15
+ // TODO Should probably not be done like this...
16
+ key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine" || key === "__httpServer" || key === "__httpsServer" || key === "__socketServer"
17
+ ) {
15
18
  target[key] = source;
16
19
  continue;
17
20
  }
@@ -848,7 +851,6 @@ var GraphNode = class _GraphNode extends SignalEmitter {
848
851
  isRunning: false,
849
852
  isComplete: true,
850
853
  resultContext: this.context.export(),
851
- //TODO: this needs processing
852
854
  errored: this.errored,
853
855
  failed: this.failed,
854
856
  errorMessage: context.__error,
@@ -868,7 +870,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
868
870
  data: {
869
871
  isRunning: false,
870
872
  isComplete: true,
871
- resultContext: context2,
873
+ resultContext: this.context.id,
872
874
  progress: 1,
873
875
  ended: formatTimestamp(end)
874
876
  },