easyeda 0.0.293 → 0.0.294

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.
@@ -12081,7 +12081,7 @@ var hasNonBoxSchematicSymbol = (easyEdaJson) => {
12081
12081
 
12082
12082
  // lib/websafe/convert-to-typescript-component/index.tsx
12083
12083
  var getGeneratedComponentType = (betterEasy, pinCount) => {
12084
- if (isLedCategoryComponent(betterEasy)) return "led";
12084
+ if (isLedCategoryComponent(betterEasy) && pinCount === 2) return "led";
12085
12085
  if (isDiodeCategoryComponent(betterEasy) && pinCount === 2) return "diode";
12086
12086
  if (isPushbuttonCategoryComponent(betterEasy)) return "pushbutton";
12087
12087
  if (isSwitchCategoryComponent(betterEasy)) return "switch";