@chrryai/chrry 1.4.61 → 1.4.62
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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1899,7 +1899,7 @@ var init_utils = __esm({
|
|
|
1899
1899
|
};
|
|
1900
1900
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1901
1901
|
config = getSiteConfig(getClientHostname());
|
|
1902
|
-
VERSION = config.version || "1.4.
|
|
1902
|
+
VERSION = config.version || "1.4.62";
|
|
1903
1903
|
getSlugFromPathname = (path) => {
|
|
1904
1904
|
return getAppAndStoreSlugs(path, {
|
|
1905
1905
|
defaultAppSlug: config.slug,
|
|
@@ -24196,7 +24196,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24196
24196
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24197
24197
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24198
24198
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24199
|
-
const VERSION4 = "1.4.
|
|
24199
|
+
const VERSION4 = "1.4.62";
|
|
24200
24200
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24201
24201
|
const {
|
|
24202
24202
|
API_URL: API_URL2,
|
|
@@ -34086,7 +34086,7 @@ function Instructions({
|
|
|
34086
34086
|
const { FRONTEND_URL: FRONTEND_URL2, API_URL: API_URL2 } = useData();
|
|
34087
34087
|
const styles4 = useInstructionsStyles();
|
|
34088
34088
|
const { utilities } = useStyles();
|
|
34089
|
-
const { defaultInstructions,
|
|
34089
|
+
const { defaultInstructions, isAppInstructions } = useApp();
|
|
34090
34090
|
const { token, language, user, guest, app, focus, baseApp } = useAuth();
|
|
34091
34091
|
const {
|
|
34092
34092
|
selectedAgent,
|
|
@@ -35028,7 +35028,7 @@ ${t6(`The more specific you are, the better AI can assist you!`)}`)
|
|
|
35028
35028
|
return /* @__PURE__ */ import_react55.default.createElement(
|
|
35029
35029
|
MotiView,
|
|
35030
35030
|
{
|
|
35031
|
-
key: instruction.id
|
|
35031
|
+
key: `instruction-${instruction.id}-isAppInstructions-${isAppInstructions ? "true" : "false"}`,
|
|
35032
35032
|
from: { opacity: 0, translateY: -10 },
|
|
35033
35033
|
animate: { opacity: 1, translateY: 0 },
|
|
35034
35034
|
transition: {
|
|
@@ -42726,7 +42726,7 @@ function SignIn({
|
|
|
42726
42726
|
if (isExtension2) {
|
|
42727
42727
|
return null;
|
|
42728
42728
|
}
|
|
42729
|
-
return /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null, /* @__PURE__ */ import_react68.default.createElement(
|
|
42729
|
+
return /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null, /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null, !user ? /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null, showSignIn && /* @__PURE__ */ import_react68.default.createElement(
|
|
42730
42730
|
"button",
|
|
42731
42731
|
{
|
|
42732
42732
|
"data-testid": "login-button",
|
|
@@ -44760,7 +44760,7 @@ function Skeleton({
|
|
|
44760
44760
|
" ",
|
|
44761
44761
|
"Blossom"
|
|
44762
44762
|
)),
|
|
44763
|
-
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.right.style } }, /* @__PURE__ */ React.createElement(CharacterProfiles, null), /* @__PURE__ */ React.createElement(Subscribe, null),
|
|
44763
|
+
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.right.style } }, /* @__PURE__ */ React.createElement(CharacterProfiles, null), /* @__PURE__ */ React.createElement(Subscribe, null), /* @__PURE__ */ React.createElement(SignIn, { showSignIn: false, showRegister: isMobileDevice }), /* @__PURE__ */ React.createElement(LanguageSwitcher_default, null))
|
|
44764
44764
|
),
|
|
44765
44765
|
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.contentContainer.style } }, /* @__PURE__ */ React.createElement(React.Fragment, null, children))
|
|
44766
44766
|
)
|