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
@@ -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.81';
237
+ var webSdkVersion = '2.2.83';
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 _x = React.useState(SubmissionStatus.READY),
1208
- submissionStatus = _x[0],
1209
- setSubmissionStatus = _x[1];
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
- submissionResponse = _z[0],
1215
- setSubmissionResponse = _z[1];
1213
+ submissionRequest = _z[0],
1214
+ setSubmissionRequest = _z[1];
1216
1215
  var _0 = React.useState(null),
1217
- submissionError = _0[0],
1218
- setSubmissionError = _0[1];
1216
+ submissionResponse = _0[0],
1217
+ setSubmissionResponse = _0[1];
1219
1218
  var _1 = React.useState(null),
1220
- retrySubmission = _1[0],
1221
- setRetrySubmission = _1[1];
1219
+ submissionError = _1[0],
1220
+ setSubmissionError = _1[1];
1222
1221
  var _2 = React.useState(null),
1223
- livenessCheckRequest = _2[0],
1224
- setLivenessCheckRequest = _2[1];
1222
+ retrySubmission = _2[0],
1223
+ setRetrySubmission = _2[1];
1225
1224
  var _3 = React.useState(null),
1226
- idFrontImage = _3[0],
1227
- setIdFrontImage = _3[1];
1225
+ livenessCheckRequest = _3[0],
1226
+ setLivenessCheckRequest = _3[1];
1228
1227
  var _4 = React.useState(null),
1229
- idBackImage = _4[0],
1230
- setIdBackImage = _4[1];
1228
+ idFrontImage = _4[0],
1229
+ setIdFrontImage = _4[1];
1231
1230
  var _5 = React.useState(null),
1232
- passportImage = _5[0],
1233
- setPassportImage = _5[1];
1231
+ idBackImage = _5[0],
1232
+ setIdBackImage = _5[1];
1234
1233
  var _6 = React.useState(null),
1235
- selfieImage = _6[0],
1236
- setSelfieImage = _6[1];
1234
+ passportImage = _6[0],
1235
+ setPassportImage = _6[1];
1237
1236
  var _7 = React.useState(null),
1238
- signatureData = _7[0],
1239
- setSignatureData = _7[1];
1237
+ selfieImage = _7[0],
1238
+ setSelfieImage = _7[1];
1240
1239
  var _8 = React.useState(null),
1241
- signatureVideoUrl = _8[0],
1242
- setSignatureVideoUrl = _8[1];
1240
+ signatureData = _8[0],
1241
+ setSignatureData = _8[1];
1243
1242
  var _9 = React.useState(null),
1244
- idCaptureVideoUrl = _9[0],
1245
- setIdCaptureVideoUrl = _9[1];
1243
+ signatureVideoUrl = _9[0],
1244
+ setSignatureVideoUrl = _9[1];
1246
1245
  var _10 = React.useState(null),
1247
- idCaptureVideoIdFrontImage = _10[0],
1248
- setIdCaptureVideoIdFrontImage = _10[1];
1246
+ idCaptureVideoUrl = _10[0],
1247
+ setIdCaptureVideoUrl = _10[1];
1249
1248
  var _11 = React.useState(null),
1250
- idCaptureVideoIdBackImage = _11[0],
1251
- setIdCaptureVideoIdBackImage = _11[1];
1249
+ idCaptureVideoIdFrontImage = _11[0],
1250
+ setIdCaptureVideoIdFrontImage = _11[1];
1252
1251
  var _12 = React.useState(null),
1253
- idCaptureVideoAudioUrl = _12[0],
1254
- setIdCaptureVideoAudioUrl = _12[1];
1252
+ idCaptureVideoIdBackImage = _12[0],
1253
+ setIdCaptureVideoIdBackImage = _12[1];
1255
1254
  var _13 = React.useState(null),
1256
- idCaptureVideoAudioStartsAt = _13[0],
1257
- setIdCaptureVideoAudioStartsAt = _13[1];
1255
+ idCaptureVideoAudioUrl = _13[0],
1256
+ setIdCaptureVideoAudioUrl = _13[1];
1258
1257
  var _14 = React.useState(null),
1259
- expectedAudioText = _14[0],
1260
- setExpectedAudioText = _14[1];
1258
+ idCaptureVideoAudioStartsAt = _14[0],
1259
+ setIdCaptureVideoAudioStartsAt = _14[1];
1261
1260
  var _15 = React.useState(null),
1262
- additionalDocuments = _15[0],
1263
- setAdditionalDocuments = _15[1];
1261
+ expectedAudioText = _15[0],
1262
+ setExpectedAudioText = _15[1];
1264
1263
  var _16 = React.useState(null),
1265
- geolocationResult = _16[0],
1266
- setGeolocationResult = _16[1];
1267
- var _17 = React.useState(0),
1268
- geolocationAttempts = _17[0],
1269
- setGeolocationAttempts = _17[1];
1270
- var _18 = React.useState(false),
1271
- geolocationBlocked = _18[0],
1272
- setGeolocationBlocked = _18[1];
1273
- var _19 = React.useState([]),
1274
- idFrontCaptureAttempts = _19[0],
1275
- setIdFrontCaptureAttempts = _19[1];
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
- idBackCaptureAttempts = _20[0],
1278
- setIdBackCaptureAttempts = _20[1];
1276
+ idFrontCaptureAttempts = _20[0],
1277
+ setIdFrontCaptureAttempts = _20[1];
1279
1278
  var _21 = React.useState([]),
1280
- selfieCaptureAttempts = _21[0],
1281
- setSelfieCaptureAttempts = _21[1];
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
- _a.label = 2;
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*/, 4];
1738
+ if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
1734
1739
  return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
1735
- case 3:
1740
+ case 4:
1736
1741
  onBeforeLivenessCheckResult = _a.sent();
1737
1742
  if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
1738
- _a.label = 4;
1739
- case 4:
1743
+ _a.label = 5;
1744
+ case 5:
1740
1745
  setLivenessCheckRequest(request);
1741
1746
  return [2 /*return*/, request];
1742
1747
  }
@@ -5063,6 +5068,7 @@ var es = {
5063
5068
  };
5064
5069
 
5065
5070
  var de = {
5071
+ 'English - en': 'German - de',
5066
5072
  'Use your device camera to capture your ID': 'Ihre Gerätekamera zur Aufnahme Ihres Ausweises verwenden',
5067
5073
  'Use your iPhone as a webcam': 'Ihr iPhone als Webcam verwenden',
5068
5074
  'Models warming up...': 'Modelle wärmen sich auf...',
@@ -5118,7 +5124,7 @@ var de = {
5118
5124
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Bitte Augenbedeckung entfernen (Sonnenbrille, Augenklappe usw.)...',
5119
5125
  'Please remove your head coverings (hat scarf etc.)...': 'Bitte Kopfbedeckung abnehmen (Mütze, Schal usw.)...',
5120
5126
  'Please remove your mask...': 'Bitte Maske ablegen...',
5121
- 'Live face not detected please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
5127
+ 'Live face not detected, please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
5122
5128
  Exit: 'Verlassen',
5123
5129
  'Face liveness has been verified!': 'Echtzeit des Gesichts wurde verifiziert!',
5124
5130
  Done: 'Fertig',
@@ -5133,8 +5139,8 @@ var de = {
5133
5139
  Clear: 'Löschen',
5134
5140
  'Video signature has been successfully captured!': 'Videosignatur wurde erfolgreich erfasst!',
5135
5141
  'Network unreachable': 'Netzwerk nicht erreichbar',
5136
- '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.',
5137
- 'Were sorry an unexpected error has occurred.': 'Leider ist ein unerwarteter Fehler aufgetreten.',
5142
+ "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.',
5143
+ "We're sorry an unexpected error has occurred.": 'Leider ist ein unerwarteter Fehler aufgetreten.',
5138
5144
  'Document Capture': 'Dokument erfassen',
5139
5145
  Capture: 'Erfassen',
5140
5146
  'Retry capture': 'Erfassung erneut versuchen',
@@ -5151,7 +5157,7 @@ var de = {
5151
5157
  'Video ID has been successfully captured!': 'Video-ID wurde erfolgreich erfasst!',
5152
5158
  'ID Front Image': 'Bild Ausweisvorderseite',
5153
5159
  'ID Back Image': 'Bild Ausweisrückseite',
5154
- 'Were having some trouble.': 'Wir haben Probleme.',
5160
+ "We're having some trouble.": 'Wir haben Probleme.',
5155
5161
  'On-device capture guidance failed please capture a selfie manually.': 'Leitfaden zur Erfassung am Gerät fehlgeschlagen, bitte manuell ein Selfie erfassen.',
5156
5162
  'Verifying...': 'Verifizierung ...',
5157
5163
  'Please capture the front of your ID card.': 'Bitte die Vorderseite Ihres Ausweises erfassen.',
@@ -5170,12 +5176,13 @@ var de = {
5170
5176
  'Camera ready': 'Kamera bereit',
5171
5177
  'Loading guided capture experience...': 'Geführte Erfassung wird geladen...',
5172
5178
  'Guided capture experience ready': 'Geführte Erfassung bereit',
5173
- 'Lets Go!': 'Los geht‘s!',
5179
+ "Let's Go!": 'Los geht‘s!',
5174
5180
  '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?',
5175
5181
  OK: 'OK'
5176
5182
  };
5177
5183
 
5178
5184
  var fr = {
5185
+ 'English - en': 'French - fr',
5179
5186
  'Use your device camera to capture your ID': 'Utilisez la caméra de votre appareil pour capturer votre ID',
5180
5187
  'Use your iPhone as a webcam': 'Utiliser votre iPhone comme Webcam',
5181
5188
  'Models warming up...': "Les modèles s'échauffent...",
@@ -5231,7 +5238,7 @@ var fr = {
5231
5238
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Veuillez retirer ce qui recouvre vos yeux (lunettes de soleil, cache-œil, etc.)...',
5232
5239
  'Please remove your head coverings (hat scarf etc.)...': 'Veuillez retirer vos couvre-chefs (chapeau, foulard, etc.)...',
5233
5240
  'Please remove your mask...': 'Veuillez retirer votre masque...',
5234
- 'Live face not detected please try again': 'Visage vivant non détecté veuillez réessayer',
5241
+ 'Live face not detected, please try again': 'Visage vivant non détecté veuillez réessayer',
5235
5242
  Exit: 'Quitter',
5236
5243
  'Face liveness has been verified!': 'Le caractère vivant du visage a été vérifié!',
5237
5244
  Done: 'Fini',
@@ -5246,8 +5253,8 @@ var fr = {
5246
5253
  Clear: 'Effacer',
5247
5254
  'Video signature has been successfully captured!': 'La signature vidéo a été capturée avec succès!',
5248
5255
  'Network unreachable': 'Réseau inaccessible',
5249
- '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.',
5250
- 'Were sorry an unexpected error has occurred.': 'Nous sommes désolés, une erreur inattendue est survenue.',
5256
+ "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.',
5257
+ "We're sorry an unexpected error has occurred.": 'Nous sommes désolés, une erreur inattendue est survenue.',
5251
5258
  'Document Capture': 'Capture de document',
5252
5259
  Capture: 'Capturer',
5253
5260
  'Retry capture': 'Réessayer la capture',
@@ -5264,7 +5271,7 @@ var fr = {
5264
5271
  'Video ID has been successfully captured!': 'L’ID vidéo a été capturé avec succès!',
5265
5272
  'ID Front Image': 'Image recto de la pièce d’identité',
5266
5273
  'ID Back Image': 'Image verso de la pièce d’identité',
5267
- 'Were having some trouble.': 'Nous rencontrons quelques problèmes.',
5274
+ "We're having some trouble.": 'Nous rencontrons quelques problèmes.',
5268
5275
  'On-device capture guidance failed please capture a selfie manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer un selfie manuellement.",
5269
5276
  'Verifying...': 'Vérification en cours...',
5270
5277
  'Please capture the front of your ID card.': "Veuillez capturer le recto de votre carte d'identité.",
@@ -5283,12 +5290,13 @@ var fr = {
5283
5290
  'Camera ready': 'Caméra prête',
5284
5291
  'Loading guided capture experience...': "Chargement de l'expérience de capture guidée...",
5285
5292
  'Guided capture experience ready': 'Expérience de capture guidée prête',
5286
- 'Lets Go!': 'Allons-y !',
5293
+ "Let's Go!": 'Allons-y !',
5287
5294
  '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 ?",
5288
5295
  OK: 'OK'
5289
5296
  };
5290
5297
 
5291
5298
  var it = {
5299
+ 'English - en': 'Italian - it',
5292
5300
  'Use your device camera to capture your ID': 'Utilizzare la fotocamera del dispositivo per acquisire il documento',
5293
5301
  'Use your iPhone as a webcam': 'Utilizza iPhone come webcam',
5294
5302
  'Models warming up...': 'Riscaldamento modelli...',
@@ -5344,7 +5352,7 @@ var it = {
5344
5352
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Rimuovere tutto ciò che copre gli occhi (occhiali da sole, bende, ecc.)...',
5345
5353
  'Please remove your head coverings (hat scarf etc.)...': 'Rimuovere tutto ciò che ricopre il capo (cappello, sciarpa, ecc.)...',
5346
5354
  'Please remove your mask...': 'Rimuovere la mascherina...',
5347
- 'Live face not detected please try again': 'Volto reale non rilevato riprovare',
5355
+ 'Live face not detected, please try again': 'Volto reale non rilevato riprovare',
5348
5356
  Exit: 'Esci',
5349
5357
  'Face liveness has been verified!': 'Verifica del volto eseguita!',
5350
5358
  Done: 'Fatto',
@@ -5359,8 +5367,8 @@ var it = {
5359
5367
  Clear: 'Cancella',
5360
5368
  'Video signature has been successfully captured!': 'La firma video è stata acquisita correttamente!',
5361
5369
  'Network unreachable': 'Rete non raggiungibile',
5362
- '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.',
5363
- 'Were sorry an unexpected error has occurred.': 'Spiacenti, si è verificato un errore inatteso.',
5370
+ "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.',
5371
+ "We're sorry an unexpected error has occurred.": 'Spiacenti, si è verificato un errore inatteso.',
5364
5372
  'Document Capture': 'Acquisizione documento',
5365
5373
  Capture: 'Acquisisci',
5366
5374
  'Retry capture': 'Riprova acquisizione',
@@ -5377,7 +5385,7 @@ var it = {
5377
5385
  'Video ID has been successfully captured!': 'L’ID video è stato acquisito correttamente!',
5378
5386
  'ID Front Image': 'Immagine fronte documento d’identità',
5379
5387
  'ID Back Image': 'Immagine retro documento d’identità',
5380
- 'Were having some trouble.': 'Si è verificato un problema.',
5388
+ "We're having some trouble.": 'Si è verificato un problema.',
5381
5389
  'On-device capture guidance failed please capture a selfie manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Scattare un selfie manualmente.",
5382
5390
  'Verifying...': 'Verifica...',
5383
5391
  'Please capture the front of your ID card.': 'Acquisire il fronte del documento d’identità.',
@@ -5396,12 +5404,13 @@ var it = {
5396
5404
  'Camera ready': 'Fotocamera pronta',
5397
5405
  'Loading guided capture experience...': "Caricamento dell'esperienza di acquisizione guidata...",
5398
5406
  'Guided capture experience ready': 'Esperienza di acquisizione guidata pronta',
5399
- 'Lets Go!': 'Iniziamo!',
5407
+ "Let's Go!": 'Iniziamo!',
5400
5408
  '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?",
5401
5409
  OK: 'OK'
5402
5410
  };
5403
5411
 
5404
5412
  var ja = {
5413
+ 'English - en': 'Japanese - ja',
5405
5414
  'Use your device camera to capture your ID': 'デバイスのカメラを使用して身分証を撮影してください',
5406
5415
  'Use your iPhone as a webcam': 'iPhoneをウェブカムとして使用',
5407
5416
  'Models warming up...': 'モデルをウォームアップ中…',
@@ -5457,7 +5466,7 @@ var ja = {
5457
5466
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '目を覆うもの(サングラスや眼帯など)を取り外してください…',
5458
5467
  'Please remove your head coverings (hat scarf etc.)...': '頭を覆うもの(帽子やスカーフなど)を取り外してください…',
5459
5468
  'Please remove your mask...': 'マスクを取り外してください…',
5460
- 'Live face not detected please try again': '顔のライブネスが検出されません。再度お試しください',
5469
+ 'Live face not detected, please try again': '顔のライブネスが検出されません。再度お試しください',
5461
5470
  Exit: '終了',
5462
5471
  'Face liveness has been verified!': '顔のライブネスが認証されました',
5463
5472
  Done: '完了',
@@ -5472,8 +5481,8 @@ var ja = {
5472
5481
  Clear: '消去',
5473
5482
  'Video signature has been successfully captured!': 'ビデオ署名を撮影しました',
5474
5483
  'Network unreachable': 'ネットワークに接続できません',
5475
- 'Were having trouble reaching our services please check your connection and try again.': 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
5476
- 'Were sorry an unexpected error has occurred.': '不慮のエラーが発生しました。申し訳ありません。',
5484
+ "We're having trouble reaching our services please check your connection and try again.": 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
5485
+ "We're sorry an unexpected error has occurred.": '不慮のエラーが発生しました。申し訳ありません。',
5477
5486
  'Document Capture': 'ドキュメントの撮影',
5478
5487
  Capture: '撮影',
5479
5488
  'Retry capture': '撮影のやりなおし',
@@ -5490,7 +5499,7 @@ var ja = {
5490
5499
  'Video ID has been successfully captured!': 'ビデオ身分を撮影しました',
5491
5500
  'ID Front Image': '身分証の正面画像',
5492
5501
  'ID Back Image': '身分証の背面画像',
5493
- 'Were having some trouble.': '問題が発生しました。',
5502
+ "We're having some trouble.": '問題が発生しました。',
5494
5503
  'On-device capture guidance failed please capture a selfie manually.': 'デバイスの撮影ガイダンスが動作しません。手動でセルフィーを撮影してください。',
5495
5504
  'Verifying...': '検証中…',
5496
5505
  'Please capture the front of your ID card.': '身分証の正面を撮影してください…',
@@ -5509,12 +5518,13 @@ var ja = {
5509
5518
  'Camera ready': 'カメラが準備完了',
5510
5519
  'Loading guided capture experience...': '撮影ガイダンスのエクスペリエンスを読み込み中…',
5511
5520
  'Guided capture experience ready': '撮影ガイダンスのエクスペリエンスが準備完了',
5512
- 'Lets Go!': '始めましょう',
5521
+ "Let's Go!": '始めましょう',
5513
5522
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '身分証の正しい寸法を特定できません。それでも撮影を続行しますか?',
5514
5523
  OK: 'OK'
5515
5524
  };
5516
5525
 
5517
5526
  var pt = {
5527
+ 'English - en': 'Portuguese (Brazil) - pt',
5518
5528
  'Use your device camera to capture your ID': 'Usar a câmera do dispositivo para fotografar sua identidade',
5519
5529
  'Use your iPhone as a webcam': 'Use seu iPhone como uma câmera Web',
5520
5530
  'Models warming up...': 'Modelos aquecendo...',
@@ -5570,7 +5580,7 @@ var pt = {
5570
5580
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Por favor, remova as coberturas dos olhos (óculos de sol, tapa-olho, etc.)...',
5571
5581
  'Please remove your head coverings (hat scarf etc.)...': 'Por favor, remova as coberturas da cabeça (chapéu, cachecol, etc.)...',
5572
5582
  'Please remove your mask...': 'Por favor, remova sua máscara...',
5573
- 'Live face not detected please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
5583
+ 'Live face not detected, please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
5574
5584
  Exit: 'Sair',
5575
5585
  'Face liveness has been verified!': 'A veracidade do rosto foi verificada!',
5576
5586
  Done: 'Concluído',
@@ -5585,8 +5595,8 @@ var pt = {
5585
5595
  Clear: 'Apagar',
5586
5596
  'Video signature has been successfully captured!': 'A assinatura de vídeo foi capturada com sucesso!',
5587
5597
  'Network unreachable': 'Rede inacessível',
5588
- '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.',
5589
- 'Were sorry an unexpected error has occurred.': 'Lamentamos, mas ocorreu um erro inesperado.',
5598
+ "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.',
5599
+ "We're sorry an unexpected error has occurred.": 'Lamentamos, mas ocorreu um erro inesperado.',
5590
5600
  'Document Capture': 'Captura de Documento',
5591
5601
  Capture: 'Capturar',
5592
5602
  'Retry capture': 'Repetir captura',
@@ -5603,7 +5613,7 @@ var pt = {
5603
5613
  'Video ID has been successfully captured!': 'O vídeo de identificação foi capturado com sucesso!',
5604
5614
  'ID Front Image': 'Imagem frontal da ID',
5605
5615
  'ID Back Image': 'Imagem traseira da ID',
5606
- 'Were having some trouble.': 'Estamos tendo alguns problemas.',
5616
+ "We're having some trouble.": 'Estamos tendo alguns problemas.',
5607
5617
  'On-device capture guidance failed please capture a selfie manually.': 'A orientação de captura no dispositivo falhou, capture uma selfie manualmente.',
5608
5618
  'Verifying...': 'Verificando...',
5609
5619
  'Please capture the front of your ID card.': 'Capture a frente da sua carteira de identidade.',
@@ -5622,12 +5632,13 @@ var pt = {
5622
5632
  'Camera ready': 'Câmera pronta',
5623
5633
  'Loading guided capture experience...': 'Carregando a experiência de captura guiada...',
5624
5634
  'Guided capture experience ready': 'Experiência de captura guiada pronta',
5625
- 'Lets Go!': 'Vamos lá!',
5635
+ "Let's Go!": 'Vamos lá!',
5626
5636
  '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?',
5627
5637
  OK: 'OK'
5628
5638
  };
5629
5639
 
5630
5640
  var ru = {
5641
+ 'English - en': 'Russian - ru',
5631
5642
  'Use your device camera to capture your ID': 'Используйте камеру вашего устройства для съемки удостоверения личности',
5632
5643
  'Use your iPhone as a webcam': 'Используйте iPhone в качестве веб-камеры',
5633
5644
  'Models warming up...': 'Модели разогреваются…',
@@ -5683,7 +5694,7 @@ var ru = {
5683
5694
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Снимите предметы, закрывающие глаза (солнцезащитные очки, повязку и т.д.)…',
5684
5695
  'Please remove your head coverings (hat scarf etc.)...': 'Снимите предметы, покрывающие голову (шапку, шарф и т.д.)…',
5685
5696
  'Please remove your mask...': 'Снимите маску…',
5686
- 'Live face not detected please try again': 'Реальное лицо не обнаружено, повторите попытку',
5697
+ 'Live face not detected, please try again': 'Реальное лицо не обнаружено, повторите попытку',
5687
5698
  Exit: 'Выход',
5688
5699
  'Face liveness has been verified!': 'Реальность лица проверена!',
5689
5700
  Done: 'Готово',
@@ -5698,8 +5709,8 @@ var ru = {
5698
5709
  Clear: 'Очистить',
5699
5710
  'Video signature has been successfully captured!': 'Видеоподпись успешно записана!',
5700
5711
  'Network unreachable': 'Сеть недоступна',
5701
- 'Were having trouble reaching our services please check your connection and try again.': 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
5702
- 'Were sorry an unexpected error has occurred.': 'К сожалению, произошла непредвиденная ошибка.',
5712
+ "We're having trouble reaching our services please check your connection and try again.": 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
5713
+ "We're sorry an unexpected error has occurred.": 'К сожалению, произошла непредвиденная ошибка.',
5703
5714
  'Document Capture': 'Съемка документа',
5704
5715
  Capture: 'Съемка',
5705
5716
  'Retry capture': 'Повторить съемку',
@@ -5716,7 +5727,7 @@ var ru = {
5716
5727
  'Video ID has been successfully captured!': 'Видеоидентификация успешно выполнена!',
5717
5728
  'ID Front Image': 'Изображение лицевой стороны удостоверения личности',
5718
5729
  'ID Back Image': 'Изображение обратной стороны удостоверения личности',
5719
- 'Were having some trouble.': 'Возникли некоторые проблемы.',
5730
+ "We're having some trouble.": 'Возникли некоторые проблемы.',
5720
5731
  'On-device capture guidance failed please capture a selfie manually.': 'Произошел сбой при выполнении руководства по съемке в устройстве, сделайте селфи вручную.',
5721
5732
  'Verifying...': 'Идентификация…',
5722
5733
  'Please capture the front of your ID card.': 'Снимите лицевую сторону вашего удостоверения личности.',
@@ -5735,12 +5746,13 @@ var ru = {
5735
5746
  'Camera ready': 'Камера готова',
5736
5747
  'Loading guided capture experience...': 'Загрузка данных опыта управляемой съемки…',
5737
5748
  'Guided capture experience ready': 'Данные опыта управляемой съемки готовы',
5738
- 'Lets Go!': 'Поехали!',
5749
+ "Let's Go!": 'Поехали!',
5739
5750
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'У нас возникли проблемы с определением правильной стороны вашего удостоверения личности. Все равно хотите продолжить съемку?',
5740
5751
  OK: 'OK'
5741
5752
  };
5742
5753
 
5743
5754
  var zh = {
5755
+ 'English - en': 'Chinese (Traditional) - zh',
5744
5756
  'Use your device camera to capture your ID': '使用裝置相機拍攝證件',
5745
5757
  'Use your iPhone as a webcam': '將 iPhone 當作網路攝影機使用',
5746
5758
  'Models warming up...': '正在暖機...',
@@ -5796,7 +5808,7 @@ var zh = {
5796
5808
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '請取下眼睛遮蓋物(太陽眼鏡、眼罩等)...',
5797
5809
  'Please remove your head coverings (hat scarf etc.)...': '請取下頭部遮蓋物(帽子、圍巾等)...',
5798
5810
  'Please remove your mask...': '請脫下口罩...',
5799
- 'Live face not detected please try again': '未偵測到活體人臉,請再試一次',
5811
+ 'Live face not detected, please try again': '未偵測到活體人臉,請再試一次',
5800
5812
  Exit: '退出',
5801
5813
  'Face liveness has been verified!': '已驗證人臉活體!',
5802
5814
  Done: '完成',
@@ -5811,8 +5823,8 @@ var zh = {
5811
5823
  Clear: '清除',
5812
5824
  'Video signature has been successfully captured!': '已成功拍攝影片簽名!',
5813
5825
  'Network unreachable': '網路無法連線',
5814
- 'Were having trouble reaching our services please check your connection and try again.': '無法與服務連線,請檢查連線並再試一次。',
5815
- 'Were sorry an unexpected error has occurred.': '很抱歉,發生非預期錯誤。',
5826
+ "We're having trouble reaching our services please check your connection and try again.": '無法與服務連線,請檢查連線並再試一次。',
5827
+ "We're sorry an unexpected error has occurred.": '很抱歉,發生非預期錯誤。',
5816
5828
  'Document Capture': '文件拍攝',
5817
5829
  Capture: '拍攝',
5818
5830
  'Retry capture': '重試拍攝',
@@ -5829,7 +5841,7 @@ var zh = {
5829
5841
  'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
5830
5842
  'ID Front Image': '證件正面影像',
5831
5843
  'ID Back Image': '證件背面影像',
5832
- 'Were having some trouble.': '發生一些問題。',
5844
+ "We're having some trouble.": '發生一些問題。',
5833
5845
  'On-device capture guidance failed please capture a selfie manually.': '裝置上拍攝引導失敗,請手動拍攝自拍照',
5834
5846
  'Verifying...': '正在驗證...',
5835
5847
  'Please capture the front of your ID card.': '請拍攝證件正面。',
@@ -5848,7 +5860,7 @@ var zh = {
5848
5860
  'Camera ready': '相機就緒',
5849
5861
  'Loading guided capture experience...': '正在載入引導式拍攝體驗...',
5850
5862
  'Guided capture experience ready': '引導式拍攝體驗就緒',
5851
- 'Lets Go!': '開始!',
5863
+ "Let's Go!": '開始!',
5852
5864
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '無法識別證件的正確一面,是否仍要繼續拍攝?',
5853
5865
  OK: '確定'
5854
5866
  };
@@ -14224,6 +14236,7 @@ var IdValidation = function IdValidation(_a) {
14224
14236
  webhooksFireOnReview = _a.webhooksFireOnReview,
14225
14237
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14226
14238
  customerDataMatchConfig = _a.customerDataMatchConfig,
14239
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14227
14240
  precapturedDocuments = _a.precapturedDocuments,
14228
14241
  _c = _a.loadingOverlayMode,
14229
14242
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -14395,7 +14408,8 @@ var IdValidation = function IdValidation(_a) {
14395
14408
  onSubmit: onSubmit,
14396
14409
  onResponseReceived: onResponseReceived,
14397
14410
  geolocationEnabled: geolocationEnabled,
14398
- geolocationRequired: geolocationRequired
14411
+ geolocationRequired: geolocationRequired,
14412
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14399
14413
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
14400
14414
  checks: React.useMemo(function () {
14401
14415
  return ['IdCapture'];
@@ -14431,6 +14445,7 @@ var FaceValidation = function FaceValidation(_a) {
14431
14445
  webhooksFireOnReview = _c === void 0 ? false : _c,
14432
14446
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14433
14447
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14448
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14434
14449
  _d = _a.loadingOverlayMode,
14435
14450
  loadingOverlayMode = _d === void 0 ? 'default' : _d,
14436
14451
  _e = _a.timeoutDurationMs,
@@ -14514,7 +14529,8 @@ var FaceValidation = function FaceValidation(_a) {
14514
14529
  onDocumentUploadFailed: onDocumentUploadFailed,
14515
14530
  onBeforeLivenessCheck: onBeforeSubmit,
14516
14531
  geolocationEnabled: geolocationEnabled,
14517
- geolocationRequired: geolocationRequired
14532
+ geolocationRequired: geolocationRequired,
14533
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14518
14534
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
14519
14535
  checks: React.useMemo(function () {
14520
14536
  return ['FaceLiveness'];
@@ -14555,6 +14571,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
14555
14571
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14556
14572
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14557
14573
  customerDataMatchConfig = _a.customerDataMatchConfig,
14574
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14558
14575
  precapturedDocuments = _a.precapturedDocuments,
14559
14576
  _c = _a.idCaptureLoadingOverlayMode,
14560
14577
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -14751,7 +14768,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
14751
14768
  onSubmit: onSubmit,
14752
14769
  onResponseReceived: onResponseReceived,
14753
14770
  geolocationEnabled: geolocationEnabled,
14754
- geolocationRequired: geolocationRequired
14771
+ geolocationRequired: geolocationRequired,
14772
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14755
14773
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
14756
14774
  checks: checks,
14757
14775
  idCaptureProps: idCaptureProps,
@@ -14800,6 +14818,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14800
14818
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14801
14819
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14802
14820
  customerDataMatchConfig = _a.customerDataMatchConfig,
14821
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14803
14822
  _c = _a.idCaptureLoadingOverlayMode,
14804
14823
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
14805
14824
  _d = _a.idCaptureRequirement,
@@ -15013,7 +15032,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
15013
15032
  onSubmit: onSubmit,
15014
15033
  onResponseReceived: onResponseReceived,
15015
15034
  geolocationEnabled: geolocationEnabled,
15016
- geolocationRequired: geolocationRequired
15035
+ geolocationRequired: geolocationRequired,
15036
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
15017
15037
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
15018
15038
  checks: checks,
15019
15039
  idCaptureProps: idCaptureProps,
@@ -15502,6 +15522,7 @@ var CustomerVerification = function CustomerVerification(_a) {
15502
15522
  webhooksSendInputImages = _a.webhooksSendInputImages,
15503
15523
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
15504
15524
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
15525
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
15505
15526
  _c = _a.loadingOverlayMode,
15506
15527
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
15507
15528
  _d = _a.timeoutDurationMs,
@@ -15564,7 +15585,8 @@ var CustomerVerification = function CustomerVerification(_a) {
15564
15585
  onBeforeSubmit: onBeforeSubmit,
15565
15586
  onSubmit: onSubmit,
15566
15587
  geolocationEnabled: geolocationEnabled,
15567
- geolocationRequired: geolocationRequired
15588
+ geolocationRequired: geolocationRequired,
15589
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
15568
15590
  }, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
15569
15591
  preferFrontFacingCamera: true,
15570
15592
  onCameraAccessDenied: onCameraAccessDenied
@@ -16060,6 +16082,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
16060
16082
  webhooksSendInputImages = _a.webhooksSendInputImages,
16061
16083
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
16062
16084
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16085
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16063
16086
  _c = _a.loadingOverlayMode,
16064
16087
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
16065
16088
  _d = _a.timeoutDurationMs,
@@ -16121,7 +16144,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
16121
16144
  onBeforeSubmit: onBeforeSubmit,
16122
16145
  onSubmit: onSubmit,
16123
16146
  geolocationEnabled: geolocationEnabled,
16124
- geolocationRequired: geolocationRequired
16147
+ geolocationRequired: geolocationRequired,
16148
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16125
16149
  }, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
16126
16150
  preferFrontFacingCamera: true,
16127
16151
  onCameraAccessDenied: onCameraAccessDenied
@@ -16158,6 +16182,7 @@ var SignatureKYC = function SignatureKYC(_a) {
16158
16182
  submissionUrl = _a.submissionUrl,
16159
16183
  documentServiceUrl = _a.documentServiceUrl,
16160
16184
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16185
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16161
16186
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16162
16187
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16163
16188
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16211,7 +16236,8 @@ var SignatureKYC = function SignatureKYC(_a) {
16211
16236
  onSubmit: onSubmit,
16212
16237
  onResponseReceived: onComplete,
16213
16238
  geolocationEnabled: geolocationEnabled,
16214
- geolocationRequired: geolocationRequired
16239
+ geolocationRequired: geolocationRequired,
16240
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16215
16241
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
16216
16242
  debugMode: debugMode,
16217
16243
  checks: React.useMemo(function () {
@@ -16269,6 +16295,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
16269
16295
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
16270
16296
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16271
16297
  customerDataMatchConfig = _a.customerDataMatchConfig,
16298
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16272
16299
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16273
16300
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16274
16301
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16447,7 +16474,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
16447
16474
  onBeforeSubmit: onBeforeSubmit,
16448
16475
  onResponseReceived: onComplete,
16449
16476
  geolocationEnabled: geolocationEnabled,
16450
- geolocationRequired: geolocationRequired
16477
+ geolocationRequired: geolocationRequired,
16478
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16451
16479
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
16452
16480
  checks: React.useMemo(function () {
16453
16481
  return ['VideoIdCapture'];
@@ -16486,6 +16514,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
16486
16514
  webhooksFireOnReview = _a.webhooksFireOnReview,
16487
16515
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
16488
16516
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16517
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16489
16518
  _c = _a.loadingOverlayMode,
16490
16519
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
16491
16520
  _d = _a.timeoutDurationMs,
@@ -16612,7 +16641,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
16612
16641
  onSubmit: onSubmit,
16613
16642
  onResponseReceived: onResponseReceived,
16614
16643
  geolocationEnabled: geolocationEnabled,
16615
- geolocationRequired: geolocationRequired
16644
+ geolocationRequired: geolocationRequired,
16645
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16616
16646
  }, /*#__PURE__*/React__namespace.default.createElement(CompositeWizard, {
16617
16647
  checks: React.useMemo(function () {
16618
16648
  return ['FaceLiveness'];
@@ -16639,6 +16669,7 @@ var DocumentCapture = function DocumentCapture(_a) {
16639
16669
  submissionUrl = _a.submissionUrl,
16640
16670
  documentServiceUrl = _a.documentServiceUrl,
16641
16671
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16672
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16642
16673
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16643
16674
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16644
16675
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16681,7 +16712,8 @@ var DocumentCapture = function DocumentCapture(_a) {
16681
16712
  onDocumentUploaded: onDocumentUploaded,
16682
16713
  onDocumentUploadFailed: onDocumentUploadFailed,
16683
16714
  geolocationEnabled: geolocationEnabled,
16684
- geolocationRequired: geolocationRequired
16715
+ geolocationRequired: geolocationRequired,
16716
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16685
16717
  }, /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
16686
16718
  requestAccessAutomatically: false,
16687
16719
  preferIphoneContinuityCamera: true,