easyeda 0.0.300 → 0.0.301

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/main.cjs CHANGED
@@ -3528,7 +3528,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
3528
3528
  var package_default = {
3529
3529
  name: "easyeda",
3530
3530
  type: "module",
3531
- version: "0.0.299",
3531
+ version: "0.0.300",
3532
3532
  files: [
3533
3533
  "dist"
3534
3534
  ],
@@ -9652,8 +9652,7 @@ var handleSilkscreenArc = (arc, index) => {
9652
9652
  type: "pcb_silkscreen_path",
9653
9653
  pcb_silkscreen_path_id: `pcb_silkscreen_arc_${index + 1}`,
9654
9654
  pcb_component_id: "pcb_component_1",
9655
- layer: "top",
9656
- // Assuming all silkscreen is on top layer
9655
+ layer: getSideFromLayer(arc.layer),
9657
9656
  route: arcPath.map((p) => ({
9658
9657
  x: milx10(p.x),
9659
9658
  y: milx10(p.y)