@chrryai/chrry 1.5.43 → 1.5.45

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
@@ -773,7 +773,7 @@ var init_siteConfig = __esm({
773
773
  favicon: "focus",
774
774
  mode: "focus",
775
775
  slug: "focus",
776
- version: "26.10.47",
776
+ version: "26.10.48",
777
777
  storeSlug: "blossom",
778
778
  name: "Focus",
779
779
  domain: "focus.chrry.ai",
@@ -2093,7 +2093,7 @@ var init_utils = __esm({
2093
2093
  };
2094
2094
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
2095
2095
  config = getSiteConfig(getClientHostname());
2096
- VERSION = config.version || "1.5.43";
2096
+ VERSION = config.version || "1.5.45";
2097
2097
  getSlugFromPathname = (path) => {
2098
2098
  return getAppAndStoreSlugs(path, {
2099
2099
  defaultAppSlug: config.slug,
@@ -23602,7 +23602,7 @@ function AuthProvider({
23602
23602
  if (targetApp) {
23603
23603
  if (targetApp.id === baseApp?.id) {
23604
23604
  computedSlug = defaultSlug;
23605
- } else if (targetApp.id === app?.id && baseApp?.store?.apps.some((app2) => app2.id === targetApp.id)) {
23605
+ } else if (targetApp.id === app?.id && targetApp.store?.slug === baseApp?.store?.slug && baseApp?.store?.apps.some((app2) => app2.id === targetApp.id)) {
23606
23606
  computedSlug = `/${targetApp.slug}`;
23607
23607
  } else {
23608
23608
  computedSlug = `/${targetApp.store?.slug}/${targetApp.slug}`;
@@ -24414,7 +24414,7 @@ function DataProvider({ children, ...rest }) {
24414
24414
  const [instructions, setInstructions] = (0, import_react21.useState)([]);
24415
24415
  const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
24416
24416
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
24417
- const VERSION4 = "1.5.43";
24417
+ const VERSION4 = "1.5.45";
24418
24418
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24419
24419
  const {
24420
24420
  API_URL: API_URL2,