@tscircuit/core 0.0.181 → 0.0.182

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2872,7 +2872,8 @@ var NormalComponent = class extends PrimitiveComponent {
2872
2872
  let pinNumber = 1;
2873
2873
  const newPorts2 = [];
2874
2874
  for (const fpChild of fp2.children) {
2875
- let portHintsList = fpChild.props.portHints ?? [];
2875
+ if (!fpChild.props.portHints) continue;
2876
+ let portHintsList = fpChild.props.portHints;
2876
2877
  const hasPinPrefix = portHintsList.some(
2877
2878
  (hint) => hint.startsWith("pin")
2878
2879
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.181",
4
+ "version": "0.0.182",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",