@tscircuit/core 0.0.220 → 0.0.222

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 +2 -2
package/dist/index.js CHANGED
@@ -1541,7 +1541,7 @@ var PlatedHole = class extends PrimitiveComponent {
1541
1541
  layers: ["top", "bottom"]
1542
1542
  });
1543
1543
  this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
1544
- } else if (props.shape === "pill") {
1544
+ } else if (props.shape === "pill" || props.shape === "oval") {
1545
1545
  const pcb_plated_hole = db.pcb_plated_hole.insert({
1546
1546
  pcb_component_id,
1547
1547
  pcb_port_id: this.matchedPort?.pcb_port_id,
@@ -1549,7 +1549,7 @@ var PlatedHole = class extends PrimitiveComponent {
1549
1549
  outer_height: props.outerHeight,
1550
1550
  hole_width: props.innerWidth,
1551
1551
  hole_height: props.innerHeight,
1552
- shape: "pill",
1552
+ shape: props.shape,
1553
1553
  port_hints: this.getNameAndAliases(),
1554
1554
  x: position.x,
1555
1555
  y: position.y,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.220",
4
+ "version": "0.0.222",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@lume/kiwi": "^0.4.3",
41
41
  "@tscircuit/footprinter": "^0.0.92",
42
- "@tscircuit/infgrid-ijump-astar": "^0.0.25",
42
+ "@tscircuit/infgrid-ijump-astar": "^0.0.26",
43
43
  "@tscircuit/math-utils": "^0.0.5",
44
44
  "@tscircuit/props": "^0.0.109",
45
45
  "@tscircuit/schematic-autolayout": "^0.0.6",