@betorigami/game-ui-shared 4.0.0 → 4.1.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 (47) hide show
  1. package/README.md +21 -0
  2. package/dist/components/shared/BetDetailsComponent/BetDetailsComponent.d.ts +1 -1
  3. package/dist/components/shared/GameProviderWrapper.d.ts +2 -0
  4. package/dist/components/shared/context/slices/services.context.d.ts +2 -0
  5. package/dist/controllers/history.controller.d.ts +3 -3
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.mjs +6671 -4254
  8. package/dist/shared/bet.types.d.ts +24 -43
  9. package/dist/shared/create-api-factory.d.ts +3 -6
  10. package/dist/shared/provider-api/error-codes.d.ts +1 -0
  11. package/dist/shared/provider-api/generated/client/client.gen.d.ts +2 -0
  12. package/dist/shared/provider-api/generated/client/index.d.ts +10 -0
  13. package/dist/shared/provider-api/generated/client/types.gen.d.ts +120 -0
  14. package/dist/shared/provider-api/generated/client/utils.gen.d.ts +37 -0
  15. package/dist/shared/provider-api/generated/client.gen.d.ts +12 -0
  16. package/dist/shared/provider-api/generated/core/auth.gen.d.ts +25 -0
  17. package/dist/shared/provider-api/generated/core/bodySerializer.gen.d.ts +25 -0
  18. package/dist/shared/provider-api/generated/core/params.gen.d.ts +43 -0
  19. package/dist/shared/provider-api/generated/core/pathSerializer.gen.d.ts +33 -0
  20. package/dist/shared/provider-api/generated/core/queryKeySerializer.gen.d.ts +18 -0
  21. package/dist/shared/provider-api/generated/core/serverSentEvents.gen.d.ts +71 -0
  22. package/dist/shared/provider-api/generated/core/types.gen.d.ts +83 -0
  23. package/dist/shared/provider-api/generated/core/utils.gen.d.ts +19 -0
  24. package/dist/shared/provider-api/generated/index.d.ts +2 -0
  25. package/dist/shared/provider-api/generated/sdk.gen.d.ts +42 -0
  26. package/dist/shared/provider-api/generated/types.gen.d.ts +1143 -0
  27. package/dist/shared/provider-api/generated/zod.gen.d.ts +1271 -0
  28. package/dist/shared/provider-api/provider-api-client.d.ts +8 -0
  29. package/dist/translations/ar.json.d.ts +0 -1
  30. package/dist/translations/de.json.d.ts +0 -1
  31. package/dist/translations/en-soc.json.d.ts +0 -1
  32. package/dist/translations/en.json.d.ts +0 -1
  33. package/dist/translations/es.json.d.ts +0 -1
  34. package/dist/translations/fi.json.d.ts +0 -1
  35. package/dist/translations/fr.json.d.ts +0 -1
  36. package/dist/translations/hi.json.d.ts +0 -1
  37. package/dist/translations/id.json.d.ts +0 -1
  38. package/dist/translations/index.d.ts +0 -17
  39. package/dist/translations/ja.json.d.ts +0 -1
  40. package/dist/translations/ko.json.d.ts +0 -1
  41. package/dist/translations/pl.json.d.ts +0 -1
  42. package/dist/translations/pt.json.d.ts +0 -1
  43. package/dist/translations/ru.json.d.ts +0 -1
  44. package/dist/translations/tr.json.d.ts +0 -1
  45. package/dist/translations/vi.json.d.ts +0 -1
  46. package/dist/translations/zh.json.d.ts +0 -1
  47. package/package.json +6 -3
@@ -0,0 +1,8 @@
1
+ import { Client } from './generated/client';
2
+ export * from './generated';
3
+ export type { Client } from './generated/client';
4
+ export declare const createProviderApiClient: ({ baseUrl, authToken, fetch, }: {
5
+ baseUrl: string;
6
+ authToken?: string;
7
+ fetch?: typeof globalThis.fetch;
8
+ }) => Client;
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "مشاركة الإعادة",
82
82
  "siteInformation": "معلومات اللعبة",
83
83
  "space": "مسافة",
84
- "support": "الدعم",
85
84
  "targetMultiplier": "المضاعف",
86
85
  "thisFieldIsRequired": "هذا الحقل مطلوب",
87
86
  "timestamp": "الوقت",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Replay teilen",
82
82
  "siteInformation": "Spielinformationen",
83
83
  "space": "SPACE",
84
- "support": "Unterstützung",
85
84
  "targetMultiplier": "Multiplikator",
86
85
  "thisFieldIsRequired": "Dieses Feld ist erforderlich",
87
86
  "timestamp": "Zeit",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Share Replay",
82
82
  "siteInformation": "Game Information",
83
83
  "space": "SPACE",
84
- "support": "Support",
85
84
  "targetMultiplier": "Multiplier",
86
85
  "thisFieldIsRequired": "This field is required",
87
86
  "timestamp": "Time",
@@ -82,7 +82,6 @@ declare const _default: {
82
82
  "shareReplay": "Share Replay",
83
83
  "siteInformation": "Game Information",
84
84
  "space": "SPACE",
85
- "support": "Support",
86
85
  "targetMultiplier": "Multiplier",
87
86
  "thisFieldIsRequired": "This field is required",
88
87
  "timestamp": "Time",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Compartir repetición",
82
82
  "siteInformation": "Información del juego",
83
83
  "space": "ESPACIO",
84
- "support": "Soporte",
85
84
  "targetMultiplier": "Multiplicador",
86
85
  "thisFieldIsRequired": "Este campo es obligatorio",
87
86
  "timestamp": "Tiempo",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Jaa uudelleenpeluu",
82
82
  "siteInformation": "Pelitiedot",
83
83
  "space": "SPACE",
84
- "support": "Tuki",
85
84
  "targetMultiplier": "Kerroin",
86
85
  "thisFieldIsRequired": "Tämä kenttä on pakollinen",
87
86
  "timestamp": "Aika",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Partager la rediffusion",
82
82
  "siteInformation": "Informations sur le jeu",
83
83
  "space": "ESPACE",
84
- "support": "Assistance",
85
84
  "targetMultiplier": "Multiplicateur",
86
85
  "thisFieldIsRequired": "Ce champ est requis",
87
86
  "timestamp": "Temps",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "रीप्ले साझा करें",
82
82
  "siteInformation": "खेल जानकारी",
83
83
  "space": "SPACE",
84
- "support": "सहायता",
85
84
  "targetMultiplier": "गुणक",
86
85
  "thisFieldIsRequired": "यह फ़ील्ड आवश्यक है",
87
86
  "timestamp": "समय",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Bagikan Ulang",
82
82
  "siteInformation": "Informasi Permainan",
83
83
  "space": "SPACE",
84
- "support": "Dukungan",
85
84
  "targetMultiplier": "Pengganda",
86
85
  "thisFieldIsRequired": "Kolom ini wajib diisi",
87
86
  "timestamp": "Waktu",
@@ -92,7 +92,6 @@ export declare const translations: {
92
92
  shareReplay: string;
93
93
  siteInformation: string;
94
94
  space: string;
95
- support: string;
96
95
  targetMultiplier: string;
97
96
  thisFieldIsRequired: string;
98
97
  timestamp: string;
@@ -498,7 +497,6 @@ export declare const translations: {
498
497
  shareReplay: string;
499
498
  siteInformation: string;
500
499
  space: string;
501
- support: string;
502
500
  targetMultiplier: string;
503
501
  thisFieldIsRequired: string;
504
502
  timestamp: string;
@@ -905,7 +903,6 @@ export declare const translations: {
905
903
  shareReplay: string;
906
904
  siteInformation: string;
907
905
  space: string;
908
- support: string;
909
906
  targetMultiplier: string;
910
907
  thisFieldIsRequired: string;
911
908
  timestamp: string;
@@ -1313,7 +1310,6 @@ export declare const translations: {
1313
1310
  shareReplay: string;
1314
1311
  siteInformation: string;
1315
1312
  space: string;
1316
- support: string;
1317
1313
  targetMultiplier: string;
1318
1314
  thisFieldIsRequired: string;
1319
1315
  timestamp: string;
@@ -1719,7 +1715,6 @@ export declare const translations: {
1719
1715
  shareReplay: string;
1720
1716
  siteInformation: string;
1721
1717
  space: string;
1722
- support: string;
1723
1718
  targetMultiplier: string;
1724
1719
  thisFieldIsRequired: string;
1725
1720
  timestamp: string;
@@ -2125,7 +2120,6 @@ export declare const translations: {
2125
2120
  shareReplay: string;
2126
2121
  siteInformation: string;
2127
2122
  space: string;
2128
- support: string;
2129
2123
  targetMultiplier: string;
2130
2124
  thisFieldIsRequired: string;
2131
2125
  timestamp: string;
@@ -2531,7 +2525,6 @@ export declare const translations: {
2531
2525
  shareReplay: string;
2532
2526
  siteInformation: string;
2533
2527
  space: string;
2534
- support: string;
2535
2528
  targetMultiplier: string;
2536
2529
  thisFieldIsRequired: string;
2537
2530
  timestamp: string;
@@ -2937,7 +2930,6 @@ export declare const translations: {
2937
2930
  shareReplay: string;
2938
2931
  siteInformation: string;
2939
2932
  space: string;
2940
- support: string;
2941
2933
  targetMultiplier: string;
2942
2934
  thisFieldIsRequired: string;
2943
2935
  timestamp: string;
@@ -3343,7 +3335,6 @@ export declare const translations: {
3343
3335
  shareReplay: string;
3344
3336
  siteInformation: string;
3345
3337
  space: string;
3346
- support: string;
3347
3338
  targetMultiplier: string;
3348
3339
  thisFieldIsRequired: string;
3349
3340
  timestamp: string;
@@ -3749,7 +3740,6 @@ export declare const translations: {
3749
3740
  shareReplay: string;
3750
3741
  siteInformation: string;
3751
3742
  space: string;
3752
- support: string;
3753
3743
  targetMultiplier: string;
3754
3744
  thisFieldIsRequired: string;
3755
3745
  timestamp: string;
@@ -4155,7 +4145,6 @@ export declare const translations: {
4155
4145
  shareReplay: string;
4156
4146
  siteInformation: string;
4157
4147
  space: string;
4158
- support: string;
4159
4148
  targetMultiplier: string;
4160
4149
  thisFieldIsRequired: string;
4161
4150
  timestamp: string;
@@ -4561,7 +4550,6 @@ export declare const translations: {
4561
4550
  shareReplay: string;
4562
4551
  siteInformation: string;
4563
4552
  space: string;
4564
- support: string;
4565
4553
  targetMultiplier: string;
4566
4554
  thisFieldIsRequired: string;
4567
4555
  timestamp: string;
@@ -4967,7 +4955,6 @@ export declare const translations: {
4967
4955
  shareReplay: string;
4968
4956
  siteInformation: string;
4969
4957
  space: string;
4970
- support: string;
4971
4958
  targetMultiplier: string;
4972
4959
  thisFieldIsRequired: string;
4973
4960
  timestamp: string;
@@ -5373,7 +5360,6 @@ export declare const translations: {
5373
5360
  shareReplay: string;
5374
5361
  siteInformation: string;
5375
5362
  space: string;
5376
- support: string;
5377
5363
  targetMultiplier: string;
5378
5364
  thisFieldIsRequired: string;
5379
5365
  timestamp: string;
@@ -5779,7 +5765,6 @@ export declare const translations: {
5779
5765
  shareReplay: string;
5780
5766
  siteInformation: string;
5781
5767
  space: string;
5782
- support: string;
5783
5768
  targetMultiplier: string;
5784
5769
  thisFieldIsRequired: string;
5785
5770
  timestamp: string;
@@ -6185,7 +6170,6 @@ export declare const translations: {
6185
6170
  shareReplay: string;
6186
6171
  siteInformation: string;
6187
6172
  space: string;
6188
- support: string;
6189
6173
  targetMultiplier: string;
6190
6174
  thisFieldIsRequired: string;
6191
6175
  timestamp: string;
@@ -6591,7 +6575,6 @@ export declare const translations: {
6591
6575
  shareReplay: string;
6592
6576
  siteInformation: string;
6593
6577
  space: string;
6594
- support: string;
6595
6578
  targetMultiplier: string;
6596
6579
  thisFieldIsRequired: string;
6597
6580
  timestamp: string;
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "リプレイを共有",
82
82
  "siteInformation": "ゲーム情報",
83
83
  "space": "SPACE",
84
- "support": "サポート",
85
84
  "targetMultiplier": "マルチプライヤー",
86
85
  "thisFieldIsRequired": "この項目は必須です",
87
86
  "timestamp": "時間",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "리플레이 공유",
82
82
  "siteInformation": "게임 정보",
83
83
  "space": "SPACE",
84
- "support": "지원",
85
84
  "targetMultiplier": "배수",
86
85
  "thisFieldIsRequired": "이 필드는 필수입니다",
87
86
  "timestamp": "시간",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Udostępnij powtórkę",
82
82
  "siteInformation": "Informacje o grze",
83
83
  "space": "PRZESTRZEŃ",
84
- "support": "Wsparcie",
85
84
  "targetMultiplier": "Mnożnik",
86
85
  "thisFieldIsRequired": "To pole jest wymagane",
87
86
  "timestamp": "Czas",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Compartilhar Replay",
82
82
  "siteInformation": "Informações do Jogo",
83
83
  "space": "ESPAÇO",
84
- "support": "Suporte",
85
84
  "targetMultiplier": "Multiplicador",
86
85
  "thisFieldIsRequired": "Este campo é obrigatório",
87
86
  "timestamp": "Tempo",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Поделиться повтором",
82
82
  "siteInformation": "Информация об игре",
83
83
  "space": "ПРОСТРАНСТВО",
84
- "support": "Поддержка",
85
84
  "targetMultiplier": "Множитель",
86
85
  "thisFieldIsRequired": "Это поле обязательно для заполнения",
87
86
  "timestamp": "Время",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Yeniden Oynatımı Paylaş",
82
82
  "siteInformation": "Oyun Bilgileri",
83
83
  "space": "SPACE",
84
- "support": "Destek",
85
84
  "targetMultiplier": "Çarpan",
86
85
  "thisFieldIsRequired": "Bu alan gereklidir",
87
86
  "timestamp": "Zaman",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "Chia sẻ phát lại",
82
82
  "siteInformation": "Thông tin trò chơi",
83
83
  "space": "SPACE",
84
- "support": "Hỗ trợ",
85
84
  "targetMultiplier": "Hệ số nhân",
86
85
  "thisFieldIsRequired": "Trường này là bắt buộc",
87
86
  "timestamp": "Thời gian",
@@ -81,7 +81,6 @@ declare const _default: {
81
81
  "shareReplay": "分享回放",
82
82
  "siteInformation": "游戏信息",
83
83
  "space": "SPACE",
84
- "support": "支持",
85
84
  "targetMultiplier": "倍数",
86
85
  "thisFieldIsRequired": "此字段为必填项",
87
86
  "timestamp": "时间",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betorigami/game-ui-shared",
3
- "version": "4.0.0",
3
+ "version": "4.1.1",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "The Lit components, controllers, translations and wire types shared by every Origami game UI",
@@ -28,9 +28,11 @@
28
28
  "@betorigami/game-calculations": "11.0.1",
29
29
  "@betorigami/guard": "^2.0.7",
30
30
  "lottie-web": "^5.13.0",
31
- "web-haptics": "^0.0.6"
31
+ "web-haptics": "^0.0.6",
32
+ "zod": "4.3.6"
32
33
  },
33
34
  "devDependencies": {
35
+ "@hey-api/openapi-ts": "0.99.0",
34
36
  "@lit/context": "^1.1.5",
35
37
  "@types/big.js": "^6.2.2",
36
38
  "@types/node": "^26.4.1",
@@ -48,6 +50,7 @@
48
50
  "test": "vitest run",
49
51
  "test:watch": "vitest",
50
52
  "bundlemon": "bundlemon --subProject game-ui-shared",
51
- "format": "biome format --write"
53
+ "format": "biome format --write",
54
+ "generate:provider-api": "openapi-ts -f openapi-ts.config.ts"
52
55
  }
53
56
  }