@chrryai/chrry 1.5.39 → 1.5.40
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
|
@@ -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.40";
|
|
2097
2097
|
getSlugFromPathname = (path) => {
|
|
2098
2098
|
return getAppAndStoreSlugs(path, {
|
|
2099
2099
|
defaultAppSlug: config.slug,
|
|
@@ -23740,7 +23740,7 @@ function AuthProvider({
|
|
|
23740
23740
|
return void 0;
|
|
23741
23741
|
}
|
|
23742
23742
|
const matchedApp = storeApps?.find(
|
|
23743
|
-
(item) => item.slug === appSlug && (!
|
|
23743
|
+
(item) => item.slug === appSlug && (!baseApp ? true : !baseApp?.store?.apps?.some((a) => a.id === item.id) ? item.store?.slug === storeSlug : true)
|
|
23744
23744
|
);
|
|
23745
23745
|
return matchedApp?.slug;
|
|
23746
23746
|
};
|
|
@@ -24429,7 +24429,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24429
24429
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24430
24430
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24431
24431
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24432
|
-
const VERSION4 = "1.5.
|
|
24432
|
+
const VERSION4 = "1.5.40";
|
|
24433
24433
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24434
24434
|
const {
|
|
24435
24435
|
API_URL: API_URL2,
|