@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 +1 -1
- package/dist/index.d.ts +1 -1
- 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 +4 -4
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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.
|
|
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.
|
|
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 =
|
|
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) {
|