@tscircuit/core 0.0.766 → 0.0.767

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 +5 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -12036,9 +12036,11 @@ var Group6 = class extends NormalComponent3 {
12036
12036
  }
12037
12037
  doInitialSourceGroupRender() {
12038
12038
  const { db } = this.root;
12039
+ const hasExplicitName = typeof this._parsedProps.name === "string" && this._parsedProps.name.length > 0;
12039
12040
  const source_group = db.source_group.insert({
12040
12041
  name: this.name,
12041
- is_subcircuit: this.isSubcircuit
12042
+ is_subcircuit: this.isSubcircuit,
12043
+ was_automatically_named: !hasExplicitName
12042
12044
  });
12043
12045
  this.source_group_id = source_group.source_group_id;
12044
12046
  if (this.isSubcircuit) {
@@ -16061,7 +16063,7 @@ import { identity as identity6 } from "transformation-matrix";
16061
16063
  var package_default = {
16062
16064
  name: "@tscircuit/core",
16063
16065
  type: "module",
16064
- version: "0.0.765",
16066
+ version: "0.0.766",
16065
16067
  types: "dist/index.d.ts",
16066
16068
  main: "dist/index.js",
16067
16069
  module: "dist/index.js",
@@ -16113,7 +16115,7 @@ var package_default = {
16113
16115
  "bun-match-svg": "0.0.12",
16114
16116
  "calculate-elbow": "^0.0.12",
16115
16117
  "chokidar-cli": "^3.0.0",
16116
- "circuit-json": "^0.0.272",
16118
+ "circuit-json": "^0.0.273",
16117
16119
  "circuit-json-to-bpc": "^0.0.13",
16118
16120
  "circuit-json-to-connectivity-map": "^0.0.22",
16119
16121
  "circuit-json-to-gltf": "^0.0.7",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.766",
4
+ "version": "0.0.767",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -53,7 +53,7 @@
53
53
  "bun-match-svg": "0.0.12",
54
54
  "calculate-elbow": "^0.0.12",
55
55
  "chokidar-cli": "^3.0.0",
56
- "circuit-json": "^0.0.272",
56
+ "circuit-json": "^0.0.273",
57
57
  "circuit-json-to-bpc": "^0.0.13",
58
58
  "circuit-json-to-connectivity-map": "^0.0.22",
59
59
  "circuit-json-to-gltf": "^0.0.7",