@tscircuit/core 0.0.543 → 0.0.545

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 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -8927,6 +8927,9 @@ var SolderJumper = class extends NormalComponent {
8927
8927
  if (finalPinCount === 2 || finalPinCount === 3) {
8928
8928
  resolvedPinCount = finalPinCount;
8929
8929
  }
8930
+ if (resolvedPinCount == null && props.footprint && [2, 3].includes(this.getPortsFromFootprint().length)) {
8931
+ resolvedPinCount = this.getPortsFromFootprint().length;
8932
+ }
8930
8933
  }
8931
8934
  let symbolName = "";
8932
8935
  if (resolvedPinCount) {
@@ -10678,7 +10681,7 @@ import { identity as identity4 } from "transformation-matrix";
10678
10681
  var package_default = {
10679
10682
  name: "@tscircuit/core",
10680
10683
  type: "module",
10681
- version: "0.0.542",
10684
+ version: "0.0.544",
10682
10685
  types: "dist/index.d.ts",
10683
10686
  main: "dist/index.js",
10684
10687
  module: "dist/index.js",
@@ -10704,7 +10707,7 @@ var package_default = {
10704
10707
  "@tscircuit/capacity-autorouter": "^0.0.89",
10705
10708
  "@tscircuit/checks": "^0.0.52",
10706
10709
  "@tscircuit/circuit-json-util": "^0.0.50",
10707
- "@tscircuit/footprinter": "^0.0.186",
10710
+ "@tscircuit/footprinter": "^0.0.189",
10708
10711
  "@tscircuit/import-snippet": "^0.0.4",
10709
10712
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
10710
10713
  "@tscircuit/layout": "^0.0.28",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.543",
4
+ "version": "0.0.545",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "@tscircuit/capacity-autorouter": "^0.0.89",
28
28
  "@tscircuit/checks": "^0.0.52",
29
29
  "@tscircuit/circuit-json-util": "^0.0.50",
30
- "@tscircuit/footprinter": "^0.0.186",
30
+ "@tscircuit/footprinter": "^0.0.189",
31
31
  "@tscircuit/import-snippet": "^0.0.4",
32
32
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
33
33
  "@tscircuit/layout": "^0.0.28",