@betorigami/games 2.8.6 → 2.9.1

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +181 -181
  2. package/dist/index.mjs +5052 -5022
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -164,6 +164,7 @@ export declare const translations: {
164
164
  max: string;
165
165
  medium: string;
166
166
  multiplier: string;
167
+ opensInNewWindow: string;
167
168
  payout: string;
168
169
  placeBet: string;
169
170
  profit: string;
@@ -202,7 +203,7 @@ export declare const translations: {
202
203
  enterProof: string;
203
204
  enterPublicKey: string;
204
205
  enterRandomness: string;
205
- enterRequest: string;
206
+ enterSeed: string;
206
207
  info: {
207
208
  p1: string;
208
209
  p2: string;
@@ -221,14 +222,13 @@ export declare const translations: {
221
222
  newClientSeed: string;
222
223
  noBettingHistory: string;
223
224
  outcomeCalculationInfo: string;
224
- outcomeNotVerified: string;
225
- outcomeVerified: string;
226
225
  proof: string;
226
+ provablyFair: string;
227
227
  publicKey: string;
228
228
  randomness: string;
229
- request: string;
230
229
  saveClientSeed: string;
231
- verifyOutcome: string;
230
+ seed: string;
231
+ verifyIndependently: string;
232
232
  };
233
233
  gameInfo: {
234
234
  blackjack: {
@@ -566,6 +566,7 @@ export declare const translations: {
566
566
  max: string;
567
567
  medium: string;
568
568
  multiplier: string;
569
+ opensInNewWindow: string;
569
570
  payout: string;
570
571
  placeBet: string;
571
572
  profit: string;
@@ -604,7 +605,7 @@ export declare const translations: {
604
605
  enterProof: string;
605
606
  enterPublicKey: string;
606
607
  enterRandomness: string;
607
- enterRequest: string;
608
+ enterSeed: string;
608
609
  info: {
609
610
  p1: string;
610
611
  p2: string;
@@ -623,14 +624,13 @@ export declare const translations: {
623
624
  newClientSeed: string;
624
625
  noBettingHistory: string;
625
626
  outcomeCalculationInfo: string;
626
- outcomeNotVerified: string;
627
- outcomeVerified: string;
628
627
  proof: string;
628
+ provablyFair: string;
629
629
  publicKey: string;
630
630
  randomness: string;
631
- request: string;
632
631
  saveClientSeed: string;
633
- verifyOutcome: string;
632
+ seed: string;
633
+ verifyIndependently: string;
634
634
  };
635
635
  gameInfo: {
636
636
  blackjack: {
@@ -968,6 +968,7 @@ export declare const translations: {
968
968
  max: string;
969
969
  medium: string;
970
970
  multiplier: string;
971
+ opensInNewWindow: string;
971
972
  payout: string;
972
973
  placeBet: string;
973
974
  profit: string;
@@ -1007,7 +1008,7 @@ export declare const translations: {
1007
1008
  enterProof: string;
1008
1009
  enterPublicKey: string;
1009
1010
  enterRandomness: string;
1010
- enterRequest: string;
1011
+ enterSeed: string;
1011
1012
  info: {
1012
1013
  p1: string;
1013
1014
  p2: string;
@@ -1026,14 +1027,13 @@ export declare const translations: {
1026
1027
  newClientSeed: string;
1027
1028
  noBettingHistory: string;
1028
1029
  outcomeCalculationInfo: string;
1029
- outcomeNotVerified: string;
1030
- outcomeVerified: string;
1031
1030
  proof: string;
1031
+ provablyFair: string;
1032
1032
  publicKey: string;
1033
1033
  randomness: string;
1034
- request: string;
1035
1034
  saveClientSeed: string;
1036
- verifyOutcome: string;
1035
+ seed: string;
1036
+ verifyIndependently: string;
1037
1037
  };
1038
1038
  gameInfo: {
1039
1039
  blackjack: {
@@ -1371,6 +1371,7 @@ export declare const translations: {
1371
1371
  max: string;
1372
1372
  medium: string;
1373
1373
  multiplier: string;
1374
+ opensInNewWindow: string;
1374
1375
  payout: string;
1375
1376
  placeBet: string;
1376
1377
  profit: string;
@@ -1409,7 +1410,7 @@ export declare const translations: {
1409
1410
  enterProof: string;
1410
1411
  enterPublicKey: string;
1411
1412
  enterRandomness: string;
1412
- enterRequest: string;
1413
+ enterSeed: string;
1413
1414
  info: {
1414
1415
  p1: string;
1415
1416
  p2: string;
@@ -1428,14 +1429,13 @@ export declare const translations: {
1428
1429
  newClientSeed: string;
1429
1430
  noBettingHistory: string;
1430
1431
  outcomeCalculationInfo: string;
1431
- outcomeNotVerified: string;
1432
- outcomeVerified: string;
1433
1432
  proof: string;
1433
+ provablyFair: string;
1434
1434
  publicKey: string;
1435
1435
  randomness: string;
1436
- request: string;
1437
1436
  saveClientSeed: string;
1438
- verifyOutcome: string;
1437
+ seed: string;
1438
+ verifyIndependently: string;
1439
1439
  };
1440
1440
  gameInfo: {
1441
1441
  blackjack: {
@@ -1773,6 +1773,7 @@ export declare const translations: {
1773
1773
  max: string;
1774
1774
  medium: string;
1775
1775
  multiplier: string;
1776
+ opensInNewWindow: string;
1776
1777
  payout: string;
1777
1778
  placeBet: string;
1778
1779
  profit: string;
@@ -1811,7 +1812,7 @@ export declare const translations: {
1811
1812
  enterProof: string;
1812
1813
  enterPublicKey: string;
1813
1814
  enterRandomness: string;
1814
- enterRequest: string;
1815
+ enterSeed: string;
1815
1816
  info: {
1816
1817
  p1: string;
1817
1818
  p2: string;
@@ -1830,14 +1831,13 @@ export declare const translations: {
1830
1831
  newClientSeed: string;
1831
1832
  noBettingHistory: string;
1832
1833
  outcomeCalculationInfo: string;
1833
- outcomeNotVerified: string;
1834
- outcomeVerified: string;
1835
1834
  proof: string;
1835
+ provablyFair: string;
1836
1836
  publicKey: string;
1837
1837
  randomness: string;
1838
- request: string;
1839
1838
  saveClientSeed: string;
1840
- verifyOutcome: string;
1839
+ seed: string;
1840
+ verifyIndependently: string;
1841
1841
  };
1842
1842
  gameInfo: {
1843
1843
  blackjack: {
@@ -2175,6 +2175,7 @@ export declare const translations: {
2175
2175
  max: string;
2176
2176
  medium: string;
2177
2177
  multiplier: string;
2178
+ opensInNewWindow: string;
2178
2179
  payout: string;
2179
2180
  placeBet: string;
2180
2181
  profit: string;
@@ -2213,7 +2214,7 @@ export declare const translations: {
2213
2214
  enterProof: string;
2214
2215
  enterPublicKey: string;
2215
2216
  enterRandomness: string;
2216
- enterRequest: string;
2217
+ enterSeed: string;
2217
2218
  info: {
2218
2219
  p1: string;
2219
2220
  p2: string;
@@ -2232,14 +2233,13 @@ export declare const translations: {
2232
2233
  newClientSeed: string;
2233
2234
  noBettingHistory: string;
2234
2235
  outcomeCalculationInfo: string;
2235
- outcomeNotVerified: string;
2236
- outcomeVerified: string;
2237
2236
  proof: string;
2237
+ provablyFair: string;
2238
2238
  publicKey: string;
2239
2239
  randomness: string;
2240
- request: string;
2241
2240
  saveClientSeed: string;
2242
- verifyOutcome: string;
2241
+ seed: string;
2242
+ verifyIndependently: string;
2243
2243
  };
2244
2244
  gameInfo: {
2245
2245
  blackjack: {
@@ -2577,6 +2577,7 @@ export declare const translations: {
2577
2577
  max: string;
2578
2578
  medium: string;
2579
2579
  multiplier: string;
2580
+ opensInNewWindow: string;
2580
2581
  payout: string;
2581
2582
  placeBet: string;
2582
2583
  profit: string;
@@ -2615,7 +2616,7 @@ export declare const translations: {
2615
2616
  enterProof: string;
2616
2617
  enterPublicKey: string;
2617
2618
  enterRandomness: string;
2618
- enterRequest: string;
2619
+ enterSeed: string;
2619
2620
  info: {
2620
2621
  p1: string;
2621
2622
  p2: string;
@@ -2634,14 +2635,13 @@ export declare const translations: {
2634
2635
  newClientSeed: string;
2635
2636
  noBettingHistory: string;
2636
2637
  outcomeCalculationInfo: string;
2637
- outcomeNotVerified: string;
2638
- outcomeVerified: string;
2639
2638
  proof: string;
2639
+ provablyFair: string;
2640
2640
  publicKey: string;
2641
2641
  randomness: string;
2642
- request: string;
2643
2642
  saveClientSeed: string;
2644
- verifyOutcome: string;
2643
+ seed: string;
2644
+ verifyIndependently: string;
2645
2645
  };
2646
2646
  gameInfo: {
2647
2647
  blackjack: {
@@ -2979,6 +2979,7 @@ export declare const translations: {
2979
2979
  max: string;
2980
2980
  medium: string;
2981
2981
  multiplier: string;
2982
+ opensInNewWindow: string;
2982
2983
  payout: string;
2983
2984
  placeBet: string;
2984
2985
  profit: string;
@@ -3017,7 +3018,7 @@ export declare const translations: {
3017
3018
  enterProof: string;
3018
3019
  enterPublicKey: string;
3019
3020
  enterRandomness: string;
3020
- enterRequest: string;
3021
+ enterSeed: string;
3021
3022
  info: {
3022
3023
  p1: string;
3023
3024
  p2: string;
@@ -3036,14 +3037,13 @@ export declare const translations: {
3036
3037
  newClientSeed: string;
3037
3038
  noBettingHistory: string;
3038
3039
  outcomeCalculationInfo: string;
3039
- outcomeNotVerified: string;
3040
- outcomeVerified: string;
3041
3040
  proof: string;
3041
+ provablyFair: string;
3042
3042
  publicKey: string;
3043
3043
  randomness: string;
3044
- request: string;
3045
3044
  saveClientSeed: string;
3046
- verifyOutcome: string;
3045
+ seed: string;
3046
+ verifyIndependently: string;
3047
3047
  };
3048
3048
  gameInfo: {
3049
3049
  blackjack: {
@@ -3381,6 +3381,7 @@ export declare const translations: {
3381
3381
  max: string;
3382
3382
  medium: string;
3383
3383
  multiplier: string;
3384
+ opensInNewWindow: string;
3384
3385
  payout: string;
3385
3386
  placeBet: string;
3386
3387
  profit: string;
@@ -3419,7 +3420,7 @@ export declare const translations: {
3419
3420
  enterProof: string;
3420
3421
  enterPublicKey: string;
3421
3422
  enterRandomness: string;
3422
- enterRequest: string;
3423
+ enterSeed: string;
3423
3424
  info: {
3424
3425
  p1: string;
3425
3426
  p2: string;
@@ -3438,14 +3439,13 @@ export declare const translations: {
3438
3439
  newClientSeed: string;
3439
3440
  noBettingHistory: string;
3440
3441
  outcomeCalculationInfo: string;
3441
- outcomeNotVerified: string;
3442
- outcomeVerified: string;
3443
3442
  proof: string;
3443
+ provablyFair: string;
3444
3444
  publicKey: string;
3445
3445
  randomness: string;
3446
- request: string;
3447
3446
  saveClientSeed: string;
3448
- verifyOutcome: string;
3447
+ seed: string;
3448
+ verifyIndependently: string;
3449
3449
  };
3450
3450
  gameInfo: {
3451
3451
  blackjack: {
@@ -3783,6 +3783,7 @@ export declare const translations: {
3783
3783
  max: string;
3784
3784
  medium: string;
3785
3785
  multiplier: string;
3786
+ opensInNewWindow: string;
3786
3787
  payout: string;
3787
3788
  placeBet: string;
3788
3789
  profit: string;
@@ -3821,7 +3822,7 @@ export declare const translations: {
3821
3822
  enterProof: string;
3822
3823
  enterPublicKey: string;
3823
3824
  enterRandomness: string;
3824
- enterRequest: string;
3825
+ enterSeed: string;
3825
3826
  info: {
3826
3827
  p1: string;
3827
3828
  p2: string;
@@ -3840,14 +3841,13 @@ export declare const translations: {
3840
3841
  newClientSeed: string;
3841
3842
  noBettingHistory: string;
3842
3843
  outcomeCalculationInfo: string;
3843
- outcomeNotVerified: string;
3844
- outcomeVerified: string;
3845
3844
  proof: string;
3845
+ provablyFair: string;
3846
3846
  publicKey: string;
3847
3847
  randomness: string;
3848
- request: string;
3849
3848
  saveClientSeed: string;
3850
- verifyOutcome: string;
3849
+ seed: string;
3850
+ verifyIndependently: string;
3851
3851
  };
3852
3852
  gameInfo: {
3853
3853
  blackjack: {
@@ -4185,6 +4185,7 @@ export declare const translations: {
4185
4185
  max: string;
4186
4186
  medium: string;
4187
4187
  multiplier: string;
4188
+ opensInNewWindow: string;
4188
4189
  payout: string;
4189
4190
  placeBet: string;
4190
4191
  profit: string;
@@ -4223,7 +4224,7 @@ export declare const translations: {
4223
4224
  enterProof: string;
4224
4225
  enterPublicKey: string;
4225
4226
  enterRandomness: string;
4226
- enterRequest: string;
4227
+ enterSeed: string;
4227
4228
  info: {
4228
4229
  p1: string;
4229
4230
  p2: string;
@@ -4242,14 +4243,13 @@ export declare const translations: {
4242
4243
  newClientSeed: string;
4243
4244
  noBettingHistory: string;
4244
4245
  outcomeCalculationInfo: string;
4245
- outcomeNotVerified: string;
4246
- outcomeVerified: string;
4247
4246
  proof: string;
4247
+ provablyFair: string;
4248
4248
  publicKey: string;
4249
4249
  randomness: string;
4250
- request: string;
4251
4250
  saveClientSeed: string;
4252
- verifyOutcome: string;
4251
+ seed: string;
4252
+ verifyIndependently: string;
4253
4253
  };
4254
4254
  gameInfo: {
4255
4255
  blackjack: {
@@ -4587,6 +4587,7 @@ export declare const translations: {
4587
4587
  max: string;
4588
4588
  medium: string;
4589
4589
  multiplier: string;
4590
+ opensInNewWindow: string;
4590
4591
  payout: string;
4591
4592
  placeBet: string;
4592
4593
  profit: string;
@@ -4625,7 +4626,7 @@ export declare const translations: {
4625
4626
  enterProof: string;
4626
4627
  enterPublicKey: string;
4627
4628
  enterRandomness: string;
4628
- enterRequest: string;
4629
+ enterSeed: string;
4629
4630
  info: {
4630
4631
  p1: string;
4631
4632
  p2: string;
@@ -4644,14 +4645,13 @@ export declare const translations: {
4644
4645
  newClientSeed: string;
4645
4646
  noBettingHistory: string;
4646
4647
  outcomeCalculationInfo: string;
4647
- outcomeNotVerified: string;
4648
- outcomeVerified: string;
4649
4648
  proof: string;
4649
+ provablyFair: string;
4650
4650
  publicKey: string;
4651
4651
  randomness: string;
4652
- request: string;
4653
4652
  saveClientSeed: string;
4654
- verifyOutcome: string;
4653
+ seed: string;
4654
+ verifyIndependently: string;
4655
4655
  };
4656
4656
  gameInfo: {
4657
4657
  blackjack: {
@@ -4989,6 +4989,7 @@ export declare const translations: {
4989
4989
  max: string;
4990
4990
  medium: string;
4991
4991
  multiplier: string;
4992
+ opensInNewWindow: string;
4992
4993
  payout: string;
4993
4994
  placeBet: string;
4994
4995
  profit: string;
@@ -5027,7 +5028,7 @@ export declare const translations: {
5027
5028
  enterProof: string;
5028
5029
  enterPublicKey: string;
5029
5030
  enterRandomness: string;
5030
- enterRequest: string;
5031
+ enterSeed: string;
5031
5032
  info: {
5032
5033
  p1: string;
5033
5034
  p2: string;
@@ -5046,14 +5047,13 @@ export declare const translations: {
5046
5047
  newClientSeed: string;
5047
5048
  noBettingHistory: string;
5048
5049
  outcomeCalculationInfo: string;
5049
- outcomeNotVerified: string;
5050
- outcomeVerified: string;
5051
5050
  proof: string;
5051
+ provablyFair: string;
5052
5052
  publicKey: string;
5053
5053
  randomness: string;
5054
- request: string;
5055
5054
  saveClientSeed: string;
5056
- verifyOutcome: string;
5055
+ seed: string;
5056
+ verifyIndependently: string;
5057
5057
  };
5058
5058
  gameInfo: {
5059
5059
  blackjack: {
@@ -5391,6 +5391,7 @@ export declare const translations: {
5391
5391
  max: string;
5392
5392
  medium: string;
5393
5393
  multiplier: string;
5394
+ opensInNewWindow: string;
5394
5395
  payout: string;
5395
5396
  placeBet: string;
5396
5397
  profit: string;
@@ -5429,7 +5430,7 @@ export declare const translations: {
5429
5430
  enterProof: string;
5430
5431
  enterPublicKey: string;
5431
5432
  enterRandomness: string;
5432
- enterRequest: string;
5433
+ enterSeed: string;
5433
5434
  info: {
5434
5435
  p1: string;
5435
5436
  p2: string;
@@ -5448,14 +5449,13 @@ export declare const translations: {
5448
5449
  newClientSeed: string;
5449
5450
  noBettingHistory: string;
5450
5451
  outcomeCalculationInfo: string;
5451
- outcomeNotVerified: string;
5452
- outcomeVerified: string;
5453
5452
  proof: string;
5453
+ provablyFair: string;
5454
5454
  publicKey: string;
5455
5455
  randomness: string;
5456
- request: string;
5457
5456
  saveClientSeed: string;
5458
- verifyOutcome: string;
5457
+ seed: string;
5458
+ verifyIndependently: string;
5459
5459
  };
5460
5460
  gameInfo: {
5461
5461
  blackjack: {
@@ -5793,6 +5793,7 @@ export declare const translations: {
5793
5793
  max: string;
5794
5794
  medium: string;
5795
5795
  multiplier: string;
5796
+ opensInNewWindow: string;
5796
5797
  payout: string;
5797
5798
  placeBet: string;
5798
5799
  profit: string;
@@ -5831,7 +5832,7 @@ export declare const translations: {
5831
5832
  enterProof: string;
5832
5833
  enterPublicKey: string;
5833
5834
  enterRandomness: string;
5834
- enterRequest: string;
5835
+ enterSeed: string;
5835
5836
  info: {
5836
5837
  p1: string;
5837
5838
  p2: string;
@@ -5850,14 +5851,13 @@ export declare const translations: {
5850
5851
  newClientSeed: string;
5851
5852
  noBettingHistory: string;
5852
5853
  outcomeCalculationInfo: string;
5853
- outcomeNotVerified: string;
5854
- outcomeVerified: string;
5855
5854
  proof: string;
5855
+ provablyFair: string;
5856
5856
  publicKey: string;
5857
5857
  randomness: string;
5858
- request: string;
5859
5858
  saveClientSeed: string;
5860
- verifyOutcome: string;
5859
+ seed: string;
5860
+ verifyIndependently: string;
5861
5861
  };
5862
5862
  gameInfo: {
5863
5863
  blackjack: {
@@ -6195,6 +6195,7 @@ export declare const translations: {
6195
6195
  max: string;
6196
6196
  medium: string;
6197
6197
  multiplier: string;
6198
+ opensInNewWindow: string;
6198
6199
  payout: string;
6199
6200
  placeBet: string;
6200
6201
  profit: string;
@@ -6233,7 +6234,7 @@ export declare const translations: {
6233
6234
  enterProof: string;
6234
6235
  enterPublicKey: string;
6235
6236
  enterRandomness: string;
6236
- enterRequest: string;
6237
+ enterSeed: string;
6237
6238
  info: {
6238
6239
  p1: string;
6239
6240
  p2: string;
@@ -6252,14 +6253,13 @@ export declare const translations: {
6252
6253
  newClientSeed: string;
6253
6254
  noBettingHistory: string;
6254
6255
  outcomeCalculationInfo: string;
6255
- outcomeNotVerified: string;
6256
- outcomeVerified: string;
6257
6256
  proof: string;
6257
+ provablyFair: string;
6258
6258
  publicKey: string;
6259
6259
  randomness: string;
6260
- request: string;
6261
6260
  saveClientSeed: string;
6262
- verifyOutcome: string;
6261
+ seed: string;
6262
+ verifyIndependently: string;
6263
6263
  };
6264
6264
  gameInfo: {
6265
6265
  blackjack: {
@@ -6597,6 +6597,7 @@ export declare const translations: {
6597
6597
  max: string;
6598
6598
  medium: string;
6599
6599
  multiplier: string;
6600
+ opensInNewWindow: string;
6600
6601
  payout: string;
6601
6602
  placeBet: string;
6602
6603
  profit: string;
@@ -6635,7 +6636,7 @@ export declare const translations: {
6635
6636
  enterProof: string;
6636
6637
  enterPublicKey: string;
6637
6638
  enterRandomness: string;
6638
- enterRequest: string;
6639
+ enterSeed: string;
6639
6640
  info: {
6640
6641
  p1: string;
6641
6642
  p2: string;
@@ -6654,14 +6655,13 @@ export declare const translations: {
6654
6655
  newClientSeed: string;
6655
6656
  noBettingHistory: string;
6656
6657
  outcomeCalculationInfo: string;
6657
- outcomeNotVerified: string;
6658
- outcomeVerified: string;
6659
6658
  proof: string;
6659
+ provablyFair: string;
6660
6660
  publicKey: string;
6661
6661
  randomness: string;
6662
- request: string;
6663
6662
  saveClientSeed: string;
6664
- verifyOutcome: string;
6663
+ seed: string;
6664
+ verifyIndependently: string;
6665
6665
  };
6666
6666
  gameInfo: {
6667
6667
  blackjack: {
@@ -7277,6 +7277,19 @@ export interface MinesState {
7277
7277
  state: MinesFlowState;
7278
7278
  betAmount: Big$1;
7279
7279
  }
7280
+ export type BetMode = "Manual" | "Auto";
7281
+ export type AfterBetEffect = "Reset" | "Increase";
7282
+ export type AutobetValues = {
7283
+ onWinPercentage: string;
7284
+ onLossPercentage: string;
7285
+ stopOnProfit: string;
7286
+ stopOnLoss: string;
7287
+ onLossStrategy: AfterBetEffect;
7288
+ onWinStrategy: AfterBetEffect;
7289
+ };
7290
+ export type AutobetEventPayload = AutobetValues & {
7291
+ numberOfBets: string;
7292
+ };
7280
7293
  declare enum WheelRiskLevel {
7281
7294
  LOW_RISK = "LOW_RISK",
7282
7295
  MEDIUM_RISK = "MEDIUM_RISK",
@@ -7289,6 +7302,37 @@ declare enum WheelSegments {
7289
7302
  FORTY = 40,
7290
7303
  FIFTY = 50
7291
7304
  }
7305
+ declare enum KenoRiskLevel {
7306
+ CLASSIC = "CLASSIC",
7307
+ LOW_RISK = "LOW_RISK",
7308
+ MEDIUM_RISK = "MEDIUM_RISK",
7309
+ HIGH_RISK = "HIGH_RISK"
7310
+ }
7311
+ declare const VALID_KENO_EDGES: readonly [
7312
+ 1,
7313
+ 2,
7314
+ 3,
7315
+ 4,
7316
+ 8
7317
+ ];
7318
+ export type KenoEdge = (typeof VALID_KENO_EDGES)[number];
7319
+ declare enum PlinkoRiskLevel {
7320
+ LOW_RISK = "LOW_RISK",
7321
+ MEDIUM_RISK = "MEDIUM_RISK",
7322
+ HIGH_RISK = "HIGH_RISK"
7323
+ }
7324
+ declare const plinkoRowCountOptions: readonly [
7325
+ 8,
7326
+ 9,
7327
+ 10,
7328
+ 11,
7329
+ 12,
7330
+ 13,
7331
+ 14,
7332
+ 15,
7333
+ 16
7334
+ ];
7335
+ export type PlinkoRowCount = (typeof plinkoRowCountOptions)[number];
7292
7336
  export type Bounds = {
7293
7337
  lower: number;
7294
7338
  upper: number;
@@ -7312,37 +7356,60 @@ export type RollBetweenTwo = {
7312
7356
  secondBounds: Bounds;
7313
7357
  };
7314
7358
  export type AdvancedDiceInputs = RollBetween | RollOutside | RollBetweenTwo;
7315
- declare enum PlinkoRiskLevel {
7316
- LOW_RISK = "LOW_RISK",
7317
- MEDIUM_RISK = "MEDIUM_RISK",
7318
- HIGH_RISK = "HIGH_RISK"
7359
+ export type AutobetToggleEvent = CustomEvent<AutobetEventPayload>;
7360
+ export type LimboMultiplierChangeEvent = CustomEvent<{
7361
+ multiplier: string;
7362
+ }>;
7363
+ export type LimboMultiplierAnimationEndEvent = CustomEvent<{
7364
+ resultMultiplier: number;
7365
+ isWin: boolean;
7366
+ betId: string;
7367
+ }>;
7368
+ export type KenoRiskChangeEvent = CustomEvent<{
7369
+ value: KenoRiskLevel;
7370
+ }>;
7371
+ export type KenoTileClickEvent = CustomEvent<{
7372
+ tile: number;
7373
+ }>;
7374
+ export type AutobetSettingsWithId = AutobetEventPayload & {
7375
+ autobetId: string;
7376
+ betIndex: number;
7377
+ pnlSinceStart: string;
7378
+ };
7379
+ export interface GameBetResult {
7380
+ pnl: Big$1;
7381
+ gameOutcome: "Win" | "Loss" | "Draw";
7382
+ hasError: boolean;
7383
+ errorMessage?: string;
7319
7384
  }
7320
- declare const plinkoRowCountOptions: readonly [
7321
- 8,
7322
- 9,
7323
- 10,
7324
- 11,
7325
- 12,
7326
- 13,
7327
- 14,
7328
- 15,
7329
- 16
7330
- ];
7331
- export type PlinkoRowCount = (typeof plinkoRowCountOptions)[number];
7332
- declare enum KenoRiskLevel {
7333
- CLASSIC = "CLASSIC",
7334
- LOW_RISK = "LOW_RISK",
7335
- MEDIUM_RISK = "MEDIUM_RISK",
7336
- HIGH_RISK = "HIGH_RISK"
7385
+ declare abstract class GameComponent extends OrigamiElement {
7386
+ protected manualOrAuto: BetMode;
7387
+ protected hasPendingBet: boolean;
7388
+ protected autobetInProgress: boolean;
7389
+ protected autobetStopping: boolean;
7390
+ static styles: import("lit").CSSResult[];
7391
+ protected onBetAmountChange: (_oldBetAmount: string, _newBetAmount: string) => void;
7392
+ private gameConsumer;
7393
+ get gameData(): gameContextType;
7394
+ get isDemoMode(): boolean;
7395
+ get isToggleDisabled(): boolean;
7396
+ get areInputsDisabled(): boolean;
7397
+ protected getDelay(normalDelay: number): number;
7398
+ protected forceUIUpdate(): Promise<void>;
7399
+ protected executeInstantOrAnimated<T>(instantOperation: () => Promise<T> | T, animatedOperation: () => Promise<T> | T): Promise<T>;
7400
+ /**
7401
+ * @deprecated Use sleep instead
7402
+ */
7403
+ protected ensureMinimumDisplayTime(hasWin?: boolean, winDisplayTime?: number, lossDisplayTime?: number): Promise<void>;
7404
+ disconnectedCallback(): void;
7405
+ toggleAutobet(event: AutobetToggleEvent): Promise<void>;
7406
+ protected abstract executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
7407
+ protected adjustBetAmount(autobetSettings: AutobetSettingsWithId, gameOutcome: "Win" | "Loss" | "Draw", originalBetAmount: string, currentBetAmount: string): string;
7408
+ protected isPnLWithinLimits(autobetSettings: AutobetSettingsWithId, totalPnL: Big$1): boolean;
7409
+ protected updateHistoryWithBet(betResult: NewBetItem): void;
7410
+ protected showError(message: string): void;
7411
+ protected playWinFeedback(): void;
7337
7412
  }
7338
- declare const VALID_KENO_EDGES: readonly [
7339
- 1,
7340
- 2,
7341
- 3,
7342
- 4,
7343
- 8
7344
- ];
7345
- export type KenoEdge = (typeof VALID_KENO_EDGES)[number];
7346
7413
  declare enum OrigamiActionType {
7347
7414
  START_BET = "START_BET",// bet started but not yet ended send to the /bet webhook
7348
7415
  END_BET = "END_BET",// bet has been completed. Can be started and ended in 1 webhook or started in 1 and ended in another. send to the /bet webhook
@@ -7350,18 +7417,6 @@ declare enum OrigamiActionType {
7350
7417
  INTERMEDIATE_BET_ACTION = "INTERMEDIATE_BET_ACTION",// bet amount was increased without game ending, such as doubling down in blackjack
7351
7418
  INTERMEDIATE_NON_BET_ACTION = "INTERMEDIATE_NON_BET_ACTION"
7352
7419
  }
7353
- export type AfterBetEffect = "Reset" | "Increase";
7354
- export type AutobetValues = {
7355
- onWinPercentage: string;
7356
- onLossPercentage: string;
7357
- stopOnProfit: string;
7358
- stopOnLoss: string;
7359
- onLossStrategy: AfterBetEffect;
7360
- onWinStrategy: AfterBetEffect;
7361
- };
7362
- export type AutobetEventPayload = AutobetValues & {
7363
- numberOfBets: string;
7364
- };
7365
7420
  export type DiceStartAction = {
7366
7421
  direction: DiceDirection;
7367
7422
  selectedValue: number;
@@ -7574,61 +7629,6 @@ export type BlackjackVisibleState = {
7574
7629
  insuranceOutcome: InsuranceOutcome | null;
7575
7630
  isActing: boolean;
7576
7631
  };
7577
- export type BetMode = "Manual" | "Auto";
7578
- export type AutobetToggleEvent = CustomEvent<AutobetEventPayload>;
7579
- export type LimboMultiplierChangeEvent = CustomEvent<{
7580
- multiplier: string;
7581
- }>;
7582
- export type LimboMultiplierAnimationEndEvent = CustomEvent<{
7583
- resultMultiplier: number;
7584
- isWin: boolean;
7585
- betId: string;
7586
- }>;
7587
- export type KenoRiskChangeEvent = CustomEvent<{
7588
- value: KenoRiskLevel;
7589
- }>;
7590
- export type KenoTileClickEvent = CustomEvent<{
7591
- tile: number;
7592
- }>;
7593
- export type AutobetSettingsWithId = AutobetEventPayload & {
7594
- autobetId: string;
7595
- betIndex: number;
7596
- pnlSinceStart: string;
7597
- };
7598
- export interface GameBetResult {
7599
- pnl: Big$1;
7600
- gameOutcome: "Win" | "Loss" | "Draw";
7601
- hasError: boolean;
7602
- errorMessage?: string;
7603
- }
7604
- declare abstract class GameComponent extends OrigamiElement {
7605
- protected manualOrAuto: BetMode;
7606
- protected hasPendingBet: boolean;
7607
- protected autobetInProgress: boolean;
7608
- protected autobetStopping: boolean;
7609
- static styles: import("lit").CSSResult[];
7610
- protected onBetAmountChange: (_oldBetAmount: string, _newBetAmount: string) => void;
7611
- private gameConsumer;
7612
- get gameData(): gameContextType;
7613
- get isDemoMode(): boolean;
7614
- get isToggleDisabled(): boolean;
7615
- get areInputsDisabled(): boolean;
7616
- protected getDelay(normalDelay: number): number;
7617
- protected forceUIUpdate(): Promise<void>;
7618
- protected executeInstantOrAnimated<T>(instantOperation: () => Promise<T> | T, animatedOperation: () => Promise<T> | T): Promise<T>;
7619
- /**
7620
- * @deprecated Use sleep instead
7621
- */
7622
- protected ensureMinimumDisplayTime(hasWin?: boolean, winDisplayTime?: number, lossDisplayTime?: number): Promise<void>;
7623
- disconnectedCallback(): void;
7624
- toggleAutobet(event: AutobetToggleEvent): Promise<void>;
7625
- protected abstract executeAutobet(autobetSettings: AutobetSettingsWithId, currentBetAmount: string): Promise<GameBetResult>;
7626
- protected adjustBetAmount(autobetSettings: AutobetSettingsWithId, gameOutcome: "Win" | "Loss" | "Draw", originalBetAmount: string, currentBetAmount: string): string;
7627
- protected isPnLWithinLimits(autobetSettings: AutobetSettingsWithId, totalPnL: Big$1): boolean;
7628
- protected updateHistoryWithBet(betResult: NewBetItem): void;
7629
- protected showError(message: string): void;
7630
- protected playWinFeedback(): void;
7631
- }
7632
7632
  export declare class DiceGame extends GameComponent {
7633
7633
  static styles: import("lit").CSSResult[];
7634
7634
  private diceDirection;