@fat-zebra/sdk 1.5.8-beta.3 → 1.5.9
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/CHANGELOG.md +28 -0
- package/README.md +9 -3
- package/dist/applepay/applepay.js +6 -31
- package/dist/applepay/clients/paynow-client.js +1 -1
- package/dist/local/fatzebra.js +9050 -9262
- package/dist/local/fatzebra.js.map +1 -1
- package/dist/main.js +3 -3
- package/dist/production/fatzebra.js +7 -1
- package/dist/production/fatzebra.js.LICENSE.txt +1 -3
- package/dist/react/VerifyExistingCard.js +4 -0
- package/dist/react/useNotification.d.ts +11 -0
- package/dist/react/useNotification.js +26 -0
- package/dist/sandbox/cdn.pmnts-sandbox.io/sdk/v1/fatzebra.js +8 -0
- package/dist/sandbox/fatzebra.js +7 -1
- package/dist/sandbox/fatzebra.js.LICENSE.txt +1 -1
- package/dist/sandbox/orikan-workspace/qa-banyule-ssp-imaas.np.orikan.tech/main-es2015.a50b3edc3412ce44ee0d.js +66771 -0
- package/dist/sca/index.js +2 -2
- package/dist/sca/scenarios/enrollment.js +2 -2
- package/dist/sca/scenarios/validation.js +3 -3
- package/dist/staging/fatzebra.js +16709 -17088
- package/dist/staging/fatzebra.js.map +1 -1
- package/dist/validation/schemas/click-to-pay/load-params.json +2 -2
- package/dist/validation/schemas/hpp-load-params.json +2 -2
- package/dist/validation/schemas/payment-intent.json +0 -3
- package/dist/validation/schemas/payment-method.json +17 -49
- package/dist/validation/validation-helper.js +2 -1
- package/dist/validation/validators/apple-pay-load-params-button-validator.d.ts +1 -2
- package/dist/validation/validators/apple-pay-load-params-button-validator.js +1 -2
- package/dist/validation/validators/click-to-pay-load-params-validator.d.ts +1 -2
- package/dist/validation/validators/click-to-pay-load-params-validator.js +1 -2
- package/dist/validation/validators/hpp-load-params-validator.d.ts +1 -2
- package/dist/validation/validators/hpp-load-params-validator.js +5 -4
- package/dist/validation/validators/verify-card-params-validator.d.ts +1 -2
- package/dist/validation/validators/verify-card-params-validator.js +5 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
package/dist/sca/index.js
CHANGED
|
@@ -90,8 +90,8 @@ class Sca {
|
|
|
90
90
|
this._cardinal.setup(cardinalJwt);
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
perform3DS(
|
|
94
|
-
return __awaiter(this,
|
|
93
|
+
perform3DS({ sessionID }) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
95
|
this.sessionId = sessionID;
|
|
96
96
|
// Register handler. Called after OTP is entered on challenge prompt.
|
|
97
97
|
this._cardinal.onPaymentValidated((data, error) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -21,7 +21,7 @@ const enrollmentScenarios = [
|
|
|
21
21
|
veresEnrolled: VEResEnrolled.BYPASSED,
|
|
22
22
|
pares: null,
|
|
23
23
|
outcome: {
|
|
24
|
-
success: false,
|
|
24
|
+
success: false,
|
|
25
25
|
authenticationType: 'bypass',
|
|
26
26
|
errorCode: ScaErrorCode.BYPASSED_AUTHENTICATION
|
|
27
27
|
},
|
|
@@ -34,7 +34,7 @@ const enrollmentScenarios = [
|
|
|
34
34
|
veresEnrolled: VEResEnrolled.UNABLE,
|
|
35
35
|
pares: null,
|
|
36
36
|
outcome: {
|
|
37
|
-
success: false,
|
|
37
|
+
success: false,
|
|
38
38
|
errorCode: ScaErrorCode.AUTHENTICATION_NOT_AVAILABLE_ON_LOOKUP
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -34,7 +34,7 @@ const validationScenarios = [
|
|
|
34
34
|
pares: PARes.CANCELED,
|
|
35
35
|
outcome: {
|
|
36
36
|
authenticationType: 'challenge',
|
|
37
|
-
success: false,
|
|
37
|
+
success: false,
|
|
38
38
|
errorCode: ScaErrorCode.UNSUCCESSFUL_STEPUP_AUTHENTICATION
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -47,7 +47,7 @@ const validationScenarios = [
|
|
|
47
47
|
pares: PARes.NOT_COMPLETED,
|
|
48
48
|
outcome: {
|
|
49
49
|
authenticationType: 'challenge',
|
|
50
|
-
success: false,
|
|
50
|
+
success: false,
|
|
51
51
|
errorCode: ScaErrorCode.UNAVAILABLE_STEPUP_AUTHENTICATION
|
|
52
52
|
}
|
|
53
53
|
},
|
|
@@ -126,7 +126,7 @@ const validationScenarios = [
|
|
|
126
126
|
pares: null,
|
|
127
127
|
outcome: {
|
|
128
128
|
authenticationType: 'challenge',
|
|
129
|
-
success: false,
|
|
129
|
+
success: false,
|
|
130
130
|
errorCode: ScaErrorCode.UNSUCCESSFUL_STEPUP_AUTHENTICATION
|
|
131
131
|
}
|
|
132
132
|
},
|