@tscircuit/core 0.0.2026 → 0.0.2027
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 +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19561,7 +19561,9 @@ function getAutoroutingPhasePcbTracePaths({
|
|
|
19561
19561
|
let exported = false;
|
|
19562
19562
|
for (const routeIndex of remainingRoutes) {
|
|
19563
19563
|
for (const reverse of [false, true]) {
|
|
19564
|
-
const candidates = endpoints[routeIndex][reverse ? 1 : 0]
|
|
19564
|
+
const candidates = endpoints[routeIndex][reverse ? 1 : 0].filter(
|
|
19565
|
+
(terminal2) => terminal2.pcb_port_id
|
|
19566
|
+
);
|
|
19565
19567
|
if (candidates.length !== 1) continue;
|
|
19566
19568
|
const terminal = candidates[0];
|
|
19567
19569
|
if (!terminal.pcb_port_id || degreeByTerminal.get(terminal) !== 1)
|
|
@@ -65662,7 +65664,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
65662
65664
|
var package_default = {
|
|
65663
65665
|
name: "@tscircuit/core",
|
|
65664
65666
|
type: "module",
|
|
65665
|
-
version: "0.0.
|
|
65667
|
+
version: "0.0.2026",
|
|
65666
65668
|
types: "dist/index.d.ts",
|
|
65667
65669
|
main: "dist/index.js",
|
|
65668
65670
|
module: "dist/index.js",
|
|
@@ -68121,7 +68123,9 @@ var Group5 = class extends NormalComponent {
|
|
|
68121
68123
|
});
|
|
68122
68124
|
}
|
|
68123
68125
|
const savedPhasePaths = getAutoroutingPhasePcbTracePaths({
|
|
68124
|
-
group:
|
|
68126
|
+
group: this.selectAll("group").find(
|
|
68127
|
+
(group) => group.pcb_group_id === routingPhasePlan.fanoutRegionPcbGroupId
|
|
68128
|
+
) ?? routingPhasePlan.autoroutingPhase?.getGroup() ?? this,
|
|
68125
68129
|
subcircuit: this,
|
|
68126
68130
|
input: simpleRouteJson,
|
|
68127
68131
|
traces,
|