@chrryai/chrry 1.6.67 → 1.6.69
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 +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3129,7 +3129,7 @@ var init_utils = __esm({
|
|
|
3129
3129
|
};
|
|
3130
3130
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
3131
3131
|
config = getSiteConfig(getClientHostname());
|
|
3132
|
-
VERSION = config.version || "1.6.
|
|
3132
|
+
VERSION = config.version || "1.6.69";
|
|
3133
3133
|
getSlugFromPathname = (path) => {
|
|
3134
3134
|
return getAppAndStoreSlugs(path, {
|
|
3135
3135
|
defaultAppSlug: config.slug,
|
|
@@ -24675,7 +24675,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24675
24675
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24676
24676
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24677
24677
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24678
|
-
const VERSION4 = "1.6.
|
|
24678
|
+
const VERSION4 = "1.6.69";
|
|
24679
24679
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24680
24680
|
const {
|
|
24681
24681
|
API_URL: API_URL2,
|
|
@@ -41432,8 +41432,8 @@ function Menu({
|
|
|
41432
41432
|
suppressHydrationWarning: true,
|
|
41433
41433
|
style: {
|
|
41434
41434
|
...styles4.menuItems.style,
|
|
41435
|
-
display: "flex"
|
|
41436
|
-
|
|
41435
|
+
display: "flex",
|
|
41436
|
+
marginTop: !viewPortHeight || viewPortHeight > 700 ? "1rem" : void 0
|
|
41437
41437
|
}
|
|
41438
41438
|
},
|
|
41439
41439
|
/* @__PURE__ */ import_react60.default.createElement(
|
|
@@ -47770,7 +47770,11 @@ function Share3({
|
|
|
47770
47770
|
if (!search) return;
|
|
47771
47771
|
try {
|
|
47772
47772
|
setIsAdding(true);
|
|
47773
|
-
const result = await apiFetch(`${API_URL2}/users?search=${search}
|
|
47773
|
+
const result = await apiFetch(`${API_URL2}/users?search=${search}`, {
|
|
47774
|
+
headers: {
|
|
47775
|
+
Authorization: `Bearer ${token}`
|
|
47776
|
+
}
|
|
47777
|
+
});
|
|
47774
47778
|
if (!result.ok) {
|
|
47775
47779
|
setIsAdding(false);
|
|
47776
47780
|
if (result.status === 404) {
|