@tscircuit/core 0.0.2143 → 0.0.2145

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 -9
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -116103,13 +116103,11 @@ function createSchematicTraceSolverInputProblem(group, opts = {}) {
116103
116103
  width: schematicComponent.size.width,
116104
116104
  height: schematicComponent.size.height
116105
116105
  });
116106
- if (schematicComponent.is_box_with_pins !== false) {
116107
- for (const port of schematicPorts) {
116108
- obstacleBounds.minX = Math.min(obstacleBounds.minX, port.center.x);
116109
- obstacleBounds.maxX = Math.max(obstacleBounds.maxX, port.center.x);
116110
- obstacleBounds.minY = Math.min(obstacleBounds.minY, port.center.y);
116111
- obstacleBounds.maxY = Math.max(obstacleBounds.maxY, port.center.y);
116112
- }
116106
+ for (const port of schematicPorts) {
116107
+ obstacleBounds.minX = Math.min(obstacleBounds.minX, port.center.x);
116108
+ obstacleBounds.maxX = Math.max(obstacleBounds.maxX, port.center.x);
116109
+ obstacleBounds.minY = Math.min(obstacleBounds.minY, port.center.y);
116110
+ obstacleBounds.maxY = Math.max(obstacleBounds.maxY, port.center.y);
116113
116111
  }
116114
116112
  chips.push({
116115
116113
  chipId,
@@ -118545,7 +118543,7 @@ var RoutingPhasePreparationError = class extends Error {
118545
118543
  var package_default = {
118546
118544
  name: "@tscircuit/core",
118547
118545
  type: "module",
118548
- version: "0.0.2142",
118546
+ version: "0.0.2144",
118549
118547
  types: "dist/index.d.ts",
118550
118548
  main: "dist/index.js",
118551
118549
  module: "dist/index.js",
@@ -118583,7 +118581,7 @@ var package_default = {
118583
118581
  "@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.21.tgz",
118584
118582
  "@tscircuit/cableprinter": "^0.0.6",
118585
118583
  "@tscircuit/capacity-autorouter": "^0.0.974",
118586
- "@tscircuit/checks": "^0.0.252",
118584
+ "@tscircuit/checks": "^0.0.253",
118587
118585
  "@tscircuit/circuit-json-util": "^0.0.121",
118588
118586
  "@tscircuit/common": "^0.0.20",
118589
118587
  "@tscircuit/copper-pour-solver": "^0.0.67",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.2143",
4
+ "version": "0.0.2145",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -39,7 +39,7 @@
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
41
  "@tscircuit/capacity-autorouter": "^0.0.974",
42
- "@tscircuit/checks": "^0.0.252",
42
+ "@tscircuit/checks": "^0.0.253",
43
43
  "@tscircuit/circuit-json-util": "^0.0.121",
44
44
  "@tscircuit/common": "^0.0.20",
45
45
  "@tscircuit/copper-pour-solver": "^0.0.67",