@betorigami/game-ui-shared 6.1.0 → 8.0.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/components/shared/FairnessDetails/FairnessContent.d.ts +3 -0
- package/dist/components/shared/GameComponent.d.ts +17 -3
- package/dist/components/shared/GameProviderWrapper.d.ts +1 -0
- package/dist/components/shared/context/slices/wallet.context.d.ts +1 -0
- package/dist/controllers/drag-select.controller.d.ts +3 -0
- package/dist/controllers/history.controller.d.ts +8 -0
- package/dist/index.d.ts +0 -3
- package/dist/index.mjs +2815 -2929
- package/dist/shared/event-map.d.ts +0 -5
- package/dist/shared/get-game-outcome.d.ts +2 -1
- package/dist/shared/provider-api/error-codes.d.ts +15 -2
- package/dist/shared/provider-api/generated/types.gen.d.ts +1 -0
- package/dist/shared/provider-api/generated/zod.gen.d.ts +1 -0
- package/dist/translations/ar.json.d.ts +3 -2
- package/dist/translations/de.json.d.ts +2 -1
- package/dist/translations/en-soc.json.d.ts +1 -0
- package/dist/translations/en.json.d.ts +1 -0
- package/dist/translations/es.json.d.ts +4 -3
- package/dist/translations/fi.json.d.ts +4 -3
- package/dist/translations/fr.json.d.ts +3 -2
- package/dist/translations/hi.json.d.ts +2 -1
- package/dist/translations/id.json.d.ts +1 -0
- package/dist/translations/index.d.ts +17 -0
- package/dist/translations/ja.json.d.ts +1 -0
- package/dist/translations/ko.json.d.ts +1 -0
- package/dist/translations/pl.json.d.ts +3 -2
- package/dist/translations/pt.json.d.ts +4 -3
- package/dist/translations/ru.json.d.ts +2 -1
- package/dist/translations/tr.json.d.ts +4 -3
- package/dist/translations/vi.json.d.ts +1 -0
- package/dist/translations/zh.json.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components/shared/Inputs/ChipInput/ChipInput.d.ts +0 -19
- package/dist/components/shared/Inputs/ChipInput/ChipInput.styles.d.ts +0 -1
- package/dist/components/shared/Inputs/ChipInput/chip-input.constants.d.ts +0 -4
|
@@ -8,10 +8,6 @@ import { UiLockContent } from '../components/shared/UiLock/UiLockContent';
|
|
|
8
8
|
export type MinesCountChangeEvent = CustomEvent<{
|
|
9
9
|
count: number;
|
|
10
10
|
}>;
|
|
11
|
-
export type ChipInputChangeEvent = CustomEvent<{
|
|
12
|
-
index: number;
|
|
13
|
-
label: string;
|
|
14
|
-
}>;
|
|
15
11
|
export type RoulettePerClickChangeEvent = CustomEvent<{
|
|
16
12
|
amount: string;
|
|
17
13
|
}>;
|
|
@@ -218,7 +214,6 @@ declare global {
|
|
|
218
214
|
'bet-amount-change': BetAmountChangeEvent;
|
|
219
215
|
'select-change': SelectEvent;
|
|
220
216
|
'button-click': ButtonClickEvent;
|
|
221
|
-
'chip-input-change': ChipInputChangeEvent;
|
|
222
217
|
'baccarat-manual-play': CustomEvent;
|
|
223
218
|
'baccarat-per-click-change': BaccaratPerClickChangeEvent;
|
|
224
219
|
'baccarat-total-bet-half': CustomEvent;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as Big } from 'big.js';
|
|
2
|
+
export declare const getGameOutcome: (multiplier: Big) => "Win" | "Loss" | "Draw";
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
import { ErrorBetResult } from './bet-result';
|
|
1
2
|
export declare enum ErrorCode {
|
|
2
3
|
INSUFFICIENT_BALANCE = "INSUFFICIENT_BALANCE",
|
|
3
4
|
INVALID_TOKEN = "INVALID_TOKEN",
|
|
4
5
|
LIMIT_REACHED = "LIMIT_REACHED",
|
|
5
6
|
BET_AMOUNT_TOO_LOW = "BET_AMOUNT_TOO_LOW",
|
|
6
7
|
WEBHOOK_ERROR = "WEBHOOK_ERROR",
|
|
8
|
+
WIN_REJECTED = "WIN_REJECTED",
|
|
9
|
+
REJECTED = "REJECTED",
|
|
7
10
|
TIMEOUT = "TIMEOUT",
|
|
8
11
|
UNKNOWN = "UNKNOWN"
|
|
9
12
|
}
|
|
10
|
-
export declare const resolveApiErrorCode: (response: unknown) => ErrorCode;
|
|
11
13
|
export declare const resolveRequestErrorCode: (error: unknown) => ErrorCode;
|
|
12
|
-
|
|
14
|
+
type ClientResult<TData> = {
|
|
15
|
+
data: TData | undefined;
|
|
16
|
+
error: unknown;
|
|
17
|
+
response?: Response;
|
|
18
|
+
};
|
|
19
|
+
export type ProviderApiResult<TData> = {
|
|
20
|
+
success: true;
|
|
21
|
+
data: NonNullable<TData>;
|
|
22
|
+
} | ErrorBetResult;
|
|
23
|
+
export declare const resolveProviderApiResult: <TData>({ data, error, response }: ClientResult<TData>) => ProviderApiResult<TData>;
|
|
24
|
+
export declare const isUnknownOutcome: (errorCode: ErrorCode) => boolean;
|
|
25
|
+
export {};
|
|
@@ -145,6 +145,7 @@ export type GetProvablyFairMyInfoResponses = {
|
|
|
145
145
|
200: {
|
|
146
146
|
clientSeed: string;
|
|
147
147
|
nonce: number;
|
|
148
|
+
betsCompletedUnderCurrentClientSeed: number;
|
|
148
149
|
};
|
|
149
150
|
};
|
|
150
151
|
export type GetProvablyFairMyInfoResponse = GetProvablyFairMyInfoResponses[keyof GetProvablyFairMyInfoResponses];
|
|
@@ -182,6 +182,7 @@ export declare const zGetProvablyFairPublicKeyResponse: z.ZodMiniObject<{
|
|
|
182
182
|
export declare const zGetProvablyFairMyInfoResponse: z.ZodMiniObject<{
|
|
183
183
|
clientSeed: z.ZodMiniString<string>;
|
|
184
184
|
nonce: z.ZodMiniNumber<number>;
|
|
185
|
+
betsCompletedUnderCurrentClientSeed: z.ZodMiniNumberFormat;
|
|
185
186
|
}, z.core.$strip>;
|
|
186
187
|
export declare const zPatchProvablyFairClientSeedBody: z.ZodMiniObject<{
|
|
187
188
|
clientSeed: z.ZodMiniString<string>;
|
|
@@ -103,7 +103,8 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "بذرة العميل النشطة",
|
|
105
105
|
"currentNonce": "nonce الحالي",
|
|
106
|
-
"
|
|
106
|
+
"betsWithCurrentSeedCaption": "عدد الرهانات بالبذرة الحالية: {count}",
|
|
107
|
+
"enterClientSeed": "أدخل بذرة العميل",
|
|
107
108
|
"enterProof": "أدخل الدليل",
|
|
108
109
|
"enterPublicKey": "أدخل المفتاح العام",
|
|
109
110
|
"enterRandomness": "أدخل العشوائية",
|
|
@@ -131,7 +132,7 @@ declare const _default: {
|
|
|
131
132
|
"provablyFair": "النزاهة المثبتة",
|
|
132
133
|
"publicKey": "المفتاح العام النشط",
|
|
133
134
|
"randomness": "العشوائية",
|
|
134
|
-
"saveClientSeed": "حفظ
|
|
135
|
+
"saveClientSeed": "حفظ بذرة العميل",
|
|
135
136
|
"seed": "البذرة",
|
|
136
137
|
"verifyIndependently": "التحقق بشكل مستقل"
|
|
137
138
|
},
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Aktiver Client Seed",
|
|
105
105
|
"currentNonce": "Aktuelle Nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Anzahl der Wetten mit aktuellem Seed: {count}",
|
|
106
107
|
"enterClientSeed": "Client Seed eingeben",
|
|
107
108
|
"enterProof": "Beweis eingeben",
|
|
108
109
|
"enterPublicKey": "Öffentlichen Schlüssel eingeben",
|
|
@@ -131,7 +132,7 @@ declare const _default: {
|
|
|
131
132
|
"provablyFair": "Nachweisbar fair",
|
|
132
133
|
"publicKey": "Aktiver öffentlicher Schlüssel",
|
|
133
134
|
"randomness": "Zufälligkeit",
|
|
134
|
-
"saveClientSeed": "
|
|
135
|
+
"saveClientSeed": "Client Seed speichern",
|
|
135
136
|
"seed": "Seed",
|
|
136
137
|
"verifyIndependently": "Unabhängig überprüfen"
|
|
137
138
|
},
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Active Client Seed",
|
|
105
105
|
"currentNonce": "Current Nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Number of rounds with current seed: {count}",
|
|
106
107
|
"enterClientSeed": "Enter Client Seed",
|
|
107
108
|
"enterProof": "Enter Proof",
|
|
108
109
|
"enterPublicKey": "Enter Public Key",
|
|
@@ -105,6 +105,7 @@ declare const _default: {
|
|
|
105
105
|
"fairness": {
|
|
106
106
|
"activeClientSeed": "Active Client Seed",
|
|
107
107
|
"currentNonce": "Current Nonce",
|
|
108
|
+
"betsWithCurrentSeedCaption": "Number of bets with current seed: {count}",
|
|
108
109
|
"enterClientSeed": "Enter Client Seed",
|
|
109
110
|
"enterProof": "Enter Proof",
|
|
110
111
|
"enterPublicKey": "Enter Public Key",
|
|
@@ -103,7 +103,8 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Semilla de cliente activa",
|
|
105
105
|
"currentNonce": "Nonce actual",
|
|
106
|
-
"
|
|
106
|
+
"betsWithCurrentSeedCaption": "Número de apuestas con la semilla actual: {count}",
|
|
107
|
+
"enterClientSeed": "Ingresa la semilla de cliente",
|
|
107
108
|
"enterProof": "Ingresar prueba",
|
|
108
109
|
"enterPublicKey": "Ingresar clave pública",
|
|
109
110
|
"enterRandomness": "Ingresar Aleatoriedad",
|
|
@@ -124,14 +125,14 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Tipo de juego proporcionado no válido.",
|
|
126
127
|
"learnMore": "Aprende más",
|
|
127
|
-
"newClientSeed": "Nueva
|
|
128
|
+
"newClientSeed": "Nueva semilla de cliente",
|
|
128
129
|
"noBettingHistory": "Sin historial de apuestas",
|
|
129
130
|
"outcomeCalculationInfo": "Este juego utiliza un algoritmo demostrablemente justo que garantiza que el resultado sea justo y transparente.",
|
|
130
131
|
"proof": "Prueba",
|
|
131
132
|
"provablyFair": "Juego justo comprobable",
|
|
132
133
|
"publicKey": "Clave pública activa",
|
|
133
134
|
"randomness": "Aleatoriedad",
|
|
134
|
-
"saveClientSeed": "Guardar
|
|
135
|
+
"saveClientSeed": "Guardar semilla de cliente",
|
|
135
136
|
"seed": "Semilla",
|
|
136
137
|
"verifyIndependently": "Verificar de forma independiente"
|
|
137
138
|
},
|
|
@@ -101,8 +101,9 @@ declare const _default: {
|
|
|
101
101
|
"requestDropped": "Pyyntö hylättiin"
|
|
102
102
|
},
|
|
103
103
|
"fairness": {
|
|
104
|
-
"activeClientSeed": "Aktiivinen
|
|
104
|
+
"activeClientSeed": "Aktiivinen client seed",
|
|
105
105
|
"currentNonce": "Nykyinen nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Vetojen määrä nykyisellä seedillä: {count}",
|
|
106
107
|
"enterClientSeed": "Syötä client seed",
|
|
107
108
|
"enterProof": "Syötä todiste",
|
|
108
109
|
"enterPublicKey": "Syötä julkinen avain",
|
|
@@ -124,14 +125,14 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Virheellinen pelityyppi annettu.",
|
|
126
127
|
"learnMore": "Lisätietoja",
|
|
127
|
-
"newClientSeed": "Uusi
|
|
128
|
+
"newClientSeed": "Uusi client seed",
|
|
128
129
|
"noBettingHistory": "Ei vedonlyöntihistoriaa",
|
|
129
130
|
"outcomeCalculationInfo": "Tämä peli käyttää todistettavasti reilua algoritmia, joka varmistaa, että lopputulos on reilu ja läpinäkyvä.",
|
|
130
131
|
"proof": "Todiste",
|
|
131
132
|
"provablyFair": "Todistetusti reilu",
|
|
132
133
|
"publicKey": "Aktiivinen julkinen avain",
|
|
133
134
|
"randomness": "Satunnaisuus",
|
|
134
|
-
"saveClientSeed": "Tallenna
|
|
135
|
+
"saveClientSeed": "Tallenna client seed",
|
|
135
136
|
"seed": "Siemen",
|
|
136
137
|
"verifyIndependently": "Vahvista itsenäisesti"
|
|
137
138
|
},
|
|
@@ -101,8 +101,9 @@ declare const _default: {
|
|
|
101
101
|
"requestDropped": "Requête abandonnée"
|
|
102
102
|
},
|
|
103
103
|
"fairness": {
|
|
104
|
-
"activeClientSeed": "Graine
|
|
104
|
+
"activeClientSeed": "Graine client active",
|
|
105
105
|
"currentNonce": "Nonce actuel",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Nombre de paris avec la graine actuelle : {count}",
|
|
106
107
|
"enterClientSeed": "Entrez la graine client",
|
|
107
108
|
"enterProof": "Entrer la preuve",
|
|
108
109
|
"enterPublicKey": "Entrer la clé publique",
|
|
@@ -124,7 +125,7 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Type de jeu fourni invalide.",
|
|
126
127
|
"learnMore": "En savoir plus",
|
|
127
|
-
"newClientSeed": "
|
|
128
|
+
"newClientSeed": "Nouvelle graine client",
|
|
128
129
|
"noBettingHistory": "Aucun historique de paris",
|
|
129
130
|
"outcomeCalculationInfo": "Ce jeu utilise un algorithme prouvablement équitable qui garantit que le résultat est juste et transparent.",
|
|
130
131
|
"proof": "Preuve",
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "सक्रिय क्लाइंट सीड",
|
|
105
105
|
"currentNonce": "वर्तमान nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "वर्तमान सीड के साथ दांवों की संख्या: {count}",
|
|
106
107
|
"enterClientSeed": "क्लाइंट सीड दर्ज करें",
|
|
107
108
|
"enterProof": "प्रमाण दर्ज करें",
|
|
108
109
|
"enterPublicKey": "सार्वजनिक कुंजी दर्ज करें",
|
|
@@ -124,7 +125,7 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "अमान्य गेम प्रकार प्रदान किया गया।",
|
|
126
127
|
"learnMore": "और जानें",
|
|
127
|
-
"newClientSeed": "नया
|
|
128
|
+
"newClientSeed": "नया क्लाइंट सीड",
|
|
128
129
|
"noBettingHistory": "कोई सट्टेबाजी इतिहास नहीं",
|
|
129
130
|
"outcomeCalculationInfo": "यह खेल एक प्रमाणित निष्पक्ष एल्गोरिदम का उपयोग करता है जो सुनिश्चित करता है कि परिणाम निष्पक्ष और पारदर्शी है।",
|
|
130
131
|
"proof": "सабूत",
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Client Seed Aktif",
|
|
105
105
|
"currentNonce": "Nonce Saat Ini",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Jumlah taruhan dengan seed saat ini: {count}",
|
|
106
107
|
"enterClientSeed": "Masukkan Client Seed",
|
|
107
108
|
"enterProof": "Masukkan Bukti",
|
|
108
109
|
"enterPublicKey": "Masukkan Kunci Publik",
|
|
@@ -114,6 +114,7 @@ export declare const translations: {
|
|
|
114
114
|
fairness: {
|
|
115
115
|
activeClientSeed: string;
|
|
116
116
|
currentNonce: string;
|
|
117
|
+
betsWithCurrentSeedCaption: string;
|
|
117
118
|
enterClientSeed: string;
|
|
118
119
|
enterProof: string;
|
|
119
120
|
enterPublicKey: string;
|
|
@@ -518,6 +519,7 @@ export declare const translations: {
|
|
|
518
519
|
fairness: {
|
|
519
520
|
activeClientSeed: string;
|
|
520
521
|
currentNonce: string;
|
|
522
|
+
betsWithCurrentSeedCaption: string;
|
|
521
523
|
enterClientSeed: string;
|
|
522
524
|
enterProof: string;
|
|
523
525
|
enterPublicKey: string;
|
|
@@ -924,6 +926,7 @@ export declare const translations: {
|
|
|
924
926
|
fairness: {
|
|
925
927
|
activeClientSeed: string;
|
|
926
928
|
currentNonce: string;
|
|
929
|
+
betsWithCurrentSeedCaption: string;
|
|
927
930
|
enterClientSeed: string;
|
|
928
931
|
enterProof: string;
|
|
929
932
|
enterPublicKey: string;
|
|
@@ -1329,6 +1332,7 @@ export declare const translations: {
|
|
|
1329
1332
|
fairness: {
|
|
1330
1333
|
activeClientSeed: string;
|
|
1331
1334
|
currentNonce: string;
|
|
1335
|
+
betsWithCurrentSeedCaption: string;
|
|
1332
1336
|
enterClientSeed: string;
|
|
1333
1337
|
enterProof: string;
|
|
1334
1338
|
enterPublicKey: string;
|
|
@@ -1733,6 +1737,7 @@ export declare const translations: {
|
|
|
1733
1737
|
fairness: {
|
|
1734
1738
|
activeClientSeed: string;
|
|
1735
1739
|
currentNonce: string;
|
|
1740
|
+
betsWithCurrentSeedCaption: string;
|
|
1736
1741
|
enterClientSeed: string;
|
|
1737
1742
|
enterProof: string;
|
|
1738
1743
|
enterPublicKey: string;
|
|
@@ -2137,6 +2142,7 @@ export declare const translations: {
|
|
|
2137
2142
|
fairness: {
|
|
2138
2143
|
activeClientSeed: string;
|
|
2139
2144
|
currentNonce: string;
|
|
2145
|
+
betsWithCurrentSeedCaption: string;
|
|
2140
2146
|
enterClientSeed: string;
|
|
2141
2147
|
enterProof: string;
|
|
2142
2148
|
enterPublicKey: string;
|
|
@@ -2541,6 +2547,7 @@ export declare const translations: {
|
|
|
2541
2547
|
fairness: {
|
|
2542
2548
|
activeClientSeed: string;
|
|
2543
2549
|
currentNonce: string;
|
|
2550
|
+
betsWithCurrentSeedCaption: string;
|
|
2544
2551
|
enterClientSeed: string;
|
|
2545
2552
|
enterProof: string;
|
|
2546
2553
|
enterPublicKey: string;
|
|
@@ -2945,6 +2952,7 @@ export declare const translations: {
|
|
|
2945
2952
|
fairness: {
|
|
2946
2953
|
activeClientSeed: string;
|
|
2947
2954
|
currentNonce: string;
|
|
2955
|
+
betsWithCurrentSeedCaption: string;
|
|
2948
2956
|
enterClientSeed: string;
|
|
2949
2957
|
enterProof: string;
|
|
2950
2958
|
enterPublicKey: string;
|
|
@@ -3349,6 +3357,7 @@ export declare const translations: {
|
|
|
3349
3357
|
fairness: {
|
|
3350
3358
|
activeClientSeed: string;
|
|
3351
3359
|
currentNonce: string;
|
|
3360
|
+
betsWithCurrentSeedCaption: string;
|
|
3352
3361
|
enterClientSeed: string;
|
|
3353
3362
|
enterProof: string;
|
|
3354
3363
|
enterPublicKey: string;
|
|
@@ -3753,6 +3762,7 @@ export declare const translations: {
|
|
|
3753
3762
|
fairness: {
|
|
3754
3763
|
activeClientSeed: string;
|
|
3755
3764
|
currentNonce: string;
|
|
3765
|
+
betsWithCurrentSeedCaption: string;
|
|
3756
3766
|
enterClientSeed: string;
|
|
3757
3767
|
enterProof: string;
|
|
3758
3768
|
enterPublicKey: string;
|
|
@@ -4157,6 +4167,7 @@ export declare const translations: {
|
|
|
4157
4167
|
fairness: {
|
|
4158
4168
|
activeClientSeed: string;
|
|
4159
4169
|
currentNonce: string;
|
|
4170
|
+
betsWithCurrentSeedCaption: string;
|
|
4160
4171
|
enterClientSeed: string;
|
|
4161
4172
|
enterProof: string;
|
|
4162
4173
|
enterPublicKey: string;
|
|
@@ -4561,6 +4572,7 @@ export declare const translations: {
|
|
|
4561
4572
|
fairness: {
|
|
4562
4573
|
activeClientSeed: string;
|
|
4563
4574
|
currentNonce: string;
|
|
4575
|
+
betsWithCurrentSeedCaption: string;
|
|
4564
4576
|
enterClientSeed: string;
|
|
4565
4577
|
enterProof: string;
|
|
4566
4578
|
enterPublicKey: string;
|
|
@@ -4965,6 +4977,7 @@ export declare const translations: {
|
|
|
4965
4977
|
fairness: {
|
|
4966
4978
|
activeClientSeed: string;
|
|
4967
4979
|
currentNonce: string;
|
|
4980
|
+
betsWithCurrentSeedCaption: string;
|
|
4968
4981
|
enterClientSeed: string;
|
|
4969
4982
|
enterProof: string;
|
|
4970
4983
|
enterPublicKey: string;
|
|
@@ -5369,6 +5382,7 @@ export declare const translations: {
|
|
|
5369
5382
|
fairness: {
|
|
5370
5383
|
activeClientSeed: string;
|
|
5371
5384
|
currentNonce: string;
|
|
5385
|
+
betsWithCurrentSeedCaption: string;
|
|
5372
5386
|
enterClientSeed: string;
|
|
5373
5387
|
enterProof: string;
|
|
5374
5388
|
enterPublicKey: string;
|
|
@@ -5773,6 +5787,7 @@ export declare const translations: {
|
|
|
5773
5787
|
fairness: {
|
|
5774
5788
|
activeClientSeed: string;
|
|
5775
5789
|
currentNonce: string;
|
|
5790
|
+
betsWithCurrentSeedCaption: string;
|
|
5776
5791
|
enterClientSeed: string;
|
|
5777
5792
|
enterProof: string;
|
|
5778
5793
|
enterPublicKey: string;
|
|
@@ -6177,6 +6192,7 @@ export declare const translations: {
|
|
|
6177
6192
|
fairness: {
|
|
6178
6193
|
activeClientSeed: string;
|
|
6179
6194
|
currentNonce: string;
|
|
6195
|
+
betsWithCurrentSeedCaption: string;
|
|
6180
6196
|
enterClientSeed: string;
|
|
6181
6197
|
enterProof: string;
|
|
6182
6198
|
enterPublicKey: string;
|
|
@@ -6581,6 +6597,7 @@ export declare const translations: {
|
|
|
6581
6597
|
fairness: {
|
|
6582
6598
|
activeClientSeed: string;
|
|
6583
6599
|
currentNonce: string;
|
|
6600
|
+
betsWithCurrentSeedCaption: string;
|
|
6584
6601
|
enterClientSeed: string;
|
|
6585
6602
|
enterProof: string;
|
|
6586
6603
|
enterPublicKey: string;
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "有効なクライアントシード",
|
|
105
105
|
"currentNonce": "現在のnonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "現在のシードでのベット数:{count}",
|
|
106
107
|
"enterClientSeed": "クライアントシードを入力",
|
|
107
108
|
"enterProof": "証明を入力",
|
|
108
109
|
"enterPublicKey": "公開鍵を入力",
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "활성 클라이언트 시드",
|
|
105
105
|
"currentNonce": "현재 nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "현재 시드로 한 베팅 수: {count}",
|
|
106
107
|
"enterClientSeed": "클라이언트 시드를 입력하세요",
|
|
107
108
|
"enterProof": "증명 입력",
|
|
108
109
|
"enterPublicKey": "공개 키 입력",
|
|
@@ -101,8 +101,9 @@ declare const _default: {
|
|
|
101
101
|
"requestDropped": "Żądanie porzucone"
|
|
102
102
|
},
|
|
103
103
|
"fairness": {
|
|
104
|
-
"activeClientSeed": "Aktywny
|
|
104
|
+
"activeClientSeed": "Aktywny Client Seed",
|
|
105
105
|
"currentNonce": "Aktualny nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Liczba zakładów z bieżącym seedem: {count}",
|
|
106
107
|
"enterClientSeed": "Wprowadź Client Seed",
|
|
107
108
|
"enterProof": "Wprowadź dowód",
|
|
108
109
|
"enterPublicKey": "Wprowadź klucz publiczny",
|
|
@@ -124,7 +125,7 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Podano nieprawidłowy typ gry.",
|
|
126
127
|
"learnMore": "Dowiedz się więcej",
|
|
127
|
-
"newClientSeed": "
|
|
128
|
+
"newClientSeed": "Nowy Client Seed",
|
|
128
129
|
"noBettingHistory": "Brak historii zakładów",
|
|
129
130
|
"outcomeCalculationInfo": "Ta gra wykorzystuje algorytm udowodnionej uczciwości, który zapewnia sprawiedliwy i przejrzysty wynik.",
|
|
130
131
|
"proof": "Dowód",
|
|
@@ -103,7 +103,8 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Semente de Cliente Ativa",
|
|
105
105
|
"currentNonce": "Nonce Atual",
|
|
106
|
-
"
|
|
106
|
+
"betsWithCurrentSeedCaption": "Número de apostas com a semente atual: {count}",
|
|
107
|
+
"enterClientSeed": "Insira a Semente de Cliente",
|
|
107
108
|
"enterProof": "Inserir Prova",
|
|
108
109
|
"enterPublicKey": "Insira a Chave Pública",
|
|
109
110
|
"enterRandomness": "Inserir Aleatoriedade",
|
|
@@ -124,14 +125,14 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Tipo de jogo inválido fornecido.",
|
|
126
127
|
"learnMore": "Saiba Mais",
|
|
127
|
-
"newClientSeed": "Nova
|
|
128
|
+
"newClientSeed": "Nova Semente de Cliente",
|
|
128
129
|
"noBettingHistory": "Sem histórico de apostas",
|
|
129
130
|
"outcomeCalculationInfo": "Este jogo utiliza um algoritmo comprovadamente justo que garante que o resultado seja justo e transparente.",
|
|
130
131
|
"proof": "Prova",
|
|
131
132
|
"provablyFair": "Jogo justo comprovável",
|
|
132
133
|
"publicKey": "Chave Pública Ativa",
|
|
133
134
|
"randomness": "Aleatoriedade",
|
|
134
|
-
"saveClientSeed": "Salvar
|
|
135
|
+
"saveClientSeed": "Salvar Semente de Cliente",
|
|
135
136
|
"seed": "Semente",
|
|
136
137
|
"verifyIndependently": "Verificar de forma independente"
|
|
137
138
|
},
|
|
@@ -101,8 +101,9 @@ declare const _default: {
|
|
|
101
101
|
"requestDropped": "Запрос отменён"
|
|
102
102
|
},
|
|
103
103
|
"fairness": {
|
|
104
|
-
"activeClientSeed": "Активный
|
|
104
|
+
"activeClientSeed": "Активный клиентский сид",
|
|
105
105
|
"currentNonce": "Текущий nonce",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Количество ставок с текущим сидом: {count}",
|
|
106
107
|
"enterClientSeed": "Введите клиентский сид",
|
|
107
108
|
"enterProof": "Введите доказательство",
|
|
108
109
|
"enterPublicKey": "Введите открытый ключ",
|
|
@@ -101,9 +101,10 @@ declare const _default: {
|
|
|
101
101
|
"requestDropped": "İstek iptal edildi"
|
|
102
102
|
},
|
|
103
103
|
"fairness": {
|
|
104
|
-
"activeClientSeed": "Aktif
|
|
104
|
+
"activeClientSeed": "Aktif İstemci Tohumu",
|
|
105
105
|
"currentNonce": "Mevcut Nonce",
|
|
106
|
-
"
|
|
106
|
+
"betsWithCurrentSeedCaption": "Mevcut tohumla yapılan bahis sayısı: {count}",
|
|
107
|
+
"enterClientSeed": "İstemci Tohumunu Girin",
|
|
107
108
|
"enterProof": "Kanıtı Gir",
|
|
108
109
|
"enterPublicKey": "Genel Anahtar Girin",
|
|
109
110
|
"enterRandomness": "Rastgelelik Girin",
|
|
@@ -124,7 +125,7 @@ declare const _default: {
|
|
|
124
125
|
},
|
|
125
126
|
"invalidGame": "Geçersiz oyun türü sağlandı.",
|
|
126
127
|
"learnMore": "Daha Fazla Bilgi Al",
|
|
127
|
-
"newClientSeed": "Yeni
|
|
128
|
+
"newClientSeed": "Yeni İstemci Tohumu",
|
|
128
129
|
"noBettingHistory": "Bahis geçmişi yok",
|
|
129
130
|
"outcomeCalculationInfo": "Bu oyun, sonucun adil ve şeffaf olmasını sağlayan kanıtlanabilir adil bir algoritma kullanır.",
|
|
130
131
|
"proof": "Kanıt",
|
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
"fairness": {
|
|
104
104
|
"activeClientSeed": "Client Seed đang hoạt động",
|
|
105
105
|
"currentNonce": "Nonce hiện tại",
|
|
106
|
+
"betsWithCurrentSeedCaption": "Số cược với seed hiện tại: {count}",
|
|
106
107
|
"enterClientSeed": "Nhập Client Seed",
|
|
107
108
|
"enterProof": "Nhập Bằng Chứng",
|
|
108
109
|
"enterPublicKey": "Nhập Khóa Công Khai",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betorigami/game-ui-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "The Lit components, controllers, translations and wire types shared by every Origami game UI",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"big.js": "^7.0.1",
|
|
39
39
|
"lit": "^3.3.0",
|
|
40
40
|
"typescript": "^5.8.3",
|
|
41
|
-
"vite": "^6.
|
|
41
|
+
"vite": "^6.4.6",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4",
|
|
43
43
|
"vitest": "^3.2.4"
|
|
44
44
|
},
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChipConfig } from '../../types/chip.types';
|
|
2
|
-
import { default as OrigamiElement } from '../../../../shared/origami-element';
|
|
3
|
-
export declare class ChipInput extends OrigamiElement {
|
|
4
|
-
private readonly locale;
|
|
5
|
-
private readonly services;
|
|
6
|
-
static styles: import('lit').CSSResult[];
|
|
7
|
-
chips: ChipConfig[];
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
private selectedIndex;
|
|
10
|
-
/**
|
|
11
|
-
* Parse a chip label like "0.1", "10", "1K", "10K", "1M" into its numeric value.
|
|
12
|
-
* This is used only for display of the chip value hint in the UI.
|
|
13
|
-
*/
|
|
14
|
-
private parseChipLabelToUnits;
|
|
15
|
-
private handlePointerDown;
|
|
16
|
-
private handleSelect;
|
|
17
|
-
private renderChip;
|
|
18
|
-
render(): import('lit').TemplateResult<1>;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const chipInputStyles: import('lit').CSSResult;
|