livevegas-ui-kit 1.0.52 → 1.0.54

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.
@@ -120,6 +120,24 @@ export declare enum BET_TYPE {
120
120
  DoubleBets = 27,
121
121
  StandAll = 49
122
122
  }
123
+ export declare enum GAME_STATE {
124
+ WaitingForInit = 0,// no game
125
+ WaitingRoundStart = 1,
126
+ WaitingForBet = 2,// for initial bets with bonus bet types
127
+ WaitingCard = 3,// no action state, dealer drop cards
128
+ WaitingForUserAction = 4,
129
+ WaitingOpenDealerCards = 5,// dealer opens cards
130
+ WaitingDealerCards = 6,// action for buy 6th card for dealer
131
+ WaitingForWins = 7,
132
+ WaitingRoundEnd = 8,
133
+ WaitingInsurance = 9,
134
+ CalculateWins = 10,
135
+ WaitingRebuyCards = 11,// actions for only call, fold
136
+ RoundEnd = 12,
137
+ CancelRound = 13,
138
+ WaitingOpenBoxCards = 14,
139
+ CrashRound = 16
140
+ }
123
141
  export declare const betsType: {
124
142
  0: string;
125
143
  3: string;
@@ -1,5 +1,8 @@
1
+ import { GAME_STATE } from '../History/helpers';
2
+
1
3
  export interface ITimer {
2
4
  time: number;
5
+ timerType: GAME_STATE;
3
6
  isMobile?: boolean;
4
7
  }
5
- export declare const Timer: ({ time, isMobile }: ITimer) => import("react/jsx-runtime").JSX.Element | undefined;
8
+ export declare const Timer: ({ time, isMobile, timerType }: ITimer) => import("react/jsx-runtime").JSX.Element | undefined;
@@ -16,5 +16,6 @@ import { ToastMessages } from './ToastMessages';
16
16
  import { BlackJackAction } from './BlackJackAction';
17
17
  import { Wager } from './WagerAndFreeSpins';
18
18
  import { BonusModalContent } from './BonusModal';
19
+ import { BlackjeckInsurance } from './BlackJeckInsurance';
19
20
 
20
- export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, Wager, BonusModalContent };
21
+ export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent, };
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ import { NotPlaying } from './components/NotPlaying';
14
14
  import { BlackJackeWinPopup } from './components/BlackJackeWinPopup';
15
15
  import { ToastMessages } from './components/ToastMessages';
16
16
  import { BlackJackAction } from './components/BlackJackAction';
17
+ import { BlackjeckInsurance } from './components/BlackJeckInsurance';
17
18
  import { Wager, BonusModalContent } from './components';
18
19
 
19
- export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, Wager, BonusModalContent };
20
+ export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent };