idmission-web-sdk 2.2.145 → 2.2.147
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/components/document_capture/DocumentCaptureStateProvider.d.ts.map +1 -1
- package/dist/lib/locales/de.d.ts +1 -1
- package/dist/lib/locales/es.d.ts +1 -1
- package/dist/lib/locales/fr.d.ts +1 -1
- package/dist/lib/locales/index.d.ts +8 -8
- package/dist/lib/locales/it.d.ts +1 -1
- package/dist/lib/locales/ja.d.ts +1 -1
- package/dist/lib/locales/pt.d.ts +1 -1
- package/dist/lib/locales/ru.d.ts +1 -1
- package/dist/lib/locales/zh.d.ts +1 -1
- package/dist/sdk2.cjs.development.js +10 -21
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +10 -21
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +10 -21
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
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.
|
|
206
|
+
var webSdkVersion = '2.2.147';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5096,7 +5096,7 @@ var es = {
|
|
|
5096
5096
|
Upload: 'Enviar',
|
|
5097
5097
|
'Uploading...': 'Procesando...',
|
|
5098
5098
|
'Upload succeeded!': '¡Proceso completo!',
|
|
5099
|
-
'Performing facial recognition please hold still...': 'Realizando el reconocimiento facial, por favor no hay que moverse',
|
|
5099
|
+
'Performing facial recognition, please hold still...': 'Realizando el reconocimiento facial, por favor no hay que moverse',
|
|
5100
5100
|
'Display the front of your ID card...': 'Hay que mostrar el frente de la ID...',
|
|
5101
5101
|
'Display the back of your ID card...': 'Hay que mostrar el reverso de la ID...',
|
|
5102
5102
|
'Display the ID page of your passport...': 'Hay que mostrar la página de datos del pasaporte...',
|
|
@@ -5221,7 +5221,7 @@ var de = {
|
|
|
5221
5221
|
Upload: 'Hochladen',
|
|
5222
5222
|
'Uploading...': 'Wird hochgeladen...',
|
|
5223
5223
|
'Upload succeeded!': 'Upload erfolgreich!',
|
|
5224
|
-
'Performing facial recognition please hold still...': 'Gesichtserkennung wird durchgeführt, bitte stillhalten...',
|
|
5224
|
+
'Performing facial recognition, please hold still...': 'Gesichtserkennung wird durchgeführt, bitte stillhalten...',
|
|
5225
5225
|
'Display the front of your ID card...': 'Anzeige der Vorderseite Ihres Ausweises...',
|
|
5226
5226
|
'Display the back of your ID card...': 'Anzeige der Rückseite Ihres Ausweises...',
|
|
5227
5227
|
'Display the ID page of your passport...': 'Anzeige der Ausweis-Seite Ihres Passes...',
|
|
@@ -5346,7 +5346,7 @@ var fr = {
|
|
|
5346
5346
|
Upload: 'Télécharger',
|
|
5347
5347
|
'Uploading...': 'Chargement en cours....',
|
|
5348
5348
|
'Upload succeeded!': 'Téléchargement réussi!',
|
|
5349
|
-
'Performing facial recognition please hold still...': 'Exécution de la reconnaissance faciale, veuillez rester immobile...',
|
|
5349
|
+
'Performing facial recognition, please hold still...': 'Exécution de la reconnaissance faciale, veuillez rester immobile...',
|
|
5350
5350
|
'Display the front of your ID card...': "Affichez le recto de votre carte d'identité...",
|
|
5351
5351
|
'Display the back of your ID card...': "Affichez le verso de votre carte d'identité...",
|
|
5352
5352
|
'Display the ID page of your passport...': "Montrez la page d'identité de votre passeport...",
|
|
@@ -5471,7 +5471,7 @@ var it = {
|
|
|
5471
5471
|
Upload: 'Carica',
|
|
5472
5472
|
'Uploading...': 'Caricamento...',
|
|
5473
5473
|
'Upload succeeded!': 'Caricamento riuscito!',
|
|
5474
|
-
'Performing facial recognition please hold still...': 'Riconoscimento volto in corso, tenere fermo...',
|
|
5474
|
+
'Performing facial recognition, please hold still...': 'Riconoscimento volto in corso, tenere fermo...',
|
|
5475
5475
|
'Display the front of your ID card...': 'Mostrare il fronte del documento d’identità...',
|
|
5476
5476
|
'Display the back of your ID card...': 'Mostrare il retro della documento d’identità...',
|
|
5477
5477
|
'Display the ID page of your passport...': 'Mostrare la pagina identificativa del passaporto...',
|
|
@@ -5596,7 +5596,7 @@ var ja = {
|
|
|
5596
5596
|
Upload: 'アップロード',
|
|
5597
5597
|
'Uploading...': 'アップロード中…',
|
|
5598
5598
|
'Upload succeeded!': '正常にアップロードされました',
|
|
5599
|
-
'Performing facial recognition please hold still...': '顔認識を行っています。動かないようにしてください…',
|
|
5599
|
+
'Performing facial recognition, please hold still...': '顔認識を行っています。動かないようにしてください…',
|
|
5600
5600
|
'Display the front of your ID card...': '身分証の正面を表示します…',
|
|
5601
5601
|
'Display the back of your ID card...': '身分証の背面を表示します…',
|
|
5602
5602
|
'Display the ID page of your passport...': 'パスポートの身分ページを表示します…',
|
|
@@ -5721,7 +5721,7 @@ var pt = {
|
|
|
5721
5721
|
Upload: 'Carregar',
|
|
5722
5722
|
'Uploading...': 'Carregando...',
|
|
5723
5723
|
'Upload succeeded!': 'O carregamento foi bem-sucedido!',
|
|
5724
|
-
'Performing facial recognition please hold still...': 'Executando o reconhecimento facial, mantenha-se imóvel...',
|
|
5724
|
+
'Performing facial recognition, please hold still...': 'Executando o reconhecimento facial, mantenha-se imóvel...',
|
|
5725
5725
|
'Display the front of your ID card...': 'Exiba a frente da sua carteira de identidade',
|
|
5726
5726
|
'Display the back of your ID card...': 'Exiba o verso da sua carteira de identidade',
|
|
5727
5727
|
'Display the ID page of your passport...': 'Exiba a página de identificação do seu passaporte...',
|
|
@@ -5846,7 +5846,7 @@ var ru = {
|
|
|
5846
5846
|
Upload: 'Загрузить',
|
|
5847
5847
|
'Uploading...': 'Загрузка…',
|
|
5848
5848
|
'Upload succeeded!': 'Загрузка успешно выполнена!',
|
|
5849
|
-
'Performing facial recognition please hold still...': 'Выполняется распознавание лица, не двигайтесь…',
|
|
5849
|
+
'Performing facial recognition, please hold still...': 'Выполняется распознавание лица, не двигайтесь…',
|
|
5850
5850
|
'Display the front of your ID card...': 'Покажите лицевую сторону вашего удостоверения личности…',
|
|
5851
5851
|
'Display the back of your ID card...': 'Покажите обратную сторону вашего удостоверения личности…',
|
|
5852
5852
|
'Display the ID page of your passport...': 'Покажите страницу с идентификационными данными вашего паспорта…',
|
|
@@ -5971,7 +5971,7 @@ var zh = {
|
|
|
5971
5971
|
Upload: '上傳',
|
|
5972
5972
|
'Uploading...': '正在上傳...',
|
|
5973
5973
|
'Upload succeeded!': '上傳成功!',
|
|
5974
|
-
'Performing facial recognition please hold still...': '正在進行臉部辨識,請保持不動...',
|
|
5974
|
+
'Performing facial recognition, please hold still...': '正在進行臉部辨識,請保持不動...',
|
|
5975
5975
|
'Display the front of your ID card...': '出示證件正面...',
|
|
5976
5976
|
'Display the back of your ID card...': '出示證件背面...',
|
|
5977
5977
|
'Display the ID page of your passport...': '出示護照的 ID 頁面...',
|
|
@@ -8747,18 +8747,7 @@ var DocumentCaptureStateProvider = function DocumentCaptureStateProvider(_a) {
|
|
|
8747
8747
|
}
|
|
8748
8748
|
});
|
|
8749
8749
|
}
|
|
8750
|
-
if (
|
|
8751
|
-
var tracks = videoStream.getTracks();
|
|
8752
|
-
var videoCameraTrack = tracks.find(function (track) {
|
|
8753
|
-
return track.kind === 'video';
|
|
8754
|
-
});
|
|
8755
|
-
if (videoCameraTrack) {
|
|
8756
|
-
var imageCapture = new ImageCapture(videoCameraTrack);
|
|
8757
|
-
imageCapture.takePhoto().then(onComplete)["catch"](function () {});
|
|
8758
|
-
} else {
|
|
8759
|
-
throw new Error('Failed to find a video feed for taking a photo');
|
|
8760
|
-
}
|
|
8761
|
-
} else if (videoTag) {
|
|
8750
|
+
if (videoTag) {
|
|
8762
8751
|
var canvas = document.createElement('canvas');
|
|
8763
8752
|
drawToCanvas(canvas, videoTag);
|
|
8764
8753
|
canvas.toBlob(onComplete);
|