@tscircuit/3d-viewer 0.0.410 → 0.0.411

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 +4 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -26576,7 +26576,7 @@ import * as THREE13 from "three";
26576
26576
  // package.json
26577
26577
  var package_default = {
26578
26578
  name: "@tscircuit/3d-viewer",
26579
- version: "0.0.409",
26579
+ version: "0.0.410",
26580
26580
  main: "./dist/index.js",
26581
26581
  module: "./dist/index.js",
26582
26582
  type: "module",
@@ -26623,7 +26623,7 @@ var package_default = {
26623
26623
  "@storybook/blocks": "9.0.0-alpha.17",
26624
26624
  "@storybook/react-vite": "^9.1.5",
26625
26625
  "@tscircuit/circuit-json-util": "^0.0.72",
26626
- "@tscircuit/core": "^0.0.781",
26626
+ "@tscircuit/core": "^0.0.783",
26627
26627
  "@tscircuit/props": "^0.0.360",
26628
26628
  "@tscircuit/checks": "^0.0.85",
26629
26629
  "@tscircuit/math-utils": "^0.0.27",
@@ -26646,7 +26646,7 @@ var package_default = {
26646
26646
  "react-use-gesture": "^9.1.3",
26647
26647
  semver: "^7.7.0",
26648
26648
  "strip-ansi": "^7.1.0",
26649
- tscircuit: "^0.0.742",
26649
+ tscircuit: "^0.0.746",
26650
26650
  tsup: "^8.3.6",
26651
26651
  typescript: "^5.7.3",
26652
26652
  vite: "^7.1.5",
@@ -31246,7 +31246,7 @@ async function load3DModel(url) {
31246
31246
 
31247
31247
  // src/utils/render-component.tsx
31248
31248
  async function renderComponent(component, scene) {
31249
- const url = component.model_obj_url ?? component.model_wrl_url ?? component.model_stl_url ?? component.model_gltf_url;
31249
+ const url = component.model_obj_url ?? component.model_wrl_url ?? component.model_stl_url ?? component.model_glb_url ?? component.model_gltf_url;
31250
31250
  if (url) {
31251
31251
  const model = await load3DModel(url);
31252
31252
  if (model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/3d-viewer",
3
- "version": "0.0.410",
3
+ "version": "0.0.411",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",
@@ -47,7 +47,7 @@
47
47
  "@storybook/blocks": "9.0.0-alpha.17",
48
48
  "@storybook/react-vite": "^9.1.5",
49
49
  "@tscircuit/circuit-json-util": "^0.0.72",
50
- "@tscircuit/core": "^0.0.781",
50
+ "@tscircuit/core": "^0.0.783",
51
51
  "@tscircuit/props": "^0.0.360",
52
52
  "@tscircuit/checks": "^0.0.85",
53
53
  "@tscircuit/math-utils": "^0.0.27",
@@ -70,7 +70,7 @@
70
70
  "react-use-gesture": "^9.1.3",
71
71
  "semver": "^7.7.0",
72
72
  "strip-ansi": "^7.1.0",
73
- "tscircuit": "^0.0.742",
73
+ "tscircuit": "^0.0.746",
74
74
  "tsup": "^8.3.6",
75
75
  "typescript": "^5.7.3",
76
76
  "vite": "^7.1.5",