@chrryai/chrry 1.4.43 → 1.4.44
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 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1898,7 +1898,7 @@ var init_utils = __esm({
|
|
|
1898
1898
|
};
|
|
1899
1899
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1900
1900
|
config = getSiteConfig(getClientHostname());
|
|
1901
|
-
VERSION = config.version || "1.4.
|
|
1901
|
+
VERSION = config.version || "1.4.44";
|
|
1902
1902
|
getSlugFromPathname = (path) => {
|
|
1903
1903
|
return getAppAndStoreSlugs(path, {
|
|
1904
1904
|
defaultAppSlug: config.slug,
|
|
@@ -24042,7 +24042,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24042
24042
|
const [instructions, setInstructions] = (0, import_react19.useState)([]);
|
|
24043
24043
|
const [affiliateStats, setAffiliateStats] = (0, import_react19.useState)(null);
|
|
24044
24044
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react19.useState)(false);
|
|
24045
|
-
const VERSION4 = "1.4.
|
|
24045
|
+
const VERSION4 = "1.4.44";
|
|
24046
24046
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24047
24047
|
const {
|
|
24048
24048
|
API_URL: API_URL2,
|
|
@@ -29344,7 +29344,8 @@ function ImageComponent(props) {
|
|
|
29344
29344
|
}
|
|
29345
29345
|
}, [isEmoji, isAgent]);
|
|
29346
29346
|
const color = COLORS[app?.themeColor] || "var(--accent-6)";
|
|
29347
|
-
const
|
|
29347
|
+
const intSize = parseInt(size2);
|
|
29348
|
+
const emojiSize = intSize && intSize <= 24 ? intSize * 0.85 : intSize;
|
|
29348
29349
|
if (isEmoji) {
|
|
29349
29350
|
if (app?.store?.slug === "books") {
|
|
29350
29351
|
if (app.slug === "zarathustra") {
|