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
|
@@ -27,6 +27,9 @@ declare const _default: {
|
|
|
27
27
|
'ID card front detected - please flip your ID card': string;
|
|
28
28
|
'ID card back detected - please flip your ID card': string;
|
|
29
29
|
'Document detected, hold still...': string;
|
|
30
|
+
'ID card front detected, hold still...': string;
|
|
31
|
+
'ID card back detected, hold still...': string;
|
|
32
|
+
'Passport detected, hold still...': string;
|
|
30
33
|
'Capturing...': string;
|
|
31
34
|
'Capture failed!': string;
|
|
32
35
|
'Please flip your ID card...': string;
|
|
@@ -35,6 +35,9 @@ export declare const resources: {
|
|
|
35
35
|
'ID card front detected - please flip your ID card': string;
|
|
36
36
|
'ID card back detected - please flip your ID card': string;
|
|
37
37
|
'Document detected, hold still...': string;
|
|
38
|
+
'ID card front detected, hold still...': string;
|
|
39
|
+
'ID card back detected, hold still...': string;
|
|
40
|
+
'Passport detected, hold still...': string;
|
|
38
41
|
'Capturing...': string;
|
|
39
42
|
'Capture failed!': string;
|
|
40
43
|
'Please flip your ID card...': string;
|
|
@@ -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 = '2.1.
|
|
52
|
+
var webSdkVersion = '2.1.4';
|
|
53
53
|
|
|
54
54
|
function getPlatform() {
|
|
55
55
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -4424,6 +4424,9 @@ var esTranslation = {
|
|
|
4424
4424
|
'ID card front detected - please flip your ID card': 'Anverso detectado, por favor voltea tu identificación',
|
|
4425
4425
|
'ID card back detected - please flip your ID card': 'Reverso detectado, por favor voltea tu identificación',
|
|
4426
4426
|
'Document detected, hold still...': 'Se ha detectado el documento, no moverse por favor...',
|
|
4427
|
+
'ID card front detected, hold still...': 'Anverso detectado, no mover...',
|
|
4428
|
+
'ID card back detected, hold still...': 'Reverso detectado, no mover...',
|
|
4429
|
+
'Passport detected, hold still...': 'Pasaporte detectado, no mover...',
|
|
4427
4430
|
'Capturing...': 'Capturando...',
|
|
4428
4431
|
'Capture failed!': 'Falló la captura',
|
|
4429
4432
|
'Please flip your ID card...': 'Por favor voltea la identificación...',
|
|
@@ -6375,7 +6378,7 @@ function IdCaptureGuides(_a) {
|
|
|
6375
6378
|
backImageUrl: backImageUrl,
|
|
6376
6379
|
isMirrored: !((_c = cameraRef.current) === null || _c === void 0 ? void 0 : _c.isRearFacing),
|
|
6377
6380
|
borderColor: state.isGoodFrame ? colors.guideBoxSatisfiedColor : colors.guideBoxUnsatisfiedColor,
|
|
6378
|
-
imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.flipRequired
|
|
6381
|
+
imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.backDetectedFirst || state.flipRequired
|
|
6379
6382
|
})));
|
|
6380
6383
|
}
|
|
6381
6384
|
|