@soltech/fluid-common 1.1.2 → 1.2.1

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
@@ -38,7 +38,6 @@ export interface WalletInitParams {
38
38
  timestamp: string;
39
39
  buildDate: string;
40
40
  hostSiteUrl: string;
41
- virtual: boolean;
42
41
  }
43
42
  export interface Viewport {
44
43
  innerWidth: number;
@@ -107,7 +106,7 @@ export interface PaymentMethod {
107
106
  minAmount: number;
108
107
  maxAmount: number;
109
108
  info: string;
110
- paymentType: PaymentType;
109
+ paymentType?: PaymentType;
111
110
  inputFields?: InputField[];
112
111
  bonusCodes?: string[];
113
112
  instructions?: string;
@@ -118,7 +117,8 @@ export interface PaymentMethod {
118
117
  withdrawalHandledByHostSite?: boolean;
119
118
  withdrawalInputsShownWhenMethodIsStored: boolean;
120
119
  transactionStatusCheck?: TransactionStatusCheck;
121
- encryptionType?: EncryptionType;
120
+ encryptionType: EncryptionType;
121
+ encryptCardExpiryDate: boolean;
122
122
  }
123
123
  export declare enum EncryptionType {
124
124
  NO_ENCRYPTION = "NO_ENCRYPTION",
@@ -163,9 +163,9 @@ export declare enum RecentMethodMaskedAccountFormat {
163
163
  export interface RecentMethod extends PaymentMethod {
164
164
  accountId: string;
165
165
  maskedAccount: string;
166
- lastSuccess: string;
167
- expiryDate: string;
168
- maskedAccountFormat: RecentMethodMaskedAccountFormat;
166
+ lastSuccess?: string;
167
+ expiryDate?: string;
168
+ maskedAccountFormat?: RecentMethodMaskedAccountFormat;
169
169
  }
170
170
  export interface TransactionParams {
171
171
  accountId?: string;
@@ -275,7 +275,6 @@ export declare enum Action {
275
275
  export interface PendingWithdrawal {
276
276
  amount: string;
277
277
  creationDate: string;
278
- providerType: string;
279
278
  state: WithdrawalState;
280
279
  transactionId: string;
281
280
  paymentGatewayId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
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
@@ -43,7 +43,6 @@ export interface WalletInitParams {
43
43
  timestamp: string;
44
44
  buildDate: string;
45
45
  hostSiteUrl: string;
46
- virtual: boolean;
47
46
  }
48
47
 
49
48
  export interface Viewport {
@@ -121,7 +120,7 @@ export interface PaymentMethod {
121
120
  minAmount: number;
122
121
  maxAmount: number;
123
122
  info: string;
124
- paymentType: PaymentType;
123
+ paymentType?: PaymentType;
125
124
  inputFields?: InputField[];
126
125
  bonusCodes?: string[];
127
126
  instructions?: string;
@@ -132,7 +131,8 @@ export interface PaymentMethod {
132
131
  withdrawalHandledByHostSite?: boolean;
133
132
  withdrawalInputsShownWhenMethodIsStored: boolean;
134
133
  transactionStatusCheck?: TransactionStatusCheck;
135
- encryptionType?: EncryptionType;
134
+ encryptionType: EncryptionType;
135
+ encryptCardExpiryDate: boolean;
136
136
  }
137
137
 
138
138
  export enum EncryptionType {
@@ -184,9 +184,9 @@ export enum RecentMethodMaskedAccountFormat {
184
184
  export interface RecentMethod extends PaymentMethod {
185
185
  accountId: string;
186
186
  maskedAccount: string;
187
- lastSuccess: string;
188
- expiryDate: string;
189
- maskedAccountFormat: RecentMethodMaskedAccountFormat;
187
+ lastSuccess?: string;
188
+ expiryDate?: string;
189
+ maskedAccountFormat?: RecentMethodMaskedAccountFormat;
190
190
  }
191
191
 
192
192
  export interface TransactionParams {
@@ -310,7 +310,6 @@ export enum Action {
310
310
  export interface PendingWithdrawal {
311
311
  amount: string;
312
312
  creationDate: string;
313
- providerType: string;
314
313
  state: WithdrawalState;
315
314
  transactionId: string;
316
315
  paymentGatewayId: string;