react-render-hooks 0.0.16 → 0.0.18
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/betting/settings/useBettingControllers/index.d.ts +1 -0
- package/dist/lib/hooks/betting/settings/useBettingStatus/index.d.ts +1 -0
- package/dist/lib/hooks/betting/tournaments/useBettingTopTournaments/index.d.ts +1 -2
- package/dist/lib/hooks/profile/stories/useStories/index.d.ts +2 -0
- package/dist/lib/hooks/transport/useTransportControllers/index.d.ts +3 -0
- package/dist/lib/index.d.ts +5 -4
- package/dist/lib/services/transport.d.ts +11 -0
- package/package.json +2 -2
- package/dist/lib/hooks/betting/settings/useBettingAvailableStatus/index.d.ts +0 -2
- package/dist/lib/hooks/betting/settings/useBettingSettingStatus/index.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useBettingControllers: () => (() => void)[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useBettingStatus: () => boolean;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { Tournament } from 'react-memory-optimization/dist/lib/store/betting/entities/tournaments/types';
|
|
2
|
-
|
|
3
|
-
export declare const useBettingTopTournaments: ({ isConnectedApp }: BaseHookType) => Tournament[];
|
|
2
|
+
export declare const useBettingTopTournaments: () => Tournament[];
|
|
@@ -8,6 +8,9 @@ export declare const useTransportControllers: () => {
|
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
uid: string;
|
|
10
10
|
}) => any;
|
|
11
|
+
addRequestCommand: (commandName: string, data: {
|
|
12
|
+
[key: string]: string | number | any[];
|
|
13
|
+
}) => void;
|
|
11
14
|
sendCommand: (key: string, data: {
|
|
12
15
|
[key: string]: string | number | any[];
|
|
13
16
|
}, isWatching?: boolean) => void;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -28,13 +28,14 @@ import { useFavoriteGames } from './hooks/profile/favorites/useFavoriteGames';
|
|
|
28
28
|
import { useBalance } from './hooks/profile/balance/useBalance';
|
|
29
29
|
import { useCurrency } from './hooks/profile/useCurrency';
|
|
30
30
|
import { useUserMinOdd } from './hooks/profile/payments/depOdd';
|
|
31
|
+
import { useStories } from './hooks/profile/stories/useStories';
|
|
31
32
|
import { usePromoCodeControllers } from './hooks/profile/promoCode/usePromoCodeControllers';
|
|
32
33
|
import { useAuth } from './hooks/profile/useAuth';
|
|
33
34
|
import { useUserInfo } from './hooks/profile/useUserInfo';
|
|
34
35
|
import { usePayments } from './hooks/profile/payments/usePayments';
|
|
35
36
|
import { useReferralLink } from './hooks/profile/referral/useReferralLink';
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
37
|
+
import { useBettingStatus } from './hooks/betting/settings/useBettingStatus';
|
|
38
|
+
import { useBettingControllers } from './hooks/betting/settings/useBettingControllers';
|
|
38
39
|
import { useBettingTopTournaments } from './hooks/betting/tournaments/useBettingTopTournaments';
|
|
39
40
|
import { useBettingTournamentById } from './hooks/betting/tournaments/useBettingTournamentById';
|
|
40
41
|
import { useBettingTournamentsByCategoryIdOrSportId } from './hooks/betting/tournaments/useBettingTournamentsByCategoryIdOrSportId';
|
|
@@ -99,9 +100,9 @@ import { useUserAvatarControllers } from 'hooks/profile/avatars/useUserAvatarCon
|
|
|
99
100
|
* ```
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
|
-
export {
|
|
103
|
+
export { useBettingStatus, useBettingControllers, useBettingTopTournaments, useBettingTournamentById, useBettingTournamentsByCategoryIdOrSportId, useBettingCategoryIds, useGetCategoryInfo, useBettingSports, useBettingSportsById, useOdd, useGetLines, useShortLineInfo, useCounterLines, useAdditionalLines, useTickets, useTicketInfo, useTicketControllers, useHistoryTickets, useBettingTopEvents, useEventDetailsMarketTabs, useEventDetailsMarketsByGroupId, useEventsByTournamentId, useScore, useShortEventInfo, useGetMarketFilters, useGetFilterMarketNames, useBetSlipIsSelectedOdd, useBetSlipBets, useBetSlipControllers, useBetSlipEventCounter, useBetSlipPlaceBet, useBetSlipShortInfo, useBetSlipMaxLimit, useBetSlipSpecialOdd, useBetSlipAmount, };
|
|
103
104
|
export { useJackpots, useProviders, useCasinoGames, useCasinoGame, useCasinoSubCategories, useCasinoHomeCategories, useBattles, useHasDemoModeGame, useCasinoCategories, useLastWinner, };
|
|
104
|
-
export { useIsFavoriteGame, useFavoriteGames, useFavoriteController, useHistoryTransactions, useMonthlyBonus, useTournamentBonus, useCashBonus, useWagerBonuses, useRakeBack, useGetVipProgress, useWeeklyBonus, useBonuses, useAnyActiveBonuses, useCountryInfo, useBalance, useBonusCoins, useCurrency, useUserMinOdd, usePromoCodeControllers, useAuth, useUserInfo, usePayments, };
|
|
105
|
+
export { useIsFavoriteGame, useFavoriteGames, useFavoriteController, useHistoryTransactions, useMonthlyBonus, useTournamentBonus, useCashBonus, useWagerBonuses, useRakeBack, useGetVipProgress, useWeeklyBonus, useBonuses, useAnyActiveBonuses, useCountryInfo, useBalance, useBonusCoins, useCurrency, useUserMinOdd, useStories, usePromoCodeControllers, useAuth, useUserInfo, usePayments, };
|
|
105
106
|
export { useReferralLink, useReferralBalance, useReferralControllers, useReferralClients, };
|
|
106
107
|
export { useDailyTasks, useDailyActiveTask, useDailyTaskControllers };
|
|
107
108
|
export { useUserAvatar, useUserAvatars, useUserAvatarControllers };
|
|
@@ -11,6 +11,14 @@ declare class Transport {
|
|
|
11
11
|
key: keyof SocketInterface;
|
|
12
12
|
data: unknown;
|
|
13
13
|
}[];
|
|
14
|
+
requestCommands: {
|
|
15
|
+
[commandName: string]: {
|
|
16
|
+
commandName: string;
|
|
17
|
+
data: {
|
|
18
|
+
[key: string]: string | number | any[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
14
22
|
socketCallback: (status: ESocketCallbackStep) => void;
|
|
15
23
|
decodedDataCallback: (key: string, result: any) => void;
|
|
16
24
|
constructor();
|
|
@@ -21,6 +29,9 @@ declare class Transport {
|
|
|
21
29
|
uid: string;
|
|
22
30
|
[key: string]: unknown;
|
|
23
31
|
}): any;
|
|
32
|
+
addRequestCommand(commandName: string, data: {
|
|
33
|
+
[key: string]: string | number | any[];
|
|
34
|
+
}): void;
|
|
24
35
|
parseSocketSocketStatus(state: ESocketCallbackStep): void;
|
|
25
36
|
init(): void;
|
|
26
37
|
reInit(): void;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-render-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
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.18"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"brotli": "1.3.3",
|