@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.js CHANGED
@@ -980,7 +980,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
980
980
  __routineExecId: this.routineExecId
981
981
  };
982
982
  }
983
- this.emit(signal, data);
983
+ this.emitMetrics(signal, data);
984
984
  }
985
985
  emitMetricsWithMetadata(signal, ctx) {
986
986
  const data = { ...ctx };
@@ -3018,7 +3018,7 @@ var AsyncGraphLayer = class extends GraphLayer {
3018
3018
  this.start();
3019
3019
  const result = {};
3020
3020
  while (this.waitingNodes.length > 0) {
3021
- const node = this.waitingNodes.pop();
3021
+ const node = this.waitingNodes.shift();
3022
3022
  if (!node) {
3023
3023
  break;
3024
3024
  }