@tscircuit/core 0.0.428 → 0.0.429

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5737,13 +5737,14 @@ var NormalComponent = class extends PrimitiveComponent2 {
5737
5737
  footprinterString
5738
5738
  })
5739
5739
  );
5740
+ const supplierPartNumbers = result === "Not found" ? {} : result;
5740
5741
  if (cacheEngine) {
5741
5742
  try {
5742
- await cacheEngine.setItem(cacheKey, JSON.stringify(result));
5743
+ await cacheEngine.setItem(cacheKey, JSON.stringify(supplierPartNumbers));
5743
5744
  } catch {
5744
5745
  }
5745
5746
  }
5746
- return result;
5747
+ return supplierPartNumbers;
5747
5748
  }
5748
5749
  doInitialPartsEngineRender() {
5749
5750
  const partsEngine = this.getInheritedProperty("partsEngine");
@@ -8643,7 +8644,7 @@ import { identity as identity4 } from "transformation-matrix";
8643
8644
  var package_default = {
8644
8645
  name: "@tscircuit/core",
8645
8646
  type: "module",
8646
- version: "0.0.427",
8647
+ version: "0.0.428",
8647
8648
  types: "dist/index.d.ts",
8648
8649
  main: "dist/index.js",
8649
8650
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.428",
4
+ "version": "0.0.429",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",