@soltech/fluid-common 1.6.26 → 1.7.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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "shortcut",
4
+ "playwright"
5
+ ],
6
+ "enableAllProjectMcpServers": true
7
+ }
package/CLAUDE.md CHANGED
@@ -7,6 +7,8 @@ Read this entire file before every task.
7
7
  - Never touch `.env*`, `certs/` or any file containing secrets/credentials.
8
8
  - Never introduce new dependencies without asking first.
9
9
  - Never rewrite large parts of the codebase unless explicitly requested.
10
+ - Never put Shortcut ticket numbers (`sc-XXXXX` or bare story IDs) in code or test files — use descriptive names/comments instead. Ticket links belong only in PR descriptions and branch names, never in source. Some older tests embed IDs in `describe` blocks; do not copy that pattern.
11
+ - Keep comments to only what is necessary — comment the *why* behind non-obvious decisions, not the *what* of self-explanatory code. Don't narrate obvious operations, restate the code in prose, or leave placeholder/TODO noise. Prefer clear names over explanatory comments.
10
12
  - Always propose changes as diffs or small file edits and get approval before applying.
11
13
  - If unsure about architecture, style, or impact, ask before coding.
12
14
 
package/lib/index.d.ts CHANGED
@@ -135,12 +135,16 @@ export interface PaymentMethod {
135
135
  transactionStatusCheck?: TransactionStatusCheck;
136
136
  finalTransactionResultCheckEnabled?: boolean;
137
137
  encryptionSettings?: EncryptionSettings;
138
+ hostedFields?: HostedFieldsSettings;
138
139
  }
139
140
  export interface EncryptionSettings {
140
141
  encryptionType: EncryptionType;
141
142
  expiryDateEncryptionMode: ExpiryDateEncryptionMode;
142
143
  encryptCardholderName: boolean;
143
144
  }
145
+ export interface HostedFieldsSettings {
146
+ url: string;
147
+ }
144
148
  export declare enum EncryptionType {
145
149
  NO_ENCRYPTION = "NO_ENCRYPTION",
146
150
  RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
@@ -177,6 +181,7 @@ export interface InputField {
177
181
  removePrefixPlusSign?: boolean;
178
182
  relatesTo?: string;
179
183
  showForValues?: string[];
184
+ isPassword?: boolean;
180
185
  }
181
186
  export interface InputFieldOption {
182
187
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.26",
3
+ "version": "1.7.0",
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
@@ -151,6 +151,7 @@ export interface PaymentMethod {
151
151
  transactionStatusCheck?: TransactionStatusCheck;
152
152
  finalTransactionResultCheckEnabled?: boolean;
153
153
  encryptionSettings?: EncryptionSettings;
154
+ hostedFields?: HostedFieldsSettings;
154
155
  }
155
156
 
156
157
  export interface EncryptionSettings {
@@ -159,6 +160,10 @@ export interface EncryptionSettings {
159
160
  encryptCardholderName: boolean;
160
161
  }
161
162
 
163
+ export interface HostedFieldsSettings {
164
+ url: string;
165
+ }
166
+
162
167
  export enum EncryptionType {
163
168
  NO_ENCRYPTION = 'NO_ENCRYPTION',
164
169
  RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)
@@ -199,6 +204,7 @@ export interface InputField {
199
204
  removePrefixPlusSign?: boolean;
200
205
  relatesTo?: string;
201
206
  showForValues?: string[];
207
+ isPassword?: boolean;
202
208
  }
203
209
 
204
210
  export interface InputFieldOption {