@chrryai/chrry 1.2.17 → 1.2.18

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 CHANGED
@@ -1371,7 +1371,7 @@ declare const isFirefox: boolean;
1371
1371
  declare function getFlag({ code }: {
1372
1372
  code?: string;
1373
1373
  }): string;
1374
- declare const VERSION = "1.2.17";
1374
+ declare const VERSION = "1.2.18";
1375
1375
  type instructionBase = {
1376
1376
  id: string;
1377
1377
  title: string;
package/dist/index.d.ts CHANGED
@@ -1371,7 +1371,7 @@ declare const isFirefox: boolean;
1371
1371
  declare function getFlag({ code }: {
1372
1372
  code?: string;
1373
1373
  }): string;
1374
- declare const VERSION = "1.2.17";
1374
+ declare const VERSION = "1.2.18";
1375
1375
  type instructionBase = {
1376
1376
  id: string;
1377
1377
  title: string;
package/dist/index.js CHANGED
@@ -17331,7 +17331,7 @@ function DataProvider({
17331
17331
  const [instructions, setInstructions] = (0, import_react14.useState)([]);
17332
17332
  const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
17333
17333
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
17334
- const VERSION3 = "1.2.17";
17334
+ const VERSION3 = "1.2.18";
17335
17335
  const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
17336
17336
  const {
17337
17337
  API_URL: API_URL2,
@@ -18306,7 +18306,7 @@ var init_utils = __esm({
18306
18306
  window.history.replaceState({}, "", newUrl);
18307
18307
  };
18308
18308
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
18309
- VERSION = "1.2.17";
18309
+ VERSION = "1.2.18";
18310
18310
  getSlugFromPathname = (path) => {
18311
18311
  const siteConfig = getSiteConfig();
18312
18312
  return getAppAndStoreSlugs(path, {
@@ -39534,12 +39534,6 @@ var init_Sidebar = __esm({
39534
39534
  locales
39535
39535
  });
39536
39536
  const isAppSlug = !!appSlug && allApps.some((candidate) => candidate.slug === appSlug);
39537
- console.log(
39538
- `\u{1F680} ~ file: Sidebar.tsx:111 ~ isAppSlug:`,
39539
- app,
39540
- pathname,
39541
- appSlug
39542
- );
39543
39537
  const pathWithoutLocale = pathname.replace(/^\/[a-z]{2}\//, "/").slice(1).split("?")[0];
39544
39538
  const isStorePage = !!store;
39545
39539
  const isThreadDetailPage = !!threadId;
@@ -39568,7 +39562,7 @@ var init_Sidebar = __esm({
39568
39562
  isSplash && isImageLoaded && isHydrated && setIsSplash(false);
39569
39563
  }, 1500);
39570
39564
  }, [isImageLoaded, isHydrated, isSplash]);
39571
- return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(ErrorBoundary, null, splash, !isLoading && /* @__PURE__ */ React.createElement(import_react90.Suspense, null, config.mode === "chrryDev" ? /* @__PURE__ */ React.createElement(Chrry2, null) : isClientRoute ? (
39565
+ return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(ErrorBoundary, null, splash, !isLoading && /* @__PURE__ */ React.createElement(import_react90.Suspense, null, isClientRoute ? (
39572
39566
  // Client-side routes: SWAP content
39573
39567
  // Check thread detail FIRST before RouteComponent
39574
39568
  isThreadDetailPage && !isHome ? /* @__PURE__ */ React.createElement(Thread_default, { key: threadId }) : RouteComponent ? /* @__PURE__ */ React.createElement(RouteComponent, { className }) : isHome && /* @__PURE__ */ React.createElement(Home, { className })