@soltech/fluid-common 1.6.7 → 1.6.9
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/.claude/settings.local.json +7 -0
- package/lib/index.d.ts +20 -7
- package/package.json +1 -1
- package/src/index.ts +22 -7
package/lib/index.d.ts
CHANGED
|
@@ -54,30 +54,31 @@ export interface Viewport {
|
|
|
54
54
|
export interface WalletConfig {
|
|
55
55
|
autofillCreditCardName: boolean;
|
|
56
56
|
balanceDisplayed: boolean;
|
|
57
|
-
banner?: Banner;
|
|
58
57
|
bonusOutlined: boolean;
|
|
59
58
|
contactSupportEnabled: boolean;
|
|
60
59
|
contactSupportLink: string;
|
|
61
60
|
contentText: Record<string, string>;
|
|
61
|
+
expressFlowEnabled: boolean;
|
|
62
62
|
defaultDepositAmount: number;
|
|
63
63
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
64
|
-
hideMinMaxEnabled: boolean;
|
|
65
64
|
integration: Integration;
|
|
66
65
|
kycDepositLimit: number | null;
|
|
67
66
|
logo: string;
|
|
68
|
-
manualBonusCodesEnabled?: boolean;
|
|
69
67
|
numberCharactersHolderName: number | null;
|
|
70
|
-
pendingWithdrawalsReminder: {
|
|
71
|
-
threshold: number;
|
|
72
|
-
userResponseRequired: boolean;
|
|
73
|
-
};
|
|
74
68
|
successScreen: {
|
|
75
69
|
promotion: Promotion | null;
|
|
76
70
|
};
|
|
77
71
|
suggestedDepositAmounts: number[];
|
|
78
72
|
theme: Record<string, string>;
|
|
79
73
|
transactionToggleDisplayed: boolean;
|
|
74
|
+
pendingWithdrawalsReminder: {
|
|
75
|
+
userResponseRequired: boolean;
|
|
76
|
+
threshold: number;
|
|
77
|
+
};
|
|
80
78
|
withdrawalInFiatCurrency: boolean;
|
|
79
|
+
banner?: Banner;
|
|
80
|
+
campaign?: Campaign;
|
|
81
|
+
manualBonusCodesEnabled?: boolean;
|
|
81
82
|
}
|
|
82
83
|
export interface Promotion {
|
|
83
84
|
title: string;
|
|
@@ -380,3 +381,15 @@ export interface Banner {
|
|
|
380
381
|
ctaLabel: string;
|
|
381
382
|
iconUrl: string;
|
|
382
383
|
}
|
|
384
|
+
export interface CampaignChatIcons {
|
|
385
|
+
amount: string;
|
|
386
|
+
bonus: string;
|
|
387
|
+
paymentMethod: string;
|
|
388
|
+
paymentDetails: string;
|
|
389
|
+
securePayment: string;
|
|
390
|
+
}
|
|
391
|
+
export interface Campaign {
|
|
392
|
+
enableChatIcons: boolean;
|
|
393
|
+
enableSuccessAnimation: boolean;
|
|
394
|
+
chatIcons: CampaignChatIcons;
|
|
395
|
+
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -62,30 +62,31 @@ export interface Viewport {
|
|
|
62
62
|
export interface WalletConfig {
|
|
63
63
|
autofillCreditCardName: boolean;
|
|
64
64
|
balanceDisplayed: boolean;
|
|
65
|
-
banner?: Banner;
|
|
66
65
|
bonusOutlined: boolean;
|
|
67
66
|
contactSupportEnabled: boolean;
|
|
68
67
|
contactSupportLink: string;
|
|
69
68
|
contentText: Record<string, string>;
|
|
69
|
+
expressFlowEnabled: boolean;
|
|
70
70
|
defaultDepositAmount: number;
|
|
71
71
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
72
|
-
hideMinMaxEnabled: boolean;
|
|
73
72
|
integration: Integration;
|
|
74
73
|
kycDepositLimit: number | null;
|
|
75
74
|
logo: string;
|
|
76
|
-
manualBonusCodesEnabled?: boolean;
|
|
77
75
|
numberCharactersHolderName: number | null;
|
|
78
|
-
pendingWithdrawalsReminder: {
|
|
79
|
-
threshold: number;
|
|
80
|
-
userResponseRequired: boolean;
|
|
81
|
-
};
|
|
82
76
|
successScreen: {
|
|
83
77
|
promotion: Promotion | null;
|
|
84
78
|
};
|
|
85
79
|
suggestedDepositAmounts: number[];
|
|
86
80
|
theme: Record<string, string>;
|
|
87
81
|
transactionToggleDisplayed: boolean;
|
|
82
|
+
pendingWithdrawalsReminder: {
|
|
83
|
+
userResponseRequired: boolean;
|
|
84
|
+
threshold: number;
|
|
85
|
+
},
|
|
88
86
|
withdrawalInFiatCurrency: boolean;
|
|
87
|
+
banner?: Banner;
|
|
88
|
+
campaign?: Campaign;
|
|
89
|
+
manualBonusCodesEnabled?: boolean;
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
export interface Promotion {
|
|
@@ -430,3 +431,17 @@ export interface Banner {
|
|
|
430
431
|
ctaLabel: string;
|
|
431
432
|
iconUrl: string;
|
|
432
433
|
}
|
|
434
|
+
|
|
435
|
+
export interface CampaignChatIcons {
|
|
436
|
+
amount: string;
|
|
437
|
+
bonus: string;
|
|
438
|
+
paymentMethod: string;
|
|
439
|
+
paymentDetails: string;
|
|
440
|
+
securePayment: string;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export interface Campaign {
|
|
444
|
+
enableChatIcons: boolean;
|
|
445
|
+
enableSuccessAnimation: boolean;
|
|
446
|
+
chatIcons: CampaignChatIcons;
|
|
447
|
+
}
|