@soltech/fluid-common 1.4.10 → 1.5.0
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 +6 -1
- package/lib/index.js +2 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/lib/index.d.ts
CHANGED
|
@@ -15,10 +15,12 @@ export declare enum TraitType {
|
|
|
15
15
|
SOUND = "SOUND"
|
|
16
16
|
}
|
|
17
17
|
export declare enum PaymentType {
|
|
18
|
+
APPLE_PAY = "ApplePay",
|
|
18
19
|
BANK_TRANSFER = "BankTransfer",
|
|
19
20
|
CREDIT_CARD = "CreditCard",
|
|
20
21
|
CRYPTO = "Crypto",
|
|
21
|
-
EWALLET = "EWallet"
|
|
22
|
+
EWALLET = "EWallet",
|
|
23
|
+
VOUCHER = "Voucher"
|
|
22
24
|
}
|
|
23
25
|
export declare enum WindowRedirectType {
|
|
24
26
|
POPUP_WINDOW = "popupWindow",
|
|
@@ -238,6 +240,9 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
238
240
|
beneficiaryName?: string;
|
|
239
241
|
userAccountId?: string;
|
|
240
242
|
}
|
|
243
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
244
|
+
[key: string]: string | number | undefined;
|
|
245
|
+
}
|
|
241
246
|
export interface TransactionOptions {
|
|
242
247
|
bonusCode?: string;
|
|
243
248
|
activityId?: string;
|
package/lib/index.js
CHANGED
|
@@ -19,10 +19,12 @@ export var TraitType;
|
|
|
19
19
|
})(TraitType || (TraitType = {}));
|
|
20
20
|
export var PaymentType;
|
|
21
21
|
(function (PaymentType) {
|
|
22
|
+
PaymentType["APPLE_PAY"] = "ApplePay";
|
|
22
23
|
PaymentType["BANK_TRANSFER"] = "BankTransfer";
|
|
23
24
|
PaymentType["CREDIT_CARD"] = "CreditCard";
|
|
24
25
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
26
|
PaymentType["EWALLET"] = "EWallet";
|
|
27
|
+
PaymentType["VOUCHER"] = "Voucher";
|
|
26
28
|
})(PaymentType || (PaymentType = {}));
|
|
27
29
|
export var WindowRedirectType;
|
|
28
30
|
(function (WindowRedirectType) {
|
package/package.json
CHANGED