@chrryai/chrry 1.2.39 → 1.2.42
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1407,7 +1407,7 @@ declare const isFirefox: boolean;
|
|
|
1407
1407
|
declare function getFlag({ code }: {
|
|
1408
1408
|
code?: string;
|
|
1409
1409
|
}): string;
|
|
1410
|
-
declare const VERSION = "1.2.
|
|
1410
|
+
declare const VERSION = "1.2.42";
|
|
1411
1411
|
type instructionBase = {
|
|
1412
1412
|
id: string;
|
|
1413
1413
|
title: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1407,7 +1407,7 @@ declare const isFirefox: boolean;
|
|
|
1407
1407
|
declare function getFlag({ code }: {
|
|
1408
1408
|
code?: string;
|
|
1409
1409
|
}): string;
|
|
1410
|
-
declare const VERSION = "1.2.
|
|
1410
|
+
declare const VERSION = "1.2.42";
|
|
1411
1411
|
type instructionBase = {
|
|
1412
1412
|
id: string;
|
|
1413
1413
|
title: string;
|
package/dist/index.js
CHANGED
|
@@ -19650,7 +19650,7 @@ function DataProvider({
|
|
|
19650
19650
|
const [instructions, setInstructions] = (0, import_react14.useState)([]);
|
|
19651
19651
|
const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
|
|
19652
19652
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
|
|
19653
|
-
const VERSION3 = "1.2.
|
|
19653
|
+
const VERSION3 = "1.2.42";
|
|
19654
19654
|
const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
|
|
19655
19655
|
const {
|
|
19656
19656
|
API_URL: API_URL2,
|
|
@@ -20687,7 +20687,7 @@ var init_utils = __esm({
|
|
|
20687
20687
|
window.history.replaceState({}, "", newUrl);
|
|
20688
20688
|
};
|
|
20689
20689
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
|
|
20690
|
-
VERSION = "1.2.
|
|
20690
|
+
VERSION = "1.2.42";
|
|
20691
20691
|
getSlugFromPathname = (path) => {
|
|
20692
20692
|
const siteConfig = getSiteConfig();
|
|
20693
20693
|
return getAppAndStoreSlugs(path, {
|
|
@@ -28290,7 +28290,7 @@ function App({
|
|
|
28290
28290
|
const currentStoreId = store?.id;
|
|
28291
28291
|
const getApps2 = () => {
|
|
28292
28292
|
return apps.filter(
|
|
28293
|
-
(item) => item.id !== store?.appId && item.id !== chrry?.id && (item.id !== atlas?.id || app
|
|
28293
|
+
(item) => item.id !== store?.appId && item.id !== chrry?.id && (item.id !== atlas?.id || app?.id !== chrry?.id)
|
|
28294
28294
|
).sort((a, b) => {
|
|
28295
28295
|
const aIsStoreBase = a.id === a.store?.appId && a.store?.id === currentStoreId;
|
|
28296
28296
|
const bIsStoreBase = b.id === b.store?.appId && b.store?.id === currentStoreId;
|
|
@@ -28899,7 +28899,7 @@ function App({
|
|
|
28899
28899
|
}
|
|
28900
28900
|
},
|
|
28901
28901
|
/* @__PURE__ */ import_react49.default.createElement(DraggableAppList, { className: (0, import_clsx12.default)(import_App_module.default.apps) }, appsState.filter((item) => item.id !== popcorn?.id).slice(0, 5)?.map((item, index) => {
|
|
28902
|
-
const showAtlasHere = index === 1 && app
|
|
28902
|
+
const showAtlasHere = index === 1 && app?.id === chrry?.id;
|
|
28903
28903
|
const showPacmanHere = index === 2;
|
|
28904
28904
|
const showSpaceInvaderHere = index === 3;
|
|
28905
28905
|
return /* @__PURE__ */ import_react49.default.createElement(
|
|
@@ -28943,7 +28943,9 @@ function App({
|
|
|
28943
28943
|
height: 28
|
|
28944
28944
|
}
|
|
28945
28945
|
)
|
|
28946
|
-
), showPacmanHere ? popcorn && store
|
|
28946
|
+
), showPacmanHere ? popcorn && store && store?.apps?.some(
|
|
28947
|
+
(app2) => app2.id === popcorn.id
|
|
28948
|
+
) ? /* @__PURE__ */ import_react49.default.createElement(
|
|
28947
28949
|
Anchor,
|
|
28948
28950
|
{
|
|
28949
28951
|
href: getAppSlug(popcorn),
|
|
@@ -33994,7 +33996,7 @@ function SignIn({
|
|
|
33994
33996
|
}) {
|
|
33995
33997
|
const isExtension2 = checkIsExtension();
|
|
33996
33998
|
const siteConfig = getSiteConfig();
|
|
33997
|
-
const isAppleSignInAvailable =
|
|
33999
|
+
const isAppleSignInAvailable = true;
|
|
33998
34000
|
const {
|
|
33999
34001
|
setToken,
|
|
34000
34002
|
user,
|