@tscircuit/core 0.0.626 → 0.0.627

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 +13 -7
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -5080,7 +5080,10 @@ var Trace_doInitialSchematicTraceRender = (trace) => {
5080
5080
  connectedPorts = result.portsWithSelectors ?? [];
5081
5081
  } catch (error) {
5082
5082
  if (error instanceof TraceConnectionError) {
5083
- db.source_trace_not_connected.insert(error.errorData);
5083
+ db.source_trace_not_connected_error.insert({
5084
+ ...error.errorData,
5085
+ error_type: "source_trace_not_connected_error"
5086
+ });
5084
5087
  return;
5085
5088
  }
5086
5089
  throw error;
@@ -5897,7 +5900,7 @@ function Trace__findConnectedPorts(trace) {
5897
5900
  const subcircuit2 = trace.getSubcircuit();
5898
5901
  const sourceGroup2 = subcircuit2.getGroup();
5899
5902
  throw new TraceConnectionError({
5900
- error_type: "source_trace_not_connected",
5903
+ error_type: "source_trace_not_connected_error",
5901
5904
  message: errorMessage2,
5902
5905
  subcircuit_id: subcircuit2.subcircuit_id ?? void 0,
5903
5906
  source_group_id: sourceGroup2?.source_group_id ?? void 0,
@@ -5924,7 +5927,7 @@ function Trace__findConnectedPorts(trace) {
5924
5927
  const subcircuit = trace.getSubcircuit();
5925
5928
  const sourceGroup = subcircuit.getGroup();
5926
5929
  throw new TraceConnectionError({
5927
- error_type: "source_trace_not_connected",
5930
+ error_type: "source_trace_not_connected_error",
5928
5931
  message: errorMessage,
5929
5932
  subcircuit_id: subcircuit.subcircuit_id ?? void 0,
5930
5933
  source_group_id: sourceGroup?.source_group_id ?? void 0,
@@ -6076,7 +6079,10 @@ var Trace3 = class extends PrimitiveComponent2 {
6076
6079
  ports = result.portsWithSelectors ?? [];
6077
6080
  } catch (error) {
6078
6081
  if (error instanceof TraceConnectionError) {
6079
- db.source_trace_not_connected.insert(error.errorData);
6082
+ db.source_trace_not_connected_error.insert({
6083
+ ...error.errorData,
6084
+ error_type: "source_trace_not_connected_error"
6085
+ });
6080
6086
  this._couldNotFindPort = true;
6081
6087
  return;
6082
6088
  }
@@ -12325,7 +12331,7 @@ import { identity as identity5 } from "transformation-matrix";
12325
12331
  var package_default = {
12326
12332
  name: "@tscircuit/core",
12327
12333
  type: "module",
12328
- version: "0.0.625",
12334
+ version: "0.0.626",
12329
12335
  types: "dist/index.d.ts",
12330
12336
  main: "dist/index.js",
12331
12337
  module: "dist/index.js",
@@ -12349,7 +12355,7 @@ var package_default = {
12349
12355
  devDependencies: {
12350
12356
  "@biomejs/biome": "^1.8.3",
12351
12357
  "@tscircuit/capacity-autorouter": "^0.0.100",
12352
- "@tscircuit/checks": "^0.0.64",
12358
+ "@tscircuit/checks": "^0.0.68",
12353
12359
  "@tscircuit/circuit-json-util": "^0.0.64",
12354
12360
  "@tscircuit/footprinter": "^0.0.208",
12355
12361
  "@tscircuit/import-snippet": "^0.0.4",
@@ -12371,7 +12377,7 @@ var package_default = {
12371
12377
  "bun-match-svg": "0.0.12",
12372
12378
  "calculate-elbow": "^0.0.5",
12373
12379
  "chokidar-cli": "^3.0.0",
12374
- "circuit-json": "^0.0.226",
12380
+ "circuit-json": "^0.0.228",
12375
12381
  "circuit-json-to-bpc": "^0.0.13",
12376
12382
  "circuit-json-to-connectivity-map": "^0.0.22",
12377
12383
  "circuit-json-to-simple-3d": "^0.0.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.626",
4
+ "version": "0.0.627",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@biomejs/biome": "^1.8.3",
27
27
  "@tscircuit/capacity-autorouter": "^0.0.100",
28
- "@tscircuit/checks": "^0.0.64",
28
+ "@tscircuit/checks": "^0.0.68",
29
29
  "@tscircuit/circuit-json-util": "^0.0.64",
30
30
  "@tscircuit/footprinter": "^0.0.208",
31
31
  "@tscircuit/import-snippet": "^0.0.4",
@@ -47,7 +47,7 @@
47
47
  "bun-match-svg": "0.0.12",
48
48
  "calculate-elbow": "^0.0.5",
49
49
  "chokidar-cli": "^3.0.0",
50
- "circuit-json": "^0.0.226",
50
+ "circuit-json": "^0.0.228",
51
51
  "circuit-json-to-bpc": "^0.0.13",
52
52
  "circuit-json-to-connectivity-map": "^0.0.22",
53
53
  "circuit-json-to-simple-3d": "^0.0.6",