@tscircuit/parts-engine 0.0.33 → 0.0.35

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
@@ -12493,7 +12493,6 @@ var JlcPcbPartsEngine = class {
12493
12493
  };
12494
12494
  } else if (sourceComponent.type === "source_component" && sourceComponent.ftype === "simple_switch") {
12495
12495
  const { switches } = await getJlcPartsCached("switches", {
12496
- switch_type: sourceComponent.type,
12497
12496
  package: jlcpcbPackage
12498
12497
  });
12499
12498
  return {
@@ -12501,7 +12500,8 @@ var JlcPcbPartsEngine = class {
12501
12500
  };
12502
12501
  } else if (sourceComponent.type === "source_component" && sourceComponent.ftype === "simple_led") {
12503
12502
  const { leds } = await getJlcPartsCached("leds", {
12504
- package: jlcpcbPackage
12503
+ package: jlcpcbPackage,
12504
+ color: sourceComponent.color
12505
12505
  });
12506
12506
  return {
12507
12507
  jlcpcb: withBasicPartPreference(leds).map((l) => `C${l.lcsc}`).slice(0, 3)