@soltech/fluid-common 0.6.28 → 0.6.30
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/lib/index.d.ts +6 -4
- package/package.json +1 -1
- package/src/index.ts +6 -4
package/lib/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export interface WalletRequestBody {
|
|
|
25
25
|
payloadOptions?: TransactionOptions;
|
|
26
26
|
}
|
|
27
27
|
export interface WalletInitParams {
|
|
28
|
+
country: string;
|
|
28
29
|
locale: string;
|
|
29
30
|
operatorId: number;
|
|
30
31
|
sessionId: string;
|
|
@@ -41,7 +42,6 @@ export interface WalletConfig {
|
|
|
41
42
|
suggestedDepositAmounts: number[];
|
|
42
43
|
theme: Record<string, string>;
|
|
43
44
|
enableAiPredictions: boolean;
|
|
44
|
-
singleWindow: boolean;
|
|
45
45
|
}
|
|
46
46
|
export interface WalletConfigParams {
|
|
47
47
|
contentText: Record<string, ContentType>;
|
|
@@ -170,10 +170,11 @@ export declare enum TransactionState {
|
|
|
170
170
|
WAITING_INPUT = "WAITING_INPUT"
|
|
171
171
|
}
|
|
172
172
|
export interface ProviderTransactionError {
|
|
173
|
+
action: Action;
|
|
173
174
|
code: string;
|
|
174
|
-
|
|
175
|
+
providerCode: string;
|
|
175
176
|
text: string;
|
|
176
|
-
|
|
177
|
+
textTitle: string;
|
|
177
178
|
}
|
|
178
179
|
export declare enum Action {
|
|
179
180
|
RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
|
|
@@ -217,8 +218,9 @@ export interface UserData {
|
|
|
217
218
|
timeOfDay?: string;
|
|
218
219
|
}
|
|
219
220
|
export interface AiModelQueryParams {
|
|
221
|
+
country: string;
|
|
220
222
|
operatorId: number;
|
|
221
|
-
userData
|
|
223
|
+
userData?: UserData;
|
|
222
224
|
}
|
|
223
225
|
export interface SuggestedAmountsPrediction {
|
|
224
226
|
prefilled: number;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -30,6 +30,7 @@ export interface WalletRequestBody {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface WalletInitParams {
|
|
33
|
+
country: string;
|
|
33
34
|
locale: string;
|
|
34
35
|
operatorId: number;
|
|
35
36
|
sessionId: string;
|
|
@@ -47,7 +48,6 @@ export interface WalletConfig {
|
|
|
47
48
|
suggestedDepositAmounts: number[];
|
|
48
49
|
theme: Record<string, string>;
|
|
49
50
|
enableAiPredictions: boolean;
|
|
50
|
-
singleWindow: boolean;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export interface WalletConfigParams {
|
|
@@ -195,10 +195,11 @@ export enum TransactionState {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
export interface ProviderTransactionError {
|
|
198
|
+
action: Action;
|
|
198
199
|
code: string;
|
|
199
|
-
|
|
200
|
+
providerCode: string;
|
|
200
201
|
text: string;
|
|
201
|
-
|
|
202
|
+
textTitle: string;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
export enum Action {
|
|
@@ -250,8 +251,9 @@ export interface UserData {
|
|
|
250
251
|
}
|
|
251
252
|
|
|
252
253
|
export interface AiModelQueryParams {
|
|
254
|
+
country: string;
|
|
253
255
|
operatorId: number;
|
|
254
|
-
userData
|
|
256
|
+
userData?: UserData;
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
export interface SuggestedAmountsPrediction {
|