@cadenza.io/core 3.0.1 → 3.0.3

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
@@ -943,7 +943,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
943
943
  __routineExecId: this.routineExecId
944
944
  };
945
945
  }
946
- this.emit(signal, data);
946
+ this.emitMetrics(signal, data);
947
947
  }
948
948
  emitMetricsWithMetadata(signal, ctx) {
949
949
  const data = { ...ctx };
@@ -2981,7 +2981,7 @@ var AsyncGraphLayer = class extends GraphLayer {
2981
2981
  this.start();
2982
2982
  const result = {};
2983
2983
  while (this.waitingNodes.length > 0) {
2984
- const node = this.waitingNodes.pop();
2984
+ const node = this.waitingNodes.shift();
2985
2985
  if (!node) {
2986
2986
  break;
2987
2987
  }