@soltech/fluid-common 1.6.25 → 1.6.27
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/CLAUDE.md +2 -0
- package/lib/index.d.ts +1 -4
- package/package.json +1 -1
- package/src/index.ts +1 -4
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
|
@@ -123,6 +123,7 @@ export interface PaymentMethod {
|
|
|
123
123
|
info: string;
|
|
124
124
|
paymentType: PaymentType;
|
|
125
125
|
inputFields?: InputField[];
|
|
126
|
+
storedMethodInputFields?: InputField[];
|
|
126
127
|
bonusCodes?: string[];
|
|
127
128
|
instructions?: string;
|
|
128
129
|
fees?: PaymentMethodFees;
|
|
@@ -176,10 +177,6 @@ export interface InputField {
|
|
|
176
177
|
removePrefixPlusSign?: boolean;
|
|
177
178
|
relatesTo?: string;
|
|
178
179
|
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
180
|
isPassword?: boolean;
|
|
184
181
|
}
|
|
185
182
|
export interface InputFieldOption {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -139,6 +139,7 @@ export interface PaymentMethod {
|
|
|
139
139
|
info: string;
|
|
140
140
|
paymentType: PaymentType;
|
|
141
141
|
inputFields?: InputField[];
|
|
142
|
+
storedMethodInputFields?: InputField[];
|
|
142
143
|
bonusCodes?: string[];
|
|
143
144
|
instructions?: string;
|
|
144
145
|
fees?: PaymentMethodFees;
|
|
@@ -198,10 +199,6 @@ export interface InputField {
|
|
|
198
199
|
removePrefixPlusSign?: boolean;
|
|
199
200
|
relatesTo?: string;
|
|
200
201
|
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
202
|
isPassword?: boolean;
|
|
206
203
|
}
|
|
207
204
|
|