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.
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAkLC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAmLC"}
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -33,7 +33,7 @@ export declare const resources: {
33
33
  Passport: string;
34
34
  'Document not detected': string;
35
35
  'Document is not centered': string;
36
- 'Document too close please back up': string;
36
+ 'Document too close, please back up': string;
37
37
  'Please hold your ID document steady': string;
38
38
  'Document out of focus - try improving the lighting': string;
39
39
  'ID card front detected - please flip your ID card': string;
@@ -163,7 +163,7 @@ export declare const resources: {
163
163
  Passport: string;
164
164
  'Document not detected': string;
165
165
  'Document is not centered': string;
166
- 'Document too close please back up': string;
166
+ 'Document too close, please back up': string;
167
167
  'Please hold your ID document steady': string;
168
168
  'Document out of focus - try improving the lighting': string;
169
169
  'ID card front detected - please flip your ID card': string;
@@ -293,7 +293,7 @@ export declare const resources: {
293
293
  Passport: string;
294
294
  'Document not detected': string;
295
295
  'Document is not centered': string;
296
- 'Document too close please back up': string;
296
+ 'Document too close, please back up': string;
297
297
  'Please hold your ID document steady': string;
298
298
  'Document out of focus - try improving the lighting': string;
299
299
  'ID card front detected - please flip your ID card': string;
@@ -423,7 +423,7 @@ export declare const resources: {
423
423
  Passport: string;
424
424
  'Document not detected': string;
425
425
  'Document is not centered': string;
426
- 'Document too close please back up': string;
426
+ 'Document too close, please back up': string;
427
427
  'Please hold your ID document steady': string;
428
428
  'Document out of focus - try improving the lighting': string;
429
429
  'ID card front detected - please flip your ID card': string;
@@ -553,7 +553,7 @@ export declare const resources: {
553
553
  Passport: string;
554
554
  'Document not detected': string;
555
555
  'Document is not centered': string;
556
- 'Document too close please back up': string;
556
+ 'Document too close, please back up': string;
557
557
  'Please hold your ID document steady': string;
558
558
  'Document out of focus - try improving the lighting': string;
559
559
  'ID card front detected - please flip your ID card': string;
@@ -683,7 +683,7 @@ export declare const resources: {
683
683
  Passport: string;
684
684
  'Document not detected': string;
685
685
  'Document is not centered': string;
686
- 'Document too close please back up': string;
686
+ 'Document too close, please back up': string;
687
687
  'Please hold your ID document steady': string;
688
688
  'Document out of focus - try improving the lighting': string;
689
689
  'ID card front detected - please flip your ID card': string;
@@ -813,7 +813,7 @@ export declare const resources: {
813
813
  Passport: string;
814
814
  'Document not detected': string;
815
815
  'Document is not centered': string;
816
- 'Document too close please back up': string;
816
+ 'Document too close, please back up': string;
817
817
  'Please hold your ID document steady': string;
818
818
  'Document out of focus \u2013 try improving the lighting': string;
819
819
  'ID card front detected - please flip your ID card': string;
@@ -943,7 +943,7 @@ export declare const resources: {
943
943
  Passport: string;
944
944
  'Document not detected': string;
945
945
  'Document is not centered': string;
946
- 'Document too close please back up': string;
946
+ 'Document too close, please back up': string;
947
947
  'Please hold your ID document steady': string;
948
948
  'Document out of focus - try improving the lighting': string;
949
949
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus \u2013 try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  Passport: string;
25
25
  'Document not detected': string;
26
26
  'Document is not centered': string;
27
- 'Document too close please back up': string;
27
+ 'Document too close, please back up': string;
28
28
  'Please hold your ID document steady': string;
29
29
  'Document out of focus - try improving the lighting': string;
30
30
  'ID card front detected - please flip your ID card': string;
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
235
235
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
236
236
  };
237
237
 
238
- var webSdkVersion = '2.3.30';
238
+ var webSdkVersion = '2.3.32';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -3675,7 +3675,7 @@ var es = {
3675
3675
  Passport: 'Pasaporte',
3676
3676
  'Document not detected': 'No se ha detectado el documento',
3677
3677
  'Document is not centered': 'Documento no centrado',
3678
- 'Document too close please back up': 'Documento muy cerca, favor de alejarse',
3678
+ 'Document too close, please back up': 'Documento muy cerca, favor de alejarse',
3679
3679
  'Please hold your ID document steady': 'Por favor, hay que mantener firme su identificación',
3680
3680
  'Document out of focus - try improving the lighting': 'Documento no enfocado, hay que tratar de mejorar la iluminación',
3681
3681
  'ID card front detected - please flip your ID card': 'Frente de la ID detectado, por favor hay que voltearla',
@@ -3804,7 +3804,7 @@ var de = {
3804
3804
  Passport: 'Reisepass',
3805
3805
  'Document not detected': 'Dokument nicht erkannt',
3806
3806
  'Document is not centered': 'Dokument ist nicht zentriert',
3807
- 'Document too close please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
3807
+ 'Document too close, please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
3808
3808
  'Please hold your ID document steady': 'Ihr Ausweisdokument ruhig halten',
3809
3809
  'Document out of focus - try improving the lighting': 'Dokument unscharf - versuchen Sie, die Beleuchtung zu verbessern',
3810
3810
  'ID card front detected - please flip your ID card': 'Vorderseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
@@ -3933,7 +3933,7 @@ var fr = {
3933
3933
  Passport: 'Passeport',
3934
3934
  'Document not detected': 'Document non détecté',
3935
3935
  'Document is not centered': "Le document n'est pas centré",
3936
- 'Document too close please back up': 'Document trop proche, veuillez sauvegarder',
3936
+ 'Document too close, please back up': 'Document trop proche, veuillez sauvegarder',
3937
3937
  'Please hold your ID document steady': "Veuillez maintenir fermement votre pièce d'identité",
3938
3938
  'Document out of focus - try improving the lighting': "Document flou - essayez d'améliorer l'éclairage",
3939
3939
  'ID card front detected - please flip your ID card': "Recto de la carte d'identité détecté - veuillez retourner votre carte d'identité",
@@ -4062,7 +4062,7 @@ var it = {
4062
4062
  Passport: 'Passaporto',
4063
4063
  'Document not detected': 'Documento non rilevato',
4064
4064
  'Document is not centered': 'Documento non centrato',
4065
- 'Document too close please back up': 'Documento troppo vicino, allontanarlo',
4065
+ 'Document too close, please back up': 'Documento troppo vicino, allontanarlo',
4066
4066
  'Please hold your ID document steady': "Tenere il documento d'identità fermo",
4067
4067
  'Document out of focus - try improving the lighting': "Documento fuori fuoco - provare a migliorare l'illuminazione",
4068
4068
  'ID card front detected - please flip your ID card': "Fronte del documento d'identità rilevato - Girare il documento d'identità",
@@ -4191,7 +4191,7 @@ var ja = {
4191
4191
  Passport: 'パスポート',
4192
4192
  'Document not detected': 'ドキュメントが検出されません',
4193
4193
  'Document is not centered': 'ドキュメントが中央に合っていません',
4194
- 'Document too close please back up': 'ドキュメントが近すぎます。遠ざけてください',
4194
+ 'Document too close, please back up': 'ドキュメントが近すぎます。遠ざけてください',
4195
4195
  'Please hold your ID document steady': '身分証が動かないように押さえてください',
4196
4196
  'Document out of focus - try improving the lighting': 'ドキュメントの焦点がぼやけています。照明を調節してください',
4197
4197
  'ID card front detected - please flip your ID card': '身分証の正面が検出されました。身分証を裏返してください',
@@ -4320,7 +4320,7 @@ var pt = {
4320
4320
  Passport: 'Passaporte',
4321
4321
  'Document not detected': 'Documento não detectado',
4322
4322
  'Document is not centered': 'Documento não está centralizado',
4323
- 'Document too close please back up': 'Documento muito próximo, recue',
4323
+ 'Document too close, please back up': 'Documento muito próximo, recue',
4324
4324
  'Please hold your ID document steady': 'Segure seu documento de identificação com firmeza',
4325
4325
  'Document out of focus - try improving the lighting': 'Documento fora de foco - tente melhorar a iluminação',
4326
4326
  'ID card front detected - please flip your ID card': 'Detectada a frente da carteira de identidade - vire a carteira de identidade',
@@ -4449,7 +4449,7 @@ var ru = {
4449
4449
  Passport: 'Паспорт',
4450
4450
  'Document not detected': 'Документ не определен',
4451
4451
  'Document is not centered': 'Документ не отцентрирован',
4452
- 'Document too close please back up': 'Документ находится слишком близко, отодвиньтесь назад',
4452
+ 'Document too close, please back up': 'Документ находится слишком близко, отодвиньтесь назад',
4453
4453
  'Please hold your ID document steady': 'Держите удостоверение личности ровно',
4454
4454
  'Document out of focus – try improving the lighting': 'Документ не в фокусе, попробуйте улучшить освещение',
4455
4455
  'ID card front detected - please flip your ID card': 'Обнаружена лицевая сторона удостоверения личности, переверните удостоверение личности',
@@ -4578,7 +4578,7 @@ var zh = {
4578
4578
  Passport: '護照',
4579
4579
  'Document not detected': '未偵測到文件',
4580
4580
  'Document is not centered': '文件未置中',
4581
- 'Document too close please back up': '文件太近,請後退',
4581
+ 'Document too close, please back up': '文件太近,請後退',
4582
4582
  'Please hold your ID document steady': '請拿穩證件',
4583
4583
  'Document out of focus - try improving the lighting': '文件失焦 - 請嘗試改善燈光',
4584
4584
  'ID card front detected - please flip your ID card': '偵測到證件正面 - 請將證件翻面',
@@ -8492,7 +8492,7 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
8492
8492
  var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
8493
8493
  var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
8494
8494
  var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
8495
- var cardAspectRatio = imageAspectRatio > 1 ? '16/10' : '10/16';
8495
+ var cardAspectRatio = imageAspectRatio > 1 ? '1.6' : '0.625';
8496
8496
  var onImageLoaded = React.useCallback(function (e) {
8497
8497
  var _a, _b;
8498
8498
  guideOrientationOnImageLoaded(e);