idmission-web-sdk 2.2.81 → 2.2.82
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/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/DocumentCapture.d.ts +2 -0
- package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +2 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/submission/SubmissionProvider.d.ts +2 -1
- package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +98 -73
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +98 -73
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +98 -73
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
package/dist/sdk2.esm.js
CHANGED
|
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
203
203
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
var webSdkVersion = '2.2.
|
|
206
|
+
var webSdkVersion = '2.2.82';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1171,83 +1171,85 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1171
1171
|
userSuppliedOnDocumentUploadFailed = _a.onDocumentUploadFailed,
|
|
1172
1172
|
userSuppliedOnResponseReceived = _a.onResponseReceived,
|
|
1173
1173
|
userSuppliedOnRequestFailure = _a.onRequestFailure,
|
|
1174
|
-
clientRequestID = _a.clientRequestID
|
|
1174
|
+
clientRequestID = _a.clientRequestID,
|
|
1175
|
+
_x = _a.useDocumentServiceForLivenessChecks,
|
|
1176
|
+
useDocumentServiceForLivenessChecks = _x === void 0 ? false : _x;
|
|
1175
1177
|
var sessionId = useAuthContext()[0].sessionId;
|
|
1176
|
-
var
|
|
1177
|
-
submissionStatus =
|
|
1178
|
-
setSubmissionStatus =
|
|
1179
|
-
var _y = useState(null),
|
|
1180
|
-
submissionRequest = _y[0],
|
|
1181
|
-
setSubmissionRequest = _y[1];
|
|
1178
|
+
var _y = useState(SubmissionStatus.READY),
|
|
1179
|
+
submissionStatus = _y[0],
|
|
1180
|
+
setSubmissionStatus = _y[1];
|
|
1182
1181
|
var _z = useState(null),
|
|
1183
|
-
|
|
1184
|
-
|
|
1182
|
+
submissionRequest = _z[0],
|
|
1183
|
+
setSubmissionRequest = _z[1];
|
|
1185
1184
|
var _0 = useState(null),
|
|
1186
|
-
|
|
1187
|
-
|
|
1185
|
+
submissionResponse = _0[0],
|
|
1186
|
+
setSubmissionResponse = _0[1];
|
|
1188
1187
|
var _1 = useState(null),
|
|
1189
|
-
|
|
1190
|
-
|
|
1188
|
+
submissionError = _1[0],
|
|
1189
|
+
setSubmissionError = _1[1];
|
|
1191
1190
|
var _2 = useState(null),
|
|
1192
|
-
|
|
1193
|
-
|
|
1191
|
+
retrySubmission = _2[0],
|
|
1192
|
+
setRetrySubmission = _2[1];
|
|
1194
1193
|
var _3 = useState(null),
|
|
1195
|
-
|
|
1196
|
-
|
|
1194
|
+
livenessCheckRequest = _3[0],
|
|
1195
|
+
setLivenessCheckRequest = _3[1];
|
|
1197
1196
|
var _4 = useState(null),
|
|
1198
|
-
|
|
1199
|
-
|
|
1197
|
+
idFrontImage = _4[0],
|
|
1198
|
+
setIdFrontImage = _4[1];
|
|
1200
1199
|
var _5 = useState(null),
|
|
1201
|
-
|
|
1202
|
-
|
|
1200
|
+
idBackImage = _5[0],
|
|
1201
|
+
setIdBackImage = _5[1];
|
|
1203
1202
|
var _6 = useState(null),
|
|
1204
|
-
|
|
1205
|
-
|
|
1203
|
+
passportImage = _6[0],
|
|
1204
|
+
setPassportImage = _6[1];
|
|
1206
1205
|
var _7 = useState(null),
|
|
1207
|
-
|
|
1208
|
-
|
|
1206
|
+
selfieImage = _7[0],
|
|
1207
|
+
setSelfieImage = _7[1];
|
|
1209
1208
|
var _8 = useState(null),
|
|
1210
|
-
|
|
1211
|
-
|
|
1209
|
+
signatureData = _8[0],
|
|
1210
|
+
setSignatureData = _8[1];
|
|
1212
1211
|
var _9 = useState(null),
|
|
1213
|
-
|
|
1214
|
-
|
|
1212
|
+
signatureVideoUrl = _9[0],
|
|
1213
|
+
setSignatureVideoUrl = _9[1];
|
|
1215
1214
|
var _10 = useState(null),
|
|
1216
|
-
|
|
1217
|
-
|
|
1215
|
+
idCaptureVideoUrl = _10[0],
|
|
1216
|
+
setIdCaptureVideoUrl = _10[1];
|
|
1218
1217
|
var _11 = useState(null),
|
|
1219
|
-
|
|
1220
|
-
|
|
1218
|
+
idCaptureVideoIdFrontImage = _11[0],
|
|
1219
|
+
setIdCaptureVideoIdFrontImage = _11[1];
|
|
1221
1220
|
var _12 = useState(null),
|
|
1222
|
-
|
|
1223
|
-
|
|
1221
|
+
idCaptureVideoIdBackImage = _12[0],
|
|
1222
|
+
setIdCaptureVideoIdBackImage = _12[1];
|
|
1224
1223
|
var _13 = useState(null),
|
|
1225
|
-
|
|
1226
|
-
|
|
1224
|
+
idCaptureVideoAudioUrl = _13[0],
|
|
1225
|
+
setIdCaptureVideoAudioUrl = _13[1];
|
|
1227
1226
|
var _14 = useState(null),
|
|
1228
|
-
|
|
1229
|
-
|
|
1227
|
+
idCaptureVideoAudioStartsAt = _14[0],
|
|
1228
|
+
setIdCaptureVideoAudioStartsAt = _14[1];
|
|
1230
1229
|
var _15 = useState(null),
|
|
1231
|
-
|
|
1232
|
-
|
|
1230
|
+
expectedAudioText = _15[0],
|
|
1231
|
+
setExpectedAudioText = _15[1];
|
|
1233
1232
|
var _16 = useState(null),
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
var _17 = useState(
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
var _18 = useState(
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
var _19 = useState(
|
|
1243
|
-
|
|
1244
|
-
|
|
1233
|
+
additionalDocuments = _16[0],
|
|
1234
|
+
setAdditionalDocuments = _16[1];
|
|
1235
|
+
var _17 = useState(null),
|
|
1236
|
+
geolocationResult = _17[0],
|
|
1237
|
+
setGeolocationResult = _17[1];
|
|
1238
|
+
var _18 = useState(0),
|
|
1239
|
+
geolocationAttempts = _18[0],
|
|
1240
|
+
setGeolocationAttempts = _18[1];
|
|
1241
|
+
var _19 = useState(false),
|
|
1242
|
+
geolocationBlocked = _19[0],
|
|
1243
|
+
setGeolocationBlocked = _19[1];
|
|
1245
1244
|
var _20 = useState([]),
|
|
1246
|
-
|
|
1247
|
-
|
|
1245
|
+
idFrontCaptureAttempts = _20[0],
|
|
1246
|
+
setIdFrontCaptureAttempts = _20[1];
|
|
1248
1247
|
var _21 = useState([]),
|
|
1249
|
-
|
|
1250
|
-
|
|
1248
|
+
idBackCaptureAttempts = _21[0],
|
|
1249
|
+
setIdBackCaptureAttempts = _21[1];
|
|
1250
|
+
var _22 = useState([]),
|
|
1251
|
+
selfieCaptureAttempts = _22[0],
|
|
1252
|
+
setSelfieCaptureAttempts = _22[1];
|
|
1251
1253
|
var logIdFrontCaptureAttempt = useCallback(function (attempt) {
|
|
1252
1254
|
setIdFrontCaptureAttempts(function (attempts) {
|
|
1253
1255
|
return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
|
|
@@ -1651,7 +1653,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1651
1653
|
switch (_a.label) {
|
|
1652
1654
|
case 0:
|
|
1653
1655
|
selfie = imageDataUrl;
|
|
1654
|
-
if (!documentServiceUrl) return [3 /*break*/, 2];
|
|
1656
|
+
if (!(useDocumentServiceForLivenessChecks && documentServiceUrl)) return [3 /*break*/, 2];
|
|
1655
1657
|
if (!selfie.startsWith('data:')) {
|
|
1656
1658
|
selfie = "data:image/jpeg;base64,".concat(selfie);
|
|
1657
1659
|
}
|
|
@@ -1661,8 +1663,11 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1661
1663
|
})];
|
|
1662
1664
|
case 1:
|
|
1663
1665
|
selfie = _a.sent();
|
|
1664
|
-
|
|
1666
|
+
return [3 /*break*/, 3];
|
|
1665
1667
|
case 2:
|
|
1668
|
+
selfie = dataUrlToBase64Sync(selfie);
|
|
1669
|
+
_a.label = 3;
|
|
1670
|
+
case 3:
|
|
1666
1671
|
request = {
|
|
1667
1672
|
securityData: {
|
|
1668
1673
|
userName: '',
|
|
@@ -1699,13 +1704,13 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1699
1704
|
idBackCaptureAttempts: idBackCaptureAttempts,
|
|
1700
1705
|
geolocationResult: geolocationResult
|
|
1701
1706
|
});
|
|
1702
|
-
if (!onBeforeLivenessCheck.current) return [3 /*break*/,
|
|
1707
|
+
if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
|
|
1703
1708
|
return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
|
|
1704
|
-
case
|
|
1709
|
+
case 4:
|
|
1705
1710
|
onBeforeLivenessCheckResult = _a.sent();
|
|
1706
1711
|
if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
|
|
1707
|
-
_a.label =
|
|
1708
|
-
case
|
|
1712
|
+
_a.label = 5;
|
|
1713
|
+
case 5:
|
|
1709
1714
|
setLivenessCheckRequest(request);
|
|
1710
1715
|
return [2 /*return*/, request];
|
|
1711
1716
|
}
|
|
@@ -14193,6 +14198,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
14193
14198
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
14194
14199
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14195
14200
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14201
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14196
14202
|
precapturedDocuments = _a.precapturedDocuments,
|
|
14197
14203
|
_c = _a.loadingOverlayMode,
|
|
14198
14204
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -14364,7 +14370,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
14364
14370
|
onSubmit: onSubmit,
|
|
14365
14371
|
onResponseReceived: onResponseReceived,
|
|
14366
14372
|
geolocationEnabled: geolocationEnabled,
|
|
14367
|
-
geolocationRequired: geolocationRequired
|
|
14373
|
+
geolocationRequired: geolocationRequired,
|
|
14374
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14368
14375
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
14369
14376
|
checks: useMemo(function () {
|
|
14370
14377
|
return ['IdCapture'];
|
|
@@ -14400,6 +14407,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
14400
14407
|
webhooksFireOnReview = _c === void 0 ? false : _c,
|
|
14401
14408
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14402
14409
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14410
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14403
14411
|
_d = _a.loadingOverlayMode,
|
|
14404
14412
|
loadingOverlayMode = _d === void 0 ? 'default' : _d,
|
|
14405
14413
|
_e = _a.timeoutDurationMs,
|
|
@@ -14483,7 +14491,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
14483
14491
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
14484
14492
|
onBeforeLivenessCheck: onBeforeSubmit,
|
|
14485
14493
|
geolocationEnabled: geolocationEnabled,
|
|
14486
|
-
geolocationRequired: geolocationRequired
|
|
14494
|
+
geolocationRequired: geolocationRequired,
|
|
14495
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14487
14496
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
14488
14497
|
checks: useMemo(function () {
|
|
14489
14498
|
return ['FaceLiveness'];
|
|
@@ -14524,6 +14533,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
14524
14533
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14525
14534
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14526
14535
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14536
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14527
14537
|
precapturedDocuments = _a.precapturedDocuments,
|
|
14528
14538
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
14529
14539
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -14720,7 +14730,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
14720
14730
|
onSubmit: onSubmit,
|
|
14721
14731
|
onResponseReceived: onResponseReceived,
|
|
14722
14732
|
geolocationEnabled: geolocationEnabled,
|
|
14723
|
-
geolocationRequired: geolocationRequired
|
|
14733
|
+
geolocationRequired: geolocationRequired,
|
|
14734
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14724
14735
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
14725
14736
|
checks: checks,
|
|
14726
14737
|
idCaptureProps: idCaptureProps,
|
|
@@ -14769,6 +14780,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
14769
14780
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14770
14781
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14771
14782
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14783
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14772
14784
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
14773
14785
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
14774
14786
|
_d = _a.idCaptureRequirement,
|
|
@@ -14982,7 +14994,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
14982
14994
|
onSubmit: onSubmit,
|
|
14983
14995
|
onResponseReceived: onResponseReceived,
|
|
14984
14996
|
geolocationEnabled: geolocationEnabled,
|
|
14985
|
-
geolocationRequired: geolocationRequired
|
|
14997
|
+
geolocationRequired: geolocationRequired,
|
|
14998
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14986
14999
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
14987
15000
|
checks: checks,
|
|
14988
15001
|
idCaptureProps: idCaptureProps,
|
|
@@ -15471,6 +15484,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
15471
15484
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
15472
15485
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
15473
15486
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
15487
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
15474
15488
|
_c = _a.loadingOverlayMode,
|
|
15475
15489
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
15476
15490
|
_d = _a.timeoutDurationMs,
|
|
@@ -15533,7 +15547,8 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
15533
15547
|
onBeforeSubmit: onBeforeSubmit,
|
|
15534
15548
|
onSubmit: onSubmit,
|
|
15535
15549
|
geolocationEnabled: geolocationEnabled,
|
|
15536
|
-
geolocationRequired: geolocationRequired
|
|
15550
|
+
geolocationRequired: geolocationRequired,
|
|
15551
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
15537
15552
|
}, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
|
|
15538
15553
|
preferFrontFacingCamera: true,
|
|
15539
15554
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -16029,6 +16044,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
16029
16044
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
16030
16045
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
16031
16046
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16047
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16032
16048
|
_c = _a.loadingOverlayMode,
|
|
16033
16049
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
16034
16050
|
_d = _a.timeoutDurationMs,
|
|
@@ -16090,7 +16106,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
16090
16106
|
onBeforeSubmit: onBeforeSubmit,
|
|
16091
16107
|
onSubmit: onSubmit,
|
|
16092
16108
|
geolocationEnabled: geolocationEnabled,
|
|
16093
|
-
geolocationRequired: geolocationRequired
|
|
16109
|
+
geolocationRequired: geolocationRequired,
|
|
16110
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16094
16111
|
}, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
|
|
16095
16112
|
preferFrontFacingCamera: true,
|
|
16096
16113
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -16127,6 +16144,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
16127
16144
|
submissionUrl = _a.submissionUrl,
|
|
16128
16145
|
documentServiceUrl = _a.documentServiceUrl,
|
|
16129
16146
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16147
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16130
16148
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16131
16149
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16132
16150
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16180,7 +16198,8 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
16180
16198
|
onSubmit: onSubmit,
|
|
16181
16199
|
onResponseReceived: onComplete,
|
|
16182
16200
|
geolocationEnabled: geolocationEnabled,
|
|
16183
|
-
geolocationRequired: geolocationRequired
|
|
16201
|
+
geolocationRequired: geolocationRequired,
|
|
16202
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16184
16203
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
16185
16204
|
debugMode: debugMode,
|
|
16186
16205
|
checks: useMemo(function () {
|
|
@@ -16238,6 +16257,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
16238
16257
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
16239
16258
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16240
16259
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
16260
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16241
16261
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16242
16262
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16243
16263
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16416,7 +16436,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
16416
16436
|
onBeforeSubmit: onBeforeSubmit,
|
|
16417
16437
|
onResponseReceived: onComplete,
|
|
16418
16438
|
geolocationEnabled: geolocationEnabled,
|
|
16419
|
-
geolocationRequired: geolocationRequired
|
|
16439
|
+
geolocationRequired: geolocationRequired,
|
|
16440
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16420
16441
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
16421
16442
|
checks: useMemo(function () {
|
|
16422
16443
|
return ['VideoIdCapture'];
|
|
@@ -16455,6 +16476,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
16455
16476
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
16456
16477
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
16457
16478
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16479
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16458
16480
|
_c = _a.loadingOverlayMode,
|
|
16459
16481
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
16460
16482
|
_d = _a.timeoutDurationMs,
|
|
@@ -16581,7 +16603,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
16581
16603
|
onSubmit: onSubmit,
|
|
16582
16604
|
onResponseReceived: onResponseReceived,
|
|
16583
16605
|
geolocationEnabled: geolocationEnabled,
|
|
16584
|
-
geolocationRequired: geolocationRequired
|
|
16606
|
+
geolocationRequired: geolocationRequired,
|
|
16607
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16585
16608
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
16586
16609
|
checks: useMemo(function () {
|
|
16587
16610
|
return ['FaceLiveness'];
|
|
@@ -16608,6 +16631,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
16608
16631
|
submissionUrl = _a.submissionUrl,
|
|
16609
16632
|
documentServiceUrl = _a.documentServiceUrl,
|
|
16610
16633
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16634
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16611
16635
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16612
16636
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16613
16637
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16650,7 +16674,8 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
16650
16674
|
onDocumentUploaded: onDocumentUploaded,
|
|
16651
16675
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
16652
16676
|
geolocationEnabled: geolocationEnabled,
|
|
16653
|
-
geolocationRequired: geolocationRequired
|
|
16677
|
+
geolocationRequired: geolocationRequired,
|
|
16678
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16654
16679
|
}, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
|
|
16655
16680
|
requestAccessAutomatically: false,
|
|
16656
16681
|
preferIphoneContinuityCamera: true,
|