@tscircuit/core 0.0.2168 → 0.0.2170

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 +4 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -24985,7 +24985,7 @@ function sourceSegmentClearsOtherObstacles(params) {
24985
24985
  const { segment: segment2, sourceObstacle, obstacles, clearance } = params;
24986
24986
  const requiredClearance = segment2.width / 2 + clearance;
24987
24987
  return obstacles.every(
24988
- (obstacle) => obstacle === sourceObstacle || distanceSegmentToObstacle(segment2, obstacle) >= requiredClearance - EPSILON5
24988
+ (obstacle) => obstacle === sourceObstacle || !obstacle.layers.includes(segment2.layer) || distanceSegmentToObstacle(segment2, obstacle) >= requiredClearance - EPSILON5
24989
24989
  );
24990
24990
  }
24991
24991
  function getConnectionCandidates(params) {
@@ -119475,7 +119475,7 @@ var RoutingPhasePreparationError = class extends Error {
119475
119475
  var package_default = {
119476
119476
  name: "@tscircuit/core",
119477
119477
  type: "module",
119478
- version: "0.0.2167",
119478
+ version: "0.0.2169",
119479
119479
  types: "dist/index.d.ts",
119480
119480
  main: "dist/index.js",
119481
119481
  module: "dist/index.js",
@@ -119512,14 +119512,14 @@ var package_default = {
119512
119512
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
119513
119513
  "@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.21.tgz",
119514
119514
  "@tscircuit/cableprinter": "^0.0.6",
119515
- "@tscircuit/capacity-autorouter": "^0.0.985",
119515
+ "@tscircuit/capacity-autorouter": "^0.0.986",
119516
119516
  "@tscircuit/checks": "^0.0.256",
119517
119517
  "@tscircuit/circuit-json-util": "^0.0.122",
119518
119518
  "@tscircuit/common": "^0.0.20",
119519
119519
  "@tscircuit/copper-pour-solver": "^0.0.67",
119520
119520
  "@tscircuit/create-fdm-enclosure": "0.0.4",
119521
119521
  "@tscircuit/dogbone-solver": "https://jscdn.tscircuit.com/@tscircuit/dogbone-solver/0.0.1.tgz",
119522
- "@tscircuit/fanout-solver": "0.0.78",
119522
+ "@tscircuit/fanout-solver": "0.0.81",
119523
119523
  "@tscircuit/flex-utils": "https://jscdn.tscircuit.com/@tscircuit/flex-utils/0.0.8.tgz",
119524
119524
  "@tscircuit/footprinter": "^0.0.440",
119525
119525
  "@tscircuit/image-utils": "^0.0.8",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.2168",
4
+ "version": "0.0.2170",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -38,14 +38,14 @@
38
38
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
39
39
  "@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.21.tgz",
40
40
  "@tscircuit/cableprinter": "^0.0.6",
41
- "@tscircuit/capacity-autorouter": "^0.0.985",
41
+ "@tscircuit/capacity-autorouter": "^0.0.986",
42
42
  "@tscircuit/checks": "^0.0.256",
43
43
  "@tscircuit/circuit-json-util": "^0.0.122",
44
44
  "@tscircuit/common": "^0.0.20",
45
45
  "@tscircuit/copper-pour-solver": "^0.0.67",
46
46
  "@tscircuit/create-fdm-enclosure": "0.0.4",
47
47
  "@tscircuit/dogbone-solver": "https://jscdn.tscircuit.com/@tscircuit/dogbone-solver/0.0.1.tgz",
48
- "@tscircuit/fanout-solver": "0.0.78",
48
+ "@tscircuit/fanout-solver": "0.0.81",
49
49
  "@tscircuit/flex-utils": "https://jscdn.tscircuit.com/@tscircuit/flex-utils/0.0.8.tgz",
50
50
  "@tscircuit/footprinter": "^0.0.440",
51
51
  "@tscircuit/image-utils": "^0.0.8",