idmission-web-sdk 2.2.81 → 2.2.83

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.
Files changed (50) hide show
  1. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
  2. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
  3. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
  4. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
  5. package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
  6. package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
  7. package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
  8. package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
  9. package/dist/components/customer_flows/DocumentCapture.d.ts +2 -0
  10. package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
  11. package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
  12. package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
  13. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +2 -0
  14. package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
  15. package/dist/components/customer_flows/IdValidation.d.ts +2 -0
  16. package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
  17. package/dist/components/customer_flows/SignatureKYC.d.ts +2 -0
  18. package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
  19. package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
  20. package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
  21. package/dist/components/submission/SubmissionProvider.d.ts +2 -1
  22. package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
  23. package/dist/lib/locales/de.d.ts +6 -5
  24. package/dist/lib/locales/de.d.ts.map +1 -1
  25. package/dist/lib/locales/fr.d.ts +6 -5
  26. package/dist/lib/locales/fr.d.ts.map +1 -1
  27. package/dist/lib/locales/index.d.ts +42 -35
  28. package/dist/lib/locales/index.d.ts.map +1 -1
  29. package/dist/lib/locales/it.d.ts +6 -5
  30. package/dist/lib/locales/it.d.ts.map +1 -1
  31. package/dist/lib/locales/ja.d.ts +6 -5
  32. package/dist/lib/locales/ja.d.ts.map +1 -1
  33. package/dist/lib/locales/pt.d.ts +6 -5
  34. package/dist/lib/locales/pt.d.ts.map +1 -1
  35. package/dist/lib/locales/ru.d.ts +6 -5
  36. package/dist/lib/locales/ru.d.ts.map +1 -1
  37. package/dist/lib/locales/zh.d.ts +6 -5
  38. package/dist/lib/locales/zh.d.ts.map +1 -1
  39. package/dist/sdk2.cjs.development.js +140 -108
  40. package/dist/sdk2.cjs.development.js.map +1 -1
  41. package/dist/sdk2.cjs.production.js +1 -1
  42. package/dist/sdk2.cjs.production.js.map +1 -1
  43. package/dist/sdk2.esm.js +140 -108
  44. package/dist/sdk2.esm.js.map +1 -1
  45. package/dist/sdk2.umd.development.js +140 -108
  46. package/dist/sdk2.umd.development.js.map +1 -1
  47. package/dist/sdk2.umd.production.js +1 -1
  48. package/dist/sdk2.umd.production.js.map +1 -1
  49. package/dist/version.d.ts +1 -1
  50. package/package.json +1 -1
@@ -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.81';
214
+ var webSdkVersion = '2.2.83';
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 _x = React.useState(SubmissionStatus.READY),
2149
- submissionStatus = _x[0],
2150
- setSubmissionStatus = _x[1];
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
- submissionResponse = _z[0],
2156
- setSubmissionResponse = _z[1];
2154
+ submissionRequest = _z[0],
2155
+ setSubmissionRequest = _z[1];
2157
2156
  var _0 = React.useState(null),
2158
- submissionError = _0[0],
2159
- setSubmissionError = _0[1];
2157
+ submissionResponse = _0[0],
2158
+ setSubmissionResponse = _0[1];
2160
2159
  var _1 = React.useState(null),
2161
- retrySubmission = _1[0],
2162
- setRetrySubmission = _1[1];
2160
+ submissionError = _1[0],
2161
+ setSubmissionError = _1[1];
2163
2162
  var _2 = React.useState(null),
2164
- livenessCheckRequest = _2[0],
2165
- setLivenessCheckRequest = _2[1];
2163
+ retrySubmission = _2[0],
2164
+ setRetrySubmission = _2[1];
2166
2165
  var _3 = React.useState(null),
2167
- idFrontImage = _3[0],
2168
- setIdFrontImage = _3[1];
2166
+ livenessCheckRequest = _3[0],
2167
+ setLivenessCheckRequest = _3[1];
2169
2168
  var _4 = React.useState(null),
2170
- idBackImage = _4[0],
2171
- setIdBackImage = _4[1];
2169
+ idFrontImage = _4[0],
2170
+ setIdFrontImage = _4[1];
2172
2171
  var _5 = React.useState(null),
2173
- passportImage = _5[0],
2174
- setPassportImage = _5[1];
2172
+ idBackImage = _5[0],
2173
+ setIdBackImage = _5[1];
2175
2174
  var _6 = React.useState(null),
2176
- selfieImage = _6[0],
2177
- setSelfieImage = _6[1];
2175
+ passportImage = _6[0],
2176
+ setPassportImage = _6[1];
2178
2177
  var _7 = React.useState(null),
2179
- signatureData = _7[0],
2180
- setSignatureData = _7[1];
2178
+ selfieImage = _7[0],
2179
+ setSelfieImage = _7[1];
2181
2180
  var _8 = React.useState(null),
2182
- signatureVideoUrl = _8[0],
2183
- setSignatureVideoUrl = _8[1];
2181
+ signatureData = _8[0],
2182
+ setSignatureData = _8[1];
2184
2183
  var _9 = React.useState(null),
2185
- idCaptureVideoUrl = _9[0],
2186
- setIdCaptureVideoUrl = _9[1];
2184
+ signatureVideoUrl = _9[0],
2185
+ setSignatureVideoUrl = _9[1];
2187
2186
  var _10 = React.useState(null),
2188
- idCaptureVideoIdFrontImage = _10[0],
2189
- setIdCaptureVideoIdFrontImage = _10[1];
2187
+ idCaptureVideoUrl = _10[0],
2188
+ setIdCaptureVideoUrl = _10[1];
2190
2189
  var _11 = React.useState(null),
2191
- idCaptureVideoIdBackImage = _11[0],
2192
- setIdCaptureVideoIdBackImage = _11[1];
2190
+ idCaptureVideoIdFrontImage = _11[0],
2191
+ setIdCaptureVideoIdFrontImage = _11[1];
2193
2192
  var _12 = React.useState(null),
2194
- idCaptureVideoAudioUrl = _12[0],
2195
- setIdCaptureVideoAudioUrl = _12[1];
2193
+ idCaptureVideoIdBackImage = _12[0],
2194
+ setIdCaptureVideoIdBackImage = _12[1];
2196
2195
  var _13 = React.useState(null),
2197
- idCaptureVideoAudioStartsAt = _13[0],
2198
- setIdCaptureVideoAudioStartsAt = _13[1];
2196
+ idCaptureVideoAudioUrl = _13[0],
2197
+ setIdCaptureVideoAudioUrl = _13[1];
2199
2198
  var _14 = React.useState(null),
2200
- expectedAudioText = _14[0],
2201
- setExpectedAudioText = _14[1];
2199
+ idCaptureVideoAudioStartsAt = _14[0],
2200
+ setIdCaptureVideoAudioStartsAt = _14[1];
2202
2201
  var _15 = React.useState(null),
2203
- additionalDocuments = _15[0],
2204
- setAdditionalDocuments = _15[1];
2202
+ expectedAudioText = _15[0],
2203
+ setExpectedAudioText = _15[1];
2205
2204
  var _16 = React.useState(null),
2206
- geolocationResult = _16[0],
2207
- setGeolocationResult = _16[1];
2208
- var _17 = React.useState(0),
2209
- geolocationAttempts = _17[0],
2210
- setGeolocationAttempts = _17[1];
2211
- var _18 = React.useState(false),
2212
- geolocationBlocked = _18[0],
2213
- setGeolocationBlocked = _18[1];
2214
- var _19 = React.useState([]),
2215
- idFrontCaptureAttempts = _19[0],
2216
- setIdFrontCaptureAttempts = _19[1];
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
- idBackCaptureAttempts = _20[0],
2219
- setIdBackCaptureAttempts = _20[1];
2217
+ idFrontCaptureAttempts = _20[0],
2218
+ setIdFrontCaptureAttempts = _20[1];
2220
2219
  var _21 = React.useState([]),
2221
- selfieCaptureAttempts = _21[0],
2222
- setSelfieCaptureAttempts = _21[1];
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
- _a.label = 2;
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*/, 4];
2679
+ if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
2675
2680
  return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
2676
- case 3:
2681
+ case 4:
2677
2682
  onBeforeLivenessCheckResult = _a.sent();
2678
2683
  if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
2679
- _a.label = 4;
2680
- case 4:
2684
+ _a.label = 5;
2685
+ case 5:
2681
2686
  setLivenessCheckRequest(request);
2682
2687
  return [2 /*return*/, request];
2683
2688
  }
@@ -14032,6 +14037,7 @@
14032
14037
  };
14033
14038
 
14034
14039
  var de = {
14040
+ 'English - en': 'German - de',
14035
14041
  'Use your device camera to capture your ID': 'Ihre Gerätekamera zur Aufnahme Ihres Ausweises verwenden',
14036
14042
  'Use your iPhone as a webcam': 'Ihr iPhone als Webcam verwenden',
14037
14043
  'Models warming up...': 'Modelle wärmen sich auf...',
@@ -14087,7 +14093,7 @@
14087
14093
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Bitte Augenbedeckung entfernen (Sonnenbrille, Augenklappe usw.)...',
14088
14094
  'Please remove your head coverings (hat scarf etc.)...': 'Bitte Kopfbedeckung abnehmen (Mütze, Schal usw.)...',
14089
14095
  'Please remove your mask...': 'Bitte Maske ablegen...',
14090
- 'Live face not detected please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
14096
+ 'Live face not detected, please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
14091
14097
  Exit: 'Verlassen',
14092
14098
  'Face liveness has been verified!': 'Echtzeit des Gesichts wurde verifiziert!',
14093
14099
  Done: 'Fertig',
@@ -14102,8 +14108,8 @@
14102
14108
  Clear: 'Löschen',
14103
14109
  'Video signature has been successfully captured!': 'Videosignatur wurde erfolgreich erfasst!',
14104
14110
  'Network unreachable': 'Netzwerk nicht erreichbar',
14105
- 'Were having trouble reaching our services please check your connection and try again.': 'Wir haben Probleme, unsere Dienste zu erreichen. Bitte prüfen Sie Ihre Verbindung und versuchen Sie es erneut.',
14106
- 'Were sorry an unexpected error has occurred.': 'Leider ist ein unerwarteter Fehler aufgetreten.',
14111
+ "We're having trouble reaching our services please check your connection and try again.": 'Wir haben Probleme, unsere Dienste zu erreichen. Bitte prüfen Sie Ihre Verbindung und versuchen Sie es erneut.',
14112
+ "We're sorry an unexpected error has occurred.": 'Leider ist ein unerwarteter Fehler aufgetreten.',
14107
14113
  'Document Capture': 'Dokument erfassen',
14108
14114
  Capture: 'Erfassen',
14109
14115
  'Retry capture': 'Erfassung erneut versuchen',
@@ -14120,7 +14126,7 @@
14120
14126
  'Video ID has been successfully captured!': 'Video-ID wurde erfolgreich erfasst!',
14121
14127
  'ID Front Image': 'Bild Ausweisvorderseite',
14122
14128
  'ID Back Image': 'Bild Ausweisrückseite',
14123
- 'Were having some trouble.': 'Wir haben Probleme.',
14129
+ "We're having some trouble.": 'Wir haben Probleme.',
14124
14130
  'On-device capture guidance failed please capture a selfie manually.': 'Leitfaden zur Erfassung am Gerät fehlgeschlagen, bitte manuell ein Selfie erfassen.',
14125
14131
  'Verifying...': 'Verifizierung ...',
14126
14132
  'Please capture the front of your ID card.': 'Bitte die Vorderseite Ihres Ausweises erfassen.',
@@ -14139,12 +14145,13 @@
14139
14145
  'Camera ready': 'Kamera bereit',
14140
14146
  'Loading guided capture experience...': 'Geführte Erfassung wird geladen...',
14141
14147
  'Guided capture experience ready': 'Geführte Erfassung bereit',
14142
- 'Lets Go!': 'Los geht‘s!',
14148
+ "Let's Go!": 'Los geht‘s!',
14143
14149
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'Wir haben Probleme, die richtige Seite Ihres Ausweises zu erkennen. Möchten Sie dennoch mit der Erfassung fortfahren?',
14144
14150
  OK: 'OK'
14145
14151
  };
14146
14152
 
14147
14153
  var fr = {
14154
+ 'English - en': 'French - fr',
14148
14155
  'Use your device camera to capture your ID': 'Utilisez la caméra de votre appareil pour capturer votre ID',
14149
14156
  'Use your iPhone as a webcam': 'Utiliser votre iPhone comme Webcam',
14150
14157
  'Models warming up...': "Les modèles s'échauffent...",
@@ -14200,7 +14207,7 @@
14200
14207
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Veuillez retirer ce qui recouvre vos yeux (lunettes de soleil, cache-œil, etc.)...',
14201
14208
  'Please remove your head coverings (hat scarf etc.)...': 'Veuillez retirer vos couvre-chefs (chapeau, foulard, etc.)...',
14202
14209
  'Please remove your mask...': 'Veuillez retirer votre masque...',
14203
- 'Live face not detected please try again': 'Visage vivant non détecté veuillez réessayer',
14210
+ 'Live face not detected, please try again': 'Visage vivant non détecté veuillez réessayer',
14204
14211
  Exit: 'Quitter',
14205
14212
  'Face liveness has been verified!': 'Le caractère vivant du visage a été vérifié!',
14206
14213
  Done: 'Fini',
@@ -14215,8 +14222,8 @@
14215
14222
  Clear: 'Effacer',
14216
14223
  'Video signature has been successfully captured!': 'La signature vidéo a été capturée avec succès!',
14217
14224
  'Network unreachable': 'Réseau inaccessible',
14218
- 'Were having trouble reaching our services please check your connection and try again.': 'Nous rencontrons des difficultés pour accéder à nos services, veuillez vérifier votre connexion et réessayer.',
14219
- 'Were sorry an unexpected error has occurred.': 'Nous sommes désolés, une erreur inattendue est survenue.',
14225
+ "We're having trouble reaching our services please check your connection and try again.": 'Nous rencontrons des difficultés pour accéder à nos services, veuillez vérifier votre connexion et réessayer.',
14226
+ "We're sorry an unexpected error has occurred.": 'Nous sommes désolés, une erreur inattendue est survenue.',
14220
14227
  'Document Capture': 'Capture de document',
14221
14228
  Capture: 'Capturer',
14222
14229
  'Retry capture': 'Réessayer la capture',
@@ -14233,7 +14240,7 @@
14233
14240
  'Video ID has been successfully captured!': 'L’ID vidéo a été capturé avec succès!',
14234
14241
  'ID Front Image': 'Image recto de la pièce d’identité',
14235
14242
  'ID Back Image': 'Image verso de la pièce d’identité',
14236
- 'Were having some trouble.': 'Nous rencontrons quelques problèmes.',
14243
+ "We're having some trouble.": 'Nous rencontrons quelques problèmes.',
14237
14244
  'On-device capture guidance failed please capture a selfie manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer un selfie manuellement.",
14238
14245
  'Verifying...': 'Vérification en cours...',
14239
14246
  'Please capture the front of your ID card.': "Veuillez capturer le recto de votre carte d'identité.",
@@ -14252,12 +14259,13 @@
14252
14259
  'Camera ready': 'Caméra prête',
14253
14260
  'Loading guided capture experience...': "Chargement de l'expérience de capture guidée...",
14254
14261
  'Guided capture experience ready': 'Expérience de capture guidée prête',
14255
- 'Lets Go!': 'Allons-y !',
14262
+ "Let's Go!": 'Allons-y !',
14256
14263
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': "Nous rencontrons des difficultés pour identifier la bonne face de votre pièce d'identité. Voulez-vous quand même continuer la capture ?",
14257
14264
  OK: 'OK'
14258
14265
  };
14259
14266
 
14260
14267
  var it = {
14268
+ 'English - en': 'Italian - it',
14261
14269
  'Use your device camera to capture your ID': 'Utilizzare la fotocamera del dispositivo per acquisire il documento',
14262
14270
  'Use your iPhone as a webcam': 'Utilizza iPhone come webcam',
14263
14271
  'Models warming up...': 'Riscaldamento modelli...',
@@ -14313,7 +14321,7 @@
14313
14321
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Rimuovere tutto ciò che copre gli occhi (occhiali da sole, bende, ecc.)...',
14314
14322
  'Please remove your head coverings (hat scarf etc.)...': 'Rimuovere tutto ciò che ricopre il capo (cappello, sciarpa, ecc.)...',
14315
14323
  'Please remove your mask...': 'Rimuovere la mascherina...',
14316
- 'Live face not detected please try again': 'Volto reale non rilevato riprovare',
14324
+ 'Live face not detected, please try again': 'Volto reale non rilevato riprovare',
14317
14325
  Exit: 'Esci',
14318
14326
  'Face liveness has been verified!': 'Verifica del volto eseguita!',
14319
14327
  Done: 'Fatto',
@@ -14328,8 +14336,8 @@
14328
14336
  Clear: 'Cancella',
14329
14337
  'Video signature has been successfully captured!': 'La firma video è stata acquisita correttamente!',
14330
14338
  'Network unreachable': 'Rete non raggiungibile',
14331
- 'Were having trouble reaching our services please check your connection and try again.': 'Si è verificato un problema nel raggiungere i nostri servizi, verificare la connessione e riprovare.',
14332
- 'Were sorry an unexpected error has occurred.': 'Spiacenti, si è verificato un errore inatteso.',
14339
+ "We're having trouble reaching our services please check your connection and try again.": 'Si è verificato un problema nel raggiungere i nostri servizi, verificare la connessione e riprovare.',
14340
+ "We're sorry an unexpected error has occurred.": 'Spiacenti, si è verificato un errore inatteso.',
14333
14341
  'Document Capture': 'Acquisizione documento',
14334
14342
  Capture: 'Acquisisci',
14335
14343
  'Retry capture': 'Riprova acquisizione',
@@ -14346,7 +14354,7 @@
14346
14354
  'Video ID has been successfully captured!': 'L’ID video è stato acquisito correttamente!',
14347
14355
  'ID Front Image': 'Immagine fronte documento d’identità',
14348
14356
  'ID Back Image': 'Immagine retro documento d’identità',
14349
- 'Were having some trouble.': 'Si è verificato un problema.',
14357
+ "We're having some trouble.": 'Si è verificato un problema.',
14350
14358
  'On-device capture guidance failed please capture a selfie manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Scattare un selfie manualmente.",
14351
14359
  'Verifying...': 'Verifica...',
14352
14360
  'Please capture the front of your ID card.': 'Acquisire il fronte del documento d’identità.',
@@ -14365,12 +14373,13 @@
14365
14373
  'Camera ready': 'Fotocamera pronta',
14366
14374
  'Loading guided capture experience...': "Caricamento dell'esperienza di acquisizione guidata...",
14367
14375
  'Guided capture experience ready': 'Esperienza di acquisizione guidata pronta',
14368
- 'Lets Go!': 'Iniziamo!',
14376
+ "Let's Go!": 'Iniziamo!',
14369
14377
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': "Si stanno verificando problemi nell'identificare il lato corretto del documento d'identità. Procedere con l'acquisizione?",
14370
14378
  OK: 'OK'
14371
14379
  };
14372
14380
 
14373
14381
  var ja = {
14382
+ 'English - en': 'Japanese - ja',
14374
14383
  'Use your device camera to capture your ID': 'デバイスのカメラを使用して身分証を撮影してください',
14375
14384
  'Use your iPhone as a webcam': 'iPhoneをウェブカムとして使用',
14376
14385
  'Models warming up...': 'モデルをウォームアップ中…',
@@ -14426,7 +14435,7 @@
14426
14435
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '目を覆うもの(サングラスや眼帯など)を取り外してください…',
14427
14436
  'Please remove your head coverings (hat scarf etc.)...': '頭を覆うもの(帽子やスカーフなど)を取り外してください…',
14428
14437
  'Please remove your mask...': 'マスクを取り外してください…',
14429
- 'Live face not detected please try again': '顔のライブネスが検出されません。再度お試しください',
14438
+ 'Live face not detected, please try again': '顔のライブネスが検出されません。再度お試しください',
14430
14439
  Exit: '終了',
14431
14440
  'Face liveness has been verified!': '顔のライブネスが認証されました',
14432
14441
  Done: '完了',
@@ -14441,8 +14450,8 @@
14441
14450
  Clear: '消去',
14442
14451
  'Video signature has been successfully captured!': 'ビデオ署名を撮影しました',
14443
14452
  'Network unreachable': 'ネットワークに接続できません',
14444
- 'Were having trouble reaching our services please check your connection and try again.': 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
14445
- 'Were sorry an unexpected error has occurred.': '不慮のエラーが発生しました。申し訳ありません。',
14453
+ "We're having trouble reaching our services please check your connection and try again.": 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
14454
+ "We're sorry an unexpected error has occurred.": '不慮のエラーが発生しました。申し訳ありません。',
14446
14455
  'Document Capture': 'ドキュメントの撮影',
14447
14456
  Capture: '撮影',
14448
14457
  'Retry capture': '撮影のやりなおし',
@@ -14459,7 +14468,7 @@
14459
14468
  'Video ID has been successfully captured!': 'ビデオ身分を撮影しました',
14460
14469
  'ID Front Image': '身分証の正面画像',
14461
14470
  'ID Back Image': '身分証の背面画像',
14462
- 'Were having some trouble.': '問題が発生しました。',
14471
+ "We're having some trouble.": '問題が発生しました。',
14463
14472
  'On-device capture guidance failed please capture a selfie manually.': 'デバイスの撮影ガイダンスが動作しません。手動でセルフィーを撮影してください。',
14464
14473
  'Verifying...': '検証中…',
14465
14474
  'Please capture the front of your ID card.': '身分証の正面を撮影してください…',
@@ -14478,12 +14487,13 @@
14478
14487
  'Camera ready': 'カメラが準備完了',
14479
14488
  'Loading guided capture experience...': '撮影ガイダンスのエクスペリエンスを読み込み中…',
14480
14489
  'Guided capture experience ready': '撮影ガイダンスのエクスペリエンスが準備完了',
14481
- 'Lets Go!': '始めましょう',
14490
+ "Let's Go!": '始めましょう',
14482
14491
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '身分証の正しい寸法を特定できません。それでも撮影を続行しますか?',
14483
14492
  OK: 'OK'
14484
14493
  };
14485
14494
 
14486
14495
  var pt = {
14496
+ 'English - en': 'Portuguese (Brazil) - pt',
14487
14497
  'Use your device camera to capture your ID': 'Usar a câmera do dispositivo para fotografar sua identidade',
14488
14498
  'Use your iPhone as a webcam': 'Use seu iPhone como uma câmera Web',
14489
14499
  'Models warming up...': 'Modelos aquecendo...',
@@ -14539,7 +14549,7 @@
14539
14549
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Por favor, remova as coberturas dos olhos (óculos de sol, tapa-olho, etc.)...',
14540
14550
  'Please remove your head coverings (hat scarf etc.)...': 'Por favor, remova as coberturas da cabeça (chapéu, cachecol, etc.)...',
14541
14551
  'Please remove your mask...': 'Por favor, remova sua máscara...',
14542
- 'Live face not detected please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
14552
+ 'Live face not detected, please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
14543
14553
  Exit: 'Sair',
14544
14554
  'Face liveness has been verified!': 'A veracidade do rosto foi verificada!',
14545
14555
  Done: 'Concluído',
@@ -14554,8 +14564,8 @@
14554
14564
  Clear: 'Apagar',
14555
14565
  'Video signature has been successfully captured!': 'A assinatura de vídeo foi capturada com sucesso!',
14556
14566
  'Network unreachable': 'Rede inacessível',
14557
- 'Were having trouble reaching our services please check your connection and try again.': 'Estamos com dificuldades para acessar nossos serviços, verifique sua conexão e tente novamente.',
14558
- 'Were sorry an unexpected error has occurred.': 'Lamentamos, mas ocorreu um erro inesperado.',
14567
+ "We're having trouble reaching our services please check your connection and try again.": 'Estamos com dificuldades para acessar nossos serviços, verifique sua conexão e tente novamente.',
14568
+ "We're sorry an unexpected error has occurred.": 'Lamentamos, mas ocorreu um erro inesperado.',
14559
14569
  'Document Capture': 'Captura de Documento',
14560
14570
  Capture: 'Capturar',
14561
14571
  'Retry capture': 'Repetir captura',
@@ -14572,7 +14582,7 @@
14572
14582
  'Video ID has been successfully captured!': 'O vídeo de identificação foi capturado com sucesso!',
14573
14583
  'ID Front Image': 'Imagem frontal da ID',
14574
14584
  'ID Back Image': 'Imagem traseira da ID',
14575
- 'Were having some trouble.': 'Estamos tendo alguns problemas.',
14585
+ "We're having some trouble.": 'Estamos tendo alguns problemas.',
14576
14586
  'On-device capture guidance failed please capture a selfie manually.': 'A orientação de captura no dispositivo falhou, capture uma selfie manualmente.',
14577
14587
  'Verifying...': 'Verificando...',
14578
14588
  'Please capture the front of your ID card.': 'Capture a frente da sua carteira de identidade.',
@@ -14591,12 +14601,13 @@
14591
14601
  'Camera ready': 'Câmera pronta',
14592
14602
  'Loading guided capture experience...': 'Carregando a experiência de captura guiada...',
14593
14603
  'Guided capture experience ready': 'Experiência de captura guiada pronta',
14594
- 'Lets Go!': 'Vamos lá!',
14604
+ "Let's Go!": 'Vamos lá!',
14595
14605
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'Estamos com dificuldades para identificar o lado correto da sua identidade. Deseja continuar com a captura mesmo assim?',
14596
14606
  OK: 'OK'
14597
14607
  };
14598
14608
 
14599
14609
  var ru = {
14610
+ 'English - en': 'Russian - ru',
14600
14611
  'Use your device camera to capture your ID': 'Используйте камеру вашего устройства для съемки удостоверения личности',
14601
14612
  'Use your iPhone as a webcam': 'Используйте iPhone в качестве веб-камеры',
14602
14613
  'Models warming up...': 'Модели разогреваются…',
@@ -14652,7 +14663,7 @@
14652
14663
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Снимите предметы, закрывающие глаза (солнцезащитные очки, повязку и т.д.)…',
14653
14664
  'Please remove your head coverings (hat scarf etc.)...': 'Снимите предметы, покрывающие голову (шапку, шарф и т.д.)…',
14654
14665
  'Please remove your mask...': 'Снимите маску…',
14655
- 'Live face not detected please try again': 'Реальное лицо не обнаружено, повторите попытку',
14666
+ 'Live face not detected, please try again': 'Реальное лицо не обнаружено, повторите попытку',
14656
14667
  Exit: 'Выход',
14657
14668
  'Face liveness has been verified!': 'Реальность лица проверена!',
14658
14669
  Done: 'Готово',
@@ -14667,8 +14678,8 @@
14667
14678
  Clear: 'Очистить',
14668
14679
  'Video signature has been successfully captured!': 'Видеоподпись успешно записана!',
14669
14680
  'Network unreachable': 'Сеть недоступна',
14670
- 'Were having trouble reaching our services please check your connection and try again.': 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
14671
- 'Were sorry an unexpected error has occurred.': 'К сожалению, произошла непредвиденная ошибка.',
14681
+ "We're having trouble reaching our services please check your connection and try again.": 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
14682
+ "We're sorry an unexpected error has occurred.": 'К сожалению, произошла непредвиденная ошибка.',
14672
14683
  'Document Capture': 'Съемка документа',
14673
14684
  Capture: 'Съемка',
14674
14685
  'Retry capture': 'Повторить съемку',
@@ -14685,7 +14696,7 @@
14685
14696
  'Video ID has been successfully captured!': 'Видеоидентификация успешно выполнена!',
14686
14697
  'ID Front Image': 'Изображение лицевой стороны удостоверения личности',
14687
14698
  'ID Back Image': 'Изображение обратной стороны удостоверения личности',
14688
- 'Were having some trouble.': 'Возникли некоторые проблемы.',
14699
+ "We're having some trouble.": 'Возникли некоторые проблемы.',
14689
14700
  'On-device capture guidance failed please capture a selfie manually.': 'Произошел сбой при выполнении руководства по съемке в устройстве, сделайте селфи вручную.',
14690
14701
  'Verifying...': 'Идентификация…',
14691
14702
  'Please capture the front of your ID card.': 'Снимите лицевую сторону вашего удостоверения личности.',
@@ -14704,12 +14715,13 @@
14704
14715
  'Camera ready': 'Камера готова',
14705
14716
  'Loading guided capture experience...': 'Загрузка данных опыта управляемой съемки…',
14706
14717
  'Guided capture experience ready': 'Данные опыта управляемой съемки готовы',
14707
- 'Lets Go!': 'Поехали!',
14718
+ "Let's Go!": 'Поехали!',
14708
14719
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'У нас возникли проблемы с определением правильной стороны вашего удостоверения личности. Все равно хотите продолжить съемку?',
14709
14720
  OK: 'OK'
14710
14721
  };
14711
14722
 
14712
14723
  var zh = {
14724
+ 'English - en': 'Chinese (Traditional) - zh',
14713
14725
  'Use your device camera to capture your ID': '使用裝置相機拍攝證件',
14714
14726
  'Use your iPhone as a webcam': '將 iPhone 當作網路攝影機使用',
14715
14727
  'Models warming up...': '正在暖機...',
@@ -14765,7 +14777,7 @@
14765
14777
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '請取下眼睛遮蓋物(太陽眼鏡、眼罩等)...',
14766
14778
  'Please remove your head coverings (hat scarf etc.)...': '請取下頭部遮蓋物(帽子、圍巾等)...',
14767
14779
  'Please remove your mask...': '請脫下口罩...',
14768
- 'Live face not detected please try again': '未偵測到活體人臉,請再試一次',
14780
+ 'Live face not detected, please try again': '未偵測到活體人臉,請再試一次',
14769
14781
  Exit: '退出',
14770
14782
  'Face liveness has been verified!': '已驗證人臉活體!',
14771
14783
  Done: '完成',
@@ -14780,8 +14792,8 @@
14780
14792
  Clear: '清除',
14781
14793
  'Video signature has been successfully captured!': '已成功拍攝影片簽名!',
14782
14794
  'Network unreachable': '網路無法連線',
14783
- 'Were having trouble reaching our services please check your connection and try again.': '無法與服務連線,請檢查連線並再試一次。',
14784
- 'Were sorry an unexpected error has occurred.': '很抱歉,發生非預期錯誤。',
14795
+ "We're having trouble reaching our services please check your connection and try again.": '無法與服務連線,請檢查連線並再試一次。',
14796
+ "We're sorry an unexpected error has occurred.": '很抱歉,發生非預期錯誤。',
14785
14797
  'Document Capture': '文件拍攝',
14786
14798
  Capture: '拍攝',
14787
14799
  'Retry capture': '重試拍攝',
@@ -14798,7 +14810,7 @@
14798
14810
  'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
14799
14811
  'ID Front Image': '證件正面影像',
14800
14812
  'ID Back Image': '證件背面影像',
14801
- 'Were having some trouble.': '發生一些問題。',
14813
+ "We're having some trouble.": '發生一些問題。',
14802
14814
  'On-device capture guidance failed please capture a selfie manually.': '裝置上拍攝引導失敗,請手動拍攝自拍照',
14803
14815
  'Verifying...': '正在驗證...',
14804
14816
  'Please capture the front of your ID card.': '請拍攝證件正面。',
@@ -14817,7 +14829,7 @@
14817
14829
  'Camera ready': '相機就緒',
14818
14830
  'Loading guided capture experience...': '正在載入引導式拍攝體驗...',
14819
14831
  'Guided capture experience ready': '引導式拍攝體驗就緒',
14820
- 'Lets Go!': '開始!',
14832
+ "Let's Go!": '開始!',
14821
14833
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '無法識別證件的正確一面,是否仍要繼續拍攝?',
14822
14834
  OK: '確定'
14823
14835
  };
@@ -24035,6 +24047,7 @@
24035
24047
  webhooksFireOnReview = _a.webhooksFireOnReview,
24036
24048
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
24037
24049
  customerDataMatchConfig = _a.customerDataMatchConfig,
24050
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
24038
24051
  precapturedDocuments = _a.precapturedDocuments,
24039
24052
  _c = _a.loadingOverlayMode,
24040
24053
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -24206,7 +24219,8 @@
24206
24219
  onSubmit: onSubmit,
24207
24220
  onResponseReceived: onResponseReceived,
24208
24221
  geolocationEnabled: geolocationEnabled,
24209
- geolocationRequired: geolocationRequired
24222
+ geolocationRequired: geolocationRequired,
24223
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
24210
24224
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
24211
24225
  checks: React.useMemo(function () {
24212
24226
  return ['IdCapture'];
@@ -24242,6 +24256,7 @@
24242
24256
  webhooksFireOnReview = _c === void 0 ? false : _c,
24243
24257
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
24244
24258
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
24259
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
24245
24260
  _d = _a.loadingOverlayMode,
24246
24261
  loadingOverlayMode = _d === void 0 ? 'default' : _d,
24247
24262
  _e = _a.timeoutDurationMs,
@@ -24325,7 +24340,8 @@
24325
24340
  onDocumentUploadFailed: onDocumentUploadFailed,
24326
24341
  onBeforeLivenessCheck: onBeforeSubmit,
24327
24342
  geolocationEnabled: geolocationEnabled,
24328
- geolocationRequired: geolocationRequired
24343
+ geolocationRequired: geolocationRequired,
24344
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
24329
24345
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
24330
24346
  checks: React.useMemo(function () {
24331
24347
  return ['FaceLiveness'];
@@ -24366,6 +24382,7 @@
24366
24382
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
24367
24383
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
24368
24384
  customerDataMatchConfig = _a.customerDataMatchConfig,
24385
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
24369
24386
  precapturedDocuments = _a.precapturedDocuments,
24370
24387
  _c = _a.idCaptureLoadingOverlayMode,
24371
24388
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -24562,7 +24579,8 @@
24562
24579
  onSubmit: onSubmit,
24563
24580
  onResponseReceived: onResponseReceived,
24564
24581
  geolocationEnabled: geolocationEnabled,
24565
- geolocationRequired: geolocationRequired
24582
+ geolocationRequired: geolocationRequired,
24583
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
24566
24584
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
24567
24585
  checks: checks,
24568
24586
  idCaptureProps: idCaptureProps,
@@ -24611,6 +24629,7 @@
24611
24629
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
24612
24630
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
24613
24631
  customerDataMatchConfig = _a.customerDataMatchConfig,
24632
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
24614
24633
  _c = _a.idCaptureLoadingOverlayMode,
24615
24634
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
24616
24635
  _d = _a.idCaptureRequirement,
@@ -24824,7 +24843,8 @@
24824
24843
  onSubmit: onSubmit,
24825
24844
  onResponseReceived: onResponseReceived,
24826
24845
  geolocationEnabled: geolocationEnabled,
24827
- geolocationRequired: geolocationRequired
24846
+ geolocationRequired: geolocationRequired,
24847
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
24828
24848
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
24829
24849
  checks: checks,
24830
24850
  idCaptureProps: idCaptureProps,
@@ -25313,6 +25333,7 @@
25313
25333
  webhooksSendInputImages = _a.webhooksSendInputImages,
25314
25334
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
25315
25335
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
25336
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
25316
25337
  _c = _a.loadingOverlayMode,
25317
25338
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
25318
25339
  _d = _a.timeoutDurationMs,
@@ -25375,7 +25396,8 @@
25375
25396
  onBeforeSubmit: onBeforeSubmit,
25376
25397
  onSubmit: onSubmit,
25377
25398
  geolocationEnabled: geolocationEnabled,
25378
- geolocationRequired: geolocationRequired
25399
+ geolocationRequired: geolocationRequired,
25400
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
25379
25401
  }, /*#__PURE__*/React.createElement(CameraStoreProvider, {
25380
25402
  preferFrontFacingCamera: true,
25381
25403
  onCameraAccessDenied: onCameraAccessDenied
@@ -25871,6 +25893,7 @@
25871
25893
  webhooksSendInputImages = _a.webhooksSendInputImages,
25872
25894
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
25873
25895
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
25896
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
25874
25897
  _c = _a.loadingOverlayMode,
25875
25898
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
25876
25899
  _d = _a.timeoutDurationMs,
@@ -25932,7 +25955,8 @@
25932
25955
  onBeforeSubmit: onBeforeSubmit,
25933
25956
  onSubmit: onSubmit,
25934
25957
  geolocationEnabled: geolocationEnabled,
25935
- geolocationRequired: geolocationRequired
25958
+ geolocationRequired: geolocationRequired,
25959
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
25936
25960
  }, /*#__PURE__*/React.createElement(CameraStoreProvider, {
25937
25961
  preferFrontFacingCamera: true,
25938
25962
  onCameraAccessDenied: onCameraAccessDenied
@@ -25969,6 +25993,7 @@
25969
25993
  submissionUrl = _a.submissionUrl,
25970
25994
  documentServiceUrl = _a.documentServiceUrl,
25971
25995
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
25996
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
25972
25997
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
25973
25998
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
25974
25999
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -26022,7 +26047,8 @@
26022
26047
  onSubmit: onSubmit,
26023
26048
  onResponseReceived: onComplete,
26024
26049
  geolocationEnabled: geolocationEnabled,
26025
- geolocationRequired: geolocationRequired
26050
+ geolocationRequired: geolocationRequired,
26051
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
26026
26052
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
26027
26053
  debugMode: debugMode,
26028
26054
  checks: React.useMemo(function () {
@@ -26080,6 +26106,7 @@
26080
26106
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
26081
26107
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
26082
26108
  customerDataMatchConfig = _a.customerDataMatchConfig,
26109
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
26083
26110
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
26084
26111
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
26085
26112
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -26258,7 +26285,8 @@
26258
26285
  onBeforeSubmit: onBeforeSubmit,
26259
26286
  onResponseReceived: onComplete,
26260
26287
  geolocationEnabled: geolocationEnabled,
26261
- geolocationRequired: geolocationRequired
26288
+ geolocationRequired: geolocationRequired,
26289
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
26262
26290
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
26263
26291
  checks: React.useMemo(function () {
26264
26292
  return ['VideoIdCapture'];
@@ -26297,6 +26325,7 @@
26297
26325
  webhooksFireOnReview = _a.webhooksFireOnReview,
26298
26326
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
26299
26327
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
26328
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
26300
26329
  _c = _a.loadingOverlayMode,
26301
26330
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
26302
26331
  _d = _a.timeoutDurationMs,
@@ -26423,7 +26452,8 @@
26423
26452
  onSubmit: onSubmit,
26424
26453
  onResponseReceived: onResponseReceived,
26425
26454
  geolocationEnabled: geolocationEnabled,
26426
- geolocationRequired: geolocationRequired
26455
+ geolocationRequired: geolocationRequired,
26456
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
26427
26457
  }, /*#__PURE__*/React.createElement(CompositeWizard, {
26428
26458
  checks: React.useMemo(function () {
26429
26459
  return ['FaceLiveness'];
@@ -26450,6 +26480,7 @@
26450
26480
  submissionUrl = _a.submissionUrl,
26451
26481
  documentServiceUrl = _a.documentServiceUrl,
26452
26482
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
26483
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
26453
26484
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
26454
26485
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
26455
26486
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -26492,7 +26523,8 @@
26492
26523
  onDocumentUploaded: onDocumentUploaded,
26493
26524
  onDocumentUploadFailed: onDocumentUploadFailed,
26494
26525
  geolocationEnabled: geolocationEnabled,
26495
- geolocationRequired: geolocationRequired
26526
+ geolocationRequired: geolocationRequired,
26527
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
26496
26528
  }, /*#__PURE__*/React.createElement(CameraStoreProvider, {
26497
26529
  requestAccessAutomatically: false,
26498
26530
  preferIphoneContinuityCamera: true,