@chrryai/chrry 1.2.71 → 1.2.74

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
@@ -781,7 +781,7 @@ declare const isFirefox: boolean;
781
781
  declare function getFlag({ code }: {
782
782
  code?: string;
783
783
  }): string;
784
- declare const VERSION = "1.2.71";
784
+ declare const VERSION = "1.2.74";
785
785
  type instructionBase = {
786
786
  id: string;
787
787
  title: string;
package/dist/index.d.ts CHANGED
@@ -781,7 +781,7 @@ declare const isFirefox: boolean;
781
781
  declare function getFlag({ code }: {
782
782
  code?: string;
783
783
  }): string;
784
- declare const VERSION = "1.2.71";
784
+ declare const VERSION = "1.2.74";
785
785
  type instructionBase = {
786
786
  id: string;
787
787
  title: string;
package/dist/index.js CHANGED
@@ -20662,7 +20662,7 @@ function DataProvider({
20662
20662
  const [instructions, setInstructions] = (0, import_react14.useState)([]);
20663
20663
  const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
20664
20664
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
20665
- const VERSION3 = "1.2.71";
20665
+ const VERSION3 = "1.2.74";
20666
20666
  const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
20667
20667
  const {
20668
20668
  API_URL: API_URL2,
@@ -21712,7 +21712,7 @@ var init_utils = __esm({
21712
21712
  window.history.replaceState({}, "", newUrl);
21713
21713
  };
21714
21714
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
21715
- VERSION = "1.2.71";
21715
+ VERSION = "1.2.74";
21716
21716
  getSlugFromPathname = (path) => {
21717
21717
  const siteConfig = getSiteConfig();
21718
21718
  return getAppAndStoreSlugs(path, {
@@ -21785,7 +21785,7 @@ var init_utils = __esm({
21785
21785
  member,
21786
21786
  guest
21787
21787
  }) => {
21788
- const multiplier = isE2E ? 10 : 1;
21788
+ const multiplier = member?.role === "admin" ? 10 : 1;
21789
21789
  if (member?.subscription || guest?.subscription) {
21790
21790
  return 50 * multiplier;
21791
21791
  } else if (member) {