@chrryai/chrry 1.5.45 → 1.5.46
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 +4 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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.
|
|
2096
|
+
VERSION = config.version || "1.5.46";
|
|
2097
2097
|
getSlugFromPathname = (path) => {
|
|
2098
2098
|
return getAppAndStoreSlugs(path, {
|
|
2099
2099
|
defaultAppSlug: config.slug,
|
|
@@ -23820,15 +23820,9 @@ function AuthProvider({
|
|
|
23820
23820
|
setShowFocus(canShowFocus);
|
|
23821
23821
|
}, [canShowFocus]);
|
|
23822
23822
|
const [store, setStore] = (0, import_react19.useState)(app?.store);
|
|
23823
|
-
const
|
|
23824
|
-
(item) => app?.store?.appId && item.id === app?.store?.appId
|
|
23823
|
+
const storeApp = app?.store?.apps.find(
|
|
23824
|
+
(item) => app?.store?.appId && item.id === app?.store?.appId && item.store?.id === app?.store?.id
|
|
23825
23825
|
);
|
|
23826
|
-
const [storeApp, setStoreApp] = (0, import_react19.useState)(
|
|
23827
|
-
storeAppInternal
|
|
23828
|
-
);
|
|
23829
|
-
(0, import_react19.useEffect)(() => {
|
|
23830
|
-
setStoreApp(storeAppInternal);
|
|
23831
|
-
}, [storeAppInternal]);
|
|
23832
23826
|
const apps = storeApps.filter((item) => {
|
|
23833
23827
|
return app?.store?.app?.store?.apps?.some((app2) => app2.id === item.id);
|
|
23834
23828
|
});
|
|
@@ -24414,7 +24408,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24414
24408
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24415
24409
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24416
24410
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24417
|
-
const VERSION4 = "1.5.
|
|
24411
|
+
const VERSION4 = "1.5.46";
|
|
24418
24412
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24419
24413
|
const {
|
|
24420
24414
|
API_URL: API_URL2,
|