@chrryai/chrry 1.4.56 → 1.4.57
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 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1899,7 +1899,7 @@ var init_utils = __esm({
|
|
|
1899
1899
|
};
|
|
1900
1900
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1901
1901
|
config = getSiteConfig(getClientHostname());
|
|
1902
|
-
VERSION = config.version || "1.4.
|
|
1902
|
+
VERSION = config.version || "1.4.57";
|
|
1903
1903
|
getSlugFromPathname = (path) => {
|
|
1904
1904
|
return getAppAndStoreSlugs(path, {
|
|
1905
1905
|
defaultAppSlug: config.slug,
|
|
@@ -24079,7 +24079,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24079
24079
|
const [instructions, setInstructions] = (0, import_react20.useState)([]);
|
|
24080
24080
|
const [affiliateStats, setAffiliateStats] = (0, import_react20.useState)(null);
|
|
24081
24081
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react20.useState)(false);
|
|
24082
|
-
const VERSION4 = "1.4.
|
|
24082
|
+
const VERSION4 = "1.4.57";
|
|
24083
24083
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24084
24084
|
const {
|
|
24085
24085
|
API_URL: API_URL2,
|
|
@@ -44519,7 +44519,7 @@ function Skeleton({
|
|
|
44519
44519
|
const hasHydrated = useHasHydrated();
|
|
44520
44520
|
const { isEmpty } = useChat();
|
|
44521
44521
|
const { pathname, setIsNewChat, hasNotification } = useNavigationContext();
|
|
44522
|
-
const { isDrawerOpen, setIsDrawerOpen, isSmallDevice } = useTheme2();
|
|
44522
|
+
const { isDrawerOpen, setIsDrawerOpen, isSmallDevice, isMobileDevice } = useTheme2();
|
|
44523
44523
|
const { isStandalone: isStandalone2 } = usePlatform();
|
|
44524
44524
|
const { FRONTEND_URL: FRONTEND_URL2 } = useData();
|
|
44525
44525
|
const { app, isRemovingApp, isSavingApp } = useApp();
|
|
@@ -44641,14 +44641,14 @@ function Skeleton({
|
|
|
44641
44641
|
...utilities.button.style,
|
|
44642
44642
|
...utilities.transparent.style,
|
|
44643
44643
|
...utilities.small.style,
|
|
44644
|
-
...hasHydrated &&
|
|
44644
|
+
...hasHydrated && isMobileDevice && skeletonStyles.blog.style
|
|
44645
44645
|
}
|
|
44646
44646
|
},
|
|
44647
44647
|
/* @__PURE__ */ React.createElement(ImageComponent, { logo: "blossom", size: 22 }),
|
|
44648
44648
|
" ",
|
|
44649
44649
|
"Blossom"
|
|
44650
44650
|
)),
|
|
44651
|
-
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.right.style } }, /* @__PURE__ */ React.createElement(CharacterProfiles, null), /* @__PURE__ */ React.createElement(Subscribe, null), /* @__PURE__ */ React.createElement(SignIn, { showSignIn: false }), /* @__PURE__ */ React.createElement(LanguageSwitcher_default, null))
|
|
44651
|
+
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.right.style } }, /* @__PURE__ */ React.createElement(CharacterProfiles, null), /* @__PURE__ */ React.createElement(Subscribe, null), !isMobileDevice ? /* @__PURE__ */ React.createElement(SignIn, { showSignIn: false }) : null, /* @__PURE__ */ React.createElement(LanguageSwitcher_default, null))
|
|
44652
44652
|
),
|
|
44653
44653
|
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.contentContainer.style } }, /* @__PURE__ */ React.createElement(React.Fragment, null, children))
|
|
44654
44654
|
)
|