@needle-tools/engine 4.10.0-beta.5 → 4.10.0-beta.7

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.
@@ -1775,11 +1775,11 @@ bo('if(!globalThis["NEEDLE_ENGINE_VERSION"]) globalThis["NEEDLE_ENGINE_VERSION"]
1775
1775
  bo('if(!globalThis["NEEDLE_ENGINE_GENERATOR"]) globalThis["NEEDLE_ENGINE_GENERATOR"] = "unknown";');
1776
1776
  bo('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUILD_TIME"] = "unknown";');
1777
1777
  bo('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
1778
- bo('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.10.0-beta.5";');
1778
+ bo('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.10.0-beta.7";');
1779
1779
  bo('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
1780
- bo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu Sep 25 2025 09:17:47 GMT+0000 (Coordinated Universal Time)";');
1780
+ bo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu Sep 25 2025 12:21:09 GMT+0000 (Coordinated Universal Time)";');
1781
1781
  bo('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
1782
- const jn = "4.10.0-beta.5", Gm = "undefined", x0 = "Thu Sep 25 2025 09:17:47 GMT+0000 (Coordinated Universal Time)";
1782
+ const jn = "4.10.0-beta.7", Gm = "undefined", x0 = "Thu Sep 25 2025 12:21:09 GMT+0000 (Coordinated Universal Time)";
1783
1783
  w0 && console.log(`Engine version: ${jn} (generator: ${Gm})
1784
1784
  Project built at ${x0}`);
1785
1785
  const Dl = NEEDLE_PUBLIC_KEY, uo = "needle_isActiveInHierarchy", Qr = "builtin_components", qh = "needle_editor_guid";
@@ -11807,7 +11807,8 @@ async function ik(s) {
11807
11807
  }
11808
11808
  async function nk(s) {
11809
11809
  if (window.crossOriginIsolated) return;
11810
- if (Fn === "pro") {
11810
+ const e = Fn;
11811
+ if (e === "pro" || e === "enterprise") {
11811
11812
  const t = s?.domElement?.getAttribute("no-telemetry");
11812
11813
  if (t === "" || t === "true" || t === "1") {
11813
11814
  mi && console.debug("Telemetry is disabled");
@@ -37285,14 +37286,14 @@ class Vd extends ih {
37285
37286
  if (!n) {
37286
37287
  const f = t.tracks[0].name.substring(0, l) + ".quaternion";
37287
37288
  Dn && console.warn("Create quaternion track", h, d);
37288
- const p = d.quaternion, g = new LS(f, [0, t.duration], [p.x, p.y, p.z, p.w, p.x, p.y, p.z, p.w]);
37289
- t.tracks.push(g), this.createRotationInterpolant(t, e, g);
37289
+ const p = new LS(f, [0, t.duration], [0, 0, 0, 1, 0, 0, 0, 1]);
37290
+ t.tracks.push(p), this.createRotationInterpolant(t, e, p);
37290
37291
  }
37291
37292
  } else {
37292
37293
  const f = c + ".position";
37293
37294
  Dn && console.warn("Create position track", h, d);
37294
- const p = d.position, g = new IS(f, [0, t.duration], [p.x, p.y, p.z, p.x, p.y, p.z]);
37295
- t.tracks.push(g), this.createPositionInterpolant(t, e, g);
37295
+ const p = new IS(f, [0, t.duration], [0, 0, 0, 0, 0, 0]);
37296
+ t.tracks.push(p), this.createPositionInterpolant(t, e, p);
37296
37297
  }
37297
37298
  }
37298
37299
  }
@@ -40582,7 +40583,7 @@ P.add("ClickThrough", py);
40582
40583
  P.add("CursorFollow", rf);
40583
40584
  P.add("HoverAnimation", Es);
40584
40585
  P.add("ScrollFollow", Lo);
40585
- P.add("ResponsiveBox", $i);
40586
+ P.add("ViewBox", $i);
40586
40587
  P.add("Avatar", _r);
40587
40588
  P.add("XRControllerFollow", Do);
40588
40589
  P.add("XRControllerModel", _o);
@@ -43000,9 +43001,6 @@ const m2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
43000
43001
  RemoteSkybox: iy,
43001
43002
  Renderer: Ki,
43002
43003
  RendererLightmap: rm,
43003
- get ResponsiveBox() {
43004
- return $i;
43005
- },
43006
43004
  Rigidbody: rt,
43007
43005
  RotationBySpeedModule: _n,
43008
43006
  RotationOverLifetimeModule: Kn,
@@ -43066,6 +43064,9 @@ const m2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
43066
43064
  VelocityOverLifetimeModule: He,
43067
43065
  VerticalLayoutGroup: vw,
43068
43066
  VideoPlayer: mt,
43067
+ get ViewBox() {
43068
+ return $i;
43069
+ },
43069
43070
  Vignette: ol,
43070
43071
  VisibilityAction: Tu,
43071
43072
  Voip: Mr,