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
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.2.
|
|
237
|
+
var webSdkVersion = '2.2.82';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1202,83 +1202,85 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1202
1202
|
userSuppliedOnDocumentUploadFailed = _a.onDocumentUploadFailed,
|
|
1203
1203
|
userSuppliedOnResponseReceived = _a.onResponseReceived,
|
|
1204
1204
|
userSuppliedOnRequestFailure = _a.onRequestFailure,
|
|
1205
|
-
clientRequestID = _a.clientRequestID
|
|
1205
|
+
clientRequestID = _a.clientRequestID,
|
|
1206
|
+
_x = _a.useDocumentServiceForLivenessChecks,
|
|
1207
|
+
useDocumentServiceForLivenessChecks = _x === void 0 ? false : _x;
|
|
1206
1208
|
var sessionId = useAuthContext()[0].sessionId;
|
|
1207
|
-
var
|
|
1208
|
-
submissionStatus =
|
|
1209
|
-
setSubmissionStatus =
|
|
1210
|
-
var _y = React.useState(null),
|
|
1211
|
-
submissionRequest = _y[0],
|
|
1212
|
-
setSubmissionRequest = _y[1];
|
|
1209
|
+
var _y = React.useState(SubmissionStatus.READY),
|
|
1210
|
+
submissionStatus = _y[0],
|
|
1211
|
+
setSubmissionStatus = _y[1];
|
|
1213
1212
|
var _z = React.useState(null),
|
|
1214
|
-
|
|
1215
|
-
|
|
1213
|
+
submissionRequest = _z[0],
|
|
1214
|
+
setSubmissionRequest = _z[1];
|
|
1216
1215
|
var _0 = React.useState(null),
|
|
1217
|
-
|
|
1218
|
-
|
|
1216
|
+
submissionResponse = _0[0],
|
|
1217
|
+
setSubmissionResponse = _0[1];
|
|
1219
1218
|
var _1 = React.useState(null),
|
|
1220
|
-
|
|
1221
|
-
|
|
1219
|
+
submissionError = _1[0],
|
|
1220
|
+
setSubmissionError = _1[1];
|
|
1222
1221
|
var _2 = React.useState(null),
|
|
1223
|
-
|
|
1224
|
-
|
|
1222
|
+
retrySubmission = _2[0],
|
|
1223
|
+
setRetrySubmission = _2[1];
|
|
1225
1224
|
var _3 = React.useState(null),
|
|
1226
|
-
|
|
1227
|
-
|
|
1225
|
+
livenessCheckRequest = _3[0],
|
|
1226
|
+
setLivenessCheckRequest = _3[1];
|
|
1228
1227
|
var _4 = React.useState(null),
|
|
1229
|
-
|
|
1230
|
-
|
|
1228
|
+
idFrontImage = _4[0],
|
|
1229
|
+
setIdFrontImage = _4[1];
|
|
1231
1230
|
var _5 = React.useState(null),
|
|
1232
|
-
|
|
1233
|
-
|
|
1231
|
+
idBackImage = _5[0],
|
|
1232
|
+
setIdBackImage = _5[1];
|
|
1234
1233
|
var _6 = React.useState(null),
|
|
1235
|
-
|
|
1236
|
-
|
|
1234
|
+
passportImage = _6[0],
|
|
1235
|
+
setPassportImage = _6[1];
|
|
1237
1236
|
var _7 = React.useState(null),
|
|
1238
|
-
|
|
1239
|
-
|
|
1237
|
+
selfieImage = _7[0],
|
|
1238
|
+
setSelfieImage = _7[1];
|
|
1240
1239
|
var _8 = React.useState(null),
|
|
1241
|
-
|
|
1242
|
-
|
|
1240
|
+
signatureData = _8[0],
|
|
1241
|
+
setSignatureData = _8[1];
|
|
1243
1242
|
var _9 = React.useState(null),
|
|
1244
|
-
|
|
1245
|
-
|
|
1243
|
+
signatureVideoUrl = _9[0],
|
|
1244
|
+
setSignatureVideoUrl = _9[1];
|
|
1246
1245
|
var _10 = React.useState(null),
|
|
1247
|
-
|
|
1248
|
-
|
|
1246
|
+
idCaptureVideoUrl = _10[0],
|
|
1247
|
+
setIdCaptureVideoUrl = _10[1];
|
|
1249
1248
|
var _11 = React.useState(null),
|
|
1250
|
-
|
|
1251
|
-
|
|
1249
|
+
idCaptureVideoIdFrontImage = _11[0],
|
|
1250
|
+
setIdCaptureVideoIdFrontImage = _11[1];
|
|
1252
1251
|
var _12 = React.useState(null),
|
|
1253
|
-
|
|
1254
|
-
|
|
1252
|
+
idCaptureVideoIdBackImage = _12[0],
|
|
1253
|
+
setIdCaptureVideoIdBackImage = _12[1];
|
|
1255
1254
|
var _13 = React.useState(null),
|
|
1256
|
-
|
|
1257
|
-
|
|
1255
|
+
idCaptureVideoAudioUrl = _13[0],
|
|
1256
|
+
setIdCaptureVideoAudioUrl = _13[1];
|
|
1258
1257
|
var _14 = React.useState(null),
|
|
1259
|
-
|
|
1260
|
-
|
|
1258
|
+
idCaptureVideoAudioStartsAt = _14[0],
|
|
1259
|
+
setIdCaptureVideoAudioStartsAt = _14[1];
|
|
1261
1260
|
var _15 = React.useState(null),
|
|
1262
|
-
|
|
1263
|
-
|
|
1261
|
+
expectedAudioText = _15[0],
|
|
1262
|
+
setExpectedAudioText = _15[1];
|
|
1264
1263
|
var _16 = React.useState(null),
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
var _17 = React.useState(
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
var _18 = React.useState(
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
var _19 = React.useState(
|
|
1274
|
-
|
|
1275
|
-
|
|
1264
|
+
additionalDocuments = _16[0],
|
|
1265
|
+
setAdditionalDocuments = _16[1];
|
|
1266
|
+
var _17 = React.useState(null),
|
|
1267
|
+
geolocationResult = _17[0],
|
|
1268
|
+
setGeolocationResult = _17[1];
|
|
1269
|
+
var _18 = React.useState(0),
|
|
1270
|
+
geolocationAttempts = _18[0],
|
|
1271
|
+
setGeolocationAttempts = _18[1];
|
|
1272
|
+
var _19 = React.useState(false),
|
|
1273
|
+
geolocationBlocked = _19[0],
|
|
1274
|
+
setGeolocationBlocked = _19[1];
|
|
1276
1275
|
var _20 = React.useState([]),
|
|
1277
|
-
|
|
1278
|
-
|
|
1276
|
+
idFrontCaptureAttempts = _20[0],
|
|
1277
|
+
setIdFrontCaptureAttempts = _20[1];
|
|
1279
1278
|
var _21 = React.useState([]),
|
|
1280
|
-
|
|
1281
|
-
|
|
1279
|
+
idBackCaptureAttempts = _21[0],
|
|
1280
|
+
setIdBackCaptureAttempts = _21[1];
|
|
1281
|
+
var _22 = React.useState([]),
|
|
1282
|
+
selfieCaptureAttempts = _22[0],
|
|
1283
|
+
setSelfieCaptureAttempts = _22[1];
|
|
1282
1284
|
var logIdFrontCaptureAttempt = React.useCallback(function (attempt) {
|
|
1283
1285
|
setIdFrontCaptureAttempts(function (attempts) {
|
|
1284
1286
|
return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
|
|
@@ -1682,7 +1684,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1682
1684
|
switch (_a.label) {
|
|
1683
1685
|
case 0:
|
|
1684
1686
|
selfie = imageDataUrl;
|
|
1685
|
-
if (!documentServiceUrl) return [3 /*break*/, 2];
|
|
1687
|
+
if (!(useDocumentServiceForLivenessChecks && documentServiceUrl)) return [3 /*break*/, 2];
|
|
1686
1688
|
if (!selfie.startsWith('data:')) {
|
|
1687
1689
|
selfie = "data:image/jpeg;base64,".concat(selfie);
|
|
1688
1690
|
}
|
|
@@ -1692,8 +1694,11 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1692
1694
|
})];
|
|
1693
1695
|
case 1:
|
|
1694
1696
|
selfie = _a.sent();
|
|
1695
|
-
|
|
1697
|
+
return [3 /*break*/, 3];
|
|
1696
1698
|
case 2:
|
|
1699
|
+
selfie = dataUrlToBase64Sync(selfie);
|
|
1700
|
+
_a.label = 3;
|
|
1701
|
+
case 3:
|
|
1697
1702
|
request = {
|
|
1698
1703
|
securityData: {
|
|
1699
1704
|
userName: '',
|
|
@@ -1730,13 +1735,13 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1730
1735
|
idBackCaptureAttempts: idBackCaptureAttempts,
|
|
1731
1736
|
geolocationResult: geolocationResult
|
|
1732
1737
|
});
|
|
1733
|
-
if (!onBeforeLivenessCheck.current) return [3 /*break*/,
|
|
1738
|
+
if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
|
|
1734
1739
|
return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
|
|
1735
|
-
case
|
|
1740
|
+
case 4:
|
|
1736
1741
|
onBeforeLivenessCheckResult = _a.sent();
|
|
1737
1742
|
if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
|
|
1738
|
-
_a.label =
|
|
1739
|
-
case
|
|
1743
|
+
_a.label = 5;
|
|
1744
|
+
case 5:
|
|
1740
1745
|
setLivenessCheckRequest(request);
|
|
1741
1746
|
return [2 /*return*/, request];
|
|
1742
1747
|
}
|
|
@@ -14224,6 +14229,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
14224
14229
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
14225
14230
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14226
14231
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14232
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14227
14233
|
precapturedDocuments = _a.precapturedDocuments,
|
|
14228
14234
|
_c = _a.loadingOverlayMode,
|
|
14229
14235
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -14395,7 +14401,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
14395
14401
|
onSubmit: onSubmit,
|
|
14396
14402
|
onResponseReceived: onResponseReceived,
|
|
14397
14403
|
geolocationEnabled: geolocationEnabled,
|
|
14398
|
-
geolocationRequired: geolocationRequired
|
|
14404
|
+
geolocationRequired: geolocationRequired,
|
|
14405
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14399
14406
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
14400
14407
|
checks: React.useMemo(function () {
|
|
14401
14408
|
return ['IdCapture'];
|
|
@@ -14431,6 +14438,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
14431
14438
|
webhooksFireOnReview = _c === void 0 ? false : _c,
|
|
14432
14439
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14433
14440
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14441
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14434
14442
|
_d = _a.loadingOverlayMode,
|
|
14435
14443
|
loadingOverlayMode = _d === void 0 ? 'default' : _d,
|
|
14436
14444
|
_e = _a.timeoutDurationMs,
|
|
@@ -14514,7 +14522,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
14514
14522
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
14515
14523
|
onBeforeLivenessCheck: onBeforeSubmit,
|
|
14516
14524
|
geolocationEnabled: geolocationEnabled,
|
|
14517
|
-
geolocationRequired: geolocationRequired
|
|
14525
|
+
geolocationRequired: geolocationRequired,
|
|
14526
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14518
14527
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
14519
14528
|
checks: React.useMemo(function () {
|
|
14520
14529
|
return ['FaceLiveness'];
|
|
@@ -14555,6 +14564,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
14555
14564
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14556
14565
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14557
14566
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14567
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14558
14568
|
precapturedDocuments = _a.precapturedDocuments,
|
|
14559
14569
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
14560
14570
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -14751,7 +14761,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
14751
14761
|
onSubmit: onSubmit,
|
|
14752
14762
|
onResponseReceived: onResponseReceived,
|
|
14753
14763
|
geolocationEnabled: geolocationEnabled,
|
|
14754
|
-
geolocationRequired: geolocationRequired
|
|
14764
|
+
geolocationRequired: geolocationRequired,
|
|
14765
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
14755
14766
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
14756
14767
|
checks: checks,
|
|
14757
14768
|
idCaptureProps: idCaptureProps,
|
|
@@ -14800,6 +14811,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
14800
14811
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
14801
14812
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
14802
14813
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
14814
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
14803
14815
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
14804
14816
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
14805
14817
|
_d = _a.idCaptureRequirement,
|
|
@@ -15013,7 +15025,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
15013
15025
|
onSubmit: onSubmit,
|
|
15014
15026
|
onResponseReceived: onResponseReceived,
|
|
15015
15027
|
geolocationEnabled: geolocationEnabled,
|
|
15016
|
-
geolocationRequired: geolocationRequired
|
|
15028
|
+
geolocationRequired: geolocationRequired,
|
|
15029
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
15017
15030
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
15018
15031
|
checks: checks,
|
|
15019
15032
|
idCaptureProps: idCaptureProps,
|
|
@@ -15502,6 +15515,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
15502
15515
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
15503
15516
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
15504
15517
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
15518
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
15505
15519
|
_c = _a.loadingOverlayMode,
|
|
15506
15520
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
15507
15521
|
_d = _a.timeoutDurationMs,
|
|
@@ -15564,7 +15578,8 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
15564
15578
|
onBeforeSubmit: onBeforeSubmit,
|
|
15565
15579
|
onSubmit: onSubmit,
|
|
15566
15580
|
geolocationEnabled: geolocationEnabled,
|
|
15567
|
-
geolocationRequired: geolocationRequired
|
|
15581
|
+
geolocationRequired: geolocationRequired,
|
|
15582
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
15568
15583
|
}, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
|
|
15569
15584
|
preferFrontFacingCamera: true,
|
|
15570
15585
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -16060,6 +16075,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
16060
16075
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
16061
16076
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
16062
16077
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16078
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16063
16079
|
_c = _a.loadingOverlayMode,
|
|
16064
16080
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
16065
16081
|
_d = _a.timeoutDurationMs,
|
|
@@ -16121,7 +16137,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
16121
16137
|
onBeforeSubmit: onBeforeSubmit,
|
|
16122
16138
|
onSubmit: onSubmit,
|
|
16123
16139
|
geolocationEnabled: geolocationEnabled,
|
|
16124
|
-
geolocationRequired: geolocationRequired
|
|
16140
|
+
geolocationRequired: geolocationRequired,
|
|
16141
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16125
16142
|
}, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
|
|
16126
16143
|
preferFrontFacingCamera: true,
|
|
16127
16144
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -16158,6 +16175,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
16158
16175
|
submissionUrl = _a.submissionUrl,
|
|
16159
16176
|
documentServiceUrl = _a.documentServiceUrl,
|
|
16160
16177
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16178
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16161
16179
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16162
16180
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16163
16181
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16211,7 +16229,8 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
16211
16229
|
onSubmit: onSubmit,
|
|
16212
16230
|
onResponseReceived: onComplete,
|
|
16213
16231
|
geolocationEnabled: geolocationEnabled,
|
|
16214
|
-
geolocationRequired: geolocationRequired
|
|
16232
|
+
geolocationRequired: geolocationRequired,
|
|
16233
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16215
16234
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
16216
16235
|
debugMode: debugMode,
|
|
16217
16236
|
checks: React.useMemo(function () {
|
|
@@ -16269,6 +16288,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
16269
16288
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
16270
16289
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16271
16290
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
16291
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16272
16292
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16273
16293
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16274
16294
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16447,7 +16467,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
16447
16467
|
onBeforeSubmit: onBeforeSubmit,
|
|
16448
16468
|
onResponseReceived: onComplete,
|
|
16449
16469
|
geolocationEnabled: geolocationEnabled,
|
|
16450
|
-
geolocationRequired: geolocationRequired
|
|
16470
|
+
geolocationRequired: geolocationRequired,
|
|
16471
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16451
16472
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
16452
16473
|
checks: React.useMemo(function () {
|
|
16453
16474
|
return ['VideoIdCapture'];
|
|
@@ -16486,6 +16507,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
16486
16507
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
16487
16508
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
16488
16509
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16510
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16489
16511
|
_c = _a.loadingOverlayMode,
|
|
16490
16512
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
16491
16513
|
_d = _a.timeoutDurationMs,
|
|
@@ -16612,7 +16634,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
16612
16634
|
onSubmit: onSubmit,
|
|
16613
16635
|
onResponseReceived: onResponseReceived,
|
|
16614
16636
|
geolocationEnabled: geolocationEnabled,
|
|
16615
|
-
geolocationRequired: geolocationRequired
|
|
16637
|
+
geolocationRequired: geolocationRequired,
|
|
16638
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16616
16639
|
}, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
|
|
16617
16640
|
checks: React.useMemo(function () {
|
|
16618
16641
|
return ['FaceLiveness'];
|
|
@@ -16639,6 +16662,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
16639
16662
|
submissionUrl = _a.submissionUrl,
|
|
16640
16663
|
documentServiceUrl = _a.documentServiceUrl,
|
|
16641
16664
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
16665
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
16642
16666
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16643
16667
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16644
16668
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16681,7 +16705,8 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
16681
16705
|
onDocumentUploaded: onDocumentUploaded,
|
|
16682
16706
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
16683
16707
|
geolocationEnabled: geolocationEnabled,
|
|
16684
|
-
geolocationRequired: geolocationRequired
|
|
16708
|
+
geolocationRequired: geolocationRequired,
|
|
16709
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
16685
16710
|
}, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
|
|
16686
16711
|
requestAccessAutomatically: false,
|
|
16687
16712
|
preferIphoneContinuityCamera: true,
|