@orbit-software/sdk 1.10.0
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/Overlay.d.ts +2 -0
- package/dist/esm/app/helpers.d.ts +2 -0
- package/dist/esm/app/ui/assets/IconBack.d.ts +1 -0
- package/dist/esm/app/ui/assets/IconClosePlain.d.ts +3 -0
- package/dist/esm/app/ui/components/AvatarProgress.d.ts +13 -0
- package/dist/esm/app/ui/components/ClosableModal.d.ts +11 -0
- package/dist/esm/app/ui/components/IconBalance.d.ts +3 -0
- package/dist/esm/app/ui/components/InputSwitch.d.ts +9 -0
- package/dist/esm/app/ui/components/Inventory/Inventory.d.ts +2 -0
- package/dist/esm/app/ui/components/Inventory/context.d.ts +10 -0
- package/dist/esm/app/ui/components/XsButton.d.ts +6 -0
- package/dist/esm/app/ui/hooks/useAnimateNumber.d.ts +1 -0
- package/dist/esm/app/utils.d.ts +2 -0
- package/dist/esm/boolean-D78EXBUO.mjs +1986 -0
- package/dist/esm/bootstrap.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconAd.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconAddCircle.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconCurrencyStar.d.ts +3 -0
- package/dist/esm/features/profile/assets/IconDrag.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconEdit.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconGame.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconNoSign.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconProfile.d.ts +1 -0
- package/dist/esm/features/profile/assets/moneyTongue.json.d.ts +3 -0
- package/dist/esm/features/profile/assets/newspaper.json.d.ts +3 -0
- package/dist/esm/features/profile/assets/profileBgGradients.d.ts +6 -0
- package/dist/esm/features/profile/components/Avatars.d.ts +8 -0
- package/dist/esm/features/profile/components/BalanceConfetti.d.ts +6 -0
- package/dist/esm/features/profile/components/BuyMenu.d.ts +8 -0
- package/dist/esm/features/profile/components/CircleParticles.d.ts +10 -0
- package/dist/esm/features/profile/components/FormattedXP.d.ts +8 -0
- package/dist/esm/features/profile/components/LevelInfoModal.d.ts +9 -0
- package/dist/esm/features/profile/components/ModalContainer.d.ts +6 -0
- package/dist/esm/features/profile/components/OverlayProfile.d.ts +8 -0
- package/dist/esm/features/profile/components/Profile.d.ts +3 -0
- package/dist/esm/features/profile/components/PurchaseConfirm.d.ts +9 -0
- package/dist/esm/features/profile/components/Ribbon.d.ts +6 -0
- package/dist/esm/features/profile/components/StarParticles.d.ts +10 -0
- package/dist/esm/features/profile/components/TaskCard.d.ts +21 -0
- package/dist/esm/features/profile/components/XpProgress.d.ts +14 -0
- package/dist/esm/features/profile/hooks/useAnimatedProfile.d.ts +5 -0
- package/dist/esm/gaussian-splat-compression-CzzkTP3L.mjs +1632 -0
- package/dist/esm/hooks/useForceRerender.d.ts +1 -0
- package/dist/esm/hooks/useMiniApp.d.ts +3 -0
- package/dist/esm/howler-Mh6LB0k5.mjs +572 -0
- package/dist/esm/i18n/index.d.ts +2 -0
- package/dist/esm/i18n/locales/translations/en.json.d.ts +213 -0
- package/dist/esm/i18n/locales/translations/ru.json.d.ts +210 -0
- package/dist/esm/launcherSrc/App.d.ts +2 -0
- package/dist/esm/launcherSrc/api/client.d.ts +3 -0
- package/dist/esm/launcherSrc/api/types.d.ts +181 -0
- package/dist/esm/launcherSrc/api/userApi.d.ts +22 -0
- package/dist/esm/launcherSrc/app/components/DebugConsole.d.ts +2 -0
- package/dist/esm/launcherSrc/app/contexts/SnackbarContext.d.ts +18 -0
- package/dist/esm/launcherSrc/app/helpers.d.ts +5 -0
- package/dist/esm/launcherSrc/app/hooks/forceRerender.d.ts +1 -0
- package/dist/esm/launcherSrc/app/hooks/useMainButtonControl.d.ts +7 -0
- package/dist/esm/launcherSrc/app/hooks/useMiniApp.d.ts +3 -0
- package/dist/esm/launcherSrc/app/hooks.d.ts +11 -0
- package/dist/esm/launcherSrc/app/store.d.ts +19 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconBack.d.ts +1 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCheck.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCheckThin.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCross.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconSearch.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/components/AvatarProgress.d.ts +13 -0
- package/dist/esm/launcherSrc/app/ui/components/ClosableModal.d.ts +10 -0
- package/dist/esm/launcherSrc/app/ui/components/FormattedXP.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/IconBalance.d.ts +3 -0
- package/dist/esm/launcherSrc/app/ui/components/InputSwitch.d.ts +9 -0
- package/dist/esm/launcherSrc/app/ui/components/Twemoji.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/UICell.d.ts +16 -0
- package/dist/esm/launcherSrc/app/ui/components/UIDateInput.d.ts +21 -0
- package/dist/esm/launcherSrc/app/ui/components/UIDivider.d.ts +4 -0
- package/dist/esm/launcherSrc/app/ui/components/UIEmoji.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/UIHero.d.ts +10 -0
- package/dist/esm/launcherSrc/app/ui/components/UISection.d.ts +9 -0
- package/dist/esm/launcherSrc/app/ui/components/UITextarea.d.ts +7 -0
- package/dist/esm/launcherSrc/app/ui/components/XpProgress.d.ts +13 -0
- package/dist/esm/launcherSrc/app/ui/components/XsButton.d.ts +6 -0
- package/dist/esm/launcherSrc/app/ui/hooks/useAnimateNumber.d.ts +1 -0
- package/dist/esm/launcherSrc/app/utils.d.ts +13 -0
- package/dist/esm/launcherSrc/assets/Icon28Edit.d.ts +2 -0
- package/dist/esm/launcherSrc/assets/Icon28Game.d.ts +1 -0
- package/dist/esm/launcherSrc/assets/Icon28Link.d.ts +1 -0
- package/dist/esm/launcherSrc/features/admin/components/Admin.d.ts +3 -0
- package/dist/esm/launcherSrc/features/admin/components/OverlayControl.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconFilter.d.ts +1 -0
- package/dist/esm/launcherSrc/features/games/assets/IconPlayers.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconQuestion.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconQuestionCircle.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconStar.d.ts +4 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownFilled.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownOutlined.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpFilled.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpOutlined.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/components/GameItem.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GamePage.d.ts +6 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GameReview.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GameReviews.d.ts +9 -0
- package/dist/esm/launcherSrc/features/games/components/Games.d.ts +3 -0
- package/dist/esm/launcherSrc/features/games/components/ResetStorageButton.d.ts +3 -0
- package/dist/esm/launcherSrc/features/games/components/ReviewModal.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/hooks/useGamesData.d.ts +13 -0
- package/dist/esm/launcherSrc/features/games/redux/gamesSlice.d.ts +34 -0
- package/dist/esm/launcherSrc/features/games/service/gamesService.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/Rating.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingCard/RatingCard.d.ts +10 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingInfo/RatingInfo.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/IconWreaths.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/RatingLevel.d.ts +6 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/lock.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/hooks/useLeaderboardData.d.ts +10 -0
- package/dist/esm/launcherSrc/features/leaderboard/index.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/redux/leaderboardSlice.d.ts +18 -0
- package/dist/esm/launcherSrc/features/leaderboard/services/leaderboardService.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconGame.d.ts +1 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconProfile.d.ts +1 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconSmile.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/components/FloatingProfile.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/components/IconWithCounter.d.ts +7 -0
- package/dist/esm/launcherSrc/features/navigation/redux/navigationSlice.d.ts +15 -0
- package/dist/esm/launcherSrc/features/navigation/redux/tabsSlice.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconAd.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconAddCircle.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconChevronRight.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconColorPicker.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconCurrencyStar.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconGlobe.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconLock.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconNoSign.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconSignature.d.ts +5 -0
- package/dist/esm/launcherSrc/features/profile/assets/profileBgGradients.d.ts +50 -0
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/BuyAdsFreeButton.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/PurchaseAdsFree.d.ts +9 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/AvatarCreation.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/Avatars.d.ts +11 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/EditAvatarButton.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/ProfileBalance.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyMenu.d.ts +8 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyOption.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/Ribbon.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/BoxOpeningModal.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/DailyModal.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FIllBirthdate.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillCountry.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillEmail.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfile.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfileLayout.d.ts +4 -0
- package/dist/esm/launcherSrc/features/profile/components/LevelInfoModal.d.ts +9 -0
- package/dist/esm/launcherSrc/features/profile/components/Profile.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileGames.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileInventory.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileLeaderboard.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileReviews.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileTrophies.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/Tasks/TaskCard.d.ts +24 -0
- package/dist/esm/launcherSrc/features/profile/components/Tasks/Tasks.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/BalanceConfetti.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/CircleParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/ConfettiParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/StarParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/contexts/BoxOpeningContext.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/data/countries.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/hooks/useProfileData.d.ts +26 -0
- package/dist/esm/launcherSrc/features/profile/redux/profileSlice.d.ts +131 -0
- package/dist/esm/launcherSrc/features/profile/redux/shopSlice.d.ts +18 -0
- package/dist/esm/launcherSrc/features/profile/services/buyMenuService.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/services/profileService.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/services/shopService.d.ts +2 -0
- package/dist/esm/launcherSrc/i18n/index.d.ts +2 -0
- 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 +1 -0
- package/dist/esm/navmesh-BbINhDrO.mjs +1336 -0
- package/dist/esm/opentype-PR7hcvG5.mjs +4286 -0
- package/dist/esm/physics-B9pWoHiG.mjs +4375 -0
- package/dist/esm/process-DGf1Bnd3.mjs +2274 -0
- package/dist/esm/sdk-4y_oRGP7.mjs +76474 -0
- package/dist/esm/sdk.d.ts +130 -0
- package/dist/esm/sdk.mjs +9 -0
- package/dist/esm/sdk.umd.js +8382 -0
- package/dist/esm/stores/profileStore.d.ts +16 -0
- package/dist/esm/ui-C32u2WA-.mjs +2678 -0
- package/dist/esm/utils/global.d.ts +1 -0
- package/dist/umd/sdk.umd.js +8382 -0
- package/dist/umd_react/sdk_react.umd.js +8562 -0
- package/index.html +13 -0
- package/package.json +96 -0
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
claimTask: (taskId: number) => Promise<void>;
|
|
13
|
+
fullUpdate: () => Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
declare const useProfileStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ProfileState>>;
|
|
16
|
+
export { useProfileStore };
|