@tscircuit/parts-engine 0.0.33 → 0.0.34
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 +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12501,7 +12501,8 @@ var JlcPcbPartsEngine = class {
|
|
|
12501
12501
|
};
|
|
12502
12502
|
} else if (sourceComponent.type === "source_component" && sourceComponent.ftype === "simple_led") {
|
|
12503
12503
|
const { leds } = await getJlcPartsCached("leds", {
|
|
12504
|
-
package: jlcpcbPackage
|
|
12504
|
+
package: jlcpcbPackage,
|
|
12505
|
+
color: sourceComponent.color
|
|
12505
12506
|
});
|
|
12506
12507
|
return {
|
|
12507
12508
|
jlcpcb: withBasicPartPreference(leds).map((l) => `C${l.lcsc}`).slice(0, 3)
|