@orbit-software/sdk 1.75.0 → 1.80.1
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/esm/assets/icons/IconBalanceCoins.d.ts +3 -0
- package/dist/esm/{app/ui/components/IconBalanceCoin.d.ts → assets/icons/IconBalanceGems.d.ts} +1 -1
- package/dist/esm/assets/icons/IconUsdt.d.ts +3 -0
- package/dist/esm/components/BuyAdsFreeButton.d.ts +1 -0
- package/dist/esm/{features/profile/components → components}/OverlayProfile.d.ts +2 -2
- package/dist/esm/components/layout/BottomSentinel.d.ts +2 -0
- package/dist/esm/components/modals/BoxOpeningModal/AnimatedFullscreen.d.ts +14 -0
- package/dist/esm/components/modals/BoxOpeningModal/BoxOpeningModal.d.ts +2 -0
- package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/PrizeCarousel.d.ts +4 -3
- package/dist/esm/components/modals/BoxOpeningModal/RewardBoxRareBadge.d.ts +5 -0
- package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/RewardTypeBadge.d.ts +2 -2
- package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/RewardTypeImage.d.ts +3 -3
- package/dist/esm/{launcherSrc/features/profile → components/modals/BoxOpeningModal}/utils/findPrizeIndex.d.ts +1 -1
- package/dist/esm/components/modals/BoxOpeningModal/utils/generateExcitingPrizes.d.ts +9 -0
- package/dist/esm/components/modals/BoxOpeningModal/utils/sortPrizesDistributed.d.ts +2 -0
- package/dist/esm/components/modals/LevelInfoModal.d.ts +2 -0
- package/dist/esm/components/modals/ProfileInventoryModal.d.ts +2 -0
- package/dist/esm/components/modals/PurchaseAdsFreeModal.d.ts +2 -0
- package/dist/esm/components/modals/TopUpModal/TopUpModal.d.ts +2 -0
- package/dist/esm/components/{AnimatedBalance.d.ts → ui/AnimatedBalance.d.ts} +2 -1
- package/dist/esm/components/ui/BalanceHeader.d.ts +4 -0
- package/dist/esm/components/ui/Drawer.d.ts +9 -0
- package/dist/esm/components/ui/EventsStack.d.ts +6 -0
- package/dist/esm/components/ui/FormattedXP.d.ts +4 -0
- package/dist/esm/components/ui/Icon.d.ts +27 -0
- package/dist/esm/{launcherSrc/app/ui/components → components/ui}/XpProgress.d.ts +2 -4
- package/dist/esm/{launcherSrc/app/contexts → components/ui/snackbar}/SnackbarContext.d.ts +4 -2
- package/dist/esm/confirm/confirm.d.ts +2 -0
- package/dist/esm/constants/animations.d.ts +2 -0
- package/dist/esm/hooks/useAnimateNumber.d.ts +1 -0
- package/dist/esm/hooks/useLottie.d.ts +12 -0
- package/dist/esm/hooks/useThrottle.d.ts +1 -0
- package/dist/esm/i18n/generate-types.d.ts +1 -0
- package/dist/esm/i18n/generated-translation-type.d.ts +112 -0
- package/dist/esm/i18n/languages.d.ts +7 -0
- package/dist/esm/i18n/locales/en.json.d.ts +137 -0
- package/dist/esm/i18n/locales/es.json.d.ts +136 -0
- package/dist/esm/i18n/locales/hi.json.d.ts +137 -0
- package/dist/esm/i18n/locales/pt.json.d.ts +136 -0
- package/dist/esm/i18n/locales/ru.json.d.ts +137 -0
- package/dist/esm/i18n/types.d.ts +9 -0
- package/dist/esm/i18n/useTranslation.d.ts +6 -0
- package/dist/esm/lib/BannerManager.d.ts +36 -0
- package/dist/esm/lib/WebSocketManager.d.ts +3 -3
- package/dist/esm/lib/activity-detector.d.ts +1 -1
- package/dist/esm/lib/tma-network.d.ts +1 -1
- package/dist/esm/providers/BoxOpeningProvider.d.ts +21 -0
- package/dist/esm/providers/ConfettiProvider.d.ts +3 -0
- package/dist/esm/providers/I18nBackendLanguageProvider.d.ts +3 -0
- package/dist/esm/queries/box/useBoxRewards.d.ts +13 -0
- package/dist/esm/queries/box/useRevealReward.d.ts +10 -0
- package/dist/esm/queries/user/useCancelNoAds.d.ts +2 -0
- package/dist/esm/queries/user/useCreateInvoiceBuyNoAds.d.ts +3 -0
- package/dist/esm/queries/user/usePrices.d.ts +3 -0
- package/dist/esm/queries/user/useProfile.d.ts +4 -0
- package/dist/esm/queryClient.d.ts +2 -0
- package/dist/esm/sdk.d.ts +56 -31
- package/dist/esm/sdk.mjs +44640 -43919
- package/dist/esm/sdk.umd.js +134 -198
- package/dist/esm/stores/confettiStore.d.ts +8 -0
- package/dist/esm/stores/inventroryModalStore.d.ts +6 -0
- package/dist/esm/stores/topUpModalStore.d.ts +6 -0
- package/dist/esm/types/api.d.ts +39 -0
- package/dist/esm/utils/cn.d.ts +2 -0
- package/dist/esm/utils/formatter.d.ts +5 -0
- package/dist/esm/utils/price.d.ts +2 -0
- package/dist/esm/utils/shuffleArray.d.ts +1 -0
- package/dist/esm/utils/telegramLanguageCodeToFlagEmoji.d.ts +11 -0
- package/dist/stats-confirm.html +1 -1
- package/dist/stats-esm.html +1 -1
- package/dist/stats-umd-react.html +1 -1
- package/dist/stats-umd.html +1 -1
- package/dist/umd/sdk.umd.js +134 -198
- package/dist/umd_react/sdk_react.umd.js +191 -255
- package/package.json +28 -30
- package/dist/confirm/index.html +0 -24
- package/dist/esm/app/helpers.d.ts +0 -2
- package/dist/esm/app/ui/assets/IconBack.d.ts +0 -1
- package/dist/esm/app/ui/components/AvatarProgress.d.ts +0 -13
- package/dist/esm/app/ui/components/ClosableModal.d.ts +0 -12
- package/dist/esm/app/ui/components/IconBalanceDiamond.d.ts +0 -3
- package/dist/esm/app/ui/components/InputSwitch.d.ts +0 -9
- package/dist/esm/app/ui/components/Inventory/Inventory.d.ts +0 -2
- package/dist/esm/app/ui/components/Inventory/context.d.ts +0 -10
- package/dist/esm/app/ui/components/XsButton.d.ts +0 -6
- package/dist/esm/app/ui/hooks/useAnimateNumber.d.ts +0 -1
- package/dist/esm/app/utils.d.ts +0 -2
- package/dist/esm/components/AppContent/AppContent.d.ts +0 -10
- package/dist/esm/components/AppContent/BottomSentinel.d.ts +0 -2
- package/dist/esm/components/BuyShopItem.d.ts +0 -1
- package/dist/esm/components/ModalCardContent.d.ts +0 -5
- package/dist/esm/features/profile/assets/IconAd.d.ts +0 -1
- package/dist/esm/features/profile/assets/IconAddCircle.d.ts +0 -1
- package/dist/esm/features/profile/assets/IconChevronRight.d.ts +0 -2
- package/dist/esm/features/profile/assets/IconDrag.d.ts +0 -2
- package/dist/esm/features/profile/assets/IconEdit.d.ts +0 -2
- package/dist/esm/features/profile/assets/IconGame.d.ts +0 -2
- package/dist/esm/features/profile/assets/IconNoSign.d.ts +0 -1
- package/dist/esm/features/profile/assets/IconProfile.d.ts +0 -1
- package/dist/esm/features/profile/assets/profileBgGradients.d.ts +0 -6
- package/dist/esm/features/profile/components/BalanceConfetti.d.ts +0 -6
- package/dist/esm/features/profile/components/BuyMenu.d.ts +0 -8
- package/dist/esm/features/profile/components/CircleParticles.d.ts +0 -10
- package/dist/esm/features/profile/components/FormattedXP.d.ts +0 -8
- package/dist/esm/features/profile/components/LevelInfoModal.d.ts +0 -9
- package/dist/esm/features/profile/components/ModalContainer.d.ts +0 -6
- package/dist/esm/features/profile/components/PurchaseConfirm.d.ts +0 -9
- package/dist/esm/features/profile/components/TaskCard.d.ts +0 -21
- package/dist/esm/features/profile/components/XpProgress.d.ts +0 -14
- package/dist/esm/features/profile/components/adsFree/BuyAdsFreeButton.d.ts +0 -3
- package/dist/esm/features/profile/components/adsFree/PurchaseAdsFree.d.ts +0 -11
- package/dist/esm/features/profile/hooks/useAnimatedProfile.d.ts +0 -5
- package/dist/esm/features/profile/utils/getFormattedDate.d.ts +0 -1
- package/dist/esm/features/wages/components/ModalContainer.d.ts +0 -6
- package/dist/esm/features/wages/components/WageCollapsedOverlay.d.ts +0 -6
- package/dist/esm/features/wages/components/WageExpandedOverlay.d.ts +0 -7
- package/dist/esm/features/wages/components/WageMenu.d.ts +0 -4
- package/dist/esm/features/wages/index.d.ts +0 -3
- package/dist/esm/features/wages/utils/formatTime.d.ts +0 -1
- package/dist/esm/features/wages/utils/formatTimeWageItem.d.ts +0 -1
- package/dist/esm/features/wages/utils/getSecondsPassed.d.ts +0 -1
- package/dist/esm/i18n/locales/translations/en.json.d.ts +0 -300
- package/dist/esm/i18n/locales/translations/hi.json.d.ts +0 -300
- package/dist/esm/i18n/locales/translations/ru.json.d.ts +0 -300
- package/dist/esm/launcherSrc/App.d.ts +0 -2
- package/dist/esm/launcherSrc/api/types.d.ts +0 -211
- package/dist/esm/launcherSrc/api/userApi.d.ts +0 -24
- package/dist/esm/launcherSrc/app/components/DebugConsole.d.ts +0 -2
- package/dist/esm/launcherSrc/app/helpers.d.ts +0 -3
- package/dist/esm/launcherSrc/app/hooks/forceRerender.d.ts +0 -1
- package/dist/esm/launcherSrc/app/hooks/useMainButtonControl.d.ts +0 -7
- package/dist/esm/launcherSrc/app/hooks/useMiniApp.d.ts +0 -3
- package/dist/esm/launcherSrc/app/hooks.d.ts +0 -10
- package/dist/esm/launcherSrc/app/store.d.ts +0 -17
- package/dist/esm/launcherSrc/app/ui/assets/IconBack.d.ts +0 -1
- package/dist/esm/launcherSrc/app/ui/assets/IconCheck.d.ts +0 -2
- package/dist/esm/launcherSrc/app/ui/assets/IconCheckThin.d.ts +0 -2
- package/dist/esm/launcherSrc/app/ui/assets/IconCross.d.ts +0 -2
- package/dist/esm/launcherSrc/app/ui/assets/IconSearch.d.ts +0 -2
- package/dist/esm/launcherSrc/app/ui/components/AvatarProgress.d.ts +0 -13
- package/dist/esm/launcherSrc/app/ui/components/ClosableModal.d.ts +0 -10
- package/dist/esm/launcherSrc/app/ui/components/FormattedXP.d.ts +0 -8
- package/dist/esm/launcherSrc/app/ui/components/IconBalance.d.ts +0 -3
- package/dist/esm/launcherSrc/app/ui/components/InputSwitch.d.ts +0 -9
- package/dist/esm/launcherSrc/app/ui/components/Twemoji.d.ts +0 -8
- package/dist/esm/launcherSrc/app/ui/components/UICell.d.ts +0 -16
- package/dist/esm/launcherSrc/app/ui/components/UIDateInput.d.ts +0 -21
- package/dist/esm/launcherSrc/app/ui/components/UIDivider.d.ts +0 -4
- package/dist/esm/launcherSrc/app/ui/components/UIEmoji.d.ts +0 -8
- package/dist/esm/launcherSrc/app/ui/components/UIHero.d.ts +0 -10
- package/dist/esm/launcherSrc/app/ui/components/UISection.d.ts +0 -9
- package/dist/esm/launcherSrc/app/ui/components/UITextarea.d.ts +0 -7
- package/dist/esm/launcherSrc/app/ui/hooks/useAnimateNumber.d.ts +0 -1
- package/dist/esm/launcherSrc/app/utils.d.ts +0 -13
- package/dist/esm/launcherSrc/assets/Icon28Edit.d.ts +0 -2
- package/dist/esm/launcherSrc/assets/Icon28Game.d.ts +0 -1
- package/dist/esm/launcherSrc/assets/Icon28Link.d.ts +0 -1
- package/dist/esm/launcherSrc/features/games/assets/IconFilter.d.ts +0 -1
- package/dist/esm/launcherSrc/features/games/assets/IconPlayers.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconQuestion.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconQuestionCircle.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconStar.d.ts +0 -4
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownFilled.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownOutlined.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpFilled.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpOutlined.d.ts +0 -2
- package/dist/esm/launcherSrc/features/games/components/GameItem.d.ts +0 -10
- package/dist/esm/launcherSrc/features/games/components/ResetStorageButton.d.ts +0 -3
- package/dist/esm/launcherSrc/features/games/components/ReviewModal.d.ts +0 -10
- package/dist/esm/launcherSrc/features/games/hooks/useGamesData.d.ts +0 -13
- package/dist/esm/launcherSrc/features/games/redux/gamesSlice.d.ts +0 -34
- package/dist/esm/launcherSrc/features/games/service/gamesService.d.ts +0 -3
- package/dist/esm/launcherSrc/features/leaderboard/components/Rating.d.ts +0 -1
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingCard/RatingCard.d.ts +0 -10
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingInfo/RatingInfo.d.ts +0 -1
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/IconWreaths.d.ts +0 -3
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/RatingLevel.d.ts +0 -6
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/lock.d.ts +0 -3
- package/dist/esm/launcherSrc/features/leaderboard/hooks/useLeaderboardData.d.ts +0 -10
- package/dist/esm/launcherSrc/features/leaderboard/index.d.ts +0 -1
- package/dist/esm/launcherSrc/features/leaderboard/redux/leaderboardSlice.d.ts +0 -18
- package/dist/esm/launcherSrc/features/leaderboard/services/leaderboardService.d.ts +0 -2
- package/dist/esm/launcherSrc/features/navigation/assets/IconGame.d.ts +0 -1
- package/dist/esm/launcherSrc/features/navigation/assets/IconProfile.d.ts +0 -1
- package/dist/esm/launcherSrc/features/navigation/assets/IconSmile.d.ts +0 -2
- package/dist/esm/launcherSrc/features/navigation/components/FloatingProfile.d.ts +0 -2
- package/dist/esm/launcherSrc/features/navigation/components/IconWithCounter.d.ts +0 -7
- package/dist/esm/launcherSrc/features/navigation/redux/navigationSlice.d.ts +0 -15
- package/dist/esm/launcherSrc/features/navigation/redux/tabsSlice.d.ts +0 -12
- package/dist/esm/launcherSrc/features/profile/assets/IconAd.d.ts +0 -1
- package/dist/esm/launcherSrc/features/profile/assets/IconAddCircle.d.ts +0 -1
- package/dist/esm/launcherSrc/features/profile/assets/IconChevronRight.d.ts +0 -2
- package/dist/esm/launcherSrc/features/profile/assets/IconColorPicker.d.ts +0 -1
- package/dist/esm/launcherSrc/features/profile/assets/IconCurrencyStar.d.ts +0 -3
- package/dist/esm/launcherSrc/features/profile/assets/IconGlobe.d.ts +0 -2
- package/dist/esm/launcherSrc/features/profile/assets/IconLock.d.ts +0 -2
- package/dist/esm/launcherSrc/features/profile/assets/IconNoSign.d.ts +0 -1
- package/dist/esm/launcherSrc/features/profile/assets/IconSignature.d.ts +0 -5
- package/dist/esm/launcherSrc/features/profile/assets/profileBgGradients.d.ts +0 -50
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/BuyAdsFreeButton.d.ts +0 -0
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/PurchaseAdsFree.d.ts +0 -9
- package/dist/esm/launcherSrc/features/profile/components/Balance/ProfileBalance.d.ts +0 -6
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyMenu.d.ts +0 -8
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/Ribbon.d.ts +0 -6
- package/dist/esm/launcherSrc/features/profile/components/BoxOpeningModal.d.ts +0 -3
- package/dist/esm/launcherSrc/features/profile/components/LevelInfoModal.d.ts +0 -9
- package/dist/esm/launcherSrc/features/profile/components/ProfileInventory.d.ts +0 -1
- package/dist/esm/launcherSrc/features/profile/components/ProfileLeaderboard.d.ts +0 -6
- package/dist/esm/launcherSrc/features/profile/components/ProfileReviews.d.ts +0 -6
- package/dist/esm/launcherSrc/features/profile/components/RewardBoxRareBadge.d.ts +0 -4
- package/dist/esm/launcherSrc/features/profile/components/particles/BalanceConfetti.d.ts +0 -6
- package/dist/esm/launcherSrc/features/profile/components/particles/CircleParticles.d.ts +0 -10
- package/dist/esm/launcherSrc/features/profile/components/particles/StarParticles.d.ts +0 -10
- package/dist/esm/launcherSrc/features/profile/contexts/BoxOpeningContext.d.ts +0 -12
- package/dist/esm/launcherSrc/features/profile/data/countries.d.ts +0 -10
- package/dist/esm/launcherSrc/features/profile/hooks/useProfileData.d.ts +0 -24
- package/dist/esm/launcherSrc/features/profile/redux/profileSlice.d.ts +0 -130
- package/dist/esm/launcherSrc/features/profile/services/buyMenuService.d.ts +0 -3
- package/dist/esm/launcherSrc/features/profile/services/profileService.d.ts +0 -12
- package/dist/esm/launcherSrc/i18n/index.d.ts +0 -2
- package/dist/esm/launcherSrc/index.d.ts +0 -0
- package/dist/esm/launcherSrc/setupTests.d.ts +0 -0
- package/dist/esm/launcherSrc/utils/openTelegramLinkFixed.d.ts +0 -1
- package/dist/esm/lib/init-sentry.d.ts +0 -5
- package/dist/esm/stores/buyShopModalStore.d.ts +0 -8
- package/dist/esm/stores/profileStore.d.ts +0 -17
- package/dist/esm/stores/wageStore.d.ts +0 -12
- package/dist/esm/{app/ui/assets → assets/icons}/IconClosePlain.d.ts +0 -0
- package/dist/esm/{features/profile/assets → assets/icons}/IconCurrencyStar.d.ts +0 -0
- package/dist/esm/{features/profile/assets → assets/icons}/IconTelegramStar.d.ts +0 -0
- package/dist/esm/{features/profile/assets → assets/lottie}/moneyTongue.json.d.ts +0 -0
- package/dist/esm/{features/profile/assets → assets/lottie}/newspaper.json.d.ts +0 -0
- package/dist/esm/{launcherSrc/features/profile/components/Balance → components/modals}/TopUpModal/BuyOption.d.ts +0 -0
- package/dist/esm/{features/profile/components → components/modals/TopUpModal}/Ribbon.d.ts +0 -0
- package/dist/esm/{launcherSrc/app/ui/components → components/ui/XsButton}/XsButton.d.ts +1 -1
- /package/dist/esm/{launcherSrc/features/profile/components → components/ui}/particles/ConfettiParticles.d.ts +0 -0
- /package/dist/esm/{features/profile/components → components/ui/particles}/StarParticles.d.ts +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const useProfileData: () => {
|
|
2
|
-
profile: import('../../../api/types').User | null;
|
|
3
|
-
tasks: import('../../../api/types').Task[];
|
|
4
|
-
dailyStreak: number;
|
|
5
|
-
inventory: import('../../../api/types').InventoryItem[];
|
|
6
|
-
handleBuyNoAds: () => Promise<import('../../../api/types').ServiceInvoiceCreatedResponse>;
|
|
7
|
-
handleCancelNoAds: () => Promise<void>;
|
|
8
|
-
claimTask: (id: number) => Promise<import('../../../api/types').ClaimTaskResponse>;
|
|
9
|
-
profileLoading: boolean;
|
|
10
|
-
profileLoaded: boolean;
|
|
11
|
-
profileError: string | null;
|
|
12
|
-
handleNewBalance: (balance: number) => Promise<void>;
|
|
13
|
-
handleNewXp: (xp: number) => Promise<void>;
|
|
14
|
-
handleToggleAdsFree: () => Promise<void>;
|
|
15
|
-
handleResetTasks: () => Promise<void>;
|
|
16
|
-
handleResetProfile: () => Promise<void>;
|
|
17
|
-
handleChangeBackground: (backgroundName: string) => Promise<void>;
|
|
18
|
-
handleFetchProfile: () => Promise<void>;
|
|
19
|
-
animatedXp: number;
|
|
20
|
-
animatedBalance: number;
|
|
21
|
-
animatedLevel: number;
|
|
22
|
-
dailyModalOpen: boolean;
|
|
23
|
-
handleChangeDailyModalOpen: (isOpen: boolean) => void;
|
|
24
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { InventoryItem, ProfilePostRequest, Task, TasksResponse, Trophy, User } from '../../../api/types';
|
|
2
|
-
import { AppDispatch } from '../../../app/store';
|
|
3
|
-
export interface ProfileState {
|
|
4
|
-
currentUser: User | null;
|
|
5
|
-
tasks: Task[];
|
|
6
|
-
dailyStreak: number;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
loaded: boolean;
|
|
9
|
-
error: string | null;
|
|
10
|
-
dailyModalOpen: boolean;
|
|
11
|
-
inventory: InventoryItem[];
|
|
12
|
-
trophies: Trophy[];
|
|
13
|
-
}
|
|
14
|
-
export declare const fetchProfile: import('@reduxjs/toolkit').AsyncThunk<User, void, {
|
|
15
|
-
state?: unknown;
|
|
16
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
17
|
-
extra?: unknown;
|
|
18
|
-
rejectValue?: unknown;
|
|
19
|
-
serializedErrorType?: unknown;
|
|
20
|
-
pendingMeta?: unknown;
|
|
21
|
-
fulfilledMeta?: unknown;
|
|
22
|
-
rejectedMeta?: unknown;
|
|
23
|
-
}>;
|
|
24
|
-
export declare const postProfile: import('@reduxjs/toolkit').AsyncThunk<void, ProfilePostRequest, {
|
|
25
|
-
state?: unknown;
|
|
26
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
27
|
-
extra?: unknown;
|
|
28
|
-
rejectValue?: unknown;
|
|
29
|
-
serializedErrorType?: unknown;
|
|
30
|
-
pendingMeta?: unknown;
|
|
31
|
-
fulfilledMeta?: unknown;
|
|
32
|
-
rejectedMeta?: unknown;
|
|
33
|
-
}>;
|
|
34
|
-
export declare const fetchTasks: import('@reduxjs/toolkit').AsyncThunk<TasksResponse, void, {
|
|
35
|
-
state?: unknown;
|
|
36
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
37
|
-
extra?: unknown;
|
|
38
|
-
rejectValue?: unknown;
|
|
39
|
-
serializedErrorType?: unknown;
|
|
40
|
-
pendingMeta?: unknown;
|
|
41
|
-
fulfilledMeta?: unknown;
|
|
42
|
-
rejectedMeta?: unknown;
|
|
43
|
-
}>;
|
|
44
|
-
export declare const mintTask: import('@reduxjs/toolkit').AsyncThunk<import('../../../api/types').ClaimTaskResponse, number, {
|
|
45
|
-
state?: unknown;
|
|
46
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
47
|
-
extra?: unknown;
|
|
48
|
-
rejectValue?: unknown;
|
|
49
|
-
serializedErrorType?: unknown;
|
|
50
|
-
pendingMeta?: unknown;
|
|
51
|
-
fulfilledMeta?: unknown;
|
|
52
|
-
rejectedMeta?: unknown;
|
|
53
|
-
}>;
|
|
54
|
-
export declare const setBalance: import('@reduxjs/toolkit').AsyncThunk<{
|
|
55
|
-
balance: number;
|
|
56
|
-
}, number, {
|
|
57
|
-
dispatch: AppDispatch;
|
|
58
|
-
state?: unknown;
|
|
59
|
-
extra?: unknown;
|
|
60
|
-
rejectValue?: unknown;
|
|
61
|
-
serializedErrorType?: unknown;
|
|
62
|
-
pendingMeta?: unknown;
|
|
63
|
-
fulfilledMeta?: unknown;
|
|
64
|
-
rejectedMeta?: unknown;
|
|
65
|
-
}>;
|
|
66
|
-
export declare const setXP: import('@reduxjs/toolkit').AsyncThunk<{
|
|
67
|
-
xp: number;
|
|
68
|
-
}, number, {
|
|
69
|
-
dispatch: AppDispatch;
|
|
70
|
-
state?: unknown;
|
|
71
|
-
extra?: unknown;
|
|
72
|
-
rejectValue?: unknown;
|
|
73
|
-
serializedErrorType?: unknown;
|
|
74
|
-
pendingMeta?: unknown;
|
|
75
|
-
fulfilledMeta?: unknown;
|
|
76
|
-
rejectedMeta?: unknown;
|
|
77
|
-
}>;
|
|
78
|
-
export declare const addNoAds: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
79
|
-
state?: unknown;
|
|
80
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
81
|
-
extra?: unknown;
|
|
82
|
-
rejectValue?: unknown;
|
|
83
|
-
serializedErrorType?: unknown;
|
|
84
|
-
pendingMeta?: unknown;
|
|
85
|
-
fulfilledMeta?: unknown;
|
|
86
|
-
rejectedMeta?: unknown;
|
|
87
|
-
}>;
|
|
88
|
-
export declare const invoiceNoAdsCreate: import('@reduxjs/toolkit').AsyncThunk<import('../../../api/types').ServiceInvoiceCreatedResponse, void, {
|
|
89
|
-
state?: unknown;
|
|
90
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
91
|
-
extra?: unknown;
|
|
92
|
-
rejectValue?: unknown;
|
|
93
|
-
serializedErrorType?: unknown;
|
|
94
|
-
pendingMeta?: unknown;
|
|
95
|
-
fulfilledMeta?: unknown;
|
|
96
|
-
rejectedMeta?: unknown;
|
|
97
|
-
}>;
|
|
98
|
-
export declare const invoiceCancelNoAdsCreate: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
99
|
-
state?: unknown;
|
|
100
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
101
|
-
extra?: unknown;
|
|
102
|
-
rejectValue?: unknown;
|
|
103
|
-
serializedErrorType?: unknown;
|
|
104
|
-
pendingMeta?: unknown;
|
|
105
|
-
fulfilledMeta?: unknown;
|
|
106
|
-
rejectedMeta?: unknown;
|
|
107
|
-
}>;
|
|
108
|
-
export declare const clearItems: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
109
|
-
state?: unknown;
|
|
110
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
111
|
-
extra?: unknown;
|
|
112
|
-
rejectValue?: unknown;
|
|
113
|
-
serializedErrorType?: unknown;
|
|
114
|
-
pendingMeta?: unknown;
|
|
115
|
-
fulfilledMeta?: unknown;
|
|
116
|
-
rejectedMeta?: unknown;
|
|
117
|
-
}>;
|
|
118
|
-
export declare const resetTasks: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
119
|
-
state?: unknown;
|
|
120
|
-
dispatch?: import('@reduxjs/toolkit').Dispatch;
|
|
121
|
-
extra?: unknown;
|
|
122
|
-
rejectValue?: unknown;
|
|
123
|
-
serializedErrorType?: unknown;
|
|
124
|
-
pendingMeta?: unknown;
|
|
125
|
-
fulfilledMeta?: unknown;
|
|
126
|
-
rejectedMeta?: unknown;
|
|
127
|
-
}>;
|
|
128
|
-
export declare const setDailyModalOpen: import('@reduxjs/toolkit').ActionCreatorWithPayload<boolean, "profileSlice/setDailyModalOpen">;
|
|
129
|
-
declare const _default: import('@reduxjs/toolkit').Reducer<ProfileState>;
|
|
130
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClaimTaskResponse, ProfilePostRequest, ServiceInvoiceCreatedResponse, TasksResponse, User } from '../../../api/types';
|
|
2
|
-
export declare const fetchProfileData: () => Promise<User>;
|
|
3
|
-
export declare const postProfileData: (req: ProfilePostRequest) => Promise<void>;
|
|
4
|
-
export declare const setProfileBalance: (balance: number) => Promise<void>;
|
|
5
|
-
export declare const setProfileXP: (xp: number) => Promise<void>;
|
|
6
|
-
export declare const setNoAds: () => Promise<void>;
|
|
7
|
-
export declare const setClearItems: () => Promise<void>;
|
|
8
|
-
export declare const tasks: () => Promise<TasksResponse>;
|
|
9
|
-
export declare const mint: (id: number) => Promise<ClaimTaskResponse>;
|
|
10
|
-
export declare const resetTasksData: () => Promise<void>;
|
|
11
|
-
export declare const createInvoiceBuyNoAds: () => Promise<ServiceInvoiceCreatedResponse>;
|
|
12
|
-
export declare const createInvoiceCancelNoAds: () => Promise<void>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const openTelegramLinkFixed: (link: string, openLinkText?: string) => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface BuyShopModalState {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
open: () => void;
|
|
4
|
-
close: () => void;
|
|
5
|
-
onOpenChange: (isOpen: boolean) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const useBuyShopModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<BuyShopModalState>>;
|
|
8
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CryptoSteamSDKProfile, CryptoSteamSDKShopItem, CryptoSteamSDKTask } from '../sdk';
|
|
2
|
-
interface ProfileState {
|
|
3
|
-
profile: CryptoSteamSDKProfile | null;
|
|
4
|
-
loading: boolean;
|
|
5
|
-
loaded: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
shopItems: CryptoSteamSDKShopItem[];
|
|
8
|
-
tasks: CryptoSteamSDKTask[];
|
|
9
|
-
updateProfile: (loading?: boolean) => Promise<void>;
|
|
10
|
-
updateShopItems: () => Promise<void>;
|
|
11
|
-
updateTasks: () => Promise<void>;
|
|
12
|
-
updateBalance: (account: "gems" | "coins" | "exp" | "usdt", balance: number) => Promise<void>;
|
|
13
|
-
claimTask: (taskId: number) => Promise<void>;
|
|
14
|
-
fullUpdate: () => Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
declare const useProfileStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ProfileState>>;
|
|
17
|
-
export { useProfileStore };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CryptoSteamSDKWage } from '../sdk';
|
|
2
|
-
interface WageState {
|
|
3
|
-
wage: CryptoSteamSDKWage | null;
|
|
4
|
-
loading: boolean;
|
|
5
|
-
loaded: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
claimWage: (id: number) => Promise<void>;
|
|
8
|
-
startWage: (id: number) => Promise<void>;
|
|
9
|
-
getWages: (loading: boolean) => Promise<CryptoSteamSDKWage>;
|
|
10
|
-
}
|
|
11
|
-
declare const useWageStore: import('zustand').UseBoundStore<import('zustand').StoreApi<WageState>>;
|
|
12
|
-
export { useWageStore };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { Button } from '@telegram-apps/telegram-ui';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
interface XsButtonProps extends Omit<React.ComponentProps<typeof Button>, 'size'> {
|
|
4
4
|
}
|
|
5
5
|
export declare const XsButton: React.ForwardRefExoticComponent<Omit<XsButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
File without changes
|
/package/dist/esm/{features/profile/components → components/ui/particles}/StarParticles.d.ts
RENAMED
|
File without changes
|