@chrryai/chrry 1.2.56 → 1.2.58
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- 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.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -20661,7 +20661,7 @@ function DataProvider({
|
|
|
20661
20661
|
const [instructions, setInstructions] = (0, import_react14.useState)([]);
|
|
20662
20662
|
const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
|
|
20663
20663
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
|
|
20664
|
-
const VERSION3 = "1.2.
|
|
20664
|
+
const VERSION3 = "1.2.58";
|
|
20665
20665
|
const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
|
|
20666
20666
|
const {
|
|
20667
20667
|
API_URL: API_URL2,
|
|
@@ -21702,7 +21702,7 @@ var init_utils = __esm({
|
|
|
21702
21702
|
window.history.replaceState({}, "", newUrl);
|
|
21703
21703
|
};
|
|
21704
21704
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
|
|
21705
|
-
VERSION = "1.2.
|
|
21705
|
+
VERSION = "1.2.58";
|
|
21706
21706
|
getSlugFromPathname = (path) => {
|
|
21707
21707
|
const siteConfig = getSiteConfig();
|
|
21708
21708
|
return getAppAndStoreSlugs(path, {
|
|
@@ -29338,12 +29338,12 @@ function App({
|
|
|
29338
29338
|
const { addHapticFeedback } = useTheme2();
|
|
29339
29339
|
const currentStoreId = store?.id;
|
|
29340
29340
|
const chrry = apps.find((app2) => app2.slug === "chrry");
|
|
29341
|
-
const atlas = apps.find((app2) => app2.slug === "atlas");
|
|
29342
29341
|
const popcorn = apps.find((app2) => app2.slug === "popcorn");
|
|
29343
29342
|
const vex = apps.find((app2) => app2.slug === "vex");
|
|
29343
|
+
const atlas = apps.find((app2) => app2.slug === "atlas");
|
|
29344
29344
|
const getApps2 = () => {
|
|
29345
29345
|
return apps.filter((item) => item.id !== store?.appId && item.id !== chrry?.id).filter(
|
|
29346
|
-
(item) =>
|
|
29346
|
+
(item) => app?.id === chrry?.id && ["atlas", "popcorn"].includes(item.slug) ? false : true
|
|
29347
29347
|
).sort((a, b) => {
|
|
29348
29348
|
const aIsStoreBase = a.id === a.store?.appId && a.store?.id === currentStoreId;
|
|
29349
29349
|
const bIsStoreBase = b.id === b.store?.appId && b.store?.id === currentStoreId;
|
|
@@ -29364,7 +29364,7 @@ function App({
|
|
|
29364
29364
|
const [appsState, setApps] = import_react49.default.useState(getApps2());
|
|
29365
29365
|
(0, import_react49.useEffect)(() => {
|
|
29366
29366
|
setApps(getApps2());
|
|
29367
|
-
}, [apps, store?.id, store?.appId, currentStoreId, baseApp]);
|
|
29367
|
+
}, [apps, store?.id, store?.appId, currentStoreId, baseApp, app]);
|
|
29368
29368
|
const [file, setFile] = import_react49.default.useState();
|
|
29369
29369
|
const [image, setImageInternal] = import_react49.default.useState(
|
|
29370
29370
|
app?.image || void 0
|