@netceterapx/click-to-pay-sdk 2.5.0 → 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/index.d.ts CHANGED
@@ -707,29 +707,6 @@ export declare type MastercardTransactionAmount = {
707
707
  transactionCurrencyCode: string;
708
708
  };
709
709
 
710
- /**
711
- * Merchant provides configuration for modifying component.
712
- */
713
- export declare interface MerchantConfig {
714
- isExpanded: IsExpanded;
715
- locale: LANG;
716
- email: string | undefined;
717
- debugEnabled: boolean;
718
- dcfOpeningBehaviour: DcfOpeningBehaviour;
719
- dpaPresentationName: string | undefined;
720
- transactionAmount: TransactionAmount;
721
- isPanInPayButton: IsPanInPayButton;
722
- buttonStyle: ButtonStyle;
723
- hidePayButton: HidePayButton;
724
- enablePerformanceMeasurement: EnablePerformanceMeasurement;
725
- }
726
-
727
- export declare const messageTimeout = 3000;
728
-
729
- export declare enum OrchestratorErrorReason {
730
- NOT_AUTHENTICATED = "NOT_AUTHENTICATED"
731
- }
732
-
733
710
  export declare type ProfileDetails = {
734
711
  firstName: string;
735
712
  lastName: string;
@@ -788,17 +765,6 @@ export declare enum Sandbox {
788
765
  FALSE = "false"
789
766
  }
790
767
 
791
- export declare enum SDKMethod {
792
- INIT = "init",
793
- IS_RECOGNIZED = "isRecognized",
794
- GET_SRC_PROFILE = "getSrcProfile",
795
- IDENTITY_LOOKUP = "identityLookup",
796
- INITIATE_IDENTITY_VALIDATION = "initiateIdentityValidation",
797
- COMPLETE_IDENTITY_VALIDATION = "completeIdentityValidation",
798
- CHECKOUT = "checkout",
799
- UNBIND_APP_INSTANCE = "unbindAppInstance"
800
- }
801
-
802
768
  export declare type TransactionAmount = {
803
769
  /**
804
770
  * Amount associated with transaction.
@@ -1142,25 +1108,38 @@ export declare type VisaThreeDsInputData = {
1142
1108
  };
1143
1109
 
1144
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;
1145
1116
  /**
1146
1117
  * SRCi-provided authentication reasons used by the SRC System to perform authentication.
1147
1118
  * Valid values for enum:
1148
1119
  * • TRANSACTION_AUTHENTICATION
1149
1120
  * • NOT_PREFERRED
1121
+ *
1122
+ * Conditionality: required if 'suppressThreeDS' is not provided or false.
1150
1123
  */
1151
- authenticationReason: VisaAuthenticationReasonEnum;
1124
+ authenticationReason?: VisaAuthenticationReasonEnum;
1152
1125
  /**
1153
1126
  * Acquirer-assigned Merchant identifier.
1127
+ *
1128
+ * Conditionality: required if 'suppressThreeDS' is not provided or false.
1154
1129
  */
1155
- acquirerMerchantId: string;
1130
+ acquirerMerchantId?: string;
1156
1131
  /**
1157
1132
  * Acquirer identification code as assigned by the Directory Server.
1133
+ *
1134
+ * Conditionality: required if 'suppressThreeDS' is not provided or false.
1158
1135
  */
1159
- acquirerBIN: string;
1136
+ acquirerBIN?: string;
1160
1137
  /**
1161
1138
  * Merchant name assigned by the Acquirer or Payment System.
1139
+ *
1140
+ * Conditionality: required if 'suppressThreeDS' is not provided or false.
1162
1141
  */
1163
- merchantName: string;
1142
+ merchantName?: string;
1164
1143
  /**
1165
1144
  * A challenge indicator value related to 3DS authentication.
1166
1145
  * Valid values:
@@ -1173,8 +1152,10 @@ export declare type VisaThreeDSOptions = {
1173
1152
  * • 07 - No challenge requested (strong consumer authentication is already performed)
1174
1153
  * • 08 - No challenge requested (utilize trust list exemption if no challenge required)
1175
1154
  * • 09 - Challenge requested (trust list prompt requested if challenge required)
1155
+ *
1156
+ * Conditionality: required if 'suppressThreeDS' is not provided or false.
1176
1157
  */
1177
- challengeIndicator: VisaThreeDSChallengeIndicator;
1158
+ challengeIndicator?: VisaThreeDSChallengeIndicator;
1178
1159
  };
1179
1160
 
1180
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.5.0",
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",