idmission-web-sdk 2.1.2 → 2.1.4
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/lib/locales/es/translation.d.ts +3 -0
- package/dist/lib/locales/index.d.ts +3 -0
- package/dist/sdk2.cjs.development.js +5 -2
- 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 +5 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -2
- 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 +1 -1
package/dist/sdk2.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import LanguageDetector from 'i18next-browser-languagedetector';
|
|
|
14
14
|
import i18n from 'i18next';
|
|
15
15
|
import SignatureCanvas from 'react-signature-canvas';
|
|
16
16
|
|
|
17
|
-
var webSdkVersion = '2.1.
|
|
17
|
+
var webSdkVersion = '2.1.4';
|
|
18
18
|
|
|
19
19
|
function getPlatform() {
|
|
20
20
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -4389,6 +4389,9 @@ var esTranslation = {
|
|
|
4389
4389
|
'ID card front detected - please flip your ID card': 'Anverso detectado, por favor voltea tu identificación',
|
|
4390
4390
|
'ID card back detected - please flip your ID card': 'Reverso detectado, por favor voltea tu identificación',
|
|
4391
4391
|
'Document detected, hold still...': 'Se ha detectado el documento, no moverse por favor...',
|
|
4392
|
+
'ID card front detected, hold still...': 'Anverso detectado, no mover...',
|
|
4393
|
+
'ID card back detected, hold still...': 'Reverso detectado, no mover...',
|
|
4394
|
+
'Passport detected, hold still...': 'Pasaporte detectado, no mover...',
|
|
4392
4395
|
'Capturing...': 'Capturando...',
|
|
4393
4396
|
'Capture failed!': 'Falló la captura',
|
|
4394
4397
|
'Please flip your ID card...': 'Por favor voltea la identificación...',
|
|
@@ -6340,7 +6343,7 @@ function IdCaptureGuides(_a) {
|
|
|
6340
6343
|
backImageUrl: backImageUrl,
|
|
6341
6344
|
isMirrored: !((_c = cameraRef.current) === null || _c === void 0 ? void 0 : _c.isRearFacing),
|
|
6342
6345
|
borderColor: state.isGoodFrame ? colors.guideBoxSatisfiedColor : colors.guideBoxUnsatisfiedColor,
|
|
6343
|
-
imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.flipRequired
|
|
6346
|
+
imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.backDetectedFirst || state.flipRequired
|
|
6344
6347
|
})));
|
|
6345
6348
|
}
|
|
6346
6349
|
|