@tscircuit/core 0.0.206 → 0.0.208

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1294,7 +1294,7 @@ var SmtPad = class extends PrimitiveComponent {
1294
1294
  pcb_smtpad_id: pcb_smtpad.pcb_smtpad_id
1295
1295
  });
1296
1296
  } else if (props.shape === "rect") {
1297
- pcb_smtpad = parentRotation === 0 ? db.pcb_smtpad.insert({
1297
+ pcb_smtpad = parentRotation === 0 || isRotated90 ? db.pcb_smtpad.insert({
1298
1298
  pcb_component_id,
1299
1299
  pcb_port_id: this.matchedPort?.pcb_port_id,
1300
1300
  // port likely isn't matched
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.206",
4
+ "version": "0.0.208",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",