react-render-hooks 0.0.67 → 0.0.69
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 +1 -1
- package/dist/lib/hooks/profile/avatars/useAvatars/index.d.ts +2 -1
- package/dist/lib/hooks/profile/avatars/useUserAvatarControllers/index.d.ts +2 -6
- package/dist/lib/index.d.ts +1 -2
- package/package.json +2 -2
- package/dist/lib/hooks/profile/avatars/useUserAvatar/index.d.ts +0 -7
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { UserInfo } from 'react-memory-optimization/dist/lib/store/user/types';
|
|
2
|
-
|
|
2
|
+
import { SubscribeAvatarParams } from 'react-memory-optimization/dist/lib/store/user/entities/avatars/types';
|
|
3
|
+
export declare const useAvatars: (props: SubscribeAvatarParams) => UserInfo[];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { AvatarType } from 'react-memory-optimization/dist/lib/store/user/entities/
|
|
2
|
-
|
|
3
|
-
isConnectedApp: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const useUserAvatarControllers: ({ isConnectedApp }: Props) => {
|
|
1
|
+
import { AvatarType } from 'react-memory-optimization/dist/lib/store/user/entities/avatars/types';
|
|
2
|
+
export declare const useUserAvatarControllers: () => {
|
|
6
3
|
handleSaveAvatar: (id: AvatarType | null) => void;
|
|
7
4
|
handleBuyAvatar: (info: {
|
|
8
5
|
id: number;
|
|
@@ -13,4 +10,3 @@ export declare const useUserAvatarControllers: ({ isConnectedApp }: Props) => {
|
|
|
13
10
|
price: number;
|
|
14
11
|
}) => void;
|
|
15
12
|
};
|
|
16
|
-
export {};
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -84,7 +84,6 @@ import { useDailyTasks } from 'hooks/profile/kGames/dailyTasks/useDailyTasks';
|
|
|
84
84
|
import { useDailyActiveTask } from 'hooks/profile/kGames/dailyTasks/useActiveDailyTask';
|
|
85
85
|
import { useDailyTaskControllers } from 'hooks/profile/kGames/dailyTasks/useDailyTaskControllers';
|
|
86
86
|
import { useAvatars } from 'hooks/profile/avatars/useAvatars';
|
|
87
|
-
import { useUserAvatar } from 'hooks/profile/avatars/useUserAvatar';
|
|
88
87
|
import { useUserAvatarControllers } from 'hooks/profile/avatars/useUserAvatarControllers';
|
|
89
88
|
import { useAccrualHistory } from 'hooks/profile/operations/useAccrualHistory';
|
|
90
89
|
import { usePromotions } from 'hooks/casino/promotion/usePromotions';
|
|
@@ -113,7 +112,7 @@ export { useJackpots, useProviders, useCasinoGames, useCasinoGame, useCasinoSubC
|
|
|
113
112
|
export { useIsFavoriteGame, useFavoriteGames, useFavoriteController, useHistoryTransactions, useMonthlyBonus, useTournamentBonus, useCashBonus, useWagerBonuses, useRakeBack, useGetVipProgress, useWeeklyBonus, useBonuses, useAccrualHistory, useAnyActiveBonuses, useAnyAvailableBonuses, useCountryInfo, useBalance, useBonusCoins, useCurrency, useUserMinOdd, useStories, usePromoCodeControllers, useAuth, useGoogleAuth, useUserInfo, usePayments, };
|
|
114
113
|
export { useReferralLink, useReferralBalance, useReferralControllers, useReferralClients, };
|
|
115
114
|
export { useDailyTasks, useDailyActiveTask, useDailyTaskControllers };
|
|
116
|
-
export {
|
|
115
|
+
export { useAvatars, useUserAvatarControllers };
|
|
117
116
|
export { useBonusWheelController };
|
|
118
117
|
export { useCurrencies };
|
|
119
118
|
export { getCurrencyInfoByIdOrName, useTransportControllers, useInitTransport, api, };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-render-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": "decoderdog",
|
|
8
8
|
"license": "",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"react-memory-optimization": "0.0.
|
|
10
|
+
"react-memory-optimization": "0.0.69"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"brotli": "1.3.3",
|