@soltech/fluid-common 0.10.58 → 0.10.59
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 +8 -10
- package/lib/index.js +0 -1
- package/package.json +1 -1
- package/src/index.ts +8 -10
package/lib/index.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ export interface InputField {
|
|
|
130
130
|
text: string;
|
|
131
131
|
placeholderText: string;
|
|
132
132
|
errorText: string;
|
|
133
|
+
isOptional: boolean;
|
|
133
134
|
options: InputFieldOption[];
|
|
134
135
|
prefillKey?: string;
|
|
135
136
|
removePrefixPlusSign?: boolean;
|
|
@@ -231,8 +232,7 @@ export declare enum TransactionState {
|
|
|
231
232
|
PROCESSING = "PROCESSING",
|
|
232
233
|
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
233
234
|
WAITING_INPUT = "WAITING_INPUT",
|
|
234
|
-
CANCELLED = "CANCELLED"
|
|
235
|
-
BLACKLISTED = "BLACKLISTED"
|
|
235
|
+
CANCELLED = "CANCELLED"
|
|
236
236
|
}
|
|
237
237
|
export interface ProviderTransactionError {
|
|
238
238
|
action: Action;
|
|
@@ -287,21 +287,19 @@ export declare enum KycStatus {
|
|
|
287
287
|
PROCESSING = "processing"
|
|
288
288
|
}
|
|
289
289
|
export interface UserData {
|
|
290
|
-
|
|
290
|
+
fullName?: string;
|
|
291
291
|
age?: number;
|
|
292
|
-
email?: string;
|
|
293
292
|
dayOfMonth?: number;
|
|
294
293
|
dayOfWeek?: string;
|
|
295
294
|
depositLimit?: number;
|
|
296
|
-
fullName?: string;
|
|
297
|
-
kycStatus?: KycStatus;
|
|
298
|
-
lifetimeDeposit?: number;
|
|
299
|
-
maximumDeposit?: number;
|
|
300
295
|
minimumDeposit?: number;
|
|
301
|
-
|
|
296
|
+
maximumDeposit?: number;
|
|
302
297
|
previousDeposit?: number;
|
|
303
|
-
tags?: string[];
|
|
304
298
|
timeOfDay?: string;
|
|
299
|
+
lifetimeDeposit?: number;
|
|
300
|
+
kycStatus?: KycStatus;
|
|
301
|
+
affiliateId?: string;
|
|
302
|
+
tags?: string[];
|
|
305
303
|
}
|
|
306
304
|
export interface TrackingEventData {
|
|
307
305
|
id: string;
|
package/lib/index.js
CHANGED
|
@@ -39,7 +39,6 @@ export var TransactionState;
|
|
|
39
39
|
TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
|
|
40
40
|
TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
|
|
41
41
|
TransactionState["CANCELLED"] = "CANCELLED";
|
|
42
|
-
TransactionState["BLACKLISTED"] = "BLACKLISTED";
|
|
43
42
|
})(TransactionState || (TransactionState = {}));
|
|
44
43
|
export var HttpVerb;
|
|
45
44
|
(function (HttpVerb) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -147,6 +147,7 @@ export interface InputField {
|
|
|
147
147
|
text: string;
|
|
148
148
|
placeholderText: string;
|
|
149
149
|
errorText: string;
|
|
150
|
+
isOptional: boolean;
|
|
150
151
|
options: InputFieldOption[];
|
|
151
152
|
prefillKey?: string;
|
|
152
153
|
removePrefixPlusSign?: boolean;
|
|
@@ -261,8 +262,7 @@ export enum TransactionState {
|
|
|
261
262
|
PROCESSING = 'PROCESSING',
|
|
262
263
|
WAITING_APPROVAL = 'WAITING_APPROVAL',
|
|
263
264
|
WAITING_INPUT = 'WAITING_INPUT',
|
|
264
|
-
CANCELLED = 'CANCELLED'
|
|
265
|
-
BLACKLISTED = 'BLACKLISTED'
|
|
265
|
+
CANCELLED = 'CANCELLED'
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
export interface ProviderTransactionError {
|
|
@@ -327,21 +327,19 @@ export enum KycStatus {
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
export interface UserData {
|
|
330
|
-
|
|
330
|
+
fullName?: string;
|
|
331
331
|
age?: number;
|
|
332
|
-
email?: string;
|
|
333
332
|
dayOfMonth?: number;
|
|
334
333
|
dayOfWeek?: string;
|
|
335
334
|
depositLimit?: number;
|
|
336
|
-
fullName?: string;
|
|
337
|
-
kycStatus?: KycStatus;
|
|
338
|
-
lifetimeDeposit?: number;
|
|
339
|
-
maximumDeposit?: number;
|
|
340
335
|
minimumDeposit?: number;
|
|
341
|
-
|
|
336
|
+
maximumDeposit?: number;
|
|
342
337
|
previousDeposit?: number;
|
|
343
|
-
tags?: string[];
|
|
344
338
|
timeOfDay?: string;
|
|
339
|
+
lifetimeDeposit?: number;
|
|
340
|
+
kycStatus?: KycStatus;
|
|
341
|
+
affiliateId?: string;
|
|
342
|
+
tags?: string[];
|
|
345
343
|
}
|
|
346
344
|
|
|
347
345
|
export interface TrackingEventData {
|