@tscircuit/core 0.0.1090 → 0.0.1091
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8997,7 +8997,7 @@ var CadModel = class extends PrimitiveComponent2 {
|
|
|
8997
8997
|
if (!parent) return;
|
|
8998
8998
|
if (!parent.pcb_component_id) return;
|
|
8999
8999
|
const { db } = this.root;
|
|
9000
|
-
const { boardThickness = 0 } =
|
|
9000
|
+
const { boardThickness = 0 } = parent._getBoard() ?? {};
|
|
9001
9001
|
const bounds = parent._getPcbCircuitJsonBounds();
|
|
9002
9002
|
const pcb_component = db.pcb_component.get(parent.pcb_component_id);
|
|
9003
9003
|
const props = this._parsedProps;
|
|
@@ -10870,7 +10870,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
10870
10870
|
if (this._isCadModelChild) return;
|
|
10871
10871
|
if (this.props.doNotPlace) return;
|
|
10872
10872
|
const { db } = this.root;
|
|
10873
|
-
const { boardThickness = 0 } = this.
|
|
10873
|
+
const { boardThickness = 0 } = this._getBoard() ?? {};
|
|
10874
10874
|
const cadModelProp = this._parsedProps.cadModel;
|
|
10875
10875
|
const cadModel = cadModelProp === void 0 ? this._asyncFootprintCadModel : cadModelProp;
|
|
10876
10876
|
const footprint = this.getFootprinterString() ?? this._getImpliedFootprintString();
|
|
@@ -18200,7 +18200,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18200
18200
|
var package_default = {
|
|
18201
18201
|
name: "@tscircuit/core",
|
|
18202
18202
|
type: "module",
|
|
18203
|
-
version: "0.0.
|
|
18203
|
+
version: "0.0.1090",
|
|
18204
18204
|
types: "dist/index.d.ts",
|
|
18205
18205
|
main: "dist/index.js",
|
|
18206
18206
|
module: "dist/index.js",
|