@tscircuit/core 0.0.881 → 0.0.883

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 +7 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4832,6 +4832,7 @@ var CadModel = class extends PrimitiveComponent2 {
4832
4832
  pcb_component_id: parent.pcb_component_id,
4833
4833
  source_component_id: parent.source_component_id,
4834
4834
  model_unit_to_mm_scale_factor: typeof props.modelUnitToMmScale === "number" ? props.modelUnitToMmScale : void 0,
4835
+ show_as_translucent_model: parent._parsedProps.showAsTranslucentModel,
4835
4836
  ...urlProps
4836
4837
  });
4837
4838
  this.cad_component_id = cad.cad_component_id;
@@ -8894,7 +8895,8 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
8894
8895
  model_wrl_url: "wrlUrl" in (cadModel ?? {}) ? this._addCachebustToModelUrl(cadModel.wrlUrl) : void 0,
8895
8896
  model_jscad: "jscad" in (cadModel ?? {}) ? cadModel.jscad : void 0,
8896
8897
  model_unit_to_mm_scale_factor: typeof cadModel?.modelUnitToMmScale === "number" ? cadModel.modelUnitToMmScale : void 0,
8897
- footprinter_string: typeof footprint === "string" && !cadModel ? footprint : void 0
8898
+ footprinter_string: typeof footprint === "string" && !cadModel ? footprint : void 0,
8899
+ show_as_translucent_model: this._parsedProps.showAsTranslucentModel
8898
8900
  });
8899
8901
  this.cad_component_id = cad_model.cad_component_id;
8900
8902
  }
@@ -18573,8 +18575,8 @@ var VoltageProbe = class extends PrimitiveComponent2 {
18573
18575
  this.finalProbeName = finalName ?? null;
18574
18576
  const { simulation_voltage_probe_id } = db.simulation_voltage_probe.insert({
18575
18577
  name: finalName,
18576
- source_port_id: port?.source_port_id ?? void 0,
18577
- source_net_id: net?.source_net_id ?? void 0,
18578
+ signal_input_source_port_id: port?.source_port_id ?? void 0,
18579
+ signal_input_source_net_id: net?.source_net_id ?? void 0,
18578
18580
  subcircuit_id: subcircuit.subcircuit_id || void 0,
18579
18581
  color: this.color
18580
18582
  });
@@ -18633,7 +18635,7 @@ import { identity as identity6 } from "transformation-matrix";
18633
18635
  var package_default = {
18634
18636
  name: "@tscircuit/core",
18635
18637
  type: "module",
18636
- version: "0.0.880",
18638
+ version: "0.0.882",
18637
18639
  types: "dist/index.d.ts",
18638
18640
  main: "dist/index.js",
18639
18641
  module: "dist/index.js",
@@ -18691,7 +18693,7 @@ var package_default = {
18691
18693
  "bun-match-svg": "0.0.12",
18692
18694
  "calculate-elbow": "^0.0.12",
18693
18695
  "chokidar-cli": "^3.0.0",
18694
- "circuit-json": "^0.0.321",
18696
+ "circuit-json": "^0.0.325",
18695
18697
  "circuit-json-to-bpc": "^0.0.13",
18696
18698
  "circuit-json-to-connectivity-map": "^0.0.22",
18697
18699
  "circuit-json-to-gltf": "^0.0.31",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.881",
4
+ "version": "0.0.883",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -59,7 +59,7 @@
59
59
  "bun-match-svg": "0.0.12",
60
60
  "calculate-elbow": "^0.0.12",
61
61
  "chokidar-cli": "^3.0.0",
62
- "circuit-json": "^0.0.321",
62
+ "circuit-json": "^0.0.325",
63
63
  "circuit-json-to-bpc": "^0.0.13",
64
64
  "circuit-json-to-connectivity-map": "^0.0.22",
65
65
  "circuit-json-to-gltf": "^0.0.31",