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
package/dist/sdk2.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.81';
206
+ var webSdkVersion = '2.2.83';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1171,83 +1171,85 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1171
1171
  userSuppliedOnDocumentUploadFailed = _a.onDocumentUploadFailed,
1172
1172
  userSuppliedOnResponseReceived = _a.onResponseReceived,
1173
1173
  userSuppliedOnRequestFailure = _a.onRequestFailure,
1174
- clientRequestID = _a.clientRequestID;
1174
+ clientRequestID = _a.clientRequestID,
1175
+ _x = _a.useDocumentServiceForLivenessChecks,
1176
+ useDocumentServiceForLivenessChecks = _x === void 0 ? false : _x;
1175
1177
  var sessionId = useAuthContext()[0].sessionId;
1176
- var _x = useState(SubmissionStatus.READY),
1177
- submissionStatus = _x[0],
1178
- setSubmissionStatus = _x[1];
1179
- var _y = useState(null),
1180
- submissionRequest = _y[0],
1181
- setSubmissionRequest = _y[1];
1178
+ var _y = useState(SubmissionStatus.READY),
1179
+ submissionStatus = _y[0],
1180
+ setSubmissionStatus = _y[1];
1182
1181
  var _z = useState(null),
1183
- submissionResponse = _z[0],
1184
- setSubmissionResponse = _z[1];
1182
+ submissionRequest = _z[0],
1183
+ setSubmissionRequest = _z[1];
1185
1184
  var _0 = useState(null),
1186
- submissionError = _0[0],
1187
- setSubmissionError = _0[1];
1185
+ submissionResponse = _0[0],
1186
+ setSubmissionResponse = _0[1];
1188
1187
  var _1 = useState(null),
1189
- retrySubmission = _1[0],
1190
- setRetrySubmission = _1[1];
1188
+ submissionError = _1[0],
1189
+ setSubmissionError = _1[1];
1191
1190
  var _2 = useState(null),
1192
- livenessCheckRequest = _2[0],
1193
- setLivenessCheckRequest = _2[1];
1191
+ retrySubmission = _2[0],
1192
+ setRetrySubmission = _2[1];
1194
1193
  var _3 = useState(null),
1195
- idFrontImage = _3[0],
1196
- setIdFrontImage = _3[1];
1194
+ livenessCheckRequest = _3[0],
1195
+ setLivenessCheckRequest = _3[1];
1197
1196
  var _4 = useState(null),
1198
- idBackImage = _4[0],
1199
- setIdBackImage = _4[1];
1197
+ idFrontImage = _4[0],
1198
+ setIdFrontImage = _4[1];
1200
1199
  var _5 = useState(null),
1201
- passportImage = _5[0],
1202
- setPassportImage = _5[1];
1200
+ idBackImage = _5[0],
1201
+ setIdBackImage = _5[1];
1203
1202
  var _6 = useState(null),
1204
- selfieImage = _6[0],
1205
- setSelfieImage = _6[1];
1203
+ passportImage = _6[0],
1204
+ setPassportImage = _6[1];
1206
1205
  var _7 = useState(null),
1207
- signatureData = _7[0],
1208
- setSignatureData = _7[1];
1206
+ selfieImage = _7[0],
1207
+ setSelfieImage = _7[1];
1209
1208
  var _8 = useState(null),
1210
- signatureVideoUrl = _8[0],
1211
- setSignatureVideoUrl = _8[1];
1209
+ signatureData = _8[0],
1210
+ setSignatureData = _8[1];
1212
1211
  var _9 = useState(null),
1213
- idCaptureVideoUrl = _9[0],
1214
- setIdCaptureVideoUrl = _9[1];
1212
+ signatureVideoUrl = _9[0],
1213
+ setSignatureVideoUrl = _9[1];
1215
1214
  var _10 = useState(null),
1216
- idCaptureVideoIdFrontImage = _10[0],
1217
- setIdCaptureVideoIdFrontImage = _10[1];
1215
+ idCaptureVideoUrl = _10[0],
1216
+ setIdCaptureVideoUrl = _10[1];
1218
1217
  var _11 = useState(null),
1219
- idCaptureVideoIdBackImage = _11[0],
1220
- setIdCaptureVideoIdBackImage = _11[1];
1218
+ idCaptureVideoIdFrontImage = _11[0],
1219
+ setIdCaptureVideoIdFrontImage = _11[1];
1221
1220
  var _12 = useState(null),
1222
- idCaptureVideoAudioUrl = _12[0],
1223
- setIdCaptureVideoAudioUrl = _12[1];
1221
+ idCaptureVideoIdBackImage = _12[0],
1222
+ setIdCaptureVideoIdBackImage = _12[1];
1224
1223
  var _13 = useState(null),
1225
- idCaptureVideoAudioStartsAt = _13[0],
1226
- setIdCaptureVideoAudioStartsAt = _13[1];
1224
+ idCaptureVideoAudioUrl = _13[0],
1225
+ setIdCaptureVideoAudioUrl = _13[1];
1227
1226
  var _14 = useState(null),
1228
- expectedAudioText = _14[0],
1229
- setExpectedAudioText = _14[1];
1227
+ idCaptureVideoAudioStartsAt = _14[0],
1228
+ setIdCaptureVideoAudioStartsAt = _14[1];
1230
1229
  var _15 = useState(null),
1231
- additionalDocuments = _15[0],
1232
- setAdditionalDocuments = _15[1];
1230
+ expectedAudioText = _15[0],
1231
+ setExpectedAudioText = _15[1];
1233
1232
  var _16 = useState(null),
1234
- geolocationResult = _16[0],
1235
- setGeolocationResult = _16[1];
1236
- var _17 = useState(0),
1237
- geolocationAttempts = _17[0],
1238
- setGeolocationAttempts = _17[1];
1239
- var _18 = useState(false),
1240
- geolocationBlocked = _18[0],
1241
- setGeolocationBlocked = _18[1];
1242
- var _19 = useState([]),
1243
- idFrontCaptureAttempts = _19[0],
1244
- setIdFrontCaptureAttempts = _19[1];
1233
+ additionalDocuments = _16[0],
1234
+ setAdditionalDocuments = _16[1];
1235
+ var _17 = useState(null),
1236
+ geolocationResult = _17[0],
1237
+ setGeolocationResult = _17[1];
1238
+ var _18 = useState(0),
1239
+ geolocationAttempts = _18[0],
1240
+ setGeolocationAttempts = _18[1];
1241
+ var _19 = useState(false),
1242
+ geolocationBlocked = _19[0],
1243
+ setGeolocationBlocked = _19[1];
1245
1244
  var _20 = useState([]),
1246
- idBackCaptureAttempts = _20[0],
1247
- setIdBackCaptureAttempts = _20[1];
1245
+ idFrontCaptureAttempts = _20[0],
1246
+ setIdFrontCaptureAttempts = _20[1];
1248
1247
  var _21 = useState([]),
1249
- selfieCaptureAttempts = _21[0],
1250
- setSelfieCaptureAttempts = _21[1];
1248
+ idBackCaptureAttempts = _21[0],
1249
+ setIdBackCaptureAttempts = _21[1];
1250
+ var _22 = useState([]),
1251
+ selfieCaptureAttempts = _22[0],
1252
+ setSelfieCaptureAttempts = _22[1];
1251
1253
  var logIdFrontCaptureAttempt = useCallback(function (attempt) {
1252
1254
  setIdFrontCaptureAttempts(function (attempts) {
1253
1255
  return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
@@ -1651,7 +1653,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1651
1653
  switch (_a.label) {
1652
1654
  case 0:
1653
1655
  selfie = imageDataUrl;
1654
- if (!documentServiceUrl) return [3 /*break*/, 2];
1656
+ if (!(useDocumentServiceForLivenessChecks && documentServiceUrl)) return [3 /*break*/, 2];
1655
1657
  if (!selfie.startsWith('data:')) {
1656
1658
  selfie = "data:image/jpeg;base64,".concat(selfie);
1657
1659
  }
@@ -1661,8 +1663,11 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1661
1663
  })];
1662
1664
  case 1:
1663
1665
  selfie = _a.sent();
1664
- _a.label = 2;
1666
+ return [3 /*break*/, 3];
1665
1667
  case 2:
1668
+ selfie = dataUrlToBase64Sync(selfie);
1669
+ _a.label = 3;
1670
+ case 3:
1666
1671
  request = {
1667
1672
  securityData: {
1668
1673
  userName: '',
@@ -1699,13 +1704,13 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1699
1704
  idBackCaptureAttempts: idBackCaptureAttempts,
1700
1705
  geolocationResult: geolocationResult
1701
1706
  });
1702
- if (!onBeforeLivenessCheck.current) return [3 /*break*/, 4];
1707
+ if (!onBeforeLivenessCheck.current) return [3 /*break*/, 5];
1703
1708
  return [4 /*yield*/, onBeforeLivenessCheck.current(request)];
1704
- case 3:
1709
+ case 4:
1705
1710
  onBeforeLivenessCheckResult = _a.sent();
1706
1711
  if (onBeforeLivenessCheckResult) request = onBeforeLivenessCheckResult;
1707
- _a.label = 4;
1708
- case 4:
1712
+ _a.label = 5;
1713
+ case 5:
1709
1714
  setLivenessCheckRequest(request);
1710
1715
  return [2 /*return*/, request];
1711
1716
  }
@@ -5032,6 +5037,7 @@ var es = {
5032
5037
  };
5033
5038
 
5034
5039
  var de = {
5040
+ 'English - en': 'German - de',
5035
5041
  'Use your device camera to capture your ID': 'Ihre Gerätekamera zur Aufnahme Ihres Ausweises verwenden',
5036
5042
  'Use your iPhone as a webcam': 'Ihr iPhone als Webcam verwenden',
5037
5043
  'Models warming up...': 'Modelle wärmen sich auf...',
@@ -5087,7 +5093,7 @@ var de = {
5087
5093
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Bitte Augenbedeckung entfernen (Sonnenbrille, Augenklappe usw.)...',
5088
5094
  'Please remove your head coverings (hat scarf etc.)...': 'Bitte Kopfbedeckung abnehmen (Mütze, Schal usw.)...',
5089
5095
  'Please remove your mask...': 'Bitte Maske ablegen...',
5090
- 'Live face not detected please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
5096
+ 'Live face not detected, please try again': 'Live-Gesicht nicht erkannt, bitte erneut versuchen',
5091
5097
  Exit: 'Verlassen',
5092
5098
  'Face liveness has been verified!': 'Echtzeit des Gesichts wurde verifiziert!',
5093
5099
  Done: 'Fertig',
@@ -5102,8 +5108,8 @@ var de = {
5102
5108
  Clear: 'Löschen',
5103
5109
  'Video signature has been successfully captured!': 'Videosignatur wurde erfolgreich erfasst!',
5104
5110
  'Network unreachable': 'Netzwerk nicht erreichbar',
5105
- '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.',
5106
- 'Were sorry an unexpected error has occurred.': 'Leider ist ein unerwarteter Fehler aufgetreten.',
5111
+ "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.',
5112
+ "We're sorry an unexpected error has occurred.": 'Leider ist ein unerwarteter Fehler aufgetreten.',
5107
5113
  'Document Capture': 'Dokument erfassen',
5108
5114
  Capture: 'Erfassen',
5109
5115
  'Retry capture': 'Erfassung erneut versuchen',
@@ -5120,7 +5126,7 @@ var de = {
5120
5126
  'Video ID has been successfully captured!': 'Video-ID wurde erfolgreich erfasst!',
5121
5127
  'ID Front Image': 'Bild Ausweisvorderseite',
5122
5128
  'ID Back Image': 'Bild Ausweisrückseite',
5123
- 'Were having some trouble.': 'Wir haben Probleme.',
5129
+ "We're having some trouble.": 'Wir haben Probleme.',
5124
5130
  'On-device capture guidance failed please capture a selfie manually.': 'Leitfaden zur Erfassung am Gerät fehlgeschlagen, bitte manuell ein Selfie erfassen.',
5125
5131
  'Verifying...': 'Verifizierung ...',
5126
5132
  'Please capture the front of your ID card.': 'Bitte die Vorderseite Ihres Ausweises erfassen.',
@@ -5139,12 +5145,13 @@ var de = {
5139
5145
  'Camera ready': 'Kamera bereit',
5140
5146
  'Loading guided capture experience...': 'Geführte Erfassung wird geladen...',
5141
5147
  'Guided capture experience ready': 'Geführte Erfassung bereit',
5142
- 'Lets Go!': 'Los geht‘s!',
5148
+ "Let's Go!": 'Los geht‘s!',
5143
5149
  '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?',
5144
5150
  OK: 'OK'
5145
5151
  };
5146
5152
 
5147
5153
  var fr = {
5154
+ 'English - en': 'French - fr',
5148
5155
  'Use your device camera to capture your ID': 'Utilisez la caméra de votre appareil pour capturer votre ID',
5149
5156
  'Use your iPhone as a webcam': 'Utiliser votre iPhone comme Webcam',
5150
5157
  'Models warming up...': "Les modèles s'échauffent...",
@@ -5200,7 +5207,7 @@ var fr = {
5200
5207
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Veuillez retirer ce qui recouvre vos yeux (lunettes de soleil, cache-œil, etc.)...',
5201
5208
  'Please remove your head coverings (hat scarf etc.)...': 'Veuillez retirer vos couvre-chefs (chapeau, foulard, etc.)...',
5202
5209
  'Please remove your mask...': 'Veuillez retirer votre masque...',
5203
- 'Live face not detected please try again': 'Visage vivant non détecté veuillez réessayer',
5210
+ 'Live face not detected, please try again': 'Visage vivant non détecté veuillez réessayer',
5204
5211
  Exit: 'Quitter',
5205
5212
  'Face liveness has been verified!': 'Le caractère vivant du visage a été vérifié!',
5206
5213
  Done: 'Fini',
@@ -5215,8 +5222,8 @@ var fr = {
5215
5222
  Clear: 'Effacer',
5216
5223
  'Video signature has been successfully captured!': 'La signature vidéo a été capturée avec succès!',
5217
5224
  'Network unreachable': 'Réseau inaccessible',
5218
- '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.',
5219
- 'Were sorry an unexpected error has occurred.': 'Nous sommes désolés, une erreur inattendue est survenue.',
5225
+ "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.',
5226
+ "We're sorry an unexpected error has occurred.": 'Nous sommes désolés, une erreur inattendue est survenue.',
5220
5227
  'Document Capture': 'Capture de document',
5221
5228
  Capture: 'Capturer',
5222
5229
  'Retry capture': 'Réessayer la capture',
@@ -5233,7 +5240,7 @@ var fr = {
5233
5240
  'Video ID has been successfully captured!': 'L’ID vidéo a été capturé avec succès!',
5234
5241
  'ID Front Image': 'Image recto de la pièce d’identité',
5235
5242
  'ID Back Image': 'Image verso de la pièce d’identité',
5236
- 'Were having some trouble.': 'Nous rencontrons quelques problèmes.',
5243
+ "We're having some trouble.": 'Nous rencontrons quelques problèmes.',
5237
5244
  'On-device capture guidance failed please capture a selfie manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer un selfie manuellement.",
5238
5245
  'Verifying...': 'Vérification en cours...',
5239
5246
  'Please capture the front of your ID card.': "Veuillez capturer le recto de votre carte d'identité.",
@@ -5252,12 +5259,13 @@ var fr = {
5252
5259
  'Camera ready': 'Caméra prête',
5253
5260
  'Loading guided capture experience...': "Chargement de l'expérience de capture guidée...",
5254
5261
  'Guided capture experience ready': 'Expérience de capture guidée prête',
5255
- 'Lets Go!': 'Allons-y !',
5262
+ "Let's Go!": 'Allons-y !',
5256
5263
  '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 ?",
5257
5264
  OK: 'OK'
5258
5265
  };
5259
5266
 
5260
5267
  var it = {
5268
+ 'English - en': 'Italian - it',
5261
5269
  'Use your device camera to capture your ID': 'Utilizzare la fotocamera del dispositivo per acquisire il documento',
5262
5270
  'Use your iPhone as a webcam': 'Utilizza iPhone come webcam',
5263
5271
  'Models warming up...': 'Riscaldamento modelli...',
@@ -5313,7 +5321,7 @@ var it = {
5313
5321
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Rimuovere tutto ciò che copre gli occhi (occhiali da sole, bende, ecc.)...',
5314
5322
  'Please remove your head coverings (hat scarf etc.)...': 'Rimuovere tutto ciò che ricopre il capo (cappello, sciarpa, ecc.)...',
5315
5323
  'Please remove your mask...': 'Rimuovere la mascherina...',
5316
- 'Live face not detected please try again': 'Volto reale non rilevato riprovare',
5324
+ 'Live face not detected, please try again': 'Volto reale non rilevato riprovare',
5317
5325
  Exit: 'Esci',
5318
5326
  'Face liveness has been verified!': 'Verifica del volto eseguita!',
5319
5327
  Done: 'Fatto',
@@ -5328,8 +5336,8 @@ var it = {
5328
5336
  Clear: 'Cancella',
5329
5337
  'Video signature has been successfully captured!': 'La firma video è stata acquisita correttamente!',
5330
5338
  'Network unreachable': 'Rete non raggiungibile',
5331
- '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.',
5332
- 'Were sorry an unexpected error has occurred.': 'Spiacenti, si è verificato un errore inatteso.',
5339
+ "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.',
5340
+ "We're sorry an unexpected error has occurred.": 'Spiacenti, si è verificato un errore inatteso.',
5333
5341
  'Document Capture': 'Acquisizione documento',
5334
5342
  Capture: 'Acquisisci',
5335
5343
  'Retry capture': 'Riprova acquisizione',
@@ -5346,7 +5354,7 @@ var it = {
5346
5354
  'Video ID has been successfully captured!': 'L’ID video è stato acquisito correttamente!',
5347
5355
  'ID Front Image': 'Immagine fronte documento d’identità',
5348
5356
  'ID Back Image': 'Immagine retro documento d’identità',
5349
- 'Were having some trouble.': 'Si è verificato un problema.',
5357
+ "We're having some trouble.": 'Si è verificato un problema.',
5350
5358
  'On-device capture guidance failed please capture a selfie manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Scattare un selfie manualmente.",
5351
5359
  'Verifying...': 'Verifica...',
5352
5360
  'Please capture the front of your ID card.': 'Acquisire il fronte del documento d’identità.',
@@ -5365,12 +5373,13 @@ var it = {
5365
5373
  'Camera ready': 'Fotocamera pronta',
5366
5374
  'Loading guided capture experience...': "Caricamento dell'esperienza di acquisizione guidata...",
5367
5375
  'Guided capture experience ready': 'Esperienza di acquisizione guidata pronta',
5368
- 'Lets Go!': 'Iniziamo!',
5376
+ "Let's Go!": 'Iniziamo!',
5369
5377
  '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?",
5370
5378
  OK: 'OK'
5371
5379
  };
5372
5380
 
5373
5381
  var ja = {
5382
+ 'English - en': 'Japanese - ja',
5374
5383
  'Use your device camera to capture your ID': 'デバイスのカメラを使用して身分証を撮影してください',
5375
5384
  'Use your iPhone as a webcam': 'iPhoneをウェブカムとして使用',
5376
5385
  'Models warming up...': 'モデルをウォームアップ中…',
@@ -5426,7 +5435,7 @@ var ja = {
5426
5435
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '目を覆うもの(サングラスや眼帯など)を取り外してください…',
5427
5436
  'Please remove your head coverings (hat scarf etc.)...': '頭を覆うもの(帽子やスカーフなど)を取り外してください…',
5428
5437
  'Please remove your mask...': 'マスクを取り外してください…',
5429
- 'Live face not detected please try again': '顔のライブネスが検出されません。再度お試しください',
5438
+ 'Live face not detected, please try again': '顔のライブネスが検出されません。再度お試しください',
5430
5439
  Exit: '終了',
5431
5440
  'Face liveness has been verified!': '顔のライブネスが認証されました',
5432
5441
  Done: '完了',
@@ -5441,8 +5450,8 @@ var ja = {
5441
5450
  Clear: '消去',
5442
5451
  'Video signature has been successfully captured!': 'ビデオ署名を撮影しました',
5443
5452
  'Network unreachable': 'ネットワークに接続できません',
5444
- 'Were having trouble reaching our services please check your connection and try again.': 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
5445
- 'Were sorry an unexpected error has occurred.': '不慮のエラーが発生しました。申し訳ありません。',
5453
+ "We're having trouble reaching our services please check your connection and try again.": 'サービス接続時に問題が発生しています。接続を確認して再度お試しください。',
5454
+ "We're sorry an unexpected error has occurred.": '不慮のエラーが発生しました。申し訳ありません。',
5446
5455
  'Document Capture': 'ドキュメントの撮影',
5447
5456
  Capture: '撮影',
5448
5457
  'Retry capture': '撮影のやりなおし',
@@ -5459,7 +5468,7 @@ var ja = {
5459
5468
  'Video ID has been successfully captured!': 'ビデオ身分を撮影しました',
5460
5469
  'ID Front Image': '身分証の正面画像',
5461
5470
  'ID Back Image': '身分証の背面画像',
5462
- 'Were having some trouble.': '問題が発生しました。',
5471
+ "We're having some trouble.": '問題が発生しました。',
5463
5472
  'On-device capture guidance failed please capture a selfie manually.': 'デバイスの撮影ガイダンスが動作しません。手動でセルフィーを撮影してください。',
5464
5473
  'Verifying...': '検証中…',
5465
5474
  'Please capture the front of your ID card.': '身分証の正面を撮影してください…',
@@ -5478,12 +5487,13 @@ var ja = {
5478
5487
  'Camera ready': 'カメラが準備完了',
5479
5488
  'Loading guided capture experience...': '撮影ガイダンスのエクスペリエンスを読み込み中…',
5480
5489
  'Guided capture experience ready': '撮影ガイダンスのエクスペリエンスが準備完了',
5481
- 'Lets Go!': '始めましょう',
5490
+ "Let's Go!": '始めましょう',
5482
5491
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '身分証の正しい寸法を特定できません。それでも撮影を続行しますか?',
5483
5492
  OK: 'OK'
5484
5493
  };
5485
5494
 
5486
5495
  var pt = {
5496
+ 'English - en': 'Portuguese (Brazil) - pt',
5487
5497
  'Use your device camera to capture your ID': 'Usar a câmera do dispositivo para fotografar sua identidade',
5488
5498
  'Use your iPhone as a webcam': 'Use seu iPhone como uma câmera Web',
5489
5499
  'Models warming up...': 'Modelos aquecendo...',
@@ -5539,7 +5549,7 @@ var pt = {
5539
5549
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Por favor, remova as coberturas dos olhos (óculos de sol, tapa-olho, etc.)...',
5540
5550
  'Please remove your head coverings (hat scarf etc.)...': 'Por favor, remova as coberturas da cabeça (chapéu, cachecol, etc.)...',
5541
5551
  'Please remove your mask...': 'Por favor, remova sua máscara...',
5542
- 'Live face not detected please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
5552
+ 'Live face not detected, please try again': 'Não foi possível detectar a veracidade do rosto tente novamente',
5543
5553
  Exit: 'Sair',
5544
5554
  'Face liveness has been verified!': 'A veracidade do rosto foi verificada!',
5545
5555
  Done: 'Concluído',
@@ -5554,8 +5564,8 @@ var pt = {
5554
5564
  Clear: 'Apagar',
5555
5565
  'Video signature has been successfully captured!': 'A assinatura de vídeo foi capturada com sucesso!',
5556
5566
  'Network unreachable': 'Rede inacessível',
5557
- '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.',
5558
- 'Were sorry an unexpected error has occurred.': 'Lamentamos, mas ocorreu um erro inesperado.',
5567
+ "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.',
5568
+ "We're sorry an unexpected error has occurred.": 'Lamentamos, mas ocorreu um erro inesperado.',
5559
5569
  'Document Capture': 'Captura de Documento',
5560
5570
  Capture: 'Capturar',
5561
5571
  'Retry capture': 'Repetir captura',
@@ -5572,7 +5582,7 @@ var pt = {
5572
5582
  'Video ID has been successfully captured!': 'O vídeo de identificação foi capturado com sucesso!',
5573
5583
  'ID Front Image': 'Imagem frontal da ID',
5574
5584
  'ID Back Image': 'Imagem traseira da ID',
5575
- 'Were having some trouble.': 'Estamos tendo alguns problemas.',
5585
+ "We're having some trouble.": 'Estamos tendo alguns problemas.',
5576
5586
  'On-device capture guidance failed please capture a selfie manually.': 'A orientação de captura no dispositivo falhou, capture uma selfie manualmente.',
5577
5587
  'Verifying...': 'Verificando...',
5578
5588
  'Please capture the front of your ID card.': 'Capture a frente da sua carteira de identidade.',
@@ -5591,12 +5601,13 @@ var pt = {
5591
5601
  'Camera ready': 'Câmera pronta',
5592
5602
  'Loading guided capture experience...': 'Carregando a experiência de captura guiada...',
5593
5603
  'Guided capture experience ready': 'Experiência de captura guiada pronta',
5594
- 'Lets Go!': 'Vamos lá!',
5604
+ "Let's Go!": 'Vamos lá!',
5595
5605
  '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?',
5596
5606
  OK: 'OK'
5597
5607
  };
5598
5608
 
5599
5609
  var ru = {
5610
+ 'English - en': 'Russian - ru',
5600
5611
  'Use your device camera to capture your ID': 'Используйте камеру вашего устройства для съемки удостоверения личности',
5601
5612
  'Use your iPhone as a webcam': 'Используйте iPhone в качестве веб-камеры',
5602
5613
  'Models warming up...': 'Модели разогреваются…',
@@ -5652,7 +5663,7 @@ var ru = {
5652
5663
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Снимите предметы, закрывающие глаза (солнцезащитные очки, повязку и т.д.)…',
5653
5664
  'Please remove your head coverings (hat scarf etc.)...': 'Снимите предметы, покрывающие голову (шапку, шарф и т.д.)…',
5654
5665
  'Please remove your mask...': 'Снимите маску…',
5655
- 'Live face not detected please try again': 'Реальное лицо не обнаружено, повторите попытку',
5666
+ 'Live face not detected, please try again': 'Реальное лицо не обнаружено, повторите попытку',
5656
5667
  Exit: 'Выход',
5657
5668
  'Face liveness has been verified!': 'Реальность лица проверена!',
5658
5669
  Done: 'Готово',
@@ -5667,8 +5678,8 @@ var ru = {
5667
5678
  Clear: 'Очистить',
5668
5679
  'Video signature has been successfully captured!': 'Видеоподпись успешно записана!',
5669
5680
  'Network unreachable': 'Сеть недоступна',
5670
- 'Were having trouble reaching our services please check your connection and try again.': 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
5671
- 'Were sorry an unexpected error has occurred.': 'К сожалению, произошла непредвиденная ошибка.',
5681
+ "We're having trouble reaching our services please check your connection and try again.": 'У нас возникли проблемы с доступом к нашим службам, проверьте подключение и повторите попытку.',
5682
+ "We're sorry an unexpected error has occurred.": 'К сожалению, произошла непредвиденная ошибка.',
5672
5683
  'Document Capture': 'Съемка документа',
5673
5684
  Capture: 'Съемка',
5674
5685
  'Retry capture': 'Повторить съемку',
@@ -5685,7 +5696,7 @@ var ru = {
5685
5696
  'Video ID has been successfully captured!': 'Видеоидентификация успешно выполнена!',
5686
5697
  'ID Front Image': 'Изображение лицевой стороны удостоверения личности',
5687
5698
  'ID Back Image': 'Изображение обратной стороны удостоверения личности',
5688
- 'Were having some trouble.': 'Возникли некоторые проблемы.',
5699
+ "We're having some trouble.": 'Возникли некоторые проблемы.',
5689
5700
  'On-device capture guidance failed please capture a selfie manually.': 'Произошел сбой при выполнении руководства по съемке в устройстве, сделайте селфи вручную.',
5690
5701
  'Verifying...': 'Идентификация…',
5691
5702
  'Please capture the front of your ID card.': 'Снимите лицевую сторону вашего удостоверения личности.',
@@ -5704,12 +5715,13 @@ var ru = {
5704
5715
  'Camera ready': 'Камера готова',
5705
5716
  'Loading guided capture experience...': 'Загрузка данных опыта управляемой съемки…',
5706
5717
  'Guided capture experience ready': 'Данные опыта управляемой съемки готовы',
5707
- 'Lets Go!': 'Поехали!',
5718
+ "Let's Go!": 'Поехали!',
5708
5719
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'У нас возникли проблемы с определением правильной стороны вашего удостоверения личности. Все равно хотите продолжить съемку?',
5709
5720
  OK: 'OK'
5710
5721
  };
5711
5722
 
5712
5723
  var zh = {
5724
+ 'English - en': 'Chinese (Traditional) - zh',
5713
5725
  'Use your device camera to capture your ID': '使用裝置相機拍攝證件',
5714
5726
  'Use your iPhone as a webcam': '將 iPhone 當作網路攝影機使用',
5715
5727
  'Models warming up...': '正在暖機...',
@@ -5765,7 +5777,7 @@ var zh = {
5765
5777
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '請取下眼睛遮蓋物(太陽眼鏡、眼罩等)...',
5766
5778
  'Please remove your head coverings (hat scarf etc.)...': '請取下頭部遮蓋物(帽子、圍巾等)...',
5767
5779
  'Please remove your mask...': '請脫下口罩...',
5768
- 'Live face not detected please try again': '未偵測到活體人臉,請再試一次',
5780
+ 'Live face not detected, please try again': '未偵測到活體人臉,請再試一次',
5769
5781
  Exit: '退出',
5770
5782
  'Face liveness has been verified!': '已驗證人臉活體!',
5771
5783
  Done: '完成',
@@ -5780,8 +5792,8 @@ var zh = {
5780
5792
  Clear: '清除',
5781
5793
  'Video signature has been successfully captured!': '已成功拍攝影片簽名!',
5782
5794
  'Network unreachable': '網路無法連線',
5783
- 'Were having trouble reaching our services please check your connection and try again.': '無法與服務連線,請檢查連線並再試一次。',
5784
- 'Were sorry an unexpected error has occurred.': '很抱歉,發生非預期錯誤。',
5795
+ "We're having trouble reaching our services please check your connection and try again.": '無法與服務連線,請檢查連線並再試一次。',
5796
+ "We're sorry an unexpected error has occurred.": '很抱歉,發生非預期錯誤。',
5785
5797
  'Document Capture': '文件拍攝',
5786
5798
  Capture: '拍攝',
5787
5799
  'Retry capture': '重試拍攝',
@@ -5798,7 +5810,7 @@ var zh = {
5798
5810
  'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
5799
5811
  'ID Front Image': '證件正面影像',
5800
5812
  'ID Back Image': '證件背面影像',
5801
- 'Were having some trouble.': '發生一些問題。',
5813
+ "We're having some trouble.": '發生一些問題。',
5802
5814
  'On-device capture guidance failed please capture a selfie manually.': '裝置上拍攝引導失敗,請手動拍攝自拍照',
5803
5815
  'Verifying...': '正在驗證...',
5804
5816
  'Please capture the front of your ID card.': '請拍攝證件正面。',
@@ -5817,7 +5829,7 @@ var zh = {
5817
5829
  'Camera ready': '相機就緒',
5818
5830
  'Loading guided capture experience...': '正在載入引導式拍攝體驗...',
5819
5831
  'Guided capture experience ready': '引導式拍攝體驗就緒',
5820
- 'Lets Go!': '開始!',
5832
+ "Let's Go!": '開始!',
5821
5833
  'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': '無法識別證件的正確一面,是否仍要繼續拍攝?',
5822
5834
  OK: '確定'
5823
5835
  };
@@ -14193,6 +14205,7 @@ var IdValidation = function IdValidation(_a) {
14193
14205
  webhooksFireOnReview = _a.webhooksFireOnReview,
14194
14206
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14195
14207
  customerDataMatchConfig = _a.customerDataMatchConfig,
14208
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14196
14209
  precapturedDocuments = _a.precapturedDocuments,
14197
14210
  _c = _a.loadingOverlayMode,
14198
14211
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -14364,7 +14377,8 @@ var IdValidation = function IdValidation(_a) {
14364
14377
  onSubmit: onSubmit,
14365
14378
  onResponseReceived: onResponseReceived,
14366
14379
  geolocationEnabled: geolocationEnabled,
14367
- geolocationRequired: geolocationRequired
14380
+ geolocationRequired: geolocationRequired,
14381
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14368
14382
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
14369
14383
  checks: useMemo(function () {
14370
14384
  return ['IdCapture'];
@@ -14400,6 +14414,7 @@ var FaceValidation = function FaceValidation(_a) {
14400
14414
  webhooksFireOnReview = _c === void 0 ? false : _c,
14401
14415
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14402
14416
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14417
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14403
14418
  _d = _a.loadingOverlayMode,
14404
14419
  loadingOverlayMode = _d === void 0 ? 'default' : _d,
14405
14420
  _e = _a.timeoutDurationMs,
@@ -14483,7 +14498,8 @@ var FaceValidation = function FaceValidation(_a) {
14483
14498
  onDocumentUploadFailed: onDocumentUploadFailed,
14484
14499
  onBeforeLivenessCheck: onBeforeSubmit,
14485
14500
  geolocationEnabled: geolocationEnabled,
14486
- geolocationRequired: geolocationRequired
14501
+ geolocationRequired: geolocationRequired,
14502
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14487
14503
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
14488
14504
  checks: useMemo(function () {
14489
14505
  return ['FaceLiveness'];
@@ -14524,6 +14540,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
14524
14540
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14525
14541
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14526
14542
  customerDataMatchConfig = _a.customerDataMatchConfig,
14543
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14527
14544
  precapturedDocuments = _a.precapturedDocuments,
14528
14545
  _c = _a.idCaptureLoadingOverlayMode,
14529
14546
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
@@ -14720,7 +14737,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
14720
14737
  onSubmit: onSubmit,
14721
14738
  onResponseReceived: onResponseReceived,
14722
14739
  geolocationEnabled: geolocationEnabled,
14723
- geolocationRequired: geolocationRequired
14740
+ geolocationRequired: geolocationRequired,
14741
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14724
14742
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
14725
14743
  checks: checks,
14726
14744
  idCaptureProps: idCaptureProps,
@@ -14769,6 +14787,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14769
14787
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
14770
14788
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
14771
14789
  customerDataMatchConfig = _a.customerDataMatchConfig,
14790
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
14772
14791
  _c = _a.idCaptureLoadingOverlayMode,
14773
14792
  idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
14774
14793
  _d = _a.idCaptureRequirement,
@@ -14982,7 +15001,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14982
15001
  onSubmit: onSubmit,
14983
15002
  onResponseReceived: onResponseReceived,
14984
15003
  geolocationEnabled: geolocationEnabled,
14985
- geolocationRequired: geolocationRequired
15004
+ geolocationRequired: geolocationRequired,
15005
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
14986
15006
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
14987
15007
  checks: checks,
14988
15008
  idCaptureProps: idCaptureProps,
@@ -15471,6 +15491,7 @@ var CustomerVerification = function CustomerVerification(_a) {
15471
15491
  webhooksSendInputImages = _a.webhooksSendInputImages,
15472
15492
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
15473
15493
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
15494
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
15474
15495
  _c = _a.loadingOverlayMode,
15475
15496
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
15476
15497
  _d = _a.timeoutDurationMs,
@@ -15533,7 +15554,8 @@ var CustomerVerification = function CustomerVerification(_a) {
15533
15554
  onBeforeSubmit: onBeforeSubmit,
15534
15555
  onSubmit: onSubmit,
15535
15556
  geolocationEnabled: geolocationEnabled,
15536
- geolocationRequired: geolocationRequired
15557
+ geolocationRequired: geolocationRequired,
15558
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
15537
15559
  }, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
15538
15560
  preferFrontFacingCamera: true,
15539
15561
  onCameraAccessDenied: onCameraAccessDenied
@@ -16029,6 +16051,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
16029
16051
  webhooksSendInputImages = _a.webhooksSendInputImages,
16030
16052
  webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
16031
16053
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16054
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16032
16055
  _c = _a.loadingOverlayMode,
16033
16056
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
16034
16057
  _d = _a.timeoutDurationMs,
@@ -16090,7 +16113,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
16090
16113
  onBeforeSubmit: onBeforeSubmit,
16091
16114
  onSubmit: onSubmit,
16092
16115
  geolocationEnabled: geolocationEnabled,
16093
- geolocationRequired: geolocationRequired
16116
+ geolocationRequired: geolocationRequired,
16117
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16094
16118
  }, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
16095
16119
  preferFrontFacingCamera: true,
16096
16120
  onCameraAccessDenied: onCameraAccessDenied
@@ -16127,6 +16151,7 @@ var SignatureKYC = function SignatureKYC(_a) {
16127
16151
  submissionUrl = _a.submissionUrl,
16128
16152
  documentServiceUrl = _a.documentServiceUrl,
16129
16153
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16154
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16130
16155
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16131
16156
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16132
16157
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16180,7 +16205,8 @@ var SignatureKYC = function SignatureKYC(_a) {
16180
16205
  onSubmit: onSubmit,
16181
16206
  onResponseReceived: onComplete,
16182
16207
  geolocationEnabled: geolocationEnabled,
16183
- geolocationRequired: geolocationRequired
16208
+ geolocationRequired: geolocationRequired,
16209
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16184
16210
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
16185
16211
  debugMode: debugMode,
16186
16212
  checks: useMemo(function () {
@@ -16238,6 +16264,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
16238
16264
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
16239
16265
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16240
16266
  customerDataMatchConfig = _a.customerDataMatchConfig,
16267
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16241
16268
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16242
16269
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16243
16270
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16416,7 +16443,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
16416
16443
  onBeforeSubmit: onBeforeSubmit,
16417
16444
  onResponseReceived: onComplete,
16418
16445
  geolocationEnabled: geolocationEnabled,
16419
- geolocationRequired: geolocationRequired
16446
+ geolocationRequired: geolocationRequired,
16447
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16420
16448
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
16421
16449
  checks: useMemo(function () {
16422
16450
  return ['VideoIdCapture'];
@@ -16455,6 +16483,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
16455
16483
  webhooksFireOnReview = _a.webhooksFireOnReview,
16456
16484
  webhooksFireOnReviewURL = _a.webhooksFireOnReviewURL,
16457
16485
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16486
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16458
16487
  _c = _a.loadingOverlayMode,
16459
16488
  loadingOverlayMode = _c === void 0 ? 'default' : _c,
16460
16489
  _d = _a.timeoutDurationMs,
@@ -16581,7 +16610,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
16581
16610
  onSubmit: onSubmit,
16582
16611
  onResponseReceived: onResponseReceived,
16583
16612
  geolocationEnabled: geolocationEnabled,
16584
- geolocationRequired: geolocationRequired
16613
+ geolocationRequired: geolocationRequired,
16614
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16585
16615
  }, /*#__PURE__*/React__default.createElement(CompositeWizard, {
16586
16616
  checks: useMemo(function () {
16587
16617
  return ['FaceLiveness'];
@@ -16608,6 +16638,7 @@ var DocumentCapture = function DocumentCapture(_a) {
16608
16638
  submissionUrl = _a.submissionUrl,
16609
16639
  documentServiceUrl = _a.documentServiceUrl,
16610
16640
  sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
16641
+ useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
16611
16642
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
16612
16643
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
16613
16644
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -16650,7 +16681,8 @@ var DocumentCapture = function DocumentCapture(_a) {
16650
16681
  onDocumentUploaded: onDocumentUploaded,
16651
16682
  onDocumentUploadFailed: onDocumentUploadFailed,
16652
16683
  geolocationEnabled: geolocationEnabled,
16653
- geolocationRequired: geolocationRequired
16684
+ geolocationRequired: geolocationRequired,
16685
+ useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
16654
16686
  }, /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
16655
16687
  requestAccessAutomatically: false,
16656
16688
  preferIphoneContinuityCamera: true,