@tscircuit/core 0.0.247 → 0.0.248

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6000,7 +6000,7 @@ var RootCircuit = class {
6000
6000
  }
6001
6001
  if (this.children.length === 0) {
6002
6002
  throw new Error(
6003
- "Not able to guess root component: Project has no children (use project.add(...))"
6003
+ "Not able to guess root component: RootCircuit has no children (use circuit.add(...))"
6004
6004
  );
6005
6005
  }
6006
6006
  if (this.children.length > 0) {
@@ -6011,7 +6011,7 @@ var RootCircuit = class {
6011
6011
  }
6012
6012
  }
6013
6013
  throw new Error(
6014
- "Not able to guess root component: Project has multiple children and no board"
6014
+ "Not able to guess root component: RootCircuit has multiple children and no board"
6015
6015
  );
6016
6016
  }
6017
6017
  render() {
@@ -6019,7 +6019,7 @@ var RootCircuit = class {
6019
6019
  this._guessRootComponent();
6020
6020
  }
6021
6021
  const { firstChild, db } = this;
6022
- if (!firstChild) throw new Error("Project has no root component");
6022
+ if (!firstChild) throw new Error("RootCircuit has no root component");
6023
6023
  firstChild.parent = this;
6024
6024
  firstChild.runRenderCycle();
6025
6025
  this._hasRenderedAtleastOnce = true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.247",
4
+ "version": "0.0.248",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",