@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.
- package/dist/index.js +4 -3
- 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(
|
|
5743
|
+
await cacheEngine.setItem(cacheKey, JSON.stringify(supplierPartNumbers));
|
|
5743
5744
|
} catch {
|
|
5744
5745
|
}
|
|
5745
5746
|
}
|
|
5746
|
-
return
|
|
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.
|
|
8647
|
+
version: "0.0.428",
|
|
8647
8648
|
types: "dist/index.d.ts",
|
|
8648
8649
|
main: "dist/index.js",
|
|
8649
8650
|
module: "dist/index.js",
|