@incodetech/welcome 1.85.0-rc.20251112170256 → 1.85.0-rc.20251118132733

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.
@@ -16,7 +16,7 @@ export declare const useSessionState: (initialState: unknown) => any[];
16
16
  export declare function usePermissions(): readonly [boolean, React.Dispatch<React.SetStateAction<boolean>>, boolean];
17
17
  export declare function useInterval(callback: () => unknown, delay: number): number;
18
18
  export declare function useTimeout(callback: () => unknown, delay: number): void;
19
- export declare const useResize: (isKiosk?: boolean) => void;
19
+ export declare const useResize: () => void;
20
20
  export declare const isPortrait: () => boolean;
21
21
  export declare function useOrientation(): {
22
22
  isRotated: boolean;
@@ -2413,8 +2413,7 @@ const resize = async () => {
2413
2413
  await sleep(100);
2414
2414
  const Be = window.innerWidth * 0.01, Le = window.innerHeight * 0.01;
2415
2415
  document.documentElement.style.setProperty("--vw", `${Be}px`), document.documentElement.style.setProperty("--vh", `${Le}px`);
2416
- }, useResize = (Be) => {
2417
- const { isRotated: Le } = useOrientation();
2416
+ }, useResize = () => {
2418
2417
  useEventListener(
2419
2418
  "resize",
2420
2419
  () => {
@@ -2422,8 +2421,8 @@ const resize = async () => {
2422
2421
  },
2423
2422
  window
2424
2423
  ), useLayoutEffect(() => {
2425
- mobile.any() && Le && !Be || resize();
2426
- }, [Le, Be]);
2424
+ resize();
2425
+ }, []);
2427
2426
  }, isPortrait = () => {
2428
2427
  var Be;
2429
2428
  return ((Be = screen.orientation) == null ? void 0 : Be.type.includes("portrait")) || Math.abs(window.orientation) === 0;
@@ -8375,7 +8374,7 @@ class MlWasmJSApi {
8375
8374
  );
8376
8375
  }
8377
8376
  }
8378
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-rc.20251112170256";
8377
+ const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-rc.20251118132733";
8379
8378
  function e$2(Be, Le) {
8380
8379
  return function(Ye, tt) {
8381
8380
  return Object.prototype.hasOwnProperty.call(Ye, tt);
@@ -181114,7 +181113,7 @@ const AppProvider = ({ children: Be }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
181114
181113
  disableUnsupportedBrowserScreen: ft = !1
181115
181114
  }) => {
181116
181115
  const { isRotated: ht } = useOrientation(), { ready: gt } = useTranslation$1(), { shouldShow: At, onContinue: xt } = useBrowserNotSupported();
181117
- return useResize(Le), useEffect(() => {
181116
+ return useResize(), useEffect(() => {
181118
181117
  tt && initialize(tt);
181119
181118
  }, [tt]), gt ? options.redirectFromUnsupportedBrowsers && At && !ft ? /* @__PURE__ */ jsxRuntimeExports.jsx(BrowserNotSupported, { onContinue: xt, token: tt }) : /* @__PURE__ */ jsxRuntimeExports.jsx(AppProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(NotificationProvider, { initialValue: { isOpen: !1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
181120
181119
  Container$f,