@tscircuit/capacity-autorouter 0.0.11 → 0.0.12

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
@@ -4898,7 +4898,7 @@ var CapacityMeshSolver = class extends BaseSolver {
4898
4898
  this.startTimeOfPhase[pipelineStepDef.solverName] = performance.now();
4899
4899
  }
4900
4900
  getCurrentPhase() {
4901
- return this.pipelineDef[this.currentPipelineStepIndex].solverName;
4901
+ return this.pipelineDef[this.currentPipelineStepIndex]?.solverName ?? "none";
4902
4902
  }
4903
4903
  visualize() {
4904
4904
  if (!this.solved && this.activeSolver) return this.activeSolver.visualize();