@betorigami/games 2.10.2 → 2.11.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.
@@ -167,6 +167,7 @@ export interface BetResult {
167
167
  proof: string | null;
168
168
  afterBalance: string | null;
169
169
  tenantUserId: string;
170
+ insuranceAmount?: string | null;
170
171
  betActions: Array<Action>;
171
172
  }
172
173
  export type StartBetResponse = {
@@ -1,4 +1,7 @@
1
1
  import { Currency } from './constants';
2
- export declare const formatMonetaryAmount: (amount: string | number, currency: Currency, options?: {
2
+ type FormatMonetaryAmountOptions = {
3
3
  includeSymbol?: boolean;
4
- }) => string;
4
+ preserveDecimals?: boolean;
5
+ };
6
+ export declare const formatMonetaryAmount: (amount: string | number, currency: Currency, options?: FormatMonetaryAmountOptions) => string;
7
+ export {};
@@ -2,6 +2,7 @@ import { TranslationKey } from '../../translations';
2
2
  export declare enum ErrorCode {
3
3
  INSUFFICIENT_BALANCE = "INSUFFICIENT_BALANCE",
4
4
  LIMIT_REACHED = "LIMIT_REACHED",
5
+ BET_AMOUNT_TOO_LOW = "BET_AMOUNT_TOO_LOW",
5
6
  UNKNOWN = "UNKNOWN"
6
7
  }
7
8
  export declare const errorCodeToTranslationKey: (errorCode: ErrorCode) => TranslationKey;
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "فلاش أو ستريت أو ثلاثي أو أفضل"
330
330
  },
331
331
  "buyInsurance": "شراء التأمين",
332
- "noInsurance": "بدون تأمين"
332
+ "noInsurance": "بدون تأمين",
333
+ "insuranceBelowMinimumBet": "رهان التأمين أقل من الحد الأدنى للرهان"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "البطاقات المتبقية",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Flush, Straße, Drilling oder besser"
330
330
  },
331
331
  "buyInsurance": "Versicherung kaufen",
332
- "noInsurance": "Keine Versicherung"
332
+ "noInsurance": "Keine Versicherung",
333
+ "insuranceBelowMinimumBet": "Der Versicherungseinsatz wäre niedriger als der Mindesteinsatz"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Verbleibende Karten",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Flush, Straight, Trips, or better"
330
330
  },
331
331
  "buyInsurance": "Buy Insurance",
332
- "noInsurance": "No Insurance"
332
+ "noInsurance": "No Insurance",
333
+ "insuranceBelowMinimumBet": "Insurance entry would be lower than minimum entry"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Cards Remaining",
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  "autobetStopped": "Stopped autobet mode",
8
8
  "betAmountAboveMaxBet": "Maximum bet is {value}",
9
9
  "betAmountBelowMinBet": "Minimum bet is {value}",
10
+ "betAmountTooLow": "Bet amount is below the minimum",
10
11
  "betLimitReached": "Bet limit reached",
11
12
  "errorProcessingBet": "There was an error processing your bet. Please try again.",
12
13
  "failedToLoadBetData": "Failed to load bet data",
@@ -330,7 +331,8 @@ declare const _default: {
330
331
  "threeCardBonusResults": "Flush, Straight, Trips, or better"
331
332
  },
332
333
  "buyInsurance": "Buy Insurance",
333
- "noInsurance": "No Insurance"
334
+ "noInsurance": "No Insurance",
335
+ "insuranceBelowMinimumBet": "Insurance bet would be lower than minimum bet"
334
336
  },
335
337
  "blitz": {
336
338
  "cardsRemaining": "Cards Remaining",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Color, escalera, trío o mejor"
330
330
  },
331
331
  "buyInsurance": "Comprar seguro",
332
- "noInsurance": "Sin seguro"
332
+ "noInsurance": "Sin seguro",
333
+ "insuranceBelowMinimumBet": "La apuesta de seguro sería inferior a la apuesta mínima"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Cartas restantes",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Väri, suora, kolmoset tai parempi"
330
330
  },
331
331
  "buyInsurance": "Ota vakuutus",
332
- "noInsurance": "Ei vakuutusta"
332
+ "noInsurance": "Ei vakuutusta",
333
+ "insuranceBelowMinimumBet": "Vakuutuspanos olisi pienempi kuin minimipanos"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Kortteja jäljellä",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Couleur, quinte, brelan ou mieux"
330
330
  },
331
331
  "buyInsurance": "Acheter l'assurance",
332
- "noInsurance": "Pas d'assurance"
332
+ "noInsurance": "Pas d'assurance",
333
+ "insuranceBelowMinimumBet": "La mise d'assurance serait inférieure à la mise minimale"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Cartes restantes",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "फ्लश, स्ट्रेट, ट्रिप्स, या बेहतर"
330
330
  },
331
331
  "buyInsurance": "बीमा खरीदें",
332
- "noInsurance": "बीमा नहीं"
332
+ "noInsurance": "बीमा नहीं",
333
+ "insuranceBelowMinimumBet": "बीमा की शर्त न्यूनतम शर्त से कम होगी"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "शेष कार्ड",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Flush, straight, trips, atau lebih baik"
330
330
  },
331
331
  "buyInsurance": "Beli Asuransi",
332
- "noInsurance": "Tanpa Asuransi"
332
+ "noInsurance": "Tanpa Asuransi",
333
+ "insuranceBelowMinimumBet": "Taruhan asuransi akan lebih rendah daripada taruhan minimum"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Kartu Tersisa",
@@ -341,6 +341,7 @@ export declare const translations: {
341
341
  };
342
342
  buyInsurance: string;
343
343
  noInsurance: string;
344
+ insuranceBelowMinimumBet: string;
344
345
  };
345
346
  blitz: {
346
347
  cardsRemaining: string;
@@ -743,6 +744,7 @@ export declare const translations: {
743
744
  };
744
745
  buyInsurance: string;
745
746
  noInsurance: string;
747
+ insuranceBelowMinimumBet: string;
746
748
  };
747
749
  blitz: {
748
750
  cardsRemaining: string;
@@ -822,6 +824,7 @@ export declare const translations: {
822
824
  autobetStopped: string;
823
825
  betAmountAboveMaxBet: string;
824
826
  betAmountBelowMinBet: string;
827
+ betAmountTooLow: string;
825
828
  betLimitReached: string;
826
829
  errorProcessingBet: string;
827
830
  failedToLoadBetData: string;
@@ -1146,6 +1149,7 @@ export declare const translations: {
1146
1149
  };
1147
1150
  buyInsurance: string;
1148
1151
  noInsurance: string;
1152
+ insuranceBelowMinimumBet: string;
1149
1153
  };
1150
1154
  blitz: {
1151
1155
  cardsRemaining: string;
@@ -1548,6 +1552,7 @@ export declare const translations: {
1548
1552
  };
1549
1553
  buyInsurance: string;
1550
1554
  noInsurance: string;
1555
+ insuranceBelowMinimumBet: string;
1551
1556
  };
1552
1557
  blitz: {
1553
1558
  cardsRemaining: string;
@@ -1950,6 +1955,7 @@ export declare const translations: {
1950
1955
  };
1951
1956
  buyInsurance: string;
1952
1957
  noInsurance: string;
1958
+ insuranceBelowMinimumBet: string;
1953
1959
  };
1954
1960
  blitz: {
1955
1961
  cardsRemaining: string;
@@ -2352,6 +2358,7 @@ export declare const translations: {
2352
2358
  };
2353
2359
  buyInsurance: string;
2354
2360
  noInsurance: string;
2361
+ insuranceBelowMinimumBet: string;
2355
2362
  };
2356
2363
  blitz: {
2357
2364
  cardsRemaining: string;
@@ -2754,6 +2761,7 @@ export declare const translations: {
2754
2761
  };
2755
2762
  buyInsurance: string;
2756
2763
  noInsurance: string;
2764
+ insuranceBelowMinimumBet: string;
2757
2765
  };
2758
2766
  blitz: {
2759
2767
  cardsRemaining: string;
@@ -3156,6 +3164,7 @@ export declare const translations: {
3156
3164
  };
3157
3165
  buyInsurance: string;
3158
3166
  noInsurance: string;
3167
+ insuranceBelowMinimumBet: string;
3159
3168
  };
3160
3169
  blitz: {
3161
3170
  cardsRemaining: string;
@@ -3558,6 +3567,7 @@ export declare const translations: {
3558
3567
  };
3559
3568
  buyInsurance: string;
3560
3569
  noInsurance: string;
3570
+ insuranceBelowMinimumBet: string;
3561
3571
  };
3562
3572
  blitz: {
3563
3573
  cardsRemaining: string;
@@ -3960,6 +3970,7 @@ export declare const translations: {
3960
3970
  };
3961
3971
  buyInsurance: string;
3962
3972
  noInsurance: string;
3973
+ insuranceBelowMinimumBet: string;
3963
3974
  };
3964
3975
  blitz: {
3965
3976
  cardsRemaining: string;
@@ -4362,6 +4373,7 @@ export declare const translations: {
4362
4373
  };
4363
4374
  buyInsurance: string;
4364
4375
  noInsurance: string;
4376
+ insuranceBelowMinimumBet: string;
4365
4377
  };
4366
4378
  blitz: {
4367
4379
  cardsRemaining: string;
@@ -4764,6 +4776,7 @@ export declare const translations: {
4764
4776
  };
4765
4777
  buyInsurance: string;
4766
4778
  noInsurance: string;
4779
+ insuranceBelowMinimumBet: string;
4767
4780
  };
4768
4781
  blitz: {
4769
4782
  cardsRemaining: string;
@@ -5166,6 +5179,7 @@ export declare const translations: {
5166
5179
  };
5167
5180
  buyInsurance: string;
5168
5181
  noInsurance: string;
5182
+ insuranceBelowMinimumBet: string;
5169
5183
  };
5170
5184
  blitz: {
5171
5185
  cardsRemaining: string;
@@ -5568,6 +5582,7 @@ export declare const translations: {
5568
5582
  };
5569
5583
  buyInsurance: string;
5570
5584
  noInsurance: string;
5585
+ insuranceBelowMinimumBet: string;
5571
5586
  };
5572
5587
  blitz: {
5573
5588
  cardsRemaining: string;
@@ -5970,6 +5985,7 @@ export declare const translations: {
5970
5985
  };
5971
5986
  buyInsurance: string;
5972
5987
  noInsurance: string;
5988
+ insuranceBelowMinimumBet: string;
5973
5989
  };
5974
5990
  blitz: {
5975
5991
  cardsRemaining: string;
@@ -6372,6 +6388,7 @@ export declare const translations: {
6372
6388
  };
6373
6389
  buyInsurance: string;
6374
6390
  noInsurance: string;
6391
+ insuranceBelowMinimumBet: string;
6375
6392
  };
6376
6393
  blitz: {
6377
6394
  cardsRemaining: string;
@@ -6774,6 +6791,7 @@ export declare const translations: {
6774
6791
  };
6775
6792
  buyInsurance: string;
6776
6793
  noInsurance: string;
6794
+ insuranceBelowMinimumBet: string;
6777
6795
  };
6778
6796
  blitz: {
6779
6797
  cardsRemaining: string;
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "フラッシュ、ストレート、トリプス、またはそれ以上"
330
330
  },
331
331
  "buyInsurance": "インシュランスを購入",
332
- "noInsurance": "インシュランスなし"
332
+ "noInsurance": "インシュランスなし",
333
+ "insuranceBelowMinimumBet": "インシュランスのベット額が最低ベット額を下回ります"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "残りカード",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "플러시, 스트레이트, 트립스 또는 그 이상"
330
330
  },
331
331
  "buyInsurance": "인슈런스 구매",
332
- "noInsurance": "인슈런스 없음"
332
+ "noInsurance": "인슈런스 없음",
333
+ "insuranceBelowMinimumBet": "인슈런스 베팅 금액이 최소 베팅 금액보다 낮습니다"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "남은 카드",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Kolor, strit, trójka lub lepiej"
330
330
  },
331
331
  "buyInsurance": "Kup ubezpieczenie",
332
- "noInsurance": "Bez ubezpieczenia"
332
+ "noInsurance": "Bez ubezpieczenia",
333
+ "insuranceBelowMinimumBet": "Zakład na ubezpieczenie byłby niższy niż minimalny zakład"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Pozostałe karty",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Cor, sequência, trinca ou melhor"
330
330
  },
331
331
  "buyInsurance": "Comprar seguro",
332
- "noInsurance": "Sem seguro"
332
+ "noInsurance": "Sem seguro",
333
+ "insuranceBelowMinimumBet": "A aposta de seguro seria inferior à aposta mínima"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Cartas restantes",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Флеш, стрит, тройка или лучше"
330
330
  },
331
331
  "buyInsurance": "Купить страховку",
332
- "noInsurance": "Без страховки"
332
+ "noInsurance": "Без страховки",
333
+ "insuranceBelowMinimumBet": "Ставка на страховку будет ниже минимальной ставки"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Осталось карт",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Renk, sıralı, üçlü veya daha iyisi"
330
330
  },
331
331
  "buyInsurance": "Sigorta Al",
332
- "noInsurance": "Sigorta Yok"
332
+ "noInsurance": "Sigorta Yok",
333
+ "insuranceBelowMinimumBet": "Sigorta bahsi minimum bahsin altında kalır"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Kalan Kartlar",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "Thùng, sảnh, ba lá, hoặc tốt hơn"
330
330
  },
331
331
  "buyInsurance": "Mua bảo hiểm",
332
- "noInsurance": "Không bảo hiểm"
332
+ "noInsurance": "Không bảo hiểm",
333
+ "insuranceBelowMinimumBet": "Cược bảo hiểm sẽ thấp hơn cược tối thiểu"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "Bài còn lại",
@@ -329,7 +329,8 @@ declare const _default: {
329
329
  "threeCardBonusResults": "同花、顺子、三条或更好"
330
330
  },
331
331
  "buyInsurance": "买保险",
332
- "noInsurance": "不买保险"
332
+ "noInsurance": "不买保险",
333
+ "insuranceBelowMinimumBet": "保险下注额将低于最低下注额"
333
334
  },
334
335
  "blitz": {
335
336
  "cardsRemaining": "剩余牌数",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betorigami/games",
3
- "version": "2.10.2",
3
+ "version": "2.11.0",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",