@betorigami/games 2.3.6 → 2.4.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/index.d.ts CHANGED
@@ -216,6 +216,17 @@ export declare const translations: {
216
216
  verifyOutcome: string;
217
217
  };
218
218
  gameInfo: {
219
+ blackjack: {
220
+ how1: string;
221
+ how2: string;
222
+ how3: string;
223
+ how4: string;
224
+ how5: string;
225
+ how6: string;
226
+ overview: string;
227
+ provablyFair: string;
228
+ strategyTip: string;
229
+ };
219
230
  baccarat: {
220
231
  how1: string;
221
232
  how2: string;
@@ -343,6 +354,7 @@ export declare const translations: {
343
354
  tie: string;
344
355
  totalBetAmount: string;
345
356
  selectChip: string;
357
+ slowReveal: string;
346
358
  };
347
359
  blackjack: {
348
360
  seats: string;
@@ -590,6 +602,17 @@ export declare const translations: {
590
602
  verifyOutcome: string;
591
603
  };
592
604
  gameInfo: {
605
+ blackjack: {
606
+ how1: string;
607
+ how2: string;
608
+ how3: string;
609
+ how4: string;
610
+ how5: string;
611
+ how6: string;
612
+ overview: string;
613
+ provablyFair: string;
614
+ strategyTip: string;
615
+ };
593
616
  baccarat: {
594
617
  how1: string;
595
618
  how2: string;
@@ -717,6 +740,7 @@ export declare const translations: {
717
740
  tie: string;
718
741
  totalBetAmount: string;
719
742
  selectChip: string;
743
+ slowReveal: string;
720
744
  };
721
745
  blackjack: {
722
746
  seats: string;
@@ -1103,6 +1127,7 @@ export declare const translations: {
1103
1127
  tie: string;
1104
1128
  totalBetAmount: string;
1105
1129
  selectChip: string;
1130
+ slowReveal: string;
1106
1131
  };
1107
1132
  blackjack: {
1108
1133
  seats: string;
@@ -1350,6 +1375,17 @@ export declare const translations: {
1350
1375
  verifyOutcome: string;
1351
1376
  };
1352
1377
  gameInfo: {
1378
+ blackjack: {
1379
+ how1: string;
1380
+ how2: string;
1381
+ how3: string;
1382
+ how4: string;
1383
+ how5: string;
1384
+ how6: string;
1385
+ overview: string;
1386
+ provablyFair: string;
1387
+ strategyTip: string;
1388
+ };
1353
1389
  baccarat: {
1354
1390
  how1: string;
1355
1391
  how2: string;
@@ -1477,8 +1513,14 @@ export declare const translations: {
1477
1513
  tie: string;
1478
1514
  totalBetAmount: string;
1479
1515
  selectChip: string;
1516
+ slowReveal: string;
1480
1517
  };
1481
1518
  blackjack: {
1519
+ seats: string;
1520
+ hit: string;
1521
+ stand: string;
1522
+ split: string;
1523
+ double: string;
1482
1524
  standard: string;
1483
1525
  sideBet: string;
1484
1526
  blackjackLabel: string;
@@ -1493,6 +1535,8 @@ export declare const translations: {
1493
1535
  threeOfAKind: string;
1494
1536
  straight: string;
1495
1537
  flush: string;
1538
+ sideBetPairBonus: string;
1539
+ sideBetThreeCardBonus: string;
1496
1540
  sideBetOnboarding: {
1497
1541
  step1Title: string;
1498
1542
  step1Body: string;
@@ -1509,6 +1553,8 @@ export declare const translations: {
1509
1553
  pairBonusResults: string;
1510
1554
  threeCardBonusResults: string;
1511
1555
  };
1556
+ buyInsurance: string;
1557
+ noInsurance: string;
1512
1558
  };
1513
1559
  dice: {
1514
1560
  rollOver: string;
@@ -1715,6 +1761,17 @@ export declare const translations: {
1715
1761
  verifyOutcome: string;
1716
1762
  };
1717
1763
  gameInfo: {
1764
+ blackjack: {
1765
+ how1: string;
1766
+ how2: string;
1767
+ how3: string;
1768
+ how4: string;
1769
+ how5: string;
1770
+ how6: string;
1771
+ overview: string;
1772
+ provablyFair: string;
1773
+ strategyTip: string;
1774
+ };
1718
1775
  baccarat: {
1719
1776
  how1: string;
1720
1777
  how2: string;
@@ -1842,6 +1899,7 @@ export declare const translations: {
1842
1899
  tie: string;
1843
1900
  totalBetAmount: string;
1844
1901
  selectChip: string;
1902
+ slowReveal: string;
1845
1903
  };
1846
1904
  blackjack: {
1847
1905
  seats: string;
@@ -2089,6 +2147,17 @@ export declare const translations: {
2089
2147
  verifyOutcome: string;
2090
2148
  };
2091
2149
  gameInfo: {
2150
+ blackjack: {
2151
+ how1: string;
2152
+ how2: string;
2153
+ how3: string;
2154
+ how4: string;
2155
+ how5: string;
2156
+ how6: string;
2157
+ overview: string;
2158
+ provablyFair: string;
2159
+ strategyTip: string;
2160
+ };
2092
2161
  baccarat: {
2093
2162
  how1: string;
2094
2163
  how2: string;
@@ -2216,6 +2285,7 @@ export declare const translations: {
2216
2285
  tie: string;
2217
2286
  totalBetAmount: string;
2218
2287
  selectChip: string;
2288
+ slowReveal: string;
2219
2289
  };
2220
2290
  blackjack: {
2221
2291
  seats: string;
@@ -2463,6 +2533,17 @@ export declare const translations: {
2463
2533
  verifyOutcome: string;
2464
2534
  };
2465
2535
  gameInfo: {
2536
+ blackjack: {
2537
+ how1: string;
2538
+ how2: string;
2539
+ how3: string;
2540
+ how4: string;
2541
+ how5: string;
2542
+ how6: string;
2543
+ overview: string;
2544
+ provablyFair: string;
2545
+ strategyTip: string;
2546
+ };
2466
2547
  baccarat: {
2467
2548
  how1: string;
2468
2549
  how2: string;
@@ -2590,6 +2671,7 @@ export declare const translations: {
2590
2671
  tie: string;
2591
2672
  totalBetAmount: string;
2592
2673
  selectChip: string;
2674
+ slowReveal: string;
2593
2675
  };
2594
2676
  blackjack: {
2595
2677
  seats: string;
@@ -2837,6 +2919,17 @@ export declare const translations: {
2837
2919
  verifyOutcome: string;
2838
2920
  };
2839
2921
  gameInfo: {
2922
+ blackjack: {
2923
+ how1: string;
2924
+ how2: string;
2925
+ how3: string;
2926
+ how4: string;
2927
+ how5: string;
2928
+ how6: string;
2929
+ overview: string;
2930
+ provablyFair: string;
2931
+ strategyTip: string;
2932
+ };
2840
2933
  baccarat: {
2841
2934
  how1: string;
2842
2935
  how2: string;
@@ -2964,6 +3057,7 @@ export declare const translations: {
2964
3057
  tie: string;
2965
3058
  totalBetAmount: string;
2966
3059
  selectChip: string;
3060
+ slowReveal: string;
2967
3061
  };
2968
3062
  blackjack: {
2969
3063
  seats: string;
@@ -3211,6 +3305,17 @@ export declare const translations: {
3211
3305
  verifyOutcome: string;
3212
3306
  };
3213
3307
  gameInfo: {
3308
+ blackjack: {
3309
+ how1: string;
3310
+ how2: string;
3311
+ how3: string;
3312
+ how4: string;
3313
+ how5: string;
3314
+ how6: string;
3315
+ overview: string;
3316
+ provablyFair: string;
3317
+ strategyTip: string;
3318
+ };
3214
3319
  baccarat: {
3215
3320
  how1: string;
3216
3321
  how2: string;
@@ -3338,6 +3443,7 @@ export declare const translations: {
3338
3443
  tie: string;
3339
3444
  totalBetAmount: string;
3340
3445
  selectChip: string;
3446
+ slowReveal: string;
3341
3447
  };
3342
3448
  blackjack: {
3343
3449
  seats: string;
@@ -3585,6 +3691,17 @@ export declare const translations: {
3585
3691
  verifyOutcome: string;
3586
3692
  };
3587
3693
  gameInfo: {
3694
+ blackjack: {
3695
+ how1: string;
3696
+ how2: string;
3697
+ how3: string;
3698
+ how4: string;
3699
+ how5: string;
3700
+ how6: string;
3701
+ overview: string;
3702
+ provablyFair: string;
3703
+ strategyTip: string;
3704
+ };
3588
3705
  baccarat: {
3589
3706
  how1: string;
3590
3707
  how2: string;
@@ -3712,6 +3829,7 @@ export declare const translations: {
3712
3829
  tie: string;
3713
3830
  totalBetAmount: string;
3714
3831
  selectChip: string;
3832
+ slowReveal: string;
3715
3833
  };
3716
3834
  blackjack: {
3717
3835
  seats: string;
@@ -3959,6 +4077,17 @@ export declare const translations: {
3959
4077
  verifyOutcome: string;
3960
4078
  };
3961
4079
  gameInfo: {
4080
+ blackjack: {
4081
+ how1: string;
4082
+ how2: string;
4083
+ how3: string;
4084
+ how4: string;
4085
+ how5: string;
4086
+ how6: string;
4087
+ overview: string;
4088
+ provablyFair: string;
4089
+ strategyTip: string;
4090
+ };
3962
4091
  baccarat: {
3963
4092
  how1: string;
3964
4093
  how2: string;
@@ -4086,6 +4215,7 @@ export declare const translations: {
4086
4215
  tie: string;
4087
4216
  totalBetAmount: string;
4088
4217
  selectChip: string;
4218
+ slowReveal: string;
4089
4219
  };
4090
4220
  blackjack: {
4091
4221
  seats: string;
@@ -4333,6 +4463,17 @@ export declare const translations: {
4333
4463
  verifyOutcome: string;
4334
4464
  };
4335
4465
  gameInfo: {
4466
+ blackjack: {
4467
+ how1: string;
4468
+ how2: string;
4469
+ how3: string;
4470
+ how4: string;
4471
+ how5: string;
4472
+ how6: string;
4473
+ overview: string;
4474
+ provablyFair: string;
4475
+ strategyTip: string;
4476
+ };
4336
4477
  baccarat: {
4337
4478
  how1: string;
4338
4479
  how2: string;
@@ -4460,6 +4601,7 @@ export declare const translations: {
4460
4601
  tie: string;
4461
4602
  totalBetAmount: string;
4462
4603
  selectChip: string;
4604
+ slowReveal: string;
4463
4605
  };
4464
4606
  blackjack: {
4465
4607
  seats: string;
@@ -4707,6 +4849,17 @@ export declare const translations: {
4707
4849
  verifyOutcome: string;
4708
4850
  };
4709
4851
  gameInfo: {
4852
+ blackjack: {
4853
+ how1: string;
4854
+ how2: string;
4855
+ how3: string;
4856
+ how4: string;
4857
+ how5: string;
4858
+ how6: string;
4859
+ overview: string;
4860
+ provablyFair: string;
4861
+ strategyTip: string;
4862
+ };
4710
4863
  baccarat: {
4711
4864
  how1: string;
4712
4865
  how2: string;
@@ -4834,6 +4987,7 @@ export declare const translations: {
4834
4987
  tie: string;
4835
4988
  totalBetAmount: string;
4836
4989
  selectChip: string;
4990
+ slowReveal: string;
4837
4991
  };
4838
4992
  blackjack: {
4839
4993
  seats: string;
@@ -5081,6 +5235,17 @@ export declare const translations: {
5081
5235
  verifyOutcome: string;
5082
5236
  };
5083
5237
  gameInfo: {
5238
+ blackjack: {
5239
+ how1: string;
5240
+ how2: string;
5241
+ how3: string;
5242
+ how4: string;
5243
+ how5: string;
5244
+ how6: string;
5245
+ overview: string;
5246
+ provablyFair: string;
5247
+ strategyTip: string;
5248
+ };
5084
5249
  baccarat: {
5085
5250
  how1: string;
5086
5251
  how2: string;
@@ -5208,6 +5373,7 @@ export declare const translations: {
5208
5373
  tie: string;
5209
5374
  totalBetAmount: string;
5210
5375
  selectChip: string;
5376
+ slowReveal: string;
5211
5377
  };
5212
5378
  blackjack: {
5213
5379
  seats: string;
@@ -5455,6 +5621,17 @@ export declare const translations: {
5455
5621
  verifyOutcome: string;
5456
5622
  };
5457
5623
  gameInfo: {
5624
+ blackjack: {
5625
+ how1: string;
5626
+ how2: string;
5627
+ how3: string;
5628
+ how4: string;
5629
+ how5: string;
5630
+ how6: string;
5631
+ overview: string;
5632
+ provablyFair: string;
5633
+ strategyTip: string;
5634
+ };
5458
5635
  baccarat: {
5459
5636
  how1: string;
5460
5637
  how2: string;
@@ -5582,6 +5759,7 @@ export declare const translations: {
5582
5759
  tie: string;
5583
5760
  totalBetAmount: string;
5584
5761
  selectChip: string;
5762
+ slowReveal: string;
5585
5763
  };
5586
5764
  blackjack: {
5587
5765
  seats: string;
@@ -5829,6 +6007,17 @@ export declare const translations: {
5829
6007
  verifyOutcome: string;
5830
6008
  };
5831
6009
  gameInfo: {
6010
+ blackjack: {
6011
+ how1: string;
6012
+ how2: string;
6013
+ how3: string;
6014
+ how4: string;
6015
+ how5: string;
6016
+ how6: string;
6017
+ overview: string;
6018
+ provablyFair: string;
6019
+ strategyTip: string;
6020
+ };
5832
6021
  baccarat: {
5833
6022
  how1: string;
5834
6023
  how2: string;
@@ -5956,6 +6145,7 @@ export declare const translations: {
5956
6145
  tie: string;
5957
6146
  totalBetAmount: string;
5958
6147
  selectChip: string;
6148
+ slowReveal: string;
5959
6149
  };
5960
6150
  blackjack: {
5961
6151
  seats: string;
@@ -6203,6 +6393,17 @@ export declare const translations: {
6203
6393
  verifyOutcome: string;
6204
6394
  };
6205
6395
  gameInfo: {
6396
+ blackjack: {
6397
+ how1: string;
6398
+ how2: string;
6399
+ how3: string;
6400
+ how4: string;
6401
+ how5: string;
6402
+ how6: string;
6403
+ overview: string;
6404
+ provablyFair: string;
6405
+ strategyTip: string;
6406
+ };
6206
6407
  baccarat: {
6207
6408
  how1: string;
6208
6409
  how2: string;
@@ -6330,6 +6531,7 @@ export declare const translations: {
6330
6531
  tie: string;
6331
6532
  totalBetAmount: string;
6332
6533
  selectChip: string;
6534
+ slowReveal: string;
6333
6535
  };
6334
6536
  blackjack: {
6335
6537
  seats: string;
@@ -6626,7 +6828,6 @@ export type gameContextType = {
6626
6828
  customPlinkoEdgeColor: string | null;
6627
6829
  customPlinkoCenterColor: string | null;
6628
6830
  customBaccaratBackgroundSvgUrl: string | null;
6629
- customBaccaratCardBackSvgUrl: string | null;
6630
6831
  baccaratPreventOppositeBets: boolean;
6631
6832
  customLimboBackgroundSvgUrl: string | null;
6632
6833
  customWheelBackgroundSvgUrl: string | null;
@@ -6635,6 +6836,8 @@ export type gameContextType = {
6635
6836
  customDiamondsBackgroundSvgUrl: string | null;
6636
6837
  customBlackjackBackgroundSvgUrl: string | null;
6637
6838
  customCardBackSvgUrl: string | null;
6839
+ customCardRedColor: string | null;
6840
+ customCardBlackColor: string | null;
6638
6841
  customFooterLobbySvgUrl: string | null;
6639
6842
  customFooterVolumeSvgUrl: string | null;
6640
6843
  customFooterGameInfoSvgUrl: string | null;
@@ -6687,7 +6890,6 @@ export declare class GameProviderWrapper extends OrigamiElement {
6687
6890
  customPlinkoEdgeColor: string | null;
6688
6891
  customPlinkoCenterColor: string | null;
6689
6892
  customBaccaratBackgroundSvgUrl: string | null;
6690
- customBaccaratCardBackSvgUrl: string | null;
6691
6893
  baccaratPreventOppositeBets: boolean;
6692
6894
  customLimboBackgroundSvgUrl: string | null;
6693
6895
  customWheelBackgroundSvgUrl: string | null;
@@ -6696,6 +6898,8 @@ export declare class GameProviderWrapper extends OrigamiElement {
6696
6898
  customDiamondsBackgroundSvgUrl: string | null;
6697
6899
  customBlackjackBackgroundSvgUrl: string | null;
6698
6900
  customCardBackSvgUrl: string | null;
6901
+ customCardRedColor: string | null;
6902
+ customCardBlackColor: string | null;
6699
6903
  customFooterLobbySvgUrl: string | null;
6700
6904
  customFooterVolumeSvgUrl: string | null;
6701
6905
  customFooterGameInfoSvgUrl: string | null;
@@ -7627,6 +7831,7 @@ export declare class BaccaratGame extends ChipTableGameComponent {
7627
7831
  private betId;
7628
7832
  private payout;
7629
7833
  private instantModeForCurrentBet;
7834
+ private slowRevealEnabled;
7630
7835
  /** The current game round - passed to BaccaratContent for rendering */
7631
7836
  private currentRound;
7632
7837
  private _baccaratManualEl?;
@@ -7635,8 +7840,10 @@ export declare class BaccaratGame extends ChipTableGameComponent {
7635
7840
  get baccaratApi(): BaccaratApi | MockBaccaratApi;
7636
7841
  get isToggleDisabled(): boolean;
7637
7842
  get areInputsDisabled(): boolean;
7843
+ private get isSlowRevealActive();
7638
7844
  protected isMaxPayoutExceeded(chipEvents: ChipEvent[]): boolean;
7639
7845
  private handleGridClick;
7846
+ private handleSlowRevealChange;
7640
7847
  private resetRound;
7641
7848
  onManualOrAutoChange(): void;
7642
7849
  private addToHistory;
@@ -7713,6 +7920,7 @@ export declare class BlackjackGame extends GameComponent {
7713
7920
  get isGameActive(): boolean;
7714
7921
  get isToggleDisabled(): boolean;
7715
7922
  get areInputsDisabled(): boolean;
7923
+ private get totalBetExceedsBalance();
7716
7924
  private get sidebarMode();
7717
7925
  private readonly _getBlackjackApi;
7718
7926
  getBlackjackApi(): IBlackjackApi;
@@ -7739,6 +7947,7 @@ export declare class BlackjackGame extends GameComponent {
7739
7947
  triggerForceUIUpdate(): Promise<void>;
7740
7948
  triggerShowError(error: string): void;
7741
7949
  setHasPendingBet(value: boolean): void;
7950
+ private canAffordAction;
7742
7951
  private canPerformAction;
7743
7952
  private onBuyInsurance;
7744
7953
  private onDeclineInsurance;