@soltech/fluid-common 0.9.1 → 0.9.2
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 +7 -7
- package/package.json +1 -1
- package/src/index.ts +8 -8
package/lib/index.d.ts
CHANGED
|
@@ -50,17 +50,11 @@ export interface WalletConfig {
|
|
|
50
50
|
autofillCreditCardName: boolean;
|
|
51
51
|
contactSupportLink: string;
|
|
52
52
|
numberCharactersHolderName: number | null;
|
|
53
|
-
aiPredictionsForSuggestedAmountsEnabled: boolean;
|
|
54
|
-
aiPredictionsForDepositMethodsOrderEnabled: boolean;
|
|
55
53
|
}
|
|
56
54
|
export interface WalletConfigParams {
|
|
57
55
|
contentText: Record<string, ContentType>;
|
|
58
56
|
theme: Record<string, TraitType>;
|
|
59
57
|
}
|
|
60
|
-
export interface DepositAmountsSettings {
|
|
61
|
-
defaultDepositAmount: number;
|
|
62
|
-
suggestedDepositAmounts: number[];
|
|
63
|
-
}
|
|
64
58
|
export interface AllPaymentMethods {
|
|
65
59
|
recentPaymentMethods: RecentMethod[];
|
|
66
60
|
paymentMethods: PaymentMethod[];
|
|
@@ -177,7 +171,7 @@ export interface TransactionResult {
|
|
|
177
171
|
state: TransactionState;
|
|
178
172
|
statusCode: string;
|
|
179
173
|
transactionId: string;
|
|
180
|
-
suggestedAmounts?:
|
|
174
|
+
suggestedAmounts?: SuggestedAmountsPrediction;
|
|
181
175
|
}
|
|
182
176
|
export interface RedirectOutput {
|
|
183
177
|
container: RedirectContainer;
|
|
@@ -262,3 +256,9 @@ export interface UserData {
|
|
|
262
256
|
lifetimeDeposit?: number;
|
|
263
257
|
kycStatus?: KycStatus;
|
|
264
258
|
}
|
|
259
|
+
export interface SuggestedAmountsPrediction {
|
|
260
|
+
buttons: number[];
|
|
261
|
+
aiCreationDate: string;
|
|
262
|
+
generatedBy: string;
|
|
263
|
+
prefilled: number;
|
|
264
|
+
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -56,8 +56,6 @@ export interface WalletConfig {
|
|
|
56
56
|
autofillCreditCardName: boolean;
|
|
57
57
|
contactSupportLink: string;
|
|
58
58
|
numberCharactersHolderName: number | null;
|
|
59
|
-
aiPredictionsForSuggestedAmountsEnabled: boolean;
|
|
60
|
-
aiPredictionsForDepositMethodsOrderEnabled: boolean;
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
export interface WalletConfigParams {
|
|
@@ -65,11 +63,6 @@ export interface WalletConfigParams {
|
|
|
65
63
|
theme: Record<string, TraitType>
|
|
66
64
|
}
|
|
67
65
|
|
|
68
|
-
export interface DepositAmountsSettings {
|
|
69
|
-
defaultDepositAmount: number;
|
|
70
|
-
suggestedDepositAmounts: number[];
|
|
71
|
-
}
|
|
72
|
-
|
|
73
66
|
export interface AllPaymentMethods {
|
|
74
67
|
recentPaymentMethods: RecentMethod[];
|
|
75
68
|
paymentMethods: PaymentMethod[];
|
|
@@ -200,7 +193,7 @@ export interface TransactionResult {
|
|
|
200
193
|
state: TransactionState;
|
|
201
194
|
statusCode: string;
|
|
202
195
|
transactionId: string;
|
|
203
|
-
suggestedAmounts?:
|
|
196
|
+
suggestedAmounts?: SuggestedAmountsPrediction;
|
|
204
197
|
}
|
|
205
198
|
|
|
206
199
|
export interface RedirectOutput {
|
|
@@ -298,3 +291,10 @@ export interface UserData {
|
|
|
298
291
|
lifetimeDeposit?: number;
|
|
299
292
|
kycStatus?: KycStatus;
|
|
300
293
|
}
|
|
294
|
+
|
|
295
|
+
export interface SuggestedAmountsPrediction {
|
|
296
|
+
buttons: number[];
|
|
297
|
+
aiCreationDate: string;
|
|
298
|
+
generatedBy: string;
|
|
299
|
+
prefilled: number;
|
|
300
|
+
}
|