@chrryai/chrry 1.7.29 → 1.7.30

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 CHANGED
@@ -3264,7 +3264,7 @@ var init_utils = __esm({
3264
3264
  };
3265
3265
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
3266
3266
  config = getSiteConfig(getClientHostname2());
3267
- VERSION = config.version || "1.7.29";
3267
+ VERSION = config.version || "1.7.30";
3268
3268
  getSlugFromPathname = (path) => {
3269
3269
  return getAppAndStoreSlugs(path, {
3270
3270
  defaultAppSlug: config.slug,
@@ -24242,6 +24242,7 @@ function AuthProvider({
24242
24242
  } else {
24243
24243
  setUserBaseApp(u);
24244
24244
  }
24245
+ setApp(u);
24245
24246
  setUpdatedApp(void 0);
24246
24247
  router.push(getAppSlug2(u) || "");
24247
24248
  import_react_hot_toast.default.success((0, import_i18next2.t)("Updated") + " \u{1F680}");
@@ -24254,6 +24255,7 @@ function AuthProvider({
24254
24255
  setUserBaseApp(n);
24255
24256
  }
24256
24257
  import_react_hot_toast.default.success((0, import_i18next2.t)("\u{1F973} WOW!, you created something amazing"));
24258
+ setApp(n);
24257
24259
  router.push(getAppSlug2(n) || "");
24258
24260
  setNewApp(void 0);
24259
24261
  setIsSavingApp(false);
@@ -24850,7 +24852,7 @@ function DataProvider({ children, ...rest }) {
24850
24852
  const [instructions, setInstructions] = (0, import_react21.useState)([]);
24851
24853
  const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
24852
24854
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
24853
- const VERSION4 = "1.7.29";
24855
+ const VERSION4 = "1.7.30";
24854
24856
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24855
24857
  const {
24856
24858
  API_URL: API_URL2,
@@ -35774,7 +35776,7 @@ function App({
35774
35776
  const totalApps = guestBaseApp?.store?.apps.length || userBaseApp?.store?.apps.length || 0;
35775
35777
  const getApps2 = () => {
35776
35778
  return apps.filter(
35777
- (item) => (item.id !== store?.appId || (totalApps <= 3 ? item.id === guestBaseApp?.id || item.id === userBaseApp?.id : false)) && item.id !== chrry?.id && item.id !== grape?.id && item.id !== zarathustra2?.id && (item.id === atlas2?.id ? app?.store?.app?.id === vex2?.id || baseApp?.id === vex2?.id : true) && item.id !== popcorn2?.id && (isBlossom ? item.id !== atlas2?.id : true)
35779
+ (item) => item.id !== store?.appId && item.id !== chrry?.id && item.id !== grape?.id && item.id !== zarathustra2?.id && (item.id === atlas2?.id ? app?.store?.app?.id === vex2?.id || baseApp?.id === vex2?.id : true) && item.id !== popcorn2?.id && (isBlossom ? item.id !== atlas2?.id : true)
35778
35780
  ).filter((item) => item.id !== focus2?.id).sort((a, b) => {
35779
35781
  const aIsStoreBase = a.id === a.store?.appId && a.store?.id === currentStoreId;
35780
35782
  const bIsStoreBase = b.id === b.store?.appId && b.store?.id === currentStoreId;