idmission-web-sdk 1.0.239 → 1.0.241

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.
@@ -68,5 +68,17 @@ declare const _default: {
68
68
  'Please move your face to the center...': string;
69
69
  'Please read the following text aloud': string;
70
70
  'Video ID has been successfully captured!': string;
71
+ "We're having some trouble.": string;
72
+ 'On-device capture guidance failed, please capture a selfie manually.': string;
73
+ 'Verifying...': string;
74
+ 'Please capture the front of your ID card.': string;
75
+ 'Please capture the back of your ID card.': string;
76
+ 'Please capture the front of your ID card, or the ID page of your passport.': string;
77
+ 'Please capture the back of your ID card, or click Done if submitting a passport.': string;
78
+ 'Please capture the ID page of your passport.': string;
79
+ 'On-device capture guidance failed, please capture a photo of your ID card manually.': string;
80
+ 'On-device capture guidance failed, please capture a photo of your passport manually.': string;
81
+ 'On-device capture guidance failed, please capture photos of your ID card and passport manually.': string;
82
+ 'On-device capture guidance failed, please capture photos of your ID card or passport manually.': string;
71
83
  };
72
84
  export default _default;
@@ -76,6 +76,18 @@ export declare const resources: {
76
76
  'Please move your face to the center...': string;
77
77
  'Please read the following text aloud': string;
78
78
  'Video ID has been successfully captured!': string;
79
+ "We're having some trouble.": string;
80
+ 'On-device capture guidance failed, please capture a selfie manually.': string;
81
+ 'Verifying...': string;
82
+ 'Please capture the front of your ID card.': string;
83
+ 'Please capture the back of your ID card.': string;
84
+ 'Please capture the front of your ID card, or the ID page of your passport.': string;
85
+ 'Please capture the back of your ID card, or click Done if submitting a passport.': string;
86
+ 'Please capture the ID page of your passport.': string;
87
+ 'On-device capture guidance failed, please capture a photo of your ID card manually.': string;
88
+ 'On-device capture guidance failed, please capture a photo of your passport manually.': string;
89
+ 'On-device capture guidance failed, please capture photos of your ID card and passport manually.': string;
90
+ 'On-device capture guidance failed, please capture photos of your ID card or passport manually.': string;
79
91
  };
80
92
  };
81
93
  };
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
49
49
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
50
50
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
51
51
 
52
- var webSdkVersion = '1.0.239';
52
+ var webSdkVersion = '1.0.241';
53
53
 
54
54
  function getPlatform() {
55
55
  if (typeof window === 'undefined') return;
@@ -1790,8 +1790,9 @@ var useHighestResCaptureDevice = function useHighestResCaptureDevice(_a) {
1790
1790
  selectedCamera = iphoneContinuityCamera;
1791
1791
  }
1792
1792
  } else if ((platform === null || platform === void 0 ? void 0 : platform.os.family) === 'Android') {
1793
- if (debugMode) console.log('flipping available cameras because platform is android');
1794
- availableCameras.reverse();
1793
+ availableCameras = availableCameras.sort(function (a, b) {
1794
+ return a.label.toLowerCase().localeCompare(b.label.toLowerCase());
1795
+ });
1795
1796
  }
1796
1797
  if (preferFrontFacingCamera) {
1797
1798
  selectedCamera = availableCameras.find(function (deviceInfo) {
@@ -9964,7 +9965,19 @@ var esTranslation = {
9964
9965
  'Display the back of your ID card...': 'Hay que mostrar el reverso de la identificación...',
9965
9966
  'Please move your face to the center...': 'Por favor, hay que mover la cabeza hacia el centro...',
9966
9967
  'Please read the following text aloud': 'Hay que leer el siguiente texto en voz alta',
9967
- 'Video ID has been successfully captured!': 'Video ID capturado exitosamente!'
9968
+ 'Video ID has been successfully captured!': 'Video ID capturado exitosamente!',
9969
+ "We're having some trouble.": 'Se ha presentado un problema.',
9970
+ 'On-device capture guidance failed, please capture a selfie manually.': 'La captura automática para toma de selfie falló. Por favor, hay que tomarse la selfie manualmente.',
9971
+ 'Verifying...': 'Verificando....',
9972
+ 'Please capture the front of your ID card.': 'Hay que capturar el frente de la identificación.',
9973
+ 'Please capture the back of your ID card.': 'Hay que capturar el reverso de la identificación.',
9974
+ 'Please capture the front of your ID card, or the ID page of your passport.': 'Hay que capturar el frente de la identificación o la página de datos del pasaporte.',
9975
+ 'Please capture the back of your ID card, or click Done if submitting a passport.': 'Hay que capturar el reverso de la identificación o hay que presionar el botón de Terminar si se trata de un pasaporte.',
9976
+ 'Please capture the ID page of your passport.': 'Hay que capturar la página de datos del pasaporte.',
9977
+ 'On-device capture guidance failed, please capture a photo of your ID card manually.': 'La captura automática falló. Por favor hay que tomar una foto de la identificación manualmente.',
9978
+ 'On-device capture guidance failed, please capture a photo of your passport manually.': 'La captura automática falló. Por favor hay que tomar una foto de la pasaporte manualmente.',
9979
+ 'On-device capture guidance failed, please capture photos of your ID card and passport manually.': 'La captura automática falló. Por favor hay que tomar una foto de la identificación y del pasaporte manualmente.',
9980
+ 'On-device capture guidance failed, please capture photos of your ID card or passport manually.': 'La captura automática falló. Por favor hay que tomar una foto de la identificación o del pasaporte manualmente.'
9968
9981
  };
9969
9982
 
9970
9983
  var resources = {