@chrryai/chrry 1.6.97 → 1.6.98
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2960,8 +2960,8 @@ var init_utils = __esm({
|
|
|
2960
2960
|
};
|
|
2961
2961
|
FE_PORT = getEnv().VITE_FE_PORT || "5173";
|
|
2962
2962
|
API_PORT = getEnv().API_PORT || "3001";
|
|
2963
|
-
FRONTEND_URL = isTestingDevice ? `http://192.168.2.27:${FE_PORT}` : isDevelopment ? `http://localhost:${FE_PORT}` : CHRRY_URL;
|
|
2964
|
-
PROD_FRONTEND_URL =
|
|
2963
|
+
FRONTEND_URL = getEnv().VITE_FRONTEND_URL || (isTestingDevice ? `http://192.168.2.27:${FE_PORT}` : isDevelopment ? `http://localhost:${FE_PORT}` : CHRRY_URL);
|
|
2964
|
+
PROD_FRONTEND_URL = FRONTEND_URL;
|
|
2965
2965
|
isE2E = getEnv().VITE_TESTING_ENV === "e2e" || getEnv().TESTING_ENV === "e2e";
|
|
2966
2966
|
API_INTERNAL_URL = getEnv().VITE_API_INTERNAL_URL;
|
|
2967
2967
|
API_URL = getEnv().VITE_API_URL || (isTestingDevice ? `http://192.168.2.27:${API_PORT}/api` : isDevelopment ? `http://localhost:${API_PORT}/api` : isE2E ? "https://e2e.chrry.dev/api" : "https://chrry.dev/api");
|
|
@@ -3144,7 +3144,7 @@ var init_utils = __esm({
|
|
|
3144
3144
|
};
|
|
3145
3145
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
3146
3146
|
config = getSiteConfig(getClientHostname());
|
|
3147
|
-
VERSION = config.version || "1.6.
|
|
3147
|
+
VERSION = config.version || "1.6.98";
|
|
3148
3148
|
getSlugFromPathname = (path) => {
|
|
3149
3149
|
return getAppAndStoreSlugs(path, {
|
|
3150
3150
|
defaultAppSlug: config.slug,
|
|
@@ -24693,7 +24693,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24693
24693
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24694
24694
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24695
24695
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24696
|
-
const VERSION4 = "1.6.
|
|
24696
|
+
const VERSION4 = "1.6.98";
|
|
24697
24697
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24698
24698
|
const {
|
|
24699
24699
|
API_URL: API_URL2,
|