@tscircuit/core 0.0.346 → 0.0.347

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5990,6 +5990,10 @@ var Group = class extends NormalComponent {
5990
5990
  const { db } = this.root;
5991
5991
  for (const pcb_trace of output_pcb_traces) {
5992
5992
  pcb_trace.subcircuit_id = this.subcircuit_id;
5993
+ if (pcb_trace.connection_name) {
5994
+ const sourceTraceId = pcb_trace.connection_name;
5995
+ pcb_trace.source_trace_id = sourceTraceId;
5996
+ }
5993
5997
  db.pcb_trace.insert(pcb_trace);
5994
5998
  }
5995
5999
  for (const pcb_trace of output_pcb_traces) {
@@ -7260,7 +7264,7 @@ import { identity as identity4 } from "transformation-matrix";
7260
7264
  var package_default = {
7261
7265
  name: "@tscircuit/core",
7262
7266
  type: "module",
7263
- version: "0.0.345",
7267
+ version: "0.0.346",
7264
7268
  types: "dist/index.d.ts",
7265
7269
  main: "dist/index.js",
7266
7270
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.346",
4
+ "version": "0.0.347",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",