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