@tscircuit/core 0.0.85 → 0.0.86
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 +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2729,6 +2729,12 @@ searched component ${targetComponent.getString()}, which has ports: ${targetComp
|
|
|
2729
2729
|
return p;
|
|
2730
2730
|
});
|
|
2731
2731
|
}
|
|
2732
|
+
if (pcbPortA && trace.route[0].route_type === "wire") {
|
|
2733
|
+
trace.route[0].start_pcb_port_id = pcbPortA;
|
|
2734
|
+
}
|
|
2735
|
+
if (pcbPortB && trace.route[0].route_type === "wire") {
|
|
2736
|
+
trace.route[0].end_pcb_port_id = pcbPortB;
|
|
2737
|
+
}
|
|
2732
2738
|
routes.push(trace.route);
|
|
2733
2739
|
}
|
|
2734
2740
|
const mergedRoute = mergeRoutes(routes);
|