@tscircuit/core 0.0.527 → 0.0.528

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -560,7 +560,7 @@ var PrimitiveComponent2 = class extends Renderable {
560
560
  return this.lowercaseComponentName === "group";
561
561
  }
562
562
  get name() {
563
- return this._parsedProps.name ?? this.fallbackUnassignedName ?? "TODO_REMOVE_THIS";
563
+ return this._parsedProps.name ?? this.fallbackUnassignedName;
564
564
  }
565
565
  /**
566
566
  * A primitive container is a component that contains one or more ports and
@@ -5812,7 +5812,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
5812
5812
  const fpSoup = fp.string(footprint).soup();
5813
5813
  const fpComponents = createComponentsFromCircuitJson(
5814
5814
  {
5815
- componentName: this.name,
5815
+ componentName: this.name ?? this.componentName,
5816
5816
  componentRotation: pcbRotation,
5817
5817
  footprint,
5818
5818
  pinLabels
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.527",
4
+ "version": "0.0.528",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",