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.
@@ -1,2 +1,3 @@
1
1
  import { UserInfo } from 'react-memory-optimization/dist/lib/store/user/types';
2
- export declare const useAvatars: () => UserInfo[];
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/avatar/types';
2
- type Props = {
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 {};
@@ -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 { useUserAvatar, useAvatars, useUserAvatarControllers };
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.67",
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.67"
10
+ "react-memory-optimization": "0.0.69"
11
11
  },
12
12
  "peerDependencies": {
13
13
  "brotli": "1.3.3",
@@ -1,7 +0,0 @@
1
- type Props = {
2
- isConnectedApp: boolean;
3
- };
4
- export declare const useUserAvatar: ({ isConnectedApp, }: Props) => null | {
5
- id: number;
6
- };
7
- export {};