@chrryai/chrry 1.6.63 → 1.6.64
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 +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3129,7 +3129,7 @@ var init_utils = __esm({
|
|
|
3129
3129
|
};
|
|
3130
3130
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
3131
3131
|
config = getSiteConfig(getClientHostname());
|
|
3132
|
-
VERSION = config.version || "1.6.
|
|
3132
|
+
VERSION = config.version || "1.6.64";
|
|
3133
3133
|
getSlugFromPathname = (path) => {
|
|
3134
3134
|
return getAppAndStoreSlugs(path, {
|
|
3135
3135
|
defaultAppSlug: config.slug,
|
|
@@ -6306,7 +6306,7 @@ function ThemeProvider({
|
|
|
6306
6306
|
getInitialTheme()
|
|
6307
6307
|
);
|
|
6308
6308
|
const [isSmallDevice, setIsSmallDeviceInternal] = (0, import_react18.useState)(
|
|
6309
|
-
viewPortWidth ? viewPortWidth < 960 : device !== "desktop"
|
|
6309
|
+
viewPortWidth != void 0 ? viewPortWidth < 960 : device !== "desktop"
|
|
6310
6310
|
);
|
|
6311
6311
|
const setIsSmallDevice = (isSmallDevice2) => {
|
|
6312
6312
|
setIsSmallDeviceInternal(isSmallDevice2);
|
|
@@ -24658,7 +24658,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24658
24658
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24659
24659
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24660
24660
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24661
|
-
const VERSION4 = "1.6.
|
|
24661
|
+
const VERSION4 = "1.6.64";
|
|
24662
24662
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24663
24663
|
const {
|
|
24664
24664
|
API_URL: API_URL2,
|
|
@@ -41413,10 +41413,11 @@ function Menu({
|
|
|
41413
41413
|
/* @__PURE__ */ import_react60.default.createElement(
|
|
41414
41414
|
Div,
|
|
41415
41415
|
{
|
|
41416
|
+
suppressHydrationWarning: true,
|
|
41416
41417
|
style: {
|
|
41417
41418
|
...styles4.menuItems.style,
|
|
41418
|
-
display: "flex"
|
|
41419
|
-
marginTop: viewPortHeight > 700 ? "1rem" :
|
|
41419
|
+
display: "flex"
|
|
41420
|
+
// marginTop: viewPortHeight > 700 ? "1rem" : undefined,
|
|
41420
41421
|
}
|
|
41421
41422
|
},
|
|
41422
41423
|
/* @__PURE__ */ import_react60.default.createElement(
|
|
@@ -44920,6 +44921,7 @@ function Skeleton({
|
|
|
44920
44921
|
const { isEmpty } = useChat();
|
|
44921
44922
|
const { pathname, setIsNewChat, hasNotification } = useNavigationContext();
|
|
44922
44923
|
const { isDrawerOpen, setIsDrawerOpen, isSmallDevice, isMobileDevice } = useTheme2();
|
|
44924
|
+
console.log(`\u{1F680} ~ isSmallDevice:`, isSmallDevice);
|
|
44923
44925
|
const { isStandalone: isStandalone2 } = usePlatform();
|
|
44924
44926
|
const { FRONTEND_URL: FRONTEND_URL2 } = useData();
|
|
44925
44927
|
const { app, isRemovingApp, isSavingApp } = useApp();
|
|
@@ -45066,7 +45068,6 @@ var init_Skeleton = __esm({
|
|
|
45066
45068
|
init_SignIn();
|
|
45067
45069
|
init_Subscribe();
|
|
45068
45070
|
init_icons();
|
|
45069
|
-
init_hooks();
|
|
45070
45071
|
init_LanguageSwitcher();
|
|
45071
45072
|
import_react70 = require("react");
|
|
45072
45073
|
init_Image();
|
|
@@ -45078,6 +45079,7 @@ var init_Skeleton = __esm({
|
|
|
45078
45079
|
init_A();
|
|
45079
45080
|
init_Version();
|
|
45080
45081
|
init_addToHomeScreen();
|
|
45082
|
+
init_hooks();
|
|
45081
45083
|
}
|
|
45082
45084
|
});
|
|
45083
45085
|
|