@soltech/fluid-common 1.0.3 → 1.0.5
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 +13 -3
- package/package.json +1 -1
- package/src/index.ts +13 -3
package/lib/index.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ export interface WalletConfig {
|
|
|
61
61
|
suggestedDepositAmounts: number[];
|
|
62
62
|
theme: Record<string, string>;
|
|
63
63
|
transactionToggleDisplayed: boolean;
|
|
64
|
+
pendingWithdrawalsReminder: {
|
|
65
|
+
enforceUserToAnswer: boolean;
|
|
66
|
+
allowedNumberOfPendingWithdrawalsBeforeEnforcing: number;
|
|
67
|
+
};
|
|
64
68
|
}
|
|
65
69
|
export interface Promotion {
|
|
66
70
|
title: string;
|
|
@@ -114,10 +118,14 @@ export interface PaymentMethod {
|
|
|
114
118
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
115
119
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
116
120
|
}
|
|
117
|
-
export
|
|
118
|
-
|
|
121
|
+
export type PaymentMethodFees = {
|
|
122
|
+
fixed?: number;
|
|
119
123
|
percentage?: number;
|
|
120
|
-
|
|
124
|
+
applyToRange?: {
|
|
125
|
+
min?: number;
|
|
126
|
+
max?: number;
|
|
127
|
+
};
|
|
128
|
+
}[];
|
|
121
129
|
export interface PaymentMethodLogo {
|
|
122
130
|
height: number;
|
|
123
131
|
url: string;
|
|
@@ -298,6 +306,8 @@ export interface UserData {
|
|
|
298
306
|
previousDeposit?: number;
|
|
299
307
|
timeOfDay?: string;
|
|
300
308
|
lifetimeDeposit?: number;
|
|
309
|
+
depositCount?: number;
|
|
310
|
+
daysSinceRegistration?: number;
|
|
301
311
|
kycStatus?: KycStatus;
|
|
302
312
|
affiliateId?: string;
|
|
303
313
|
tags?: string[];
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -68,6 +68,10 @@ export interface WalletConfig {
|
|
|
68
68
|
suggestedDepositAmounts: number[];
|
|
69
69
|
theme: Record<string, string>;
|
|
70
70
|
transactionToggleDisplayed: boolean;
|
|
71
|
+
pendingWithdrawalsReminder: {
|
|
72
|
+
enforceUserToAnswer: boolean;
|
|
73
|
+
allowedNumberOfPendingWithdrawalsBeforeEnforcing: number;
|
|
74
|
+
}
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
export interface Promotion {
|
|
@@ -129,10 +133,14 @@ export interface PaymentMethod {
|
|
|
129
133
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
130
134
|
}
|
|
131
135
|
|
|
132
|
-
export
|
|
133
|
-
|
|
136
|
+
export type PaymentMethodFees = {
|
|
137
|
+
fixed?: number;
|
|
134
138
|
percentage?: number;
|
|
135
|
-
|
|
139
|
+
applyToRange?: {
|
|
140
|
+
min?: number;
|
|
141
|
+
max?: number;
|
|
142
|
+
}
|
|
143
|
+
}[];
|
|
136
144
|
|
|
137
145
|
export interface PaymentMethodLogo {
|
|
138
146
|
height: number;
|
|
@@ -338,6 +346,8 @@ export interface UserData {
|
|
|
338
346
|
previousDeposit?: number;
|
|
339
347
|
timeOfDay?: string;
|
|
340
348
|
lifetimeDeposit?: number;
|
|
349
|
+
depositCount?: number;
|
|
350
|
+
daysSinceRegistration?: number;
|
|
341
351
|
kycStatus?: KycStatus;
|
|
342
352
|
affiliateId?: string;
|
|
343
353
|
tags?: string[];
|