@tscircuit/core 0.0.101 → 0.0.102

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 +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1070,6 +1070,11 @@ var SmtPad = class extends PrimitiveComponent {
1070
1070
  x: newCenter.x,
1071
1071
  y: newCenter.y
1072
1072
  });
1073
+ const solderPaste = db.pcb_solder_paste.list().find((elm) => elm.pcb_smtpad_id === this.pcb_smtpad_id);
1074
+ db.pcb_solder_paste.update(solderPaste?.pcb_solder_paste_id, {
1075
+ x: newCenter.x,
1076
+ y: newCenter.y
1077
+ });
1073
1078
  this.matchedPort?._setPositionFromLayout(newCenter);
1074
1079
  }
1075
1080
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.101",
4
+ "version": "0.0.102",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",