@tscircuit/core 0.0.544 → 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.
- package/dist/index.js +4 -1
- package/package.json +1 -1
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.
|
|
10684
|
+
version: "0.0.544",
|
|
10682
10685
|
types: "dist/index.d.ts",
|
|
10683
10686
|
main: "dist/index.js",
|
|
10684
10687
|
module: "dist/index.js",
|