@chrryai/chrry 1.5.26 → 1.5.27
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/App.module.scss +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/App.module.scss
CHANGED
package/dist/index.js
CHANGED
|
@@ -505,6 +505,9 @@ function detectSiteModeDomain(hostname2, mode) {
|
|
|
505
505
|
const matchesDomain = (host2, domain) => {
|
|
506
506
|
return host2 === domain || host2.endsWith(`.${domain}`);
|
|
507
507
|
};
|
|
508
|
+
if (matchesDomain(host, "books.chrry.ai")) {
|
|
509
|
+
return "zarathustra";
|
|
510
|
+
}
|
|
508
511
|
if (matchesDomain(host, "atlas.chrry.ai")) {
|
|
509
512
|
return "atlas";
|
|
510
513
|
}
|
|
@@ -2065,7 +2068,7 @@ var init_utils = __esm({
|
|
|
2065
2068
|
};
|
|
2066
2069
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
2067
2070
|
config = getSiteConfig(getClientHostname());
|
|
2068
|
-
VERSION = config.version || "1.5.
|
|
2071
|
+
VERSION = config.version || "1.5.27";
|
|
2069
2072
|
getSlugFromPathname = (path) => {
|
|
2070
2073
|
return getAppAndStoreSlugs(path, {
|
|
2071
2074
|
defaultAppSlug: config.slug,
|
|
@@ -24372,7 +24375,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24372
24375
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24373
24376
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24374
24377
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24375
|
-
const VERSION4 = "1.5.
|
|
24378
|
+
const VERSION4 = "1.5.27";
|
|
24376
24379
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24377
24380
|
const {
|
|
24378
24381
|
API_URL: API_URL2,
|
|
@@ -27403,7 +27406,7 @@ var init_App_styles = __esm({
|
|
|
27403
27406
|
},
|
|
27404
27407
|
zarathustra: {
|
|
27405
27408
|
position: "relative",
|
|
27406
|
-
right:
|
|
27409
|
+
right: 5
|
|
27407
27410
|
},
|
|
27408
27411
|
grip: {},
|
|
27409
27412
|
instructions: {},
|