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/vanilla.js CHANGED
@@ -5933,10 +5933,13 @@ var Footprinter3d = ({ footprint }) => {
5933
5933
  break;
5934
5934
  }
5935
5935
  case "sot23":
5936
- if (fpJson.num_pins === 3) return /* @__PURE__ */ jsx(SOT233P, { color });
5936
+ switch (fpJson.num_pins) {
5937
+ case 3:
5938
+ return /* @__PURE__ */ jsx(SOT233P, { color });
5939
+ case 5:
5940
+ return /* @__PURE__ */ jsx(SOT_235_default, {});
5941
+ }
5937
5942
  break;
5938
- case "sot235":
5939
- return /* @__PURE__ */ jsx(SOT_235_default, {});
5940
5943
  case "sot457":
5941
5944
  return /* @__PURE__ */ jsx(SOT457, {});
5942
5945
  case "sot223":