@hexar/biometric-identity-sdk-core 1.0.6 → 1.0.8
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/i18n/languages/en.js +16 -1
- package/dist/i18n/languages/es-AR.js +16 -1
- package/dist/i18n/languages/es.js +16 -1
- package/dist/i18n/languages/pt-BR.js +16 -1
- package/dist/i18n/types.d.ts +16 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
- package/src/i18n/languages/en.ts +16 -1
- package/src/i18n/languages/es-AR.ts +16 -1
- package/src/i18n/languages/es.ts +16 -1
- package/src/i18n/languages/pt-BR.ts +16 -1
- package/src/i18n/types.ts +16 -1
- package/src/types/index.ts +1 -0
|
@@ -10,6 +10,8 @@ exports.en = {
|
|
|
10
10
|
continue: 'Continue',
|
|
11
11
|
close: 'Close',
|
|
12
12
|
done: 'Done',
|
|
13
|
+
grantPermission: 'Grant Permission',
|
|
14
|
+
back: 'Volver',
|
|
13
15
|
},
|
|
14
16
|
initialization: {
|
|
15
17
|
initializing: 'Initializing...',
|
|
@@ -35,11 +37,13 @@ exports.en = {
|
|
|
35
37
|
title: 'Front of ID',
|
|
36
38
|
instruction: 'Position the front of your ID within the frame',
|
|
37
39
|
button: 'Capture Front ID',
|
|
40
|
+
tips: '• Ensure good lighting\n• Avoid glare and shadows\n• Keep document flat and complete',
|
|
38
41
|
},
|
|
39
42
|
backId: {
|
|
40
43
|
title: 'Back of ID',
|
|
41
44
|
instruction: 'Position the back of your ID within the frame',
|
|
42
45
|
button: 'Capture Back ID',
|
|
46
|
+
tips: '• Ensure good lighting\n• Avoid glare and shadows\n• Keep document flat and complete',
|
|
43
47
|
},
|
|
44
48
|
selfie: {
|
|
45
49
|
title: 'Face Photo',
|
|
@@ -50,6 +54,9 @@ exports.en = {
|
|
|
50
54
|
liveness: {
|
|
51
55
|
title: 'Face Verification',
|
|
52
56
|
preparing: 'Preparing verification...',
|
|
57
|
+
getReady: 'Get Ready!',
|
|
58
|
+
countdownMessage: 'You\'ll perform actions.\nFollow the on-screen instructions.',
|
|
59
|
+
recordingInstructions: 'Keep your face visible and follow the instructions',
|
|
53
60
|
instructions: {
|
|
54
61
|
lookLeft: 'Look to the left',
|
|
55
62
|
lookRight: 'Look to the right',
|
|
@@ -60,6 +67,7 @@ exports.en = {
|
|
|
60
67
|
turnHeadLeft: 'Turn your head to the left',
|
|
61
68
|
turnHeadRight: 'Turn your head to the right',
|
|
62
69
|
stayStill: 'Stay still',
|
|
70
|
+
openMouth: 'Open your mouth slightly',
|
|
63
71
|
},
|
|
64
72
|
recording: 'Recording...',
|
|
65
73
|
processing: 'Processing video...',
|
|
@@ -85,7 +93,10 @@ exports.en = {
|
|
|
85
93
|
},
|
|
86
94
|
},
|
|
87
95
|
errors: {
|
|
88
|
-
cameraPermissionDenied:
|
|
96
|
+
cameraPermissionDenied: {
|
|
97
|
+
title: 'Camera Permission Required',
|
|
98
|
+
message: 'Camera permission denied. Please enable camera access in settings.',
|
|
99
|
+
},
|
|
89
100
|
cameraNotAvailable: 'Camera not available.',
|
|
90
101
|
faceNotDetected: 'Face not detected. Please position your face clearly.',
|
|
91
102
|
multipleFacesDetected: 'Multiple faces detected. Only one person should be in frame.',
|
|
@@ -97,6 +108,10 @@ exports.en = {
|
|
|
97
108
|
networkError: 'Network error. Please check your connection.',
|
|
98
109
|
timeout: 'Request timeout. Please try again.',
|
|
99
110
|
unknownError: 'An unexpected error occurred.',
|
|
111
|
+
videoTooShort: {
|
|
112
|
+
title: 'Recording Too Short',
|
|
113
|
+
message: 'Video must be at least 8 seconds. Please try again.',
|
|
114
|
+
},
|
|
100
115
|
},
|
|
101
116
|
badges: {
|
|
102
117
|
secureVerification: 'Secure AI Verification',
|
|
@@ -10,6 +10,8 @@ exports.esAR = {
|
|
|
10
10
|
continue: 'Continuar',
|
|
11
11
|
close: 'Cerrar',
|
|
12
12
|
done: 'Listo',
|
|
13
|
+
grantPermission: 'Otorgar Permiso',
|
|
14
|
+
back: 'Volver',
|
|
13
15
|
},
|
|
14
16
|
initialization: {
|
|
15
17
|
initializing: 'Iniciando...',
|
|
@@ -35,11 +37,13 @@ exports.esAR = {
|
|
|
35
37
|
title: 'Frente del Documento',
|
|
36
38
|
instruction: 'Posicioná el frente de tu documento dentro del marco',
|
|
37
39
|
button: 'Capturar Frente',
|
|
40
|
+
tips: '• Asegurate de tener buena iluminación\n• Evitá brillos y sombras\n• Mantené el documento plano y completo',
|
|
38
41
|
},
|
|
39
42
|
backId: {
|
|
40
43
|
title: 'Dorso del Documento',
|
|
41
44
|
instruction: 'Posicioná el dorso de tu documento dentro del marco',
|
|
42
45
|
button: 'Capturar Dorso',
|
|
46
|
+
tips: '• Asegurate de tener buena iluminación\n• Evitá brillos y sombras\n• Mantené el documento plano y completo',
|
|
43
47
|
},
|
|
44
48
|
selfie: {
|
|
45
49
|
title: 'Foto de Rostro',
|
|
@@ -50,6 +54,9 @@ exports.esAR = {
|
|
|
50
54
|
liveness: {
|
|
51
55
|
title: 'Verificación Facial',
|
|
52
56
|
preparing: 'Preparando verificación...',
|
|
57
|
+
getReady: '¡Prepárate!',
|
|
58
|
+
countdownMessage: 'Vas a realizar acciones.\nSeguí las instrucciones en pantalla.',
|
|
59
|
+
recordingInstructions: 'Mantené tu rostro visible y seguí las instrucciones',
|
|
53
60
|
instructions: {
|
|
54
61
|
lookLeft: 'Mirá a la izquierda',
|
|
55
62
|
lookRight: 'Mirá a la derecha',
|
|
@@ -60,6 +67,7 @@ exports.esAR = {
|
|
|
60
67
|
turnHeadLeft: 'Girá tu cabeza a la izquierda',
|
|
61
68
|
turnHeadRight: 'Girá tu cabeza a la derecha',
|
|
62
69
|
stayStill: 'Quedate quieto',
|
|
70
|
+
openMouth: 'Abrí la boca ligeramente',
|
|
63
71
|
},
|
|
64
72
|
recording: 'Grabando...',
|
|
65
73
|
processing: 'Procesando video...',
|
|
@@ -85,7 +93,10 @@ exports.esAR = {
|
|
|
85
93
|
},
|
|
86
94
|
},
|
|
87
95
|
errors: {
|
|
88
|
-
cameraPermissionDenied:
|
|
96
|
+
cameraPermissionDenied: {
|
|
97
|
+
title: 'Permiso de Cámara Requerido',
|
|
98
|
+
message: 'Permiso de cámara denegado. Habilitá el acceso en configuración.',
|
|
99
|
+
},
|
|
89
100
|
cameraNotAvailable: 'Cámara no disponible.',
|
|
90
101
|
faceNotDetected: 'Rostro no detectado. Posicioná tu cara claramente.',
|
|
91
102
|
multipleFacesDetected: 'Múltiples rostros detectados. Solo debe haber una persona.',
|
|
@@ -97,6 +108,10 @@ exports.esAR = {
|
|
|
97
108
|
networkError: 'Error de red. Verificá tu conexión.',
|
|
98
109
|
timeout: 'Tiempo de espera agotado. Intentá nuevamente.',
|
|
99
110
|
unknownError: 'Ocurrió un error inesperado.',
|
|
111
|
+
videoTooShort: {
|
|
112
|
+
title: 'Grabación Muy Corta',
|
|
113
|
+
message: 'El video debe durar al menos 8 segundos. Por favor intentá nuevamente.',
|
|
114
|
+
},
|
|
100
115
|
},
|
|
101
116
|
badges: {
|
|
102
117
|
secureVerification: 'Verificación Segura con IA',
|
|
@@ -10,6 +10,8 @@ exports.es = {
|
|
|
10
10
|
continue: 'Continuar',
|
|
11
11
|
close: 'Cerrar',
|
|
12
12
|
done: 'Listo',
|
|
13
|
+
grantPermission: 'Otorgar Permiso',
|
|
14
|
+
back: 'Volver',
|
|
13
15
|
},
|
|
14
16
|
initialization: {
|
|
15
17
|
initializing: 'Iniciando...',
|
|
@@ -35,11 +37,13 @@ exports.es = {
|
|
|
35
37
|
title: 'Frente del Documento',
|
|
36
38
|
instruction: 'Posiciona el frente de tu documento dentro del marco',
|
|
37
39
|
button: 'Capturar Frente',
|
|
40
|
+
tips: '• Asegura buena iluminación\n• Evita brillos y sombras\n• Mantén el documento plano y completo',
|
|
38
41
|
},
|
|
39
42
|
backId: {
|
|
40
43
|
title: 'Reverso del Documento',
|
|
41
44
|
instruction: 'Posiciona el reverso de tu documento dentro del marco',
|
|
42
45
|
button: 'Capturar Reverso',
|
|
46
|
+
tips: '• Asegura buena iluminación\n• Evita brillos y sombras\n• Mantén el documento plano y completo',
|
|
43
47
|
},
|
|
44
48
|
selfie: {
|
|
45
49
|
title: 'Foto de Rostro',
|
|
@@ -50,6 +54,9 @@ exports.es = {
|
|
|
50
54
|
liveness: {
|
|
51
55
|
title: 'Verificación Facial',
|
|
52
56
|
preparing: 'Preparando verificación...',
|
|
57
|
+
getReady: '¡Prepárate!',
|
|
58
|
+
countdownMessage: 'Realizarás acciones.\nSigue las instrucciones en pantalla.',
|
|
59
|
+
recordingInstructions: 'Mantén tu rostro visible y sigue las instrucciones',
|
|
53
60
|
instructions: {
|
|
54
61
|
lookLeft: 'Mira a la izquierda',
|
|
55
62
|
lookRight: 'Mira a la derecha',
|
|
@@ -60,6 +67,7 @@ exports.es = {
|
|
|
60
67
|
turnHeadLeft: 'Gira tu cabeza a la izquierda',
|
|
61
68
|
turnHeadRight: 'Gira tu cabeza a la derecha',
|
|
62
69
|
stayStill: 'Permanece quieto',
|
|
70
|
+
openMouth: 'Abre la boca ligeramente',
|
|
63
71
|
},
|
|
64
72
|
recording: 'Grabando...',
|
|
65
73
|
processing: 'Procesando video...',
|
|
@@ -85,7 +93,10 @@ exports.es = {
|
|
|
85
93
|
},
|
|
86
94
|
},
|
|
87
95
|
errors: {
|
|
88
|
-
cameraPermissionDenied:
|
|
96
|
+
cameraPermissionDenied: {
|
|
97
|
+
title: 'Permiso de Cámara Requerido',
|
|
98
|
+
message: 'Permiso de cámara denegado. Habilita el acceso en configuración.',
|
|
99
|
+
},
|
|
89
100
|
cameraNotAvailable: 'Cámara no disponible.',
|
|
90
101
|
faceNotDetected: 'Rostro no detectado. Posiciona tu cara claramente.',
|
|
91
102
|
multipleFacesDetected: 'Múltiples rostros detectados. Solo debe haber una persona.',
|
|
@@ -97,6 +108,10 @@ exports.es = {
|
|
|
97
108
|
networkError: 'Error de red. Verifica tu conexión.',
|
|
98
109
|
timeout: 'Tiempo de espera agotado. Intenta nuevamente.',
|
|
99
110
|
unknownError: 'Ocurrió un error inesperado.',
|
|
111
|
+
videoTooShort: {
|
|
112
|
+
title: 'Grabación Muy Corta',
|
|
113
|
+
message: 'El video debe durar al menos 8 segundos. Por favor intenta nuevamente.',
|
|
114
|
+
},
|
|
100
115
|
},
|
|
101
116
|
badges: {
|
|
102
117
|
secureVerification: 'Verificación Segura con IA',
|
|
@@ -10,6 +10,8 @@ exports.ptBR = {
|
|
|
10
10
|
continue: 'Continuar',
|
|
11
11
|
close: 'Fechar',
|
|
12
12
|
done: 'Pronto',
|
|
13
|
+
grantPermission: 'Conceder Permissão',
|
|
14
|
+
back: 'Voltar',
|
|
13
15
|
},
|
|
14
16
|
initialization: {
|
|
15
17
|
initializing: 'Inicializando...',
|
|
@@ -35,11 +37,13 @@ exports.ptBR = {
|
|
|
35
37
|
title: 'Frente do Documento',
|
|
36
38
|
instruction: 'Posicione a frente do seu documento dentro da moldura',
|
|
37
39
|
button: 'Capturar Frente',
|
|
40
|
+
tips: '• Garanta boa iluminação\n• Evite brilhos e sombras\n• Mantenha o documento plano e completo',
|
|
38
41
|
},
|
|
39
42
|
backId: {
|
|
40
43
|
title: 'Verso do Documento',
|
|
41
44
|
instruction: 'Posicione o verso do seu documento dentro da moldura',
|
|
42
45
|
button: 'Capturar Verso',
|
|
46
|
+
tips: '• Garanta boa iluminação\n• Evite brilhos e sombras\n• Mantenha o documento plano e completo',
|
|
43
47
|
},
|
|
44
48
|
selfie: {
|
|
45
49
|
title: 'Foto do Rosto',
|
|
@@ -50,6 +54,9 @@ exports.ptBR = {
|
|
|
50
54
|
liveness: {
|
|
51
55
|
title: 'Verificação Facial',
|
|
52
56
|
preparing: 'Preparando verificação...',
|
|
57
|
+
getReady: 'Prepare-se!',
|
|
58
|
+
countdownMessage: 'Você realizará ações.\nSiga as instruções na tela.',
|
|
59
|
+
recordingInstructions: 'Mantenha seu rosto visível e siga as instruções',
|
|
53
60
|
instructions: {
|
|
54
61
|
lookLeft: 'Olhe para a esquerda',
|
|
55
62
|
lookRight: 'Olhe para a direita',
|
|
@@ -60,6 +67,7 @@ exports.ptBR = {
|
|
|
60
67
|
turnHeadLeft: 'Vire sua cabeça para a esquerda',
|
|
61
68
|
turnHeadRight: 'Vire sua cabeça para a direita',
|
|
62
69
|
stayStill: 'Fique parado',
|
|
70
|
+
openMouth: 'Abra a boca levemente',
|
|
63
71
|
},
|
|
64
72
|
recording: 'Gravando...',
|
|
65
73
|
processing: 'Processando vídeo...',
|
|
@@ -85,7 +93,10 @@ exports.ptBR = {
|
|
|
85
93
|
},
|
|
86
94
|
},
|
|
87
95
|
errors: {
|
|
88
|
-
cameraPermissionDenied:
|
|
96
|
+
cameraPermissionDenied: {
|
|
97
|
+
title: 'Permissão de Câmera Necessária',
|
|
98
|
+
message: 'Permissão de câmera negada. Habilite o acesso nas configurações.',
|
|
99
|
+
},
|
|
89
100
|
cameraNotAvailable: 'Câmera não disponível.',
|
|
90
101
|
faceNotDetected: 'Rosto não detectado. Posicione seu rosto claramente.',
|
|
91
102
|
multipleFacesDetected: 'Múltiplos rostos detectados. Apenas uma pessoa deve estar no quadro.',
|
|
@@ -97,6 +108,10 @@ exports.ptBR = {
|
|
|
97
108
|
networkError: 'Erro de rede. Verifique sua conexão.',
|
|
98
109
|
timeout: 'Tempo esgotado. Tente novamente.',
|
|
99
110
|
unknownError: 'Ocorreu um erro inesperado.',
|
|
111
|
+
videoTooShort: {
|
|
112
|
+
title: 'Gravação Muito Curta',
|
|
113
|
+
message: 'O vídeo deve durar pelo menos 8 segundos. Por favor, tente novamente.',
|
|
114
|
+
},
|
|
100
115
|
},
|
|
101
116
|
badges: {
|
|
102
117
|
secureVerification: 'Verificação Segura com IA',
|
package/dist/i18n/types.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export interface LanguageStrings {
|
|
|
8
8
|
continue: string;
|
|
9
9
|
close: string;
|
|
10
10
|
done: string;
|
|
11
|
+
grantPermission: string;
|
|
12
|
+
back: string;
|
|
11
13
|
};
|
|
12
14
|
initialization: {
|
|
13
15
|
initializing: string;
|
|
@@ -33,11 +35,13 @@ export interface LanguageStrings {
|
|
|
33
35
|
title: string;
|
|
34
36
|
instruction: string;
|
|
35
37
|
button: string;
|
|
38
|
+
tips: string;
|
|
36
39
|
};
|
|
37
40
|
backId: {
|
|
38
41
|
title: string;
|
|
39
42
|
instruction: string;
|
|
40
43
|
button: string;
|
|
44
|
+
tips: string;
|
|
41
45
|
};
|
|
42
46
|
selfie: {
|
|
43
47
|
title: string;
|
|
@@ -48,6 +52,9 @@ export interface LanguageStrings {
|
|
|
48
52
|
liveness: {
|
|
49
53
|
title: string;
|
|
50
54
|
preparing: string;
|
|
55
|
+
getReady: string;
|
|
56
|
+
countdownMessage: string;
|
|
57
|
+
recordingInstructions: string;
|
|
51
58
|
instructions: {
|
|
52
59
|
lookLeft: string;
|
|
53
60
|
lookRight: string;
|
|
@@ -58,6 +65,7 @@ export interface LanguageStrings {
|
|
|
58
65
|
turnHeadLeft: string;
|
|
59
66
|
turnHeadRight: string;
|
|
60
67
|
stayStill: string;
|
|
68
|
+
openMouth: string;
|
|
61
69
|
};
|
|
62
70
|
recording: string;
|
|
63
71
|
processing: string;
|
|
@@ -83,7 +91,10 @@ export interface LanguageStrings {
|
|
|
83
91
|
};
|
|
84
92
|
};
|
|
85
93
|
errors: {
|
|
86
|
-
cameraPermissionDenied:
|
|
94
|
+
cameraPermissionDenied: {
|
|
95
|
+
title: string;
|
|
96
|
+
message: string;
|
|
97
|
+
};
|
|
87
98
|
cameraNotAvailable: string;
|
|
88
99
|
faceNotDetected: string;
|
|
89
100
|
multipleFacesDetected: string;
|
|
@@ -95,6 +106,10 @@ export interface LanguageStrings {
|
|
|
95
106
|
networkError: string;
|
|
96
107
|
timeout: string;
|
|
97
108
|
unknownError: string;
|
|
109
|
+
videoTooShort: {
|
|
110
|
+
title: string;
|
|
111
|
+
message: string;
|
|
112
|
+
};
|
|
98
113
|
};
|
|
99
114
|
badges: {
|
|
100
115
|
secureVerification: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export declare enum BiometricErrorCode {
|
|
|
171
171
|
NETWORK_ERROR = "NETWORK_ERROR",
|
|
172
172
|
MODEL_LOAD_FAILED = "MODEL_LOAD_FAILED",
|
|
173
173
|
ENCRYPTION_FAILED = "ENCRYPTION_FAILED",
|
|
174
|
+
USER_CANCELLED = "USER_CANCELLED",
|
|
174
175
|
UNKNOWN_ERROR = "UNKNOWN_ERROR"
|
|
175
176
|
}
|
|
176
177
|
export interface FaceEmbedding {
|
package/dist/types/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var BiometricErrorCode;
|
|
|
20
20
|
BiometricErrorCode["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
21
21
|
BiometricErrorCode["MODEL_LOAD_FAILED"] = "MODEL_LOAD_FAILED";
|
|
22
22
|
BiometricErrorCode["ENCRYPTION_FAILED"] = "ENCRYPTION_FAILED";
|
|
23
|
+
BiometricErrorCode["USER_CANCELLED"] = "USER_CANCELLED";
|
|
23
24
|
BiometricErrorCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
24
25
|
})(BiometricErrorCode || (exports.BiometricErrorCode = BiometricErrorCode = {}));
|
|
25
26
|
var SDKStep;
|
package/package.json
CHANGED
package/src/i18n/languages/en.ts
CHANGED
|
@@ -9,6 +9,8 @@ export const en: LanguageStrings = {
|
|
|
9
9
|
continue: 'Continue',
|
|
10
10
|
close: 'Close',
|
|
11
11
|
done: 'Done',
|
|
12
|
+
grantPermission: 'Grant Permission',
|
|
13
|
+
back: 'Volver',
|
|
12
14
|
},
|
|
13
15
|
|
|
14
16
|
initialization: {
|
|
@@ -37,11 +39,13 @@ export const en: LanguageStrings = {
|
|
|
37
39
|
title: 'Front of ID',
|
|
38
40
|
instruction: 'Position the front of your ID within the frame',
|
|
39
41
|
button: 'Capture Front ID',
|
|
42
|
+
tips: '• Ensure good lighting\n• Avoid glare and shadows\n• Keep document flat and complete',
|
|
40
43
|
},
|
|
41
44
|
backId: {
|
|
42
45
|
title: 'Back of ID',
|
|
43
46
|
instruction: 'Position the back of your ID within the frame',
|
|
44
47
|
button: 'Capture Back ID',
|
|
48
|
+
tips: '• Ensure good lighting\n• Avoid glare and shadows\n• Keep document flat and complete',
|
|
45
49
|
},
|
|
46
50
|
selfie: {
|
|
47
51
|
title: 'Face Photo',
|
|
@@ -53,6 +57,9 @@ export const en: LanguageStrings = {
|
|
|
53
57
|
liveness: {
|
|
54
58
|
title: 'Face Verification',
|
|
55
59
|
preparing: 'Preparing verification...',
|
|
60
|
+
getReady: 'Get Ready!',
|
|
61
|
+
countdownMessage: 'You\'ll perform actions.\nFollow the on-screen instructions.',
|
|
62
|
+
recordingInstructions: 'Keep your face visible and follow the instructions',
|
|
56
63
|
instructions: {
|
|
57
64
|
lookLeft: 'Look to the left',
|
|
58
65
|
lookRight: 'Look to the right',
|
|
@@ -63,6 +70,7 @@ export const en: LanguageStrings = {
|
|
|
63
70
|
turnHeadLeft: 'Turn your head to the left',
|
|
64
71
|
turnHeadRight: 'Turn your head to the right',
|
|
65
72
|
stayStill: 'Stay still',
|
|
73
|
+
openMouth: 'Open your mouth slightly',
|
|
66
74
|
},
|
|
67
75
|
recording: 'Recording...',
|
|
68
76
|
processing: 'Processing video...',
|
|
@@ -91,7 +99,10 @@ export const en: LanguageStrings = {
|
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
errors: {
|
|
94
|
-
cameraPermissionDenied:
|
|
102
|
+
cameraPermissionDenied: {
|
|
103
|
+
title: 'Camera Permission Required',
|
|
104
|
+
message: 'Camera permission denied. Please enable camera access in settings.',
|
|
105
|
+
},
|
|
95
106
|
cameraNotAvailable: 'Camera not available.',
|
|
96
107
|
faceNotDetected: 'Face not detected. Please position your face clearly.',
|
|
97
108
|
multipleFacesDetected: 'Multiple faces detected. Only one person should be in frame.',
|
|
@@ -103,6 +114,10 @@ export const en: LanguageStrings = {
|
|
|
103
114
|
networkError: 'Network error. Please check your connection.',
|
|
104
115
|
timeout: 'Request timeout. Please try again.',
|
|
105
116
|
unknownError: 'An unexpected error occurred.',
|
|
117
|
+
videoTooShort: {
|
|
118
|
+
title: 'Recording Too Short',
|
|
119
|
+
message: 'Video must be at least 8 seconds. Please try again.',
|
|
120
|
+
},
|
|
106
121
|
},
|
|
107
122
|
|
|
108
123
|
badges: {
|
|
@@ -9,6 +9,8 @@ export const esAR: LanguageStrings = {
|
|
|
9
9
|
continue: 'Continuar',
|
|
10
10
|
close: 'Cerrar',
|
|
11
11
|
done: 'Listo',
|
|
12
|
+
grantPermission: 'Otorgar Permiso',
|
|
13
|
+
back: 'Volver',
|
|
12
14
|
},
|
|
13
15
|
|
|
14
16
|
initialization: {
|
|
@@ -37,11 +39,13 @@ export const esAR: LanguageStrings = {
|
|
|
37
39
|
title: 'Frente del Documento',
|
|
38
40
|
instruction: 'Posicioná el frente de tu documento dentro del marco',
|
|
39
41
|
button: 'Capturar Frente',
|
|
42
|
+
tips: '• Asegurate de tener buena iluminación\n• Evitá brillos y sombras\n• Mantené el documento plano y completo',
|
|
40
43
|
},
|
|
41
44
|
backId: {
|
|
42
45
|
title: 'Dorso del Documento',
|
|
43
46
|
instruction: 'Posicioná el dorso de tu documento dentro del marco',
|
|
44
47
|
button: 'Capturar Dorso',
|
|
48
|
+
tips: '• Asegurate de tener buena iluminación\n• Evitá brillos y sombras\n• Mantené el documento plano y completo',
|
|
45
49
|
},
|
|
46
50
|
selfie: {
|
|
47
51
|
title: 'Foto de Rostro',
|
|
@@ -53,6 +57,9 @@ export const esAR: LanguageStrings = {
|
|
|
53
57
|
liveness: {
|
|
54
58
|
title: 'Verificación Facial',
|
|
55
59
|
preparing: 'Preparando verificación...',
|
|
60
|
+
getReady: '¡Prepárate!',
|
|
61
|
+
countdownMessage: 'Vas a realizar acciones.\nSeguí las instrucciones en pantalla.',
|
|
62
|
+
recordingInstructions: 'Mantené tu rostro visible y seguí las instrucciones',
|
|
56
63
|
instructions: {
|
|
57
64
|
lookLeft: 'Mirá a la izquierda',
|
|
58
65
|
lookRight: 'Mirá a la derecha',
|
|
@@ -63,6 +70,7 @@ export const esAR: LanguageStrings = {
|
|
|
63
70
|
turnHeadLeft: 'Girá tu cabeza a la izquierda',
|
|
64
71
|
turnHeadRight: 'Girá tu cabeza a la derecha',
|
|
65
72
|
stayStill: 'Quedate quieto',
|
|
73
|
+
openMouth: 'Abrí la boca ligeramente',
|
|
66
74
|
},
|
|
67
75
|
recording: 'Grabando...',
|
|
68
76
|
processing: 'Procesando video...',
|
|
@@ -91,7 +99,10 @@ export const esAR: LanguageStrings = {
|
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
errors: {
|
|
94
|
-
cameraPermissionDenied:
|
|
102
|
+
cameraPermissionDenied: {
|
|
103
|
+
title: 'Permiso de Cámara Requerido',
|
|
104
|
+
message: 'Permiso de cámara denegado. Habilitá el acceso en configuración.',
|
|
105
|
+
},
|
|
95
106
|
cameraNotAvailable: 'Cámara no disponible.',
|
|
96
107
|
faceNotDetected: 'Rostro no detectado. Posicioná tu cara claramente.',
|
|
97
108
|
multipleFacesDetected: 'Múltiples rostros detectados. Solo debe haber una persona.',
|
|
@@ -103,6 +114,10 @@ export const esAR: LanguageStrings = {
|
|
|
103
114
|
networkError: 'Error de red. Verificá tu conexión.',
|
|
104
115
|
timeout: 'Tiempo de espera agotado. Intentá nuevamente.',
|
|
105
116
|
unknownError: 'Ocurrió un error inesperado.',
|
|
117
|
+
videoTooShort: {
|
|
118
|
+
title: 'Grabación Muy Corta',
|
|
119
|
+
message: 'El video debe durar al menos 8 segundos. Por favor intentá nuevamente.',
|
|
120
|
+
},
|
|
106
121
|
},
|
|
107
122
|
|
|
108
123
|
badges: {
|
package/src/i18n/languages/es.ts
CHANGED
|
@@ -9,6 +9,8 @@ export const es: LanguageStrings = {
|
|
|
9
9
|
continue: 'Continuar',
|
|
10
10
|
close: 'Cerrar',
|
|
11
11
|
done: 'Listo',
|
|
12
|
+
grantPermission: 'Otorgar Permiso',
|
|
13
|
+
back: 'Volver',
|
|
12
14
|
},
|
|
13
15
|
|
|
14
16
|
initialization: {
|
|
@@ -37,11 +39,13 @@ export const es: LanguageStrings = {
|
|
|
37
39
|
title: 'Frente del Documento',
|
|
38
40
|
instruction: 'Posiciona el frente de tu documento dentro del marco',
|
|
39
41
|
button: 'Capturar Frente',
|
|
42
|
+
tips: '• Asegura buena iluminación\n• Evita brillos y sombras\n• Mantén el documento plano y completo',
|
|
40
43
|
},
|
|
41
44
|
backId: {
|
|
42
45
|
title: 'Reverso del Documento',
|
|
43
46
|
instruction: 'Posiciona el reverso de tu documento dentro del marco',
|
|
44
47
|
button: 'Capturar Reverso',
|
|
48
|
+
tips: '• Asegura buena iluminación\n• Evita brillos y sombras\n• Mantén el documento plano y completo',
|
|
45
49
|
},
|
|
46
50
|
selfie: {
|
|
47
51
|
title: 'Foto de Rostro',
|
|
@@ -53,6 +57,9 @@ export const es: LanguageStrings = {
|
|
|
53
57
|
liveness: {
|
|
54
58
|
title: 'Verificación Facial',
|
|
55
59
|
preparing: 'Preparando verificación...',
|
|
60
|
+
getReady: '¡Prepárate!',
|
|
61
|
+
countdownMessage: 'Realizarás acciones.\nSigue las instrucciones en pantalla.',
|
|
62
|
+
recordingInstructions: 'Mantén tu rostro visible y sigue las instrucciones',
|
|
56
63
|
instructions: {
|
|
57
64
|
lookLeft: 'Mira a la izquierda',
|
|
58
65
|
lookRight: 'Mira a la derecha',
|
|
@@ -63,6 +70,7 @@ export const es: LanguageStrings = {
|
|
|
63
70
|
turnHeadLeft: 'Gira tu cabeza a la izquierda',
|
|
64
71
|
turnHeadRight: 'Gira tu cabeza a la derecha',
|
|
65
72
|
stayStill: 'Permanece quieto',
|
|
73
|
+
openMouth: 'Abre la boca ligeramente',
|
|
66
74
|
},
|
|
67
75
|
recording: 'Grabando...',
|
|
68
76
|
processing: 'Procesando video...',
|
|
@@ -91,7 +99,10 @@ export const es: LanguageStrings = {
|
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
errors: {
|
|
94
|
-
cameraPermissionDenied:
|
|
102
|
+
cameraPermissionDenied: {
|
|
103
|
+
title: 'Permiso de Cámara Requerido',
|
|
104
|
+
message: 'Permiso de cámara denegado. Habilita el acceso en configuración.',
|
|
105
|
+
},
|
|
95
106
|
cameraNotAvailable: 'Cámara no disponible.',
|
|
96
107
|
faceNotDetected: 'Rostro no detectado. Posiciona tu cara claramente.',
|
|
97
108
|
multipleFacesDetected: 'Múltiples rostros detectados. Solo debe haber una persona.',
|
|
@@ -103,6 +114,10 @@ export const es: LanguageStrings = {
|
|
|
103
114
|
networkError: 'Error de red. Verifica tu conexión.',
|
|
104
115
|
timeout: 'Tiempo de espera agotado. Intenta nuevamente.',
|
|
105
116
|
unknownError: 'Ocurrió un error inesperado.',
|
|
117
|
+
videoTooShort: {
|
|
118
|
+
title: 'Grabación Muy Corta',
|
|
119
|
+
message: 'El video debe durar al menos 8 segundos. Por favor intenta nuevamente.',
|
|
120
|
+
},
|
|
106
121
|
},
|
|
107
122
|
|
|
108
123
|
badges: {
|
|
@@ -9,6 +9,8 @@ export const ptBR: LanguageStrings = {
|
|
|
9
9
|
continue: 'Continuar',
|
|
10
10
|
close: 'Fechar',
|
|
11
11
|
done: 'Pronto',
|
|
12
|
+
grantPermission: 'Conceder Permissão',
|
|
13
|
+
back: 'Voltar',
|
|
12
14
|
},
|
|
13
15
|
|
|
14
16
|
initialization: {
|
|
@@ -37,11 +39,13 @@ export const ptBR: LanguageStrings = {
|
|
|
37
39
|
title: 'Frente do Documento',
|
|
38
40
|
instruction: 'Posicione a frente do seu documento dentro da moldura',
|
|
39
41
|
button: 'Capturar Frente',
|
|
42
|
+
tips: '• Garanta boa iluminação\n• Evite brilhos e sombras\n• Mantenha o documento plano e completo',
|
|
40
43
|
},
|
|
41
44
|
backId: {
|
|
42
45
|
title: 'Verso do Documento',
|
|
43
46
|
instruction: 'Posicione o verso do seu documento dentro da moldura',
|
|
44
47
|
button: 'Capturar Verso',
|
|
48
|
+
tips: '• Garanta boa iluminação\n• Evite brilhos e sombras\n• Mantenha o documento plano e completo',
|
|
45
49
|
},
|
|
46
50
|
selfie: {
|
|
47
51
|
title: 'Foto do Rosto',
|
|
@@ -53,6 +57,9 @@ export const ptBR: LanguageStrings = {
|
|
|
53
57
|
liveness: {
|
|
54
58
|
title: 'Verificação Facial',
|
|
55
59
|
preparing: 'Preparando verificação...',
|
|
60
|
+
getReady: 'Prepare-se!',
|
|
61
|
+
countdownMessage: 'Você realizará ações.\nSiga as instruções na tela.',
|
|
62
|
+
recordingInstructions: 'Mantenha seu rosto visível e siga as instruções',
|
|
56
63
|
instructions: {
|
|
57
64
|
lookLeft: 'Olhe para a esquerda',
|
|
58
65
|
lookRight: 'Olhe para a direita',
|
|
@@ -63,6 +70,7 @@ export const ptBR: LanguageStrings = {
|
|
|
63
70
|
turnHeadLeft: 'Vire sua cabeça para a esquerda',
|
|
64
71
|
turnHeadRight: 'Vire sua cabeça para a direita',
|
|
65
72
|
stayStill: 'Fique parado',
|
|
73
|
+
openMouth: 'Abra a boca levemente',
|
|
66
74
|
},
|
|
67
75
|
recording: 'Gravando...',
|
|
68
76
|
processing: 'Processando vídeo...',
|
|
@@ -91,7 +99,10 @@ export const ptBR: LanguageStrings = {
|
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
errors: {
|
|
94
|
-
cameraPermissionDenied:
|
|
102
|
+
cameraPermissionDenied: {
|
|
103
|
+
title: 'Permissão de Câmera Necessária',
|
|
104
|
+
message: 'Permissão de câmera negada. Habilite o acesso nas configurações.',
|
|
105
|
+
},
|
|
95
106
|
cameraNotAvailable: 'Câmera não disponível.',
|
|
96
107
|
faceNotDetected: 'Rosto não detectado. Posicione seu rosto claramente.',
|
|
97
108
|
multipleFacesDetected: 'Múltiplos rostos detectados. Apenas uma pessoa deve estar no quadro.',
|
|
@@ -103,6 +114,10 @@ export const ptBR: LanguageStrings = {
|
|
|
103
114
|
networkError: 'Erro de rede. Verifique sua conexão.',
|
|
104
115
|
timeout: 'Tempo esgotado. Tente novamente.',
|
|
105
116
|
unknownError: 'Ocorreu um erro inesperado.',
|
|
117
|
+
videoTooShort: {
|
|
118
|
+
title: 'Gravação Muito Curta',
|
|
119
|
+
message: 'O vídeo deve durar pelo menos 8 segundos. Por favor, tente novamente.',
|
|
120
|
+
},
|
|
106
121
|
},
|
|
107
122
|
|
|
108
123
|
badges: {
|
package/src/i18n/types.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface LanguageStrings {
|
|
|
9
9
|
continue: string;
|
|
10
10
|
close: string;
|
|
11
11
|
done: string;
|
|
12
|
+
grantPermission: string;
|
|
13
|
+
back: string;
|
|
12
14
|
};
|
|
13
15
|
|
|
14
16
|
initialization: {
|
|
@@ -37,11 +39,13 @@ export interface LanguageStrings {
|
|
|
37
39
|
title: string;
|
|
38
40
|
instruction: string;
|
|
39
41
|
button: string;
|
|
42
|
+
tips: string;
|
|
40
43
|
};
|
|
41
44
|
backId: {
|
|
42
45
|
title: string;
|
|
43
46
|
instruction: string;
|
|
44
47
|
button: string;
|
|
48
|
+
tips: string;
|
|
45
49
|
};
|
|
46
50
|
selfie: {
|
|
47
51
|
title: string;
|
|
@@ -53,6 +57,9 @@ export interface LanguageStrings {
|
|
|
53
57
|
liveness: {
|
|
54
58
|
title: string;
|
|
55
59
|
preparing: string;
|
|
60
|
+
getReady: string;
|
|
61
|
+
countdownMessage: string;
|
|
62
|
+
recordingInstructions: string;
|
|
56
63
|
instructions: {
|
|
57
64
|
lookLeft: string;
|
|
58
65
|
lookRight: string;
|
|
@@ -63,6 +70,7 @@ export interface LanguageStrings {
|
|
|
63
70
|
turnHeadLeft: string;
|
|
64
71
|
turnHeadRight: string;
|
|
65
72
|
stayStill: string;
|
|
73
|
+
openMouth: string;
|
|
66
74
|
};
|
|
67
75
|
recording: string;
|
|
68
76
|
processing: string;
|
|
@@ -91,7 +99,10 @@ export interface LanguageStrings {
|
|
|
91
99
|
};
|
|
92
100
|
|
|
93
101
|
errors: {
|
|
94
|
-
cameraPermissionDenied:
|
|
102
|
+
cameraPermissionDenied: {
|
|
103
|
+
title: string;
|
|
104
|
+
message: string;
|
|
105
|
+
};
|
|
95
106
|
cameraNotAvailable: string;
|
|
96
107
|
faceNotDetected: string;
|
|
97
108
|
multipleFacesDetected: string;
|
|
@@ -103,6 +114,10 @@ export interface LanguageStrings {
|
|
|
103
114
|
networkError: string;
|
|
104
115
|
timeout: string;
|
|
105
116
|
unknownError: string;
|
|
117
|
+
videoTooShort: {
|
|
118
|
+
title: string;
|
|
119
|
+
message: string;
|
|
120
|
+
};
|
|
106
121
|
};
|
|
107
122
|
|
|
108
123
|
badges: {
|
package/src/types/index.ts
CHANGED