@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.
Files changed (2) hide show
  1. package/dist/index.js +6 -0
  2. 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);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.85",
4
+ "version": "0.0.86",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",