easyeda 0.0.322 → 0.0.324

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
@@ -9260,7 +9260,7 @@ var convertEasyEdaJsonToVariousFormats = async ({
9260
9260
  `[${jlcpcbPartNumberOrFilepath}] Saved better EasyEDA JSON: ${outputFilename}`
9261
9261
  );
9262
9262
  } else if (outputFilename.endsWith(".tsx") || outputFilename.endsWith(".ts")) {
9263
- const tsComp = await convertRawEasyToTsx(rawEasyEdaJson);
9263
+ const tsComp = await convertRawEasyToTsx({ rawEasy: rawEasyEdaJson });
9264
9264
  await fs.writeFile(outputFilename, tsComp);
9265
9265
  console.log(
9266
9266
  `[${jlcpcbPartNumberOrFilepath}] Saved TypeScript component: ${outputFilename}`