easyeda 0.0.3 → 0.0.4
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/cli/main.cjs +12 -3
- package/dist/cli/main.cjs.map +1 -1
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.cjs.map +1 -1
- package/package.json +5 -1
package/dist/lib/index.cjs
CHANGED
|
@@ -29162,7 +29162,7 @@ async function fetchEasyEDAComponent(jlcpcbPartNumber) {
|
|
|
29162
29162
|
throw new Error("Failed to fetch the component details");
|
|
29163
29163
|
}
|
|
29164
29164
|
const componentResult = await componentResponse.json();
|
|
29165
|
-
return componentResult;
|
|
29165
|
+
return componentResult.result;
|
|
29166
29166
|
}
|
|
29167
29167
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29168
29168
|
0 && (module.exports = {
|