@chrryai/chrry 1.6.20 → 1.6.22
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 +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/globals.scss +10 -10
- 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.6.
|
|
3111
|
+
VERSION = config.version || "1.6.22";
|
|
3112
3112
|
getSlugFromPathname = (path) => {
|
|
3113
3113
|
return getAppAndStoreSlugs(path, {
|
|
3114
3114
|
defaultAppSlug: config.slug,
|
|
@@ -24617,7 +24617,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24617
24617
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24618
24618
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24619
24619
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24620
|
-
const VERSION4 = "1.6.
|
|
24620
|
+
const VERSION4 = "1.6.22";
|
|
24621
24621
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24622
24622
|
const {
|
|
24623
24623
|
API_URL: API_URL2,
|
|
@@ -48222,6 +48222,7 @@ function MemoryConsent({
|
|
|
48222
48222
|
const { actions } = useData();
|
|
48223
48223
|
const { captureException } = useError();
|
|
48224
48224
|
const [isDeleting, setIsDeleting] = (0, import_react80.useState)(false);
|
|
48225
|
+
const isHydrated = useHasHydrated();
|
|
48225
48226
|
const [isDeletingSession, setIsDeletingSession] = (0, import_react80.useState)(false);
|
|
48226
48227
|
const containerRef = (0, import_react80.useRef)(null);
|
|
48227
48228
|
(0, import_react80.useEffect)(() => {
|
|
@@ -48239,7 +48240,7 @@ function MemoryConsent({
|
|
|
48239
48240
|
if (!user && !guest) {
|
|
48240
48241
|
return null;
|
|
48241
48242
|
}
|
|
48242
|
-
if (isManagingApp || canEditApp) {
|
|
48243
|
+
if (isManagingApp || canEditApp || !isHydrated) {
|
|
48243
48244
|
return null;
|
|
48244
48245
|
}
|
|
48245
48246
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -48472,6 +48473,7 @@ var init_MemoryConsent = __esm({
|
|
|
48472
48473
|
init_MemoryConsent_styles();
|
|
48473
48474
|
init_platform();
|
|
48474
48475
|
init_StylesContext();
|
|
48476
|
+
init_hooks();
|
|
48475
48477
|
}
|
|
48476
48478
|
});
|
|
48477
48479
|
|