@tscircuit/core 0.0.290 → 0.0.292

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3513,7 +3513,7 @@ var NormalComponent = class extends PrimitiveComponent {
3513
3513
  return `${url}${url.includes("?") ? "&" : "?"}cachebust_origin=${encodeURIComponent(origin)}`;
3514
3514
  }
3515
3515
  doInitialPartsEngineRender() {
3516
- const { partsEngine } = this.getSubcircuit()._parsedProps;
3516
+ const partsEngine = this.getInheritedProperty("partsEngine");
3517
3517
  if (!partsEngine) return;
3518
3518
  const { db } = this.root;
3519
3519
  const source_component = db.source_component.get(this.source_component_id);
@@ -3823,7 +3823,8 @@ var Group = class extends NormalComponent {
3823
3823
  {
3824
3824
  method: "POST",
3825
3825
  body: JSON.stringify({
3826
- input_simple_route_json: this._getSimpleRouteJsonFromPcbTraces()
3826
+ input_simple_route_json: this._getSimpleRouteJsonFromPcbTraces(),
3827
+ subcircuit_id: this.subcircuit_id
3827
3828
  }),
3828
3829
  headers: { "Content-Type": "application/json" }
3829
3830
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.290",
4
+ "version": "0.0.292",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",