jscad-electronics 0.0.147 → 0.0.148

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
@@ -6158,10 +6158,13 @@ var Footprinter3d = ({ footprint }) => {
6158
6158
  break;
6159
6159
  }
6160
6160
  case "sot23":
6161
- if (fpJson.num_pins === 3) return /* @__PURE__ */ jsx76(SOT233P, { color });
6161
+ switch (fpJson.num_pins) {
6162
+ case 3:
6163
+ return /* @__PURE__ */ jsx76(SOT233P, { color });
6164
+ case 5:
6165
+ return /* @__PURE__ */ jsx76(SOT_235_default, {});
6166
+ }
6162
6167
  break;
6163
- case "sot235":
6164
- return /* @__PURE__ */ jsx76(SOT_235_default, {});
6165
6168
  case "sot457":
6166
6169
  return /* @__PURE__ */ jsx76(SOT457, {});
6167
6170
  case "sot223":