@tscircuit/core 0.0.1934 → 0.0.1935

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 +8 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -53754,7 +53754,8 @@ var getBusesForSimpleRouteJson = ({
53754
53754
  buses,
53755
53755
  sourceTraces,
53756
53756
  subcircuitId,
53757
- planeTerminatedSourceTraceLayers
53757
+ planeTerminatedSourceTraceLayers,
53758
+ preservedSourceTraceIds
53758
53759
  }) => {
53759
53760
  const declaredSrjBuses = [];
53760
53761
  for (const bus of buses) {
@@ -53770,6 +53771,7 @@ var getBusesForSimpleRouteJson = ({
53770
53771
  busSourceTraces,
53771
53772
  traceNameOrPortSelector
53772
53773
  });
53774
+ if (preservedSourceTraceIds?.has(sourceTraceId)) return [];
53773
53775
  return getBusSrjConnectionNamesOrThrow({
53774
53776
  srjConnections,
53775
53777
  bus,
@@ -53783,6 +53785,7 @@ var getBusesForSimpleRouteJson = ({
53783
53785
  `Bus "${bus.name}" resolves multiple entries to one trace`
53784
53786
  );
53785
53787
  }
53788
+ if (connectionNames.length === 0) continue;
53786
53789
  declaredSrjBuses.push({
53787
53790
  busId: bus.name,
53788
53791
  name: bus.name,
@@ -54695,7 +54698,8 @@ var getSimpleRouteJsonFromCircuitJson = ({
54695
54698
  buses,
54696
54699
  sourceTraces: db.source_trace.list(),
54697
54700
  subcircuitId: subcircuit_id,
54698
- planeTerminatedSourceTraceLayers
54701
+ planeTerminatedSourceTraceLayers,
54702
+ preservedSourceTraceIds: sourceTraceIdsAlreadyPreservedAsSrjTraces
54699
54703
  });
54700
54704
  if (subcircuit_id) {
54701
54705
  const pointIdToConn = /* @__PURE__ */ new Map();
@@ -63356,7 +63360,7 @@ function Group_getRoutingPhasePlans(group) {
63356
63360
  var package_default = {
63357
63361
  name: "@tscircuit/core",
63358
63362
  type: "module",
63359
- version: "0.0.1933",
63363
+ version: "0.0.1934",
63360
63364
  types: "dist/index.d.ts",
63361
63365
  main: "dist/index.js",
63362
63366
  module: "dist/index.js",
@@ -63392,7 +63396,7 @@ var package_default = {
63392
63396
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
63393
63397
  "@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
63394
63398
  "@tscircuit/capacity-autorouter": "^0.0.900",
63395
- "@tscircuit/checks": "^0.0.199",
63399
+ "@tscircuit/checks": "^0.0.200",
63396
63400
  "@tscircuit/circuit-json-util": "^0.0.114",
63397
63401
  "@tscircuit/common": "^0.0.20",
63398
63402
  "@tscircuit/copper-pour-solver": "^0.0.54",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1934",
4
+ "version": "0.0.1935",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
38
38
  "@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
39
39
  "@tscircuit/capacity-autorouter": "^0.0.900",
40
- "@tscircuit/checks": "^0.0.199",
40
+ "@tscircuit/checks": "^0.0.200",
41
41
  "@tscircuit/circuit-json-util": "^0.0.114",
42
42
  "@tscircuit/common": "^0.0.20",
43
43
  "@tscircuit/copper-pour-solver": "^0.0.54",