@tscircuit/core 0.0.698 → 0.0.700

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 +7 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -8109,7 +8109,10 @@ var getSimpleRouteJsonFromCircuitJson = ({
8109
8109
  };
8110
8110
  }
8111
8111
  }
8112
- const directTraceConnections = db.source_trace.list().map((trace) => {
8112
+ const routedTraceIds = new Set(
8113
+ db.pcb_trace.list().map((t) => t.source_trace_id).filter((id) => Boolean(id))
8114
+ );
8115
+ const directTraceConnections = db.source_trace.list().filter((trace) => !routedTraceIds.has(trace.source_trace_id)).map((trace) => {
8113
8116
  const connectedPorts = trace.connected_source_port_ids.map((id) => {
8114
8117
  const source_port = db.source_port.get(id);
8115
8118
  const pcb_port = db.pcb_port.getWhere({ source_port_id: id });
@@ -14354,7 +14357,7 @@ import { identity as identity6 } from "transformation-matrix";
14354
14357
  var package_default = {
14355
14358
  name: "@tscircuit/core",
14356
14359
  type: "module",
14357
- version: "0.0.697",
14360
+ version: "0.0.699",
14358
14361
  types: "dist/index.d.ts",
14359
14362
  main: "dist/index.js",
14360
14363
  module: "dist/index.js",
@@ -14396,7 +14399,7 @@ var package_default = {
14396
14399
  "@tscircuit/props": "0.0.298",
14397
14400
  "@tscircuit/schematic-autolayout": "^0.0.6",
14398
14401
  "@tscircuit/schematic-match-adapt": "^0.0.16",
14399
- "@tscircuit/schematic-trace-solver": "^0.0.34",
14402
+ "@tscircuit/schematic-trace-solver": "^0.0.35",
14400
14403
  "@tscircuit/simple-3d-svg": "^0.0.38",
14401
14404
  "@types/bun": "^1.2.16",
14402
14405
  "@types/debug": "^4.1.12",
@@ -14405,7 +14408,7 @@ var package_default = {
14405
14408
  "@types/react-reconciler": "^0.28.9",
14406
14409
  "bpc-graph": "^0.0.57",
14407
14410
  "bun-match-svg": "0.0.12",
14408
- "calculate-elbow": "^0.0.11",
14411
+ "calculate-elbow": "^0.0.12",
14409
14412
  "chokidar-cli": "^3.0.0",
14410
14413
  "circuit-json": "^0.0.245",
14411
14414
  "circuit-json-to-bpc": "^0.0.13",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.698",
4
+ "version": "0.0.700",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@tscircuit/props": "0.0.298",
44
44
  "@tscircuit/schematic-autolayout": "^0.0.6",
45
45
  "@tscircuit/schematic-match-adapt": "^0.0.16",
46
- "@tscircuit/schematic-trace-solver": "^0.0.34",
46
+ "@tscircuit/schematic-trace-solver": "^0.0.35",
47
47
  "@tscircuit/simple-3d-svg": "^0.0.38",
48
48
  "@types/bun": "^1.2.16",
49
49
  "@types/debug": "^4.1.12",
@@ -52,7 +52,7 @@
52
52
  "@types/react-reconciler": "^0.28.9",
53
53
  "bpc-graph": "^0.0.57",
54
54
  "bun-match-svg": "0.0.12",
55
- "calculate-elbow": "^0.0.11",
55
+ "calculate-elbow": "^0.0.12",
56
56
  "chokidar-cli": "^3.0.0",
57
57
  "circuit-json": "^0.0.245",
58
58
  "circuit-json-to-bpc": "^0.0.13",