@tscircuit/parts-engine 0.0.11 → 0.0.12

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.
@@ -116,6 +116,9 @@ export const jlcPartsEngine: PartsEngine = {
116
116
  sourceComponent.type === "source_component" &&
117
117
  sourceComponent.ftype === "simple_chip"
118
118
  ) {
119
+ if (!jlcpcbPackage || !footprinterString) {
120
+ return {}
121
+ }
119
122
  const { chips } = await getJlcPartsCached("chips", {
120
123
  package: jlcpcbPackage,
121
124
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/parts-engine",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "devDependencies": {