@soltech/fluid-common 1.6.18 → 1.6.19
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 +5 -6
- package/package.json +1 -1
- package/src/index.ts +5 -7
package/lib/index.d.ts
CHANGED
|
@@ -210,16 +210,15 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
210
210
|
expiryDate?: string;
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
|
-
* Transaction params for any payment method whose
|
|
214
|
-
*
|
|
215
|
-
*
|
|
213
|
+
* Transaction params for any payment method whose payload is keyed dynamically:
|
|
214
|
+
* - CMS-defined input fields (bank transfer, crypto, e-wallet, voucher).
|
|
215
|
+
* - Native flows like Apple Pay where the gateway-bound `token` is the only
|
|
216
|
+
* extra key beyond the base TransactionParams.
|
|
217
|
+
* Field keys typically come from `PaymentMethod.inputFields[].paramName`.
|
|
216
218
|
*/
|
|
217
219
|
export interface DynamicTransactionParams extends TransactionParams {
|
|
218
220
|
[key: string]: string | number | undefined;
|
|
219
221
|
}
|
|
220
|
-
export interface ApplePayTransactionParams extends TransactionParams {
|
|
221
|
-
token?: string;
|
|
222
|
-
}
|
|
223
222
|
export interface TransactionOptions {
|
|
224
223
|
bonusCode?: string;
|
|
225
224
|
activityId?: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -238,18 +238,16 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* Transaction params for any payment method whose
|
|
242
|
-
*
|
|
243
|
-
*
|
|
241
|
+
* Transaction params for any payment method whose payload is keyed dynamically:
|
|
242
|
+
* - CMS-defined input fields (bank transfer, crypto, e-wallet, voucher).
|
|
243
|
+
* - Native flows like Apple Pay where the gateway-bound `token` is the only
|
|
244
|
+
* extra key beyond the base TransactionParams.
|
|
245
|
+
* Field keys typically come from `PaymentMethod.inputFields[].paramName`.
|
|
244
246
|
*/
|
|
245
247
|
export interface DynamicTransactionParams extends TransactionParams {
|
|
246
248
|
[key: string]: string | number | undefined;
|
|
247
249
|
}
|
|
248
250
|
|
|
249
|
-
export interface ApplePayTransactionParams extends TransactionParams {
|
|
250
|
-
token?: string;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
251
|
export interface TransactionOptions {
|
|
254
252
|
bonusCode?: string;
|
|
255
253
|
activityId?: string;
|