@chrryai/chrry 1.5.98 → 1.6.0
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3108,7 +3108,7 @@ var init_utils = __esm({
|
|
|
3108
3108
|
};
|
|
3109
3109
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
3110
3110
|
config = getSiteConfig(getClientHostname());
|
|
3111
|
-
VERSION = config.version || "1.
|
|
3111
|
+
VERSION = config.version || "1.6.0";
|
|
3112
3112
|
getSlugFromPathname = (path) => {
|
|
3113
3113
|
return getAppAndStoreSlugs(path, {
|
|
3114
3114
|
defaultAppSlug: config.slug,
|
|
@@ -24616,7 +24616,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24616
24616
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24617
24617
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24618
24618
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24619
|
-
const VERSION4 = "1.
|
|
24619
|
+
const VERSION4 = "1.6.0";
|
|
24620
24620
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24621
24621
|
const {
|
|
24622
24622
|
API_URL: API_URL2,
|
|
@@ -81952,7 +81952,7 @@ var init_Hey = __esm({
|
|
|
81952
81952
|
const isStorePage = !!store;
|
|
81953
81953
|
const isThreadDetailPage = !!threadId;
|
|
81954
81954
|
const RouteComponent = isStorePage ? Store2 : pathWithoutLocale && ROUTES[pathWithoutLocale] ? ROUTES[pathWithoutLocale] : lastPathSegment && ROUTES[lastPathSegment] ? ROUTES[lastPathSegment] : isAppSlug ? Home : null;
|
|
81955
|
-
const isClientRoute = isExtension2 || !isSSRRoute && (!!RouteComponent || threadId || isThreadDetailPage || pathname === "/" || pathname === "/
|
|
81955
|
+
const isClientRoute = isExtension2 || !isSSRRoute && (!!RouteComponent || threadId || isThreadDetailPage || pathname === "/" || pathname === "/api" || isAppSlug);
|
|
81956
81956
|
const isHydrated = useHasHydrated();
|
|
81957
81957
|
const [isImageLoaded, setIsImageLoaded] = (0, import_react114.useState)(false);
|
|
81958
81958
|
const [minSplashTimeElapsed, setMinSplashTimeElapsed] = (0, import_react114.useState)(false);
|