@soltech/fluid-common 1.4.4 → 1.4.6

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 CHANGED
@@ -15,11 +15,11 @@ 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
- VOUCHER = "Voucher"
22
+ EWALLET = "EWallet"
23
23
  }
24
24
  export declare enum WindowRedirectType {
25
25
  POPUP_WINDOW = "popupWindow",
@@ -236,9 +236,6 @@ 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
- }
242
239
  export interface TransactionOptions {
243
240
  bonusCode?: string;
244
241
  activityId?: string;
package/lib/index.js CHANGED
@@ -19,11 +19,11 @@ 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";
26
- PaymentType["VOUCHER"] = "Voucher";
27
27
  })(PaymentType || (PaymentType = {}));
28
28
  export var WindowRedirectType;
29
29
  (function (WindowRedirectType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -18,11 +18,11 @@ export enum TraitType {
18
18
  }
19
19
 
20
20
  export enum PaymentType {
21
+ APPLE_PAY = 'ApplePay',
21
22
  BANK_TRANSFER = 'BankTransfer',
22
23
  CREDIT_CARD = 'CreditCard',
23
24
  CRYPTO = 'Crypto',
24
- EWALLET = 'EWallet',
25
- VOUCHER = 'Voucher'
25
+ EWALLET = 'EWallet'
26
26
  }
27
27
 
28
28
  export enum WindowRedirectType {
@@ -266,10 +266,6 @@ 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
-
273
269
  export interface TransactionOptions {
274
270
  bonusCode?: string;
275
271
  activityId?: string;