@soltech/fluid-common 0.10.61 → 0.10.62
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 -11
- package/lib/index.js +0 -1
- package/package.json +1 -1
- package/src/index.ts +8 -11
package/lib/index.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export interface WalletInitParams {
|
|
|
36
36
|
viewport: Viewport;
|
|
37
37
|
userData?: UserData;
|
|
38
38
|
timestamp: string;
|
|
39
|
-
transactionAttributes?: Record<string, string>;
|
|
40
39
|
buildDate: string;
|
|
41
40
|
hostSiteUrl: string;
|
|
42
41
|
}
|
|
@@ -207,6 +206,7 @@ export interface TransactionOptions {
|
|
|
207
206
|
originalActivityId?: string;
|
|
208
207
|
userData?: UserData;
|
|
209
208
|
trackingData?: object;
|
|
209
|
+
transactionAttributes?: Record<string, string>;
|
|
210
210
|
}
|
|
211
211
|
export interface TransactionResult {
|
|
212
212
|
error?: ProviderTransactionError;
|
|
@@ -232,8 +232,7 @@ export declare enum TransactionState {
|
|
|
232
232
|
PROCESSING = "PROCESSING",
|
|
233
233
|
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
234
234
|
WAITING_INPUT = "WAITING_INPUT",
|
|
235
|
-
CANCELLED = "CANCELLED"
|
|
236
|
-
BLACKLISTED = "BLACKLISTED"
|
|
235
|
+
CANCELLED = "CANCELLED"
|
|
237
236
|
}
|
|
238
237
|
export interface ProviderTransactionError {
|
|
239
238
|
action: Action;
|
|
@@ -288,21 +287,19 @@ export declare enum KycStatus {
|
|
|
288
287
|
PROCESSING = "processing"
|
|
289
288
|
}
|
|
290
289
|
export interface UserData {
|
|
291
|
-
|
|
290
|
+
fullName?: string;
|
|
292
291
|
age?: number;
|
|
293
|
-
email?: string;
|
|
294
292
|
dayOfMonth?: number;
|
|
295
293
|
dayOfWeek?: string;
|
|
296
294
|
depositLimit?: number;
|
|
297
|
-
fullName?: string;
|
|
298
|
-
kycStatus?: KycStatus;
|
|
299
|
-
lifetimeDeposit?: number;
|
|
300
|
-
maximumDeposit?: number;
|
|
301
295
|
minimumDeposit?: number;
|
|
302
|
-
|
|
296
|
+
maximumDeposit?: number;
|
|
303
297
|
previousDeposit?: number;
|
|
304
|
-
tags?: string[];
|
|
305
298
|
timeOfDay?: string;
|
|
299
|
+
lifetimeDeposit?: number;
|
|
300
|
+
kycStatus?: KycStatus;
|
|
301
|
+
affiliateId?: string;
|
|
302
|
+
tags?: string[];
|
|
306
303
|
}
|
|
307
304
|
export interface TrackingEventData {
|
|
308
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
|
@@ -41,7 +41,6 @@ export interface WalletInitParams {
|
|
|
41
41
|
viewport: Viewport;
|
|
42
42
|
userData?: UserData;
|
|
43
43
|
timestamp: string;
|
|
44
|
-
transactionAttributes?: Record<string, string>;
|
|
45
44
|
buildDate: string;
|
|
46
45
|
hostSiteUrl: string;
|
|
47
46
|
}
|
|
@@ -233,6 +232,7 @@ export interface TransactionOptions {
|
|
|
233
232
|
originalActivityId?: string;
|
|
234
233
|
userData?: UserData;
|
|
235
234
|
trackingData?: object;
|
|
235
|
+
transactionAttributes?: Record<string, string>;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
export interface TransactionResult {
|
|
@@ -262,8 +262,7 @@ export enum TransactionState {
|
|
|
262
262
|
PROCESSING = 'PROCESSING',
|
|
263
263
|
WAITING_APPROVAL = 'WAITING_APPROVAL',
|
|
264
264
|
WAITING_INPUT = 'WAITING_INPUT',
|
|
265
|
-
CANCELLED = 'CANCELLED'
|
|
266
|
-
BLACKLISTED = 'BLACKLISTED'
|
|
265
|
+
CANCELLED = 'CANCELLED'
|
|
267
266
|
}
|
|
268
267
|
|
|
269
268
|
export interface ProviderTransactionError {
|
|
@@ -328,21 +327,19 @@ export enum KycStatus {
|
|
|
328
327
|
}
|
|
329
328
|
|
|
330
329
|
export interface UserData {
|
|
331
|
-
|
|
330
|
+
fullName?: string;
|
|
332
331
|
age?: number;
|
|
333
|
-
email?: string;
|
|
334
332
|
dayOfMonth?: number;
|
|
335
333
|
dayOfWeek?: string;
|
|
336
334
|
depositLimit?: number;
|
|
337
|
-
fullName?: string;
|
|
338
|
-
kycStatus?: KycStatus;
|
|
339
|
-
lifetimeDeposit?: number;
|
|
340
|
-
maximumDeposit?: number;
|
|
341
335
|
minimumDeposit?: number;
|
|
342
|
-
|
|
336
|
+
maximumDeposit?: number;
|
|
343
337
|
previousDeposit?: number;
|
|
344
|
-
tags?: string[];
|
|
345
338
|
timeOfDay?: string;
|
|
339
|
+
lifetimeDeposit?: number;
|
|
340
|
+
kycStatus?: KycStatus;
|
|
341
|
+
affiliateId?: string;
|
|
342
|
+
tags?: string[];
|
|
346
343
|
}
|
|
347
344
|
|
|
348
345
|
export interface TrackingEventData {
|