@tscircuit/core 0.0.125 → 0.0.126

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 +2 -2
package/dist/index.js CHANGED
@@ -1478,7 +1478,8 @@ var Port = class extends PrimitiveComponent {
1478
1478
  };
1479
1479
  }
1480
1480
  constructor(props, opts = {}) {
1481
- if (!props.name && props.pinNumber) props.name = `pin${props.pinNumber}`;
1481
+ if (!props.name && props.pinNumber !== void 0)
1482
+ props.name = `pin${props.pinNumber}`;
1482
1483
  if (!props.name) {
1483
1484
  throw new Error("Port must have a name or a pinNumber");
1484
1485
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.125",
4
+ "version": "0.0.126",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@tscircuit/soup-util": "^0.0.33",
44
44
  "circuit-json": "^0.0.86",
45
45
  "circuit-json-to-connectivity-map": "^0.0.17",
46
- "circuit-to-svg": "0.0.41",
46
+ "circuit-to-svg": "0.0.43",
47
47
  "nanoid": "^5.0.7",
48
48
  "performance-now": "^2.1.0",
49
49
  "react": "^18.3.1",