@tscircuit/core 0.0.1231 → 0.0.1232
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 +13 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18318,6 +18318,18 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
18318
18318
|
plan.reroute = phaseProps?.reroute;
|
|
18319
18319
|
plan.region = phaseProps?.region;
|
|
18320
18320
|
}
|
|
18321
|
+
const defaultPhaseProps = phasePropsByPhaseIndex.get(null);
|
|
18322
|
+
if (phasePropsByPhaseIndex.size === 1 && defaultPhaseProps?.reroute && plans.length === 1 && plans[0]?.routingPhaseIndex === null) {
|
|
18323
|
+
const reroutePlan = plans[0];
|
|
18324
|
+
return [
|
|
18325
|
+
{
|
|
18326
|
+
routingPhaseIndex: null,
|
|
18327
|
+
nets: [...reroutePlan.nets],
|
|
18328
|
+
traces: [...reroutePlan.traces]
|
|
18329
|
+
},
|
|
18330
|
+
reroutePlan
|
|
18331
|
+
];
|
|
18332
|
+
}
|
|
18321
18333
|
return plans;
|
|
18322
18334
|
}
|
|
18323
18335
|
|
|
@@ -20635,7 +20647,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
20635
20647
|
var package_default = {
|
|
20636
20648
|
name: "@tscircuit/core",
|
|
20637
20649
|
type: "module",
|
|
20638
|
-
version: "0.0.
|
|
20650
|
+
version: "0.0.1231",
|
|
20639
20651
|
types: "dist/index.d.ts",
|
|
20640
20652
|
main: "dist/index.js",
|
|
20641
20653
|
module: "dist/index.js",
|