@soltech/fluid-common 1.4.3 → 1.4.4
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 +5 -2
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +6 -2
- package/.claude/settings.local.json +0 -7
package/lib/index.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ export declare enum PaymentType {
|
|
|
18
18
|
BANK_TRANSFER = "BankTransfer",
|
|
19
19
|
CREDIT_CARD = "CreditCard",
|
|
20
20
|
CRYPTO = "Crypto",
|
|
21
|
-
EWALLET = "EWallet"
|
|
21
|
+
EWALLET = "EWallet",
|
|
22
|
+
VOUCHER = "Voucher"
|
|
22
23
|
}
|
|
23
24
|
export declare enum WindowRedirectType {
|
|
24
25
|
POPUP_WINDOW = "popupWindow",
|
|
@@ -73,7 +74,6 @@ export interface WalletConfig {
|
|
|
73
74
|
};
|
|
74
75
|
withdrawalInFiatCurrency: boolean;
|
|
75
76
|
banner?: Banner;
|
|
76
|
-
manualBonusCodesEnabled: boolean;
|
|
77
77
|
}
|
|
78
78
|
export interface Promotion {
|
|
79
79
|
title: string;
|
|
@@ -236,6 +236,9 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
236
236
|
beneficiaryName?: string;
|
|
237
237
|
userAccountId?: string;
|
|
238
238
|
}
|
|
239
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
240
|
+
[key: string]: string | number | undefined;
|
|
241
|
+
}
|
|
239
242
|
export interface TransactionOptions {
|
|
240
243
|
bonusCode?: string;
|
|
241
244
|
activityId?: string;
|
package/lib/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export var PaymentType;
|
|
|
23
23
|
PaymentType["CREDIT_CARD"] = "CreditCard";
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
|
+
PaymentType["VOUCHER"] = "Voucher";
|
|
26
27
|
})(PaymentType || (PaymentType = {}));
|
|
27
28
|
export var WindowRedirectType;
|
|
28
29
|
(function (WindowRedirectType) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -21,7 +21,8 @@ export enum PaymentType {
|
|
|
21
21
|
BANK_TRANSFER = 'BankTransfer',
|
|
22
22
|
CREDIT_CARD = 'CreditCard',
|
|
23
23
|
CRYPTO = 'Crypto',
|
|
24
|
-
EWALLET = 'EWallet'
|
|
24
|
+
EWALLET = 'EWallet',
|
|
25
|
+
VOUCHER = 'Voucher'
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export enum WindowRedirectType {
|
|
@@ -81,7 +82,6 @@ export interface WalletConfig {
|
|
|
81
82
|
},
|
|
82
83
|
withdrawalInFiatCurrency: boolean;
|
|
83
84
|
banner?: Banner;
|
|
84
|
-
manualBonusCodesEnabled: boolean;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export interface Promotion {
|
|
@@ -266,6 +266,10 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
266
266
|
userAccountId?: string;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
270
|
+
[key: string]: string | number | undefined;
|
|
271
|
+
}
|
|
272
|
+
|
|
269
273
|
export interface TransactionOptions {
|
|
270
274
|
bonusCode?: string;
|
|
271
275
|
activityId?: string;
|