@needle-tools/engine 4.12.0-next.f546e2b → 4.12.0-next.fb75c78

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.
@@ -1912,11 +1912,11 @@ So('if(!globalThis["NEEDLE_ENGINE_VERSION"]) globalThis["NEEDLE_ENGINE_VERSION"]
1912
1912
  So('if(!globalThis["NEEDLE_ENGINE_GENERATOR"]) globalThis["NEEDLE_ENGINE_GENERATOR"] = "unknown";');
1913
1913
  So('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUILD_TIME"] = "unknown";');
1914
1914
  So('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
1915
- So('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.12.0-beta.1";');
1915
+ So('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.12.0-beta.2";');
1916
1916
  So('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
1917
- So('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Tue Jan 20 2026 14:41:38 GMT+0000 (Coordinated Universal Time)";');
1917
+ So('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu Jan 22 2026 12:52:21 GMT+0000 (Coordinated Universal Time)";');
1918
1918
  So('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
1919
- const Nn = "4.12.0-beta.1", tg = "undefined", z0 = "Tue Jan 20 2026 14:41:38 GMT+0000 (Coordinated Universal Time)";
1919
+ const Nn = "4.12.0-beta.2", tg = "undefined", z0 = "Thu Jan 22 2026 12:52:21 GMT+0000 (Coordinated Universal Time)";
1920
1920
  U0 && console.log(`Engine version: ${Nn} (generator: ${tg})
1921
1921
  Project built at ${z0}`);
1922
1922
  const Nl = NEEDLE_PUBLIC_KEY, po = "needle_isActiveInHierarchy", ia = "builtin_components", ed = "needle_editor_guid";
@@ -4896,8 +4896,8 @@ class K {
4896
4896
  if (j.isVisionOS() && !a && (e === "ar" || e === "immersive-ar") && (e = "quicklook"), e === "quicklook")
4897
4897
  return Oc.exportAndOpen(), null;
4898
4898
  if (!a && (e === "immersive-ar" || e === "ar")) {
4899
- const l = `https://appclip.needle.tools/ar?url=${encodeURIComponent(location.href)}`;
4900
- return console.debug("iOS device detected - opening Needle App Clip for AR experience", l, { mode: e, init: t }), window.location.href = l, null;
4899
+ const l = new URL("https://appclip.apple.com/id?p=tools.needle.launch-app.Clip");
4900
+ return l.searchParams.set("url", location.href), console.debug("iOS device detected - opening Needle App Clip for AR experience", { mode: e, init: t, url: l }), window.location.href = encodeURI(l.toString()), null;
4901
4901
  }
4902
4902
  }
4903
4903
  if (e === "quicklook")
@@ -17380,7 +17380,15 @@ const to = x("debugcam"), Y_ = x("debugscreenpointtoray"), zt = class Hl extends
17380
17380
  const i = t.environmentBlendMode;
17381
17381
  to && Be("Environment blend mode: " + i + " on " + navigator.userAgent);
17382
17382
  let n = i === "additive" || i === "alpha-blend";
17383
- return e.isInAR && i === "opaque" && (navigator.userAgent?.includes("OculusBrowser") || navigator.userAgent?.includes("Mozilla") && navigator.userAgent?.includes("Mobile WebXRViewer/v2")) && (n = !0), t._transparent = n, n;
17383
+ if (e.isInAR && i === "opaque") {
17384
+ if (navigator.userAgent?.includes("OculusBrowser"))
17385
+ n = !0;
17386
+ else if (navigator.userAgent?.includes("Mozilla") && navigator.userAgent?.includes("Mobile WebXRViewer/v2"))
17387
+ n = !0;
17388
+ else if (j.isNeedleAppClip())
17389
+ return !0;
17390
+ }
17391
+ return t._transparent = n, n;
17384
17392
  }
17385
17393
  };
17386
17394
  Zt([
@@ -44275,8 +44283,8 @@ export {
44275
44283
  _w as USDDocument,
44276
44284
  rt as USDObject,
44277
44285
  tT as USDWriter,
44278
- Vn as USDZExporter,
44279
- nT as USDZExporter$1,
44286
+ nT as USDZExporter,
44287
+ Vn as USDZExporter$1,
44280
44288
  Ql as USDZText,
44281
44289
  Vw as USDZUIExtension,
44282
44290
  _M as UriSerializer,