easyeda 0.0.256 → 0.0.257

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
@@ -997,7 +997,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
997
997
  var package_default = {
998
998
  name: "easyeda",
999
999
  type: "module",
1000
- version: "0.0.255",
1000
+ version: "0.0.256",
1001
1001
  files: [
1002
1002
  "dist"
1003
1003
  ],
@@ -7752,7 +7752,7 @@ var generateFootprintTsx = (circuitJson) => {
7752
7752
  }
7753
7753
  for (const silkscreenText of silkscreenTexts) {
7754
7754
  const isRefDes = silkscreenText.text === "{NAME}";
7755
- const textValue = isRefDes ? "{props.name}" : JSON.stringify(silkscreenText.text);
7755
+ const textValue = isRefDes ? JSON.stringify("{NAME}") : JSON.stringify(silkscreenText.text);
7756
7756
  elementStrings.push(
7757
7757
  `<silkscreentext text=${textValue} pcbX="${mmStr(silkscreenText.anchor_position.x)}" pcbY="${mmStr(silkscreenText.anchor_position.y)}" anchorAlignment="${silkscreenText.anchor_alignment}" ${silkscreenText.font_size ? `fontSize="${mmStr(silkscreenText.font_size)}"` : ""} />`
7758
7758
  );