@soltech/fluid-common 1.6.23 → 1.6.25

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
@@ -134,16 +134,12 @@ export interface PaymentMethod {
134
134
  transactionStatusCheck?: TransactionStatusCheck;
135
135
  finalTransactionResultCheckEnabled?: boolean;
136
136
  encryptionSettings?: EncryptionSettings;
137
- hostedFields?: HostedFieldsSettings;
138
137
  }
139
138
  export interface EncryptionSettings {
140
139
  encryptionType: EncryptionType;
141
140
  expiryDateEncryptionMode: ExpiryDateEncryptionMode;
142
141
  encryptCardholderName: boolean;
143
142
  }
144
- export interface HostedFieldsSettings {
145
- url: string;
146
- }
147
143
  export declare enum EncryptionType {
148
144
  NO_ENCRYPTION = "NO_ENCRYPTION",
149
145
  RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
@@ -180,6 +176,11 @@ export interface InputField {
180
176
  removePrefixPlusSign?: boolean;
181
177
  relatesTo?: string;
182
178
  showForValues?: string[];
179
+ /**
180
+ * When true, the field's value is masked in the UI (like a password input),
181
+ * with a toggle to reveal it. Configured per input field in the CMS.
182
+ */
183
+ isPassword?: boolean;
183
184
  }
184
185
  export interface InputFieldOption {
185
186
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
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
@@ -150,7 +150,6 @@ export interface PaymentMethod {
150
150
  transactionStatusCheck?: TransactionStatusCheck;
151
151
  finalTransactionResultCheckEnabled?: boolean;
152
152
  encryptionSettings?: EncryptionSettings;
153
- hostedFields?: HostedFieldsSettings;
154
153
  }
155
154
 
156
155
  export interface EncryptionSettings {
@@ -159,10 +158,6 @@ export interface EncryptionSettings {
159
158
  encryptCardholderName: boolean;
160
159
  }
161
160
 
162
- export interface HostedFieldsSettings {
163
- url: string;
164
- }
165
-
166
161
  export enum EncryptionType {
167
162
  NO_ENCRYPTION = 'NO_ENCRYPTION',
168
163
  RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)
@@ -203,6 +198,11 @@ export interface InputField {
203
198
  removePrefixPlusSign?: boolean;
204
199
  relatesTo?: string;
205
200
  showForValues?: string[];
201
+ /**
202
+ * When true, the field's value is masked in the UI (like a password input),
203
+ * with a toggle to reveal it. Configured per input field in the CMS.
204
+ */
205
+ isPassword?: boolean;
206
206
  }
207
207
 
208
208
  export interface InputFieldOption {