idmission-web-sdk 2.3.30 → 2.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk2.esm.js CHANGED
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
204
204
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
205
205
  };
206
206
 
207
- var webSdkVersion = '2.3.30';
207
+ var webSdkVersion = '2.3.32';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -3644,7 +3644,7 @@ var es = {
3644
3644
  Passport: 'Pasaporte',
3645
3645
  'Document not detected': 'No se ha detectado el documento',
3646
3646
  'Document is not centered': 'Documento no centrado',
3647
- 'Document too close please back up': 'Documento muy cerca, favor de alejarse',
3647
+ 'Document too close, please back up': 'Documento muy cerca, favor de alejarse',
3648
3648
  'Please hold your ID document steady': 'Por favor, hay que mantener firme su identificación',
3649
3649
  'Document out of focus - try improving the lighting': 'Documento no enfocado, hay que tratar de mejorar la iluminación',
3650
3650
  'ID card front detected - please flip your ID card': 'Frente de la ID detectado, por favor hay que voltearla',
@@ -3773,7 +3773,7 @@ var de = {
3773
3773
  Passport: 'Reisepass',
3774
3774
  'Document not detected': 'Dokument nicht erkannt',
3775
3775
  'Document is not centered': 'Dokument ist nicht zentriert',
3776
- 'Document too close please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
3776
+ 'Document too close, please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
3777
3777
  'Please hold your ID document steady': 'Ihr Ausweisdokument ruhig halten',
3778
3778
  'Document out of focus - try improving the lighting': 'Dokument unscharf - versuchen Sie, die Beleuchtung zu verbessern',
3779
3779
  'ID card front detected - please flip your ID card': 'Vorderseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
@@ -3902,7 +3902,7 @@ var fr = {
3902
3902
  Passport: 'Passeport',
3903
3903
  'Document not detected': 'Document non détecté',
3904
3904
  'Document is not centered': "Le document n'est pas centré",
3905
- 'Document too close please back up': 'Document trop proche, veuillez sauvegarder',
3905
+ 'Document too close, please back up': 'Document trop proche, veuillez sauvegarder',
3906
3906
  'Please hold your ID document steady': "Veuillez maintenir fermement votre pièce d'identité",
3907
3907
  'Document out of focus - try improving the lighting': "Document flou - essayez d'améliorer l'éclairage",
3908
3908
  'ID card front detected - please flip your ID card': "Recto de la carte d'identité détecté - veuillez retourner votre carte d'identité",
@@ -4031,7 +4031,7 @@ var it = {
4031
4031
  Passport: 'Passaporto',
4032
4032
  'Document not detected': 'Documento non rilevato',
4033
4033
  'Document is not centered': 'Documento non centrato',
4034
- 'Document too close please back up': 'Documento troppo vicino, allontanarlo',
4034
+ 'Document too close, please back up': 'Documento troppo vicino, allontanarlo',
4035
4035
  'Please hold your ID document steady': "Tenere il documento d'identità fermo",
4036
4036
  'Document out of focus - try improving the lighting': "Documento fuori fuoco - provare a migliorare l'illuminazione",
4037
4037
  'ID card front detected - please flip your ID card': "Fronte del documento d'identità rilevato - Girare il documento d'identità",
@@ -4160,7 +4160,7 @@ var ja = {
4160
4160
  Passport: 'パスポート',
4161
4161
  'Document not detected': 'ドキュメントが検出されません',
4162
4162
  'Document is not centered': 'ドキュメントが中央に合っていません',
4163
- 'Document too close please back up': 'ドキュメントが近すぎます。遠ざけてください',
4163
+ 'Document too close, please back up': 'ドキュメントが近すぎます。遠ざけてください',
4164
4164
  'Please hold your ID document steady': '身分証が動かないように押さえてください',
4165
4165
  'Document out of focus - try improving the lighting': 'ドキュメントの焦点がぼやけています。照明を調節してください',
4166
4166
  'ID card front detected - please flip your ID card': '身分証の正面が検出されました。身分証を裏返してください',
@@ -4289,7 +4289,7 @@ var pt = {
4289
4289
  Passport: 'Passaporte',
4290
4290
  'Document not detected': 'Documento não detectado',
4291
4291
  'Document is not centered': 'Documento não está centralizado',
4292
- 'Document too close please back up': 'Documento muito próximo, recue',
4292
+ 'Document too close, please back up': 'Documento muito próximo, recue',
4293
4293
  'Please hold your ID document steady': 'Segure seu documento de identificação com firmeza',
4294
4294
  'Document out of focus - try improving the lighting': 'Documento fora de foco - tente melhorar a iluminação',
4295
4295
  'ID card front detected - please flip your ID card': 'Detectada a frente da carteira de identidade - vire a carteira de identidade',
@@ -4418,7 +4418,7 @@ var ru = {
4418
4418
  Passport: 'Паспорт',
4419
4419
  'Document not detected': 'Документ не определен',
4420
4420
  'Document is not centered': 'Документ не отцентрирован',
4421
- 'Document too close please back up': 'Документ находится слишком близко, отодвиньтесь назад',
4421
+ 'Document too close, please back up': 'Документ находится слишком близко, отодвиньтесь назад',
4422
4422
  'Please hold your ID document steady': 'Держите удостоверение личности ровно',
4423
4423
  'Document out of focus – try improving the lighting': 'Документ не в фокусе, попробуйте улучшить освещение',
4424
4424
  'ID card front detected - please flip your ID card': 'Обнаружена лицевая сторона удостоверения личности, переверните удостоверение личности',
@@ -4547,7 +4547,7 @@ var zh = {
4547
4547
  Passport: '護照',
4548
4548
  'Document not detected': '未偵測到文件',
4549
4549
  'Document is not centered': '文件未置中',
4550
- 'Document too close please back up': '文件太近,請後退',
4550
+ 'Document too close, please back up': '文件太近,請後退',
4551
4551
  'Please hold your ID document steady': '請拿穩證件',
4552
4552
  'Document out of focus - try improving the lighting': '文件失焦 - 請嘗試改善燈光',
4553
4553
  'ID card front detected - please flip your ID card': '偵測到證件正面 - 請將證件翻面',
@@ -8461,7 +8461,7 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
8461
8461
  var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
8462
8462
  var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
8463
8463
  var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
8464
- var cardAspectRatio = imageAspectRatio > 1 ? '16/10' : '10/16';
8464
+ var cardAspectRatio = imageAspectRatio > 1 ? '1.6' : '0.625';
8465
8465
  var onImageLoaded = useCallback(function (e) {
8466
8466
  var _a, _b;
8467
8467
  guideOrientationOnImageLoaded(e);