@chrryai/chrry 1.4.41 → 1.4.42

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.
package/dist/index.js CHANGED
@@ -732,7 +732,7 @@ function getSiteConfig(hostnameOrMode) {
732
732
  favicon: "focus",
733
733
  mode: "focus",
734
734
  slug: "focus",
735
- version: "26.10.33",
735
+ version: "26.10.35",
736
736
  storeSlug: "blossom",
737
737
  name: "Focus",
738
738
  domain: "focus.chrry.ai",
@@ -1898,7 +1898,7 @@ var init_utils = __esm({
1898
1898
  };
1899
1899
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
1900
1900
  config = getSiteConfig(getClientHostname());
1901
- VERSION = config.version || "1.4.41";
1901
+ VERSION = config.version || "1.4.42";
1902
1902
  getSlugFromPathname = (path) => {
1903
1903
  return getAppAndStoreSlugs(path, {
1904
1904
  defaultAppSlug: config.slug,
@@ -24041,7 +24041,7 @@ function DataProvider({ children, ...rest }) {
24041
24041
  const [instructions, setInstructions] = (0, import_react19.useState)([]);
24042
24042
  const [affiliateStats, setAffiliateStats] = (0, import_react19.useState)(null);
24043
24043
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react19.useState)(false);
24044
- const VERSION4 = "1.4.41";
24044
+ const VERSION4 = "1.4.42";
24045
24045
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24046
24046
  const {
24047
24047
  API_URL: API_URL2,
@@ -81332,7 +81332,7 @@ var init_Hey = __esm({
81332
81332
  };
81333
81333
  const splash = getSplash(isSplash);
81334
81334
  (0, import_react116.useEffect)(() => {
81335
- isSplash && isImageLoaded && isHydrated && minSplashTimeElapsed && setIsSplash(!allApps.length);
81335
+ isSplash && isImageLoaded && isHydrated && minSplashTimeElapsed && setIsSplash(!app?.store?.apps?.length);
81336
81336
  }, [isImageLoaded, isHydrated, isSplash, allApps, minSplashTimeElapsed]);
81337
81337
  (0, import_react116.useEffect)(() => {
81338
81338
  app?.slug && useExtensionIcon?.(app?.slug);