circuit-json-to-lbrn 0.0.50 → 0.0.51

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.
package/dist/index.js CHANGED
@@ -2233,8 +2233,7 @@ var addRectPcbCutout = (cutout, ctx) => {
2233
2233
  centerY,
2234
2234
  width: cutout.width,
2235
2235
  height: cutout.height,
2236
- borderRadius: 0,
2237
- // no border radius for cutouts
2236
+ borderRadius: cutout.corner_radius,
2238
2237
  segments: 4,
2239
2238
  // segments
2240
2239
  rotation
@@ -23,7 +23,7 @@ export const addRectPcbCutout = (
23
23
  centerY,
24
24
  width: cutout.width,
25
25
  height: cutout.height,
26
- borderRadius: 0, // no border radius for cutouts
26
+ borderRadius: cutout.corner_radius,
27
27
  segments: 4, // segments
28
28
  rotation,
29
29
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "circuit-json-to-lbrn",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.50",
4
+ "version": "0.0.51",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "bun run site/index.html",
@@ -17,7 +17,7 @@
17
17
  "@tscircuit/circuit-json-util": "^0.0.72",
18
18
  "@types/bun": "latest",
19
19
  "bun-match-svg": "^0.0.14",
20
- "circuit-json": "^0.0.316",
20
+ "circuit-json": "^0.0.359",
21
21
  "circuit-json-to-connectivity-map": "^0.0.22",
22
22
  "circuit-to-svg": "^0.0.304",
23
23
  "schematic-symbols": "^0.0.202",