@netceterapx/click-to-pay-sdk 2.4.2 → 2.6.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.
- package/README.md +28 -5
- package/build/click-to-pay-sdk.es.js +4100 -2801
- package/build/click-to-pay-sdk.js +1 -1
- package/index.d.ts +325 -65
- package/package.json +53 -46
package/index.d.ts
CHANGED
|
@@ -1,20 +1,298 @@
|
|
|
1
|
-
|
|
1
|
+
declare enum AmexCheckoutTypeEnum {
|
|
2
|
+
WITHIN_CHECKOUT = "withinCheckout",
|
|
3
|
+
PAYMENT_SETTING = "paymentSetting"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare type AmexCustomInputData = {
|
|
7
|
+
/**
|
|
8
|
+
* For Embedded checkout checkoutType will be sent:
|
|
9
|
+
* - “checkoutType”: “withinCheckout” -- Continue as Guest is shown on DCF
|
|
10
|
+
* - “checkoutType”:”paymentSetting” -- Continue as Guest is not shown on DCF
|
|
11
|
+
*/
|
|
12
|
+
checkoutType: AmexCheckoutTypeEnum;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export declare enum AmexDpaApplicationTypeEnum {
|
|
16
|
+
WEB_BROWSER = "WEB_BROWSER",
|
|
17
|
+
MOBILE_APP = "MOBILE_APP",
|
|
18
|
+
IOT_DEVICE = "IOT_DEVICE",
|
|
19
|
+
OTHER = "OTHER"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare enum AmexDpaBillingPreferenceEnum {
|
|
23
|
+
ALL = "ALL",
|
|
24
|
+
POSTAL_COUNTRY = "POSTAL_COUNTRY",
|
|
25
|
+
NONE = "NONE"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export declare type AmexDpaData = {
|
|
29
|
+
/**
|
|
30
|
+
* Display name of the DPA.
|
|
31
|
+
* Ex. ‘Disney Online’.
|
|
32
|
+
*/
|
|
33
|
+
dpaPresentationName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Website URL.
|
|
36
|
+
* Example: ‘http://www.disneyonline.com’
|
|
37
|
+
*/
|
|
38
|
+
dpaUri?: string;
|
|
39
|
+
/**
|
|
40
|
+
* URI of the logo of the DPA.
|
|
41
|
+
*/
|
|
42
|
+
dpaLogoUri?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Legal name of registered DPA.
|
|
45
|
+
*/
|
|
46
|
+
dpaName: string;
|
|
47
|
+
/**
|
|
48
|
+
* DPA’s contact email address.
|
|
49
|
+
*/
|
|
50
|
+
dpaEmailAddress?: string;
|
|
51
|
+
/**
|
|
52
|
+
* DPA’s contact phone number.
|
|
53
|
+
*/
|
|
54
|
+
dpaPhoneNumber?: string;
|
|
55
|
+
/**
|
|
56
|
+
* DPA’s support contact email address.
|
|
57
|
+
*/
|
|
58
|
+
dpaSupportEmailAddress?: string;
|
|
59
|
+
/**
|
|
60
|
+
* DPA’s support contact phone number.
|
|
61
|
+
*/
|
|
62
|
+
dpaSupportPhoneNumber?: string;
|
|
63
|
+
/**
|
|
64
|
+
* DPA’s support URI.
|
|
65
|
+
*/
|
|
66
|
+
dpaSupportUri?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Type of DPA.
|
|
69
|
+
* Valid values for enum:
|
|
70
|
+
* • WEB_BROWSER
|
|
71
|
+
* • MOBILE_APP
|
|
72
|
+
* • IOT_DEVICE
|
|
73
|
+
* • OTHER
|
|
74
|
+
*/
|
|
75
|
+
dpaApplicationType?: AmexDpaApplicationTypeEnum;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export declare enum AmexDpaShippingPreferenceEnum {
|
|
79
|
+
ALL = "ALL",
|
|
80
|
+
POSTAL_COUNTRY = "POSTAL_COUNTRY",
|
|
81
|
+
NONE = "NONE"
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export declare type AmexDpaTransactionOptions = {
|
|
85
|
+
/**
|
|
86
|
+
* DPA’s preferred locale.
|
|
87
|
+
*/
|
|
88
|
+
dpaLocale?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Billing Restrictions.
|
|
91
|
+
* Array of country codes - Payments from all the listed billing countries are accepted.
|
|
92
|
+
* Format: ISO 3166-1 alpha-2
|
|
93
|
+
* Example: ["US","CA","AU"]
|
|
94
|
+
* If this list is empty, then it means all countries are accepted.
|
|
95
|
+
*/
|
|
96
|
+
dpaAcceptedBillingCountries?: string[];
|
|
97
|
+
/**
|
|
98
|
+
* Shipping restrictions.
|
|
99
|
+
* Array of country codes - Shipping region country codes that limits the selection of eligible shipping addresses.
|
|
100
|
+
* Format: ISO 3166-1 alpha-2
|
|
101
|
+
* Example: ["US","CA","AU"]
|
|
102
|
+
* If this list is empty, then it means all countries are accepted.
|
|
103
|
+
*/
|
|
104
|
+
dpaAcceptedShippingCountries?: string[];
|
|
105
|
+
/**
|
|
106
|
+
* Verbosity of address required by the DPA.
|
|
107
|
+
* Valid values for enum:
|
|
108
|
+
* • ALL
|
|
109
|
+
* • POSTAL_COUNTRY
|
|
110
|
+
* • NONE
|
|
111
|
+
* If not provided, the default is ‘ALL’
|
|
112
|
+
*/
|
|
113
|
+
dpaBillingPreference?: AmexDpaBillingPreferenceEnum;
|
|
114
|
+
/**
|
|
115
|
+
* Whether DSA wants to have shipping address collected.
|
|
116
|
+
* Valid values for enum:
|
|
117
|
+
* • ALL
|
|
118
|
+
* • POSTAL_COUNTRY
|
|
119
|
+
* • NONE
|
|
120
|
+
* If not provided, the default is ‘ALL’
|
|
121
|
+
*/
|
|
122
|
+
dpaShippingPreference?: AmexDpaShippingPreferenceEnum;
|
|
123
|
+
/**
|
|
124
|
+
* Default is true.
|
|
125
|
+
*/
|
|
126
|
+
consumerNameRequested?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Default is true.
|
|
129
|
+
*/
|
|
130
|
+
consumerEmailAddressRequested?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Default is true.
|
|
133
|
+
*/
|
|
134
|
+
consumerPhoneNumberRequested?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Payment options requested by the DPA.
|
|
137
|
+
*/
|
|
138
|
+
paymentOptions?: AmexPaymentOptions[];
|
|
139
|
+
/**
|
|
140
|
+
* To indicate to the user if payment will be processed after selection
|
|
141
|
+
* or if only data returned to SRCi/merchant to confirm first.
|
|
142
|
+
* Valid values for enum:
|
|
143
|
+
* • PAY: Should be used if merchant does not have a summary page and wants payment for transaction
|
|
144
|
+
* to be processed immediately. Consumer is not brought to any merchant summary page.
|
|
145
|
+
* Amex DCF is last action taken by consumer.
|
|
146
|
+
* • CONTINUE: Should be used to redirect the consumer back to a merchant summary page
|
|
147
|
+
* where consumer can verify their purchase before transaction is finalized and payment is made.
|
|
148
|
+
* The default value is ‘CONTINUE’.
|
|
149
|
+
*/
|
|
150
|
+
reviewAction?: AmexReviewActionEnum;
|
|
151
|
+
/**
|
|
152
|
+
* Review message to go with action.
|
|
153
|
+
*/
|
|
154
|
+
checkoutDescription?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Type of the transaction.
|
|
157
|
+
* Valid values for enum:
|
|
158
|
+
* • PURCHASE
|
|
159
|
+
* • BILL_PAYMENT
|
|
160
|
+
* • MONEY_TRANSFER
|
|
161
|
+
* If not provided, the default value is ‘PURCHASE’
|
|
162
|
+
*/
|
|
163
|
+
transactionType?: AmexTransactionTypeEnum;
|
|
164
|
+
/**
|
|
165
|
+
* Type of order.
|
|
166
|
+
* Valid values for enum:
|
|
167
|
+
* • REAUTHORIZATION
|
|
168
|
+
* • RECURRING
|
|
169
|
+
* • INSTALLMENT
|
|
170
|
+
*/
|
|
171
|
+
orderType?: AmexOrderTypeEnum;
|
|
172
|
+
/**
|
|
173
|
+
* Amount of the transaction.
|
|
174
|
+
*/
|
|
175
|
+
transactionAmount?: AmexTransactionAmount;
|
|
176
|
+
/**
|
|
177
|
+
* Merchant’s 3DS preferences.
|
|
178
|
+
* Valid values for enum:
|
|
179
|
+
* • NONE
|
|
180
|
+
* • SELF
|
|
181
|
+
* • ONBEHALF
|
|
182
|
+
*/
|
|
183
|
+
threeDsPreference: AmexThreeDsPreferenceEnum;
|
|
184
|
+
/**
|
|
185
|
+
* Merchant’s 3DS input data.
|
|
186
|
+
* Conditionality: Must be supplied if 3DS is to be performed by SRC System.
|
|
187
|
+
*/
|
|
188
|
+
threeDsInputData?: AmexThreeDsInputData;
|
|
189
|
+
/**
|
|
190
|
+
* The order identifier generated by the DPA.
|
|
191
|
+
*/
|
|
192
|
+
merchantOrderId?: string;
|
|
193
|
+
/**
|
|
194
|
+
* MCC of the merchant.
|
|
195
|
+
* Conditionality: Required if 3DS is requested.
|
|
196
|
+
*/
|
|
197
|
+
merchantCategoryCode?: string;
|
|
198
|
+
/**
|
|
199
|
+
* Country code of the merchant.
|
|
200
|
+
* Conditionality: Required if 3DS is requested.
|
|
201
|
+
*/
|
|
202
|
+
merchantCountryCode?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Extensible container that allows DPA to pass network-specific set of data to SRC System.
|
|
205
|
+
* For Embedded checkout checkoutType will be sent:
|
|
206
|
+
* - “checkoutType”: “withinCheckout” --- Continue as Guest is shown on DCF
|
|
207
|
+
* - “checkoutType”:”paymentSetting” --- Continue as Guest is not shown on DCF
|
|
208
|
+
*/
|
|
209
|
+
customInputData?: AmexCustomInputData;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
declare enum AmexDynamicDataTypeEnum {
|
|
213
|
+
DYNAMIC_CARD_SECURITY_CODE = "DYNAMIC_CARD_SECURITY_CODE"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export declare type AmexInitConfiguration = {
|
|
2
217
|
/**
|
|
3
|
-
*
|
|
4
|
-
* analytics to be able to correlate a single user "session" from
|
|
5
|
-
* button impression to the end of the transaction.
|
|
6
|
-
* This field may be created on the merchant page by the SRC
|
|
7
|
-
* Initiator and need to be passed-through to all the networks (SRC
|
|
8
|
-
* Systems). It is passed all the way to the DCFs as well.
|
|
218
|
+
* SRCI identifier. This is generated by the SRC System during onboarding.
|
|
9
219
|
*/
|
|
10
220
|
srcInitiatorId: string;
|
|
11
221
|
/**
|
|
12
|
-
*
|
|
13
|
-
|
|
222
|
+
* DpaData data should be provided to SRC system if srcDpaId is not provided.
|
|
223
|
+
*/
|
|
224
|
+
dpaData?: AmexDpaData;
|
|
225
|
+
/**
|
|
226
|
+
* DPA configuration data that can override any configuration set before.
|
|
227
|
+
*/
|
|
228
|
+
dpaTransactionOptions?: AmexDpaTransactionOptions;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export declare enum AmexOrderTypeEnum {
|
|
232
|
+
REAUTHORIZATION = "REAUTHORIZATION",
|
|
233
|
+
RECURRING = "RECURRING",
|
|
234
|
+
INSTALLMENT = "INSTALLMENT"
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export declare type AmexPaymentOptions = {
|
|
238
|
+
/**
|
|
239
|
+
* If not provided, in the response PAN payload will be provided.
|
|
240
|
+
* If provided but issuer doesn’t support tokenization in that case
|
|
241
|
+
* PAN payload will be provided in the response.
|
|
242
|
+
*/
|
|
243
|
+
dynamicDataType?: AmexDynamicDataTypeEnum;
|
|
244
|
+
/**
|
|
245
|
+
* Requested “Time to Live” (expiry period) of the dynamic data,
|
|
246
|
+
* specified in minutes.
|
|
247
|
+
*/
|
|
248
|
+
dpaDynamicDataTtlMinutes?: string;
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
export declare enum AmexReviewActionEnum {
|
|
252
|
+
PAY = "PAY",
|
|
253
|
+
CONTINUE = "CONTINUE"
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export declare type AmexThreeDsInputData = {
|
|
257
|
+
/**
|
|
258
|
+
* The ID assigned to the merchant for authentication request to initiate 3DS with MPI.
|
|
259
|
+
*/
|
|
260
|
+
requestorId: string;
|
|
261
|
+
/**
|
|
262
|
+
* Merchant’s Acquirer ID.
|
|
263
|
+
*/
|
|
264
|
+
acquirerId: string;
|
|
265
|
+
/**
|
|
266
|
+
* Acquirer’s Merchant ID.
|
|
14
267
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
268
|
+
acquirerMid: string;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
export declare enum AmexThreeDsPreferenceEnum {
|
|
272
|
+
NONE = "NONE",
|
|
273
|
+
SELF = "SELF",
|
|
274
|
+
ONBEHALF = "ONBEHALF"
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export declare type AmexTransactionAmount = {
|
|
278
|
+
/**
|
|
279
|
+
* The amount of the transaction.
|
|
280
|
+
* Example: 99.95
|
|
281
|
+
* Conditionality: Required if 3DS is requested
|
|
282
|
+
*/
|
|
283
|
+
transactionAmount?: number;
|
|
284
|
+
/**
|
|
285
|
+
* Currency in which the transaction amount is expressed.
|
|
286
|
+
* Format: ISO 4217 three-digit currency code.
|
|
287
|
+
* Conditionality: Required if amount is present and 3DS is requested.
|
|
288
|
+
*/
|
|
289
|
+
transactionCurrencyCode?: string;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export declare enum AmexTransactionTypeEnum {
|
|
293
|
+
PURCHASE = "PURCHASE",
|
|
294
|
+
BILL_PAYMENT = "BILL_PAYMENT",
|
|
295
|
+
MONEY_TRANSFER = "MONEY_TRANSFER"
|
|
18
296
|
}
|
|
19
297
|
|
|
20
298
|
export declare enum ButtonStyle {
|
|
@@ -38,7 +316,7 @@ export declare interface Config {
|
|
|
38
316
|
iframe?: ConfigIframe;
|
|
39
317
|
mastercard?: MastercardInitConfiguration;
|
|
40
318
|
visa?: VisaInitConfiguration;
|
|
41
|
-
amex?:
|
|
319
|
+
amex?: AmexInitConfiguration;
|
|
42
320
|
}
|
|
43
321
|
|
|
44
322
|
export declare interface ConfigIframe {
|
|
@@ -66,6 +344,10 @@ export declare interface ConsumerStatusEvent {
|
|
|
66
344
|
* Gives a list of Schemes that the user has a profile in.
|
|
67
345
|
*/
|
|
68
346
|
hasProfileInSchemes: CreditCardBrand[];
|
|
347
|
+
/**
|
|
348
|
+
* Informs whether consumer has successfully completed identity validation.
|
|
349
|
+
*/
|
|
350
|
+
hasBeenValidated: boolean;
|
|
69
351
|
/**
|
|
70
352
|
* Informs whether the manual card entry form should be open by default.
|
|
71
353
|
* Is true when the consumer doesn't have a profile or has a profile but no cards.
|
|
@@ -94,25 +376,9 @@ export declare enum DcfOpeningBehaviour {
|
|
|
94
376
|
POPUP = "popup"
|
|
95
377
|
}
|
|
96
378
|
|
|
97
|
-
export declare
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
* Ex. ‘Disney Online’.
|
|
101
|
-
*/
|
|
102
|
-
dpaPresentationName: string;
|
|
103
|
-
/**
|
|
104
|
-
* Website URL
|
|
105
|
-
* Ex. ‘http://www.disneyonline.com’
|
|
106
|
-
*/
|
|
107
|
-
dpaUri?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Undocumented parameter.
|
|
110
|
-
*/
|
|
111
|
-
dpaName: string;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export declare interface DpaTransactionOptions {
|
|
115
|
-
threeDsPreference: ThreeDsPreference;
|
|
379
|
+
export declare enum DebugLogs {
|
|
380
|
+
TRUE = "true",
|
|
381
|
+
FALSE = "false"
|
|
116
382
|
}
|
|
117
383
|
|
|
118
384
|
export declare enum EnablePerformanceMeasurement {
|
|
@@ -178,6 +444,8 @@ export declare enum IsPanInPayButton {
|
|
|
178
444
|
FALSE = "false"
|
|
179
445
|
}
|
|
180
446
|
|
|
447
|
+
declare type JWT = string;
|
|
448
|
+
|
|
181
449
|
/**
|
|
182
450
|
* Supported languages.
|
|
183
451
|
*/
|
|
@@ -405,6 +673,11 @@ export declare type MastercardInitConfiguration = {
|
|
|
405
673
|
* May be provided, as required, to dynamically update previously registered DPA Data, e.g., presentation name.
|
|
406
674
|
*/
|
|
407
675
|
dpaData?: MastercardDpaData;
|
|
676
|
+
/**
|
|
677
|
+
* This is the JWT token stored by the integrator on the consumer device.
|
|
678
|
+
* This token is stored in a first party cookie by the integrator and used to recognize the consumer in the browser.
|
|
679
|
+
*/
|
|
680
|
+
recognitionToken?: JWT;
|
|
408
681
|
};
|
|
409
682
|
|
|
410
683
|
export declare type MastercardPaymentOptions = {
|
|
@@ -434,28 +707,6 @@ export declare type MastercardTransactionAmount = {
|
|
|
434
707
|
transactionCurrencyCode: string;
|
|
435
708
|
};
|
|
436
709
|
|
|
437
|
-
/**
|
|
438
|
-
* Merchant provides configuration for modifying component.
|
|
439
|
-
*/
|
|
440
|
-
export declare interface MerchantConfig {
|
|
441
|
-
isExpanded: IsExpanded;
|
|
442
|
-
locale: LANG;
|
|
443
|
-
email: string | undefined;
|
|
444
|
-
dcfOpeningBehaviour: DcfOpeningBehaviour;
|
|
445
|
-
dpaPresentationName: string | undefined;
|
|
446
|
-
transactionAmount: TransactionAmount;
|
|
447
|
-
isPanInPayButton: IsPanInPayButton;
|
|
448
|
-
buttonStyle: ButtonStyle;
|
|
449
|
-
hidePayButton: HidePayButton;
|
|
450
|
-
enablePerformanceMeasurement: EnablePerformanceMeasurement;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
export declare const messageTimeout = 3000;
|
|
454
|
-
|
|
455
|
-
export declare enum OrchestratorErrorReason {
|
|
456
|
-
NOT_AUTHENTICATED = "NOT_AUTHENTICATED"
|
|
457
|
-
}
|
|
458
|
-
|
|
459
710
|
export declare type ProfileDetails = {
|
|
460
711
|
firstName: string;
|
|
461
712
|
lastName: string;
|
|
@@ -514,12 +765,6 @@ export declare enum Sandbox {
|
|
|
514
765
|
FALSE = "false"
|
|
515
766
|
}
|
|
516
767
|
|
|
517
|
-
export declare enum ThreeDsPreference {
|
|
518
|
-
'NONE' = "NONE",
|
|
519
|
-
'SELF' = "SELF",
|
|
520
|
-
'ONBEHALF' = "ONBEHALF"
|
|
521
|
-
}
|
|
522
|
-
|
|
523
768
|
export declare type TransactionAmount = {
|
|
524
769
|
/**
|
|
525
770
|
* Amount associated with transaction.
|
|
@@ -863,25 +1108,38 @@ export declare type VisaThreeDsInputData = {
|
|
|
863
1108
|
};
|
|
864
1109
|
|
|
865
1110
|
export declare type VisaThreeDSOptions = {
|
|
1111
|
+
/**
|
|
1112
|
+
* Flag to indicate if 3DS provided by Visa SRC System should be suppressed or not.
|
|
1113
|
+
* Default: false
|
|
1114
|
+
*/
|
|
1115
|
+
suppressThreeDS?: boolean;
|
|
866
1116
|
/**
|
|
867
1117
|
* SRCi-provided authentication reasons used by the SRC System to perform authentication.
|
|
868
1118
|
* Valid values for enum:
|
|
869
1119
|
* • TRANSACTION_AUTHENTICATION
|
|
870
1120
|
* • NOT_PREFERRED
|
|
1121
|
+
*
|
|
1122
|
+
* Conditionality: required if 'suppressThreeDS' is not provided or false.
|
|
871
1123
|
*/
|
|
872
|
-
authenticationReason
|
|
1124
|
+
authenticationReason?: VisaAuthenticationReasonEnum;
|
|
873
1125
|
/**
|
|
874
1126
|
* Acquirer-assigned Merchant identifier.
|
|
1127
|
+
*
|
|
1128
|
+
* Conditionality: required if 'suppressThreeDS' is not provided or false.
|
|
875
1129
|
*/
|
|
876
|
-
acquirerMerchantId
|
|
1130
|
+
acquirerMerchantId?: string;
|
|
877
1131
|
/**
|
|
878
1132
|
* Acquirer identification code as assigned by the Directory Server.
|
|
1133
|
+
*
|
|
1134
|
+
* Conditionality: required if 'suppressThreeDS' is not provided or false.
|
|
879
1135
|
*/
|
|
880
|
-
acquirerBIN
|
|
1136
|
+
acquirerBIN?: string;
|
|
881
1137
|
/**
|
|
882
1138
|
* Merchant name assigned by the Acquirer or Payment System.
|
|
1139
|
+
*
|
|
1140
|
+
* Conditionality: required if 'suppressThreeDS' is not provided or false.
|
|
883
1141
|
*/
|
|
884
|
-
merchantName
|
|
1142
|
+
merchantName?: string;
|
|
885
1143
|
/**
|
|
886
1144
|
* A challenge indicator value related to 3DS authentication.
|
|
887
1145
|
* Valid values:
|
|
@@ -894,8 +1152,10 @@ export declare type VisaThreeDSOptions = {
|
|
|
894
1152
|
* • 07 - No challenge requested (strong consumer authentication is already performed)
|
|
895
1153
|
* • 08 - No challenge requested (utilize trust list exemption if no challenge required)
|
|
896
1154
|
* • 09 - Challenge requested (trust list prompt requested if challenge required)
|
|
1155
|
+
*
|
|
1156
|
+
* Conditionality: required if 'suppressThreeDS' is not provided or false.
|
|
897
1157
|
*/
|
|
898
|
-
challengeIndicator
|
|
1158
|
+
challengeIndicator?: VisaThreeDSChallengeIndicator;
|
|
899
1159
|
};
|
|
900
1160
|
|
|
901
1161
|
export declare type VisaTransactionAmount = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netceterapx/click-to-pay-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Click-to-pay web-SDK for supporting SecureRemoteCommerce on web platforms",
|
|
5
5
|
"main": "build/click-to-pay-sdk.es.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,60 +29,67 @@
|
|
|
29
29
|
"registry": "https://registry.npmjs.org"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@rollup/plugin-
|
|
36
|
-
"@rollup/plugin-
|
|
37
|
-
"@rollup/plugin-
|
|
38
|
-
"@rollup/plugin-
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint
|
|
51
|
-
"
|
|
52
|
-
"
|
|
32
|
+
"@babel/core": "^7.25.2",
|
|
33
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
34
|
+
"@eslint/js": "^9.10.0",
|
|
35
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
36
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
37
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
38
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
39
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
40
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
41
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
|
42
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
43
|
+
"@testing-library/svelte": "^5.2.1",
|
|
44
|
+
"@tsconfig/svelte": "^5.0.4",
|
|
45
|
+
"@types/eslint__js": "^8.42.3",
|
|
46
|
+
"@types/node": "^22.5.5",
|
|
47
|
+
"@types/postcss-url": "^10.0.4",
|
|
48
|
+
"@types/uuid": "^10.0.0",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
50
|
+
"@typescript-eslint/parser": "^8.5.0",
|
|
51
|
+
"@vitest/coverage-v8": "^2.1.1",
|
|
52
|
+
"babel-loader": "^9.2.1",
|
|
53
|
+
"eslint": "^9.10.0",
|
|
54
|
+
"eslint-config-prettier": "^9.1.0",
|
|
55
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
56
|
+
"eslint-plugin-svelte": "^2.44.0",
|
|
57
|
+
"globals": "^15.9.0",
|
|
58
|
+
"jsdom": "^25.0.0",
|
|
53
59
|
"path-browserify": "^1.0.1",
|
|
54
|
-
"postcss": "^8.4.
|
|
60
|
+
"postcss": "^8.4.47",
|
|
55
61
|
"postcss-url": "^10.1.3",
|
|
56
|
-
"prettier": "^
|
|
57
|
-
"prettier-plugin-svelte": "^2.
|
|
58
|
-
"rollup": "^
|
|
59
|
-
"rollup-plugin-copy": "^3.
|
|
60
|
-
"rollup-plugin-css-only": "^4.
|
|
61
|
-
"rollup-plugin-svelte": "^7.
|
|
62
|
+
"prettier": "^3.3.3",
|
|
63
|
+
"prettier-plugin-svelte": "^3.2.6",
|
|
64
|
+
"rollup": "^4.21.3",
|
|
65
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
66
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
67
|
+
"rollup-plugin-svelte": "^7.2.2",
|
|
62
68
|
"rollup-plugin-terser": "^7.0.2",
|
|
63
|
-
"shadow-dom-testing-library": "^1.11.
|
|
69
|
+
"shadow-dom-testing-library": "^1.11.3",
|
|
64
70
|
"shelljs": "^0.8.5",
|
|
65
71
|
"sirv-cli": "^2.0.2",
|
|
66
72
|
"stream-browserify": "^3.0.0",
|
|
67
|
-
"stylelint": "^
|
|
68
|
-
"stylelint-config-standard": "^
|
|
69
|
-
"svelte": "^
|
|
70
|
-
"svelte-check": "^
|
|
71
|
-
"svelte-
|
|
72
|
-
"svelte-loader": "^3.
|
|
73
|
-
"svelte-preprocess": "^
|
|
74
|
-
"ts-node": "^10.9.
|
|
75
|
-
"tslib": "^2.
|
|
76
|
-
"typescript": "
|
|
77
|
-
"
|
|
73
|
+
"stylelint": "^16.9.0",
|
|
74
|
+
"stylelint-config-standard": "^36.0.1",
|
|
75
|
+
"svelte": "^4.2.19",
|
|
76
|
+
"svelte-check": "^4.0.2",
|
|
77
|
+
"svelte-eslint-parser": "^0.41.1",
|
|
78
|
+
"svelte-loader": "^3.2.3",
|
|
79
|
+
"svelte-preprocess": "^6.0.2",
|
|
80
|
+
"ts-node": "^10.9.2",
|
|
81
|
+
"tslib": "^2.7.0",
|
|
82
|
+
"typescript": "5.5.4",
|
|
83
|
+
"typescript-eslint": "^8.6.0",
|
|
84
|
+
"vite": "^5.4.5",
|
|
85
|
+
"vite-plugin-dts": "^4.2.1",
|
|
78
86
|
"vite-plugin-eslint": "^1.8.1",
|
|
79
|
-
"vitest": "^
|
|
87
|
+
"vitest": "^2.1.1"
|
|
80
88
|
},
|
|
81
89
|
"dependencies": {
|
|
82
|
-
"final-form": "^4.20.
|
|
83
|
-
"jose": "^
|
|
90
|
+
"final-form": "^4.20.10",
|
|
91
|
+
"jose": "^5.9.2",
|
|
84
92
|
"svelte-final-form": "^1.2.3",
|
|
85
|
-
"uuid": "^
|
|
86
|
-
"vite-plugin-dts": "^3.7.2"
|
|
93
|
+
"uuid": "^10.0.0"
|
|
87
94
|
}
|
|
88
95
|
}
|