@tscircuit/core 0.0.242 → 0.0.243

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.d.ts CHANGED
@@ -90,6 +90,13 @@ declare class RootCircuit {
90
90
  isRoot: boolean;
91
91
  schematicDisabled: boolean;
92
92
  pcbDisabled: boolean;
93
+ pcbRoutingDisabled: boolean;
94
+ /**
95
+ * The RootCircuit name is usually set by the platform, it's not required but
96
+ * if supplied can identify the circuit in certain effects, e.g. it is passed
97
+ * as the display_name parameter for autorouting effects.
98
+ */
99
+ name?: string;
93
100
  _hasRenderedAtleastOnce: boolean;
94
101
  constructor();
95
102
  add(componentOrElm: PrimitiveComponent | ReactElement): void;
package/dist/index.js CHANGED
@@ -3552,7 +3552,8 @@ var Group = class extends NormalComponent {
3552
3552
  body: JSON.stringify({
3553
3553
  input_circuit_json: this.root.db.toArray(),
3554
3554
  provider: "freerouting",
3555
- autostart: true
3555
+ autostart: true,
3556
+ display_name: this.root?.name
3556
3557
  }),
3557
3558
  headers: { "Content-Type": "application/json" }
3558
3559
  }
@@ -5895,6 +5896,13 @@ var RootCircuit = class {
5895
5896
  isRoot = true;
5896
5897
  schematicDisabled = false;
5897
5898
  pcbDisabled = false;
5899
+ pcbRoutingDisabled = false;
5900
+ /**
5901
+ * The RootCircuit name is usually set by the platform, it's not required but
5902
+ * if supplied can identify the circuit in certain effects, e.g. it is passed
5903
+ * as the display_name parameter for autorouting effects.
5904
+ */
5905
+ name;
5898
5906
  _hasRenderedAtleastOnce = false;
5899
5907
  constructor() {
5900
5908
  this.children = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.242",
4
+ "version": "0.0.243",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",