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
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.82';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2143,83 +2143,85 @@
|
|
|
2143
2143
|
userSuppliedOnDocumentUploadFailed = _a.onDocumentUploadFailed,
|
|
2144
2144
|
userSuppliedOnResponseReceived = _a.onResponseReceived,
|
|
2145
2145
|
userSuppliedOnRequestFailure = _a.onRequestFailure,
|
|
2146
|
-
clientRequestID = _a.clientRequestID
|
|
2146
|
+
clientRequestID = _a.clientRequestID,
|
|
2147
|
+
_x = _a.useDocumentServiceForLivenessChecks,
|
|
2148
|
+
useDocumentServiceForLivenessChecks = _x === void 0 ? false : _x;
|
|
2147
2149
|
var sessionId = useAuthContext()[0].sessionId;
|
|
2148
|
-
var
|
|
2149
|
-
submissionStatus =
|
|
2150
|
-
setSubmissionStatus =
|
|
2151
|
-
var _y = React.useState(null),
|
|
2152
|
-
submissionRequest = _y[0],
|
|
2153
|
-
setSubmissionRequest = _y[1];
|
|
2150
|
+
var _y = React.useState(SubmissionStatus.READY),
|
|
2151
|
+
submissionStatus = _y[0],
|
|
2152
|
+
setSubmissionStatus = _y[1];
|
|
2154
2153
|
var _z = React.useState(null),
|
|
2155
|
-
|
|
2156
|
-
|
|
2154
|
+
submissionRequest = _z[0],
|
|
2155
|
+
setSubmissionRequest = _z[1];
|
|
2157
2156
|
var _0 = React.useState(null),
|
|
2158
|
-
|
|
2159
|
-
|
|
2157
|
+
submissionResponse = _0[0],
|
|
2158
|
+
setSubmissionResponse = _0[1];
|
|
2160
2159
|
var _1 = React.useState(null),
|
|
2161
|
-
|
|
2162
|
-
|
|
2160
|
+
submissionError = _1[0],
|
|
2161
|
+
setSubmissionError = _1[1];
|
|
2163
2162
|
var _2 = React.useState(null),
|
|
2164
|
-
|
|
2165
|
-
|
|
2163
|
+
retrySubmission = _2[0],
|
|
2164
|
+
setRetrySubmission = _2[1];
|
|
2166
2165
|
var _3 = React.useState(null),
|
|
2167
|
-
|
|
2168
|
-
|
|
2166
|
+
livenessCheckRequest = _3[0],
|
|
2167
|
+
setLivenessCheckRequest = _3[1];
|
|
2169
2168
|
var _4 = React.useState(null),
|
|
2170
|
-
|
|
2171
|
-
|
|
2169
|
+
idFrontImage = _4[0],
|
|
2170
|
+
setIdFrontImage = _4[1];
|
|
2172
2171
|
var _5 = React.useState(null),
|
|
2173
|
-
|
|
2174
|
-
|
|
2172
|
+
idBackImage = _5[0],
|
|
2173
|
+
setIdBackImage = _5[1];
|
|
2175
2174
|
var _6 = React.useState(null),
|
|
2176
|
-
|
|
2177
|
-
|
|
2175
|
+
passportImage = _6[0],
|
|
2176
|
+
setPassportImage = _6[1];
|
|
2178
2177
|
var _7 = React.useState(null),
|
|
2179
|
-
|
|
2180
|
-
|
|
2178
|
+
selfieImage = _7[0],
|
|
2179
|
+
setSelfieImage = _7[1];
|
|
2181
2180
|
var _8 = React.useState(null),
|
|
2182
|
-
|
|
2183
|
-
|
|
2181
|
+
signatureData = _8[0],
|
|
2182
|
+
setSignatureData = _8[1];
|
|
2184
2183
|
var _9 = React.useState(null),
|
|
2185
|
-
|
|
2186
|
-
|
|
2184
|
+
signatureVideoUrl = _9[0],
|
|
2185
|
+
setSignatureVideoUrl = _9[1];
|
|
2187
2186
|
var _10 = React.useState(null),
|
|
2188
|
-
|
|
2189
|
-
|
|
2187
|
+
idCaptureVideoUrl = _10[0],
|
|
2188
|
+
setIdCaptureVideoUrl = _10[1];
|
|
2190
2189
|
var _11 = React.useState(null),
|
|
2191
|
-
|
|
2192
|
-
|
|
2190
|
+
idCaptureVideoIdFrontImage = _11[0],
|
|
2191
|
+
setIdCaptureVideoIdFrontImage = _11[1];
|
|
2193
2192
|
var _12 = React.useState(null),
|
|
2194
|
-
|
|
2195
|
-
|
|
2193
|
+
idCaptureVideoIdBackImage = _12[0],
|
|
2194
|
+
setIdCaptureVideoIdBackImage = _12[1];
|
|
2196
2195
|
var _13 = React.useState(null),
|
|
2197
|
-
|
|
2198
|
-
|
|
2196
|
+
idCaptureVideoAudioUrl = _13[0],
|
|
2197
|
+
setIdCaptureVideoAudioUrl = _13[1];
|
|
2199
2198
|
var _14 = React.useState(null),
|
|
2200
|
-
|
|
2201
|
-
|
|
2199
|
+
idCaptureVideoAudioStartsAt = _14[0],
|
|
2200
|
+
setIdCaptureVideoAudioStartsAt = _14[1];
|
|
2202
2201
|
var _15 = React.useState(null),
|
|
2203
|
-
|
|
2204
|
-
|
|
2202
|
+
expectedAudioText = _15[0],
|
|
2203
|
+
setExpectedAudioText = _15[1];
|
|
2205
2204
|
var _16 = React.useState(null),
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
var _17 = React.useState(
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
var _18 = React.useState(
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
var _19 = React.useState(
|
|
2215
|
-
|
|
2216
|
-
|
|
2205
|
+
additionalDocuments = _16[0],
|
|
2206
|
+
setAdditionalDocuments = _16[1];
|
|
2207
|
+
var _17 = React.useState(null),
|
|
2208
|
+
geolocationResult = _17[0],
|
|
2209
|
+
setGeolocationResult = _17[1];
|
|
2210
|
+
var _18 = React.useState(0),
|
|
2211
|
+
geolocationAttempts = _18[0],
|
|
2212
|
+
setGeolocationAttempts = _18[1];
|
|
2213
|
+
var _19 = React.useState(false),
|
|
2214
|
+
geolocationBlocked = _19[0],
|
|
2215
|
+
setGeolocationBlocked = _19[1];
|
|
2217
2216
|
var _20 = React.useState([]),
|
|
2218
|
-
|
|
2219
|
-
|
|
2217
|
+
idFrontCaptureAttempts = _20[0],
|
|
2218
|
+
setIdFrontCaptureAttempts = _20[1];
|
|
2220
2219
|
var _21 = React.useState([]),
|
|
2221
|
-
|
|
2222
|
-
|
|
2220
|
+
idBackCaptureAttempts = _21[0],
|
|
2221
|
+
setIdBackCaptureAttempts = _21[1];
|
|
2222
|
+
var _22 = React.useState([]),
|
|
2223
|
+
selfieCaptureAttempts = _22[0],
|
|
2224
|
+
setSelfieCaptureAttempts = _22[1];
|
|
2223
2225
|
var logIdFrontCaptureAttempt = React.useCallback(function (attempt) {
|
|
2224
2226
|
setIdFrontCaptureAttempts(function (attempts) {
|
|
2225
2227
|
return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
|
|
@@ -2623,7 +2625,7 @@
|
|
|
2623
2625
|
switch (_a.label) {
|
|
2624
2626
|
case 0:
|
|
2625
2627
|
selfie = imageDataUrl;
|
|
2626
|
-
if (!documentServiceUrl) return [3 /*break*/, 2];
|
|
2628
|
+
if (!(useDocumentServiceForLivenessChecks && documentServiceUrl)) return [3 /*break*/, 2];
|
|
2627
2629
|
if (!selfie.startsWith('data:')) {
|
|
2628
2630
|
selfie = "data:image/jpeg;base64,".concat(selfie);
|
|
2629
2631
|
}
|
|
@@ -2633,8 +2635,11 @@
|
|
|
2633
2635
|
})];
|
|
2634
2636
|
case 1:
|
|
2635
2637
|
selfie = _a.sent();
|
|
2636
|
-
|
|
2638
|
+
return [3 /*break*/, 3];
|
|
2637
2639
|
case 2:
|
|
2640
|
+
selfie = dataUrlToBase64Sync(selfie);
|
|
2641
|
+
_a.label = 3;
|
|
2642
|
+
case 3:
|
|
2638
2643
|
request = {
|
|
2639
2644
|
securityData: {
|
|
2640
2645
|
userName: '',
|
|
@@ -2671,13 +2676,13 @@
|
|
|
2671
2676
|
idBackCaptureAttempts: idBackCaptureAttempts,
|
|
2672
2677
|
geolocationResult: geolocationResult
|
|
2673
2678
|
});
|
|
2674
|
-
if (!onBeforeLivenessCheck.current) return [3 /*break*/,
|
|
2679
|
+
if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
|
|
2675
2680
|
return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
|
|
2676
|
-
case
|
|
2681
|
+
case 4:
|
|
2677
2682
|
onBeforeLivenessCheckResult = _a.sent();
|
|
2678
2683
|
if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
|
|
2679
|
-
_a.label =
|
|
2680
|
-
case
|
|
2684
|
+
_a.label = 5;
|
|
2685
|
+
case 5:
|
|
2681
2686
|
setLivenessCheckRequest(request);
|
|
2682
2687
|
return [2 /*return*/, request];
|
|
2683
2688
|
}
|
|
@@ -24035,6 +24040,7 @@
|
|
|
24035
24040
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
24036
24041
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
24037
24042
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
24043
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
24038
24044
|
precapturedDocuments = _a.precapturedDocuments,
|
|
24039
24045
|
_c = _a.loadingOverlayMode,
|
|
24040
24046
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -24206,7 +24212,8 @@
|
|
|
24206
24212
|
onSubmit: onSubmit,
|
|
24207
24213
|
onResponseReceived: onResponseReceived,
|
|
24208
24214
|
geolocationEnabled: geolocationEnabled,
|
|
24209
|
-
geolocationRequired: geolocationRequired
|
|
24215
|
+
geolocationRequired: geolocationRequired,
|
|
24216
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
24210
24217
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
24211
24218
|
checks: React.useMemo(function () {
|
|
24212
24219
|
return ['IdCapture'];
|
|
@@ -24242,6 +24249,7 @@
|
|
|
24242
24249
|
webhooksFireOnReview = _c === void 0 ? false : _c,
|
|
24243
24250
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
24244
24251
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
24252
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
24245
24253
|
_d = _a.loadingOverlayMode,
|
|
24246
24254
|
loadingOverlayMode = _d === void 0 ? 'default' : _d,
|
|
24247
24255
|
_e = _a.timeoutDurationMs,
|
|
@@ -24325,7 +24333,8 @@
|
|
|
24325
24333
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
24326
24334
|
onBeforeLivenessCheck: onBeforeSubmit,
|
|
24327
24335
|
geolocationEnabled: geolocationEnabled,
|
|
24328
|
-
geolocationRequired: geolocationRequired
|
|
24336
|
+
geolocationRequired: geolocationRequired,
|
|
24337
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
24329
24338
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
24330
24339
|
checks: React.useMemo(function () {
|
|
24331
24340
|
return ['FaceLiveness'];
|
|
@@ -24366,6 +24375,7 @@
|
|
|
24366
24375
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
24367
24376
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
24368
24377
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
24378
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
24369
24379
|
precapturedDocuments = _a.precapturedDocuments,
|
|
24370
24380
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
24371
24381
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -24562,7 +24572,8 @@
|
|
|
24562
24572
|
onSubmit: onSubmit,
|
|
24563
24573
|
onResponseReceived: onResponseReceived,
|
|
24564
24574
|
geolocationEnabled: geolocationEnabled,
|
|
24565
|
-
geolocationRequired: geolocationRequired
|
|
24575
|
+
geolocationRequired: geolocationRequired,
|
|
24576
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
24566
24577
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
24567
24578
|
checks: checks,
|
|
24568
24579
|
idCaptureProps: idCaptureProps,
|
|
@@ -24611,6 +24622,7 @@
|
|
|
24611
24622
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
24612
24623
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
24613
24624
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
24625
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
24614
24626
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
24615
24627
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
24616
24628
|
_d = _a.idCaptureRequirement,
|
|
@@ -24824,7 +24836,8 @@
|
|
|
24824
24836
|
onSubmit: onSubmit,
|
|
24825
24837
|
onResponseReceived: onResponseReceived,
|
|
24826
24838
|
geolocationEnabled: geolocationEnabled,
|
|
24827
|
-
geolocationRequired: geolocationRequired
|
|
24839
|
+
geolocationRequired: geolocationRequired,
|
|
24840
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
24828
24841
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
24829
24842
|
checks: checks,
|
|
24830
24843
|
idCaptureProps: idCaptureProps,
|
|
@@ -25313,6 +25326,7 @@
|
|
|
25313
25326
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
25314
25327
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
25315
25328
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
25329
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
25316
25330
|
_c = _a.loadingOverlayMode,
|
|
25317
25331
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
25318
25332
|
_d = _a.timeoutDurationMs,
|
|
@@ -25375,7 +25389,8 @@
|
|
|
25375
25389
|
onBeforeSubmit: onBeforeSubmit,
|
|
25376
25390
|
onSubmit: onSubmit,
|
|
25377
25391
|
geolocationEnabled: geolocationEnabled,
|
|
25378
|
-
geolocationRequired: geolocationRequired
|
|
25392
|
+
geolocationRequired: geolocationRequired,
|
|
25393
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
25379
25394
|
}, /*#__PURE__*/React.createElement(CameraStoreProvider, {
|
|
25380
25395
|
preferFrontFacingCamera: true,
|
|
25381
25396
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -25871,6 +25886,7 @@
|
|
|
25871
25886
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
25872
25887
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
25873
25888
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
25889
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
25874
25890
|
_c = _a.loadingOverlayMode,
|
|
25875
25891
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
25876
25892
|
_d = _a.timeoutDurationMs,
|
|
@@ -25932,7 +25948,8 @@
|
|
|
25932
25948
|
onBeforeSubmit: onBeforeSubmit,
|
|
25933
25949
|
onSubmit: onSubmit,
|
|
25934
25950
|
geolocationEnabled: geolocationEnabled,
|
|
25935
|
-
geolocationRequired: geolocationRequired
|
|
25951
|
+
geolocationRequired: geolocationRequired,
|
|
25952
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
25936
25953
|
}, /*#__PURE__*/React.createElement(CameraStoreProvider, {
|
|
25937
25954
|
preferFrontFacingCamera: true,
|
|
25938
25955
|
onCameraAccessDenied: onCameraAccessDenied
|
|
@@ -25969,6 +25986,7 @@
|
|
|
25969
25986
|
submissionUrl = _a.submissionUrl,
|
|
25970
25987
|
documentServiceUrl = _a.documentServiceUrl,
|
|
25971
25988
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
25989
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
25972
25990
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
25973
25991
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
25974
25992
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -26022,7 +26040,8 @@
|
|
|
26022
26040
|
onSubmit: onSubmit,
|
|
26023
26041
|
onResponseReceived: onComplete,
|
|
26024
26042
|
geolocationEnabled: geolocationEnabled,
|
|
26025
|
-
geolocationRequired: geolocationRequired
|
|
26043
|
+
geolocationRequired: geolocationRequired,
|
|
26044
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
26026
26045
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
26027
26046
|
debugMode: debugMode,
|
|
26028
26047
|
checks: React.useMemo(function () {
|
|
@@ -26080,6 +26099,7 @@
|
|
|
26080
26099
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
26081
26100
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
26082
26101
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
26102
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
26083
26103
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
26084
26104
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
26085
26105
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -26258,7 +26278,8 @@
|
|
|
26258
26278
|
onBeforeSubmit: onBeforeSubmit,
|
|
26259
26279
|
onResponseReceived: onComplete,
|
|
26260
26280
|
geolocationEnabled: geolocationEnabled,
|
|
26261
|
-
geolocationRequired: geolocationRequired
|
|
26281
|
+
geolocationRequired: geolocationRequired,
|
|
26282
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
26262
26283
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
26263
26284
|
checks: React.useMemo(function () {
|
|
26264
26285
|
return ['VideoIdCapture'];
|
|
@@ -26297,6 +26318,7 @@
|
|
|
26297
26318
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
26298
26319
|
webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
|
|
26299
26320
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
26321
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
26300
26322
|
_c = _a.loadingOverlayMode,
|
|
26301
26323
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
26302
26324
|
_d = _a.timeoutDurationMs,
|
|
@@ -26423,7 +26445,8 @@
|
|
|
26423
26445
|
onSubmit: onSubmit,
|
|
26424
26446
|
onResponseReceived: onResponseReceived,
|
|
26425
26447
|
geolocationEnabled: geolocationEnabled,
|
|
26426
|
-
geolocationRequired: geolocationRequired
|
|
26448
|
+
geolocationRequired: geolocationRequired,
|
|
26449
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
26427
26450
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
26428
26451
|
checks: React.useMemo(function () {
|
|
26429
26452
|
return ['FaceLiveness'];
|
|
@@ -26450,6 +26473,7 @@
|
|
|
26450
26473
|
submissionUrl = _a.submissionUrl,
|
|
26451
26474
|
documentServiceUrl = _a.documentServiceUrl,
|
|
26452
26475
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
26476
|
+
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
26453
26477
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
26454
26478
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
26455
26479
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -26492,7 +26516,8 @@
|
|
|
26492
26516
|
onDocumentUploaded: onDocumentUploaded,
|
|
26493
26517
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
26494
26518
|
geolocationEnabled: geolocationEnabled,
|
|
26495
|
-
geolocationRequired: geolocationRequired
|
|
26519
|
+
geolocationRequired: geolocationRequired,
|
|
26520
|
+
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
26496
26521
|
}, /*#__PURE__*/React.createElement(CameraStoreProvider, {
|
|
26497
26522
|
requestAccessAutomatically: false,
|
|
26498
26523
|
preferIphoneContinuityCamera: true,
|