@soltech/fluid-common 1.2.2 → 1.2.3

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
@@ -118,8 +118,12 @@ export interface PaymentMethod {
118
118
  withdrawalInputsShownWhenMethodIsStored: boolean;
119
119
  transactionStatusCheck?: TransactionStatusCheck;
120
120
  finalTransactionResultCheckEnabled?: boolean;
121
+ encryptionSettings?: EncryptionSettings;
122
+ }
123
+ export interface EncryptionSettings {
121
124
  encryptionType: EncryptionType;
122
125
  encryptCardExpiryDate: boolean;
126
+ encryptExpiryDateAsSingleField: boolean;
123
127
  }
124
128
  export declare enum EncryptionType {
125
129
  NO_ENCRYPTION = "NO_ENCRYPTION",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
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
@@ -132,8 +132,13 @@ export interface PaymentMethod {
132
132
  withdrawalInputsShownWhenMethodIsStored: boolean;
133
133
  transactionStatusCheck?: TransactionStatusCheck;
134
134
  finalTransactionResultCheckEnabled?: boolean;
135
+ encryptionSettings?: EncryptionSettings;
136
+ }
137
+
138
+ export interface EncryptionSettings {
135
139
  encryptionType: EncryptionType;
136
140
  encryptCardExpiryDate: boolean;
141
+ encryptExpiryDateAsSingleField: boolean;
137
142
  }
138
143
 
139
144
  export enum EncryptionType {