easyeda 0.0.74 → 0.0.76

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.
@@ -2595,7 +2595,8 @@ var soupTypescriptComponentTemplate = ({
2595
2595
  componentName,
2596
2596
  objUrl,
2597
2597
  circuitJson,
2598
- supplierPartNumbers
2598
+ supplierPartNumbers,
2599
+ manufacturerPartNumber
2599
2600
  }) => {
2600
2601
  const footprintTsx = generateFootprintTsx(circuitJson);
2601
2602
  return `
@@ -2619,6 +2620,7 @@ export const ${componentName} = (props: Props) => {
2619
2620
  }}` : ""}
2620
2621
  pinLabels={pinLabels}
2621
2622
  supplierPartNumbers={${JSON.stringify(supplierPartNumbers, null, " ")}}
2623
+ manufacturerPartNumber="${manufacturerPartNumber}"
2622
2624
  footprint={${footprintTsx}}
2623
2625
  />
2624
2626
  )
@@ -2679,10 +2681,11 @@ var convertBetterEasyToTsx = async ({
2679
2681
  }
2680
2682
  }
2681
2683
  const supplierPartNumbers = {
2682
- lcsc: [betterEasy.lcsc.number]
2684
+ jlcpcb: [betterEasy.lcsc.number]
2683
2685
  };
2684
2686
  return soupTypescriptComponentTemplate({
2685
2687
  componentName: pn,
2688
+ manufacturerPartNumber: pn,
2686
2689
  pinLabels,
2687
2690
  objUrl: modelObjUrl,
2688
2691
  circuitJson,
@@ -2790,4 +2793,4 @@ export {
2790
2793
  convertRawEasyToTsx,
2791
2794
  convertEasyEdaJsonToVariousFormats
2792
2795
  };
2793
- //# sourceMappingURL=chunk-PDYQEWWL.js.map
2796
+ //# sourceMappingURL=chunk-6EIRUDXT.js.map