easyeda 0.0.322 → 0.0.323

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
@@ -1026,7 +1026,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
1026
1026
  var package_default = {
1027
1027
  name: "easyeda",
1028
1028
  type: "module",
1029
- version: "0.0.321",
1029
+ version: "0.0.322",
1030
1030
  files: [
1031
1031
  "dist"
1032
1032
  ],
@@ -10165,7 +10165,7 @@ var convertEasyEdaJsonToVariousFormats = async ({
10165
10165
  `[${jlcpcbPartNumberOrFilepath}] Saved better EasyEDA JSON: ${outputFilename}`
10166
10166
  );
10167
10167
  } else if (outputFilename.endsWith(".tsx") || outputFilename.endsWith(".ts")) {
10168
- const tsComp = await convertRawEasyToTsx(rawEasyEdaJson);
10168
+ const tsComp = await convertRawEasyToTsx({ rawEasy: rawEasyEdaJson });
10169
10169
  await fs2.writeFile(outputFilename, tsComp);
10170
10170
  console.log(
10171
10171
  `[${jlcpcbPartNumberOrFilepath}] Saved TypeScript component: ${outputFilename}`