bry-biometric-collector 2.2.22 → 2.2.23
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/README.md +1 -19
- package/dist/DocumentCollector_f0541f51_2.2.23.js +1025 -0
- package/dist/FaceCollector_e8de37d8_2.2.23.js +1887 -0
- package/dist/WaterMark_99037cc5_2.2.23.js +1014 -0
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_901680c0_2.2.22.js → en-us_178afe03_2.2.23.js} +7 -8
- package/dist/{es-cl_1fe1aaa9_2.2.22.js → es-cl_ff8fb88a_2.2.23.js} +1 -2
- package/dist/{fingersApi_2ff95966_2.2.22.js → fingersApi_ddc728a6_2.2.23.js} +1 -1
- package/dist/index.d.ts +3 -13
- package/dist/index.js +1 -1
- package/dist/{main_140d65a3_2.2.22.js → main_af3a4af6_2.2.23.js} +3702 -3718
- package/dist/{pt-br_bef1149f_2.2.22.js → pt-br_feaadca5_2.2.23.js} +2 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_1f5cf5e8_2.2.22.js +0 -1023
- package/dist/FaceCollector_657bc65e_2.2.22.js +0 -2000
- package/dist/TakePictureBtn_98c2ad5f_2.2.22.js +0 -848
- /package/dist/{face_api_0e3ce8c8_2.2.22.js → face_api_0e3ce8c8_2.2.23.js} +0 -0
- /package/dist/{index-no-detector_4b302e78_2.2.22.js → index-no-detector_4b302e78_2.2.23.js} +0 -0
@@ -123,8 +123,7 @@ const e = {
|
|
123
123
|
lackOfSharpness: "Lack of sharpness",
|
124
124
|
unnaturalColoring: "Unnatural coloring",
|
125
125
|
initiatingCamera: "Initiating video...",
|
126
|
-
obtainingPicture: "Obtaining photo..."
|
127
|
-
faceTooSmall: "The face is too far from the camera, please get closer."
|
126
|
+
obtainingPicture: "Obtaining photo..."
|
128
127
|
}, f = {
|
129
128
|
error: {
|
130
129
|
error: "Error",
|
@@ -183,13 +182,13 @@ const e = {
|
|
183
182
|
stayInFrame: "Center your face",
|
184
183
|
loading: "Loading...",
|
185
184
|
capture: "Capture"
|
186
|
-
},
|
185
|
+
}, R = {
|
187
186
|
captured: "Document captured!",
|
188
187
|
comeCloserCamera: "Get closer",
|
189
188
|
moveAwayCamera: "Move away",
|
190
189
|
stayInFrame: "Center the document",
|
191
190
|
capture: "Capture"
|
192
|
-
},
|
191
|
+
}, T = {
|
193
192
|
close: "close",
|
194
193
|
instructions: "To download the driver for your scanner, please select the brand of your scanner:",
|
195
194
|
obs: "Please also do not forget to disconnect your scanner before installing the driver.",
|
@@ -240,8 +239,8 @@ const e = {
|
|
240
239
|
unconformities: m,
|
241
240
|
liveness: f,
|
242
241
|
faceCollector: y,
|
243
|
-
docCollector:
|
244
|
-
configModal:
|
242
|
+
docCollector: R,
|
243
|
+
configModal: T,
|
245
244
|
toast: F,
|
246
245
|
cameraStatus: v
|
247
246
|
};
|
@@ -254,10 +253,10 @@ export {
|
|
254
253
|
t as badFingerQualitySwal,
|
255
254
|
g as buttons,
|
256
255
|
v as cameraStatus,
|
257
|
-
|
256
|
+
T as configModal,
|
258
257
|
C as default,
|
259
258
|
c as dirtyScannerSwal,
|
260
|
-
|
259
|
+
R as docCollector,
|
261
260
|
o as duplicateFingerSwal,
|
262
261
|
s as easterEggduplicateFingerSwal,
|
263
262
|
y as faceCollector,
|
@@ -121,8 +121,7 @@ const e = {
|
|
121
121
|
nonUniformBackground: "Fondo no uniforme",
|
122
122
|
outOfFrame: "Fuera de encuadre",
|
123
123
|
lackOfSharpness: "Falta de nitidez",
|
124
|
-
unnaturalColoring: "Coloración no natural"
|
125
|
-
faceTooSmall: "El rostro está muy lejos de la cámara, por favor acérquese."
|
124
|
+
unnaturalColoring: "Coloración no natural"
|
126
125
|
}, g = {
|
127
126
|
error: {
|
128
127
|
error: "Error",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { u as D, $ as m, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./
|
1
|
+
import { u as D, $ as m, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_af3a4af6_2.2.23.js";
|
2
2
|
const f = D(m);
|
3
3
|
var X = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(X || {});
|
4
4
|
class r extends Error {
|
package/dist/index.d.ts
CHANGED
@@ -37,14 +37,12 @@ export enum Props {
|
|
37
37
|
EVALUATE_PHOTO = 'evaluate_photo',
|
38
38
|
SHOW_CAPTURE_BUTTON = 'show_capture_button',
|
39
39
|
SHOW_UNCONFORMITIES = 'show_unconformities',
|
40
|
-
|
41
|
-
VIDEO_OVERLAY_TRANSPARENCY= 'video_overlay_transparency',
|
40
|
+
VIDEO_FILTER = 'video_filter',
|
42
41
|
SHOW_CONFIG_BUTTON = 'show_config_button',
|
43
42
|
SHOW_AUTO_CAPTURE_BUTTON = 'show_auto_capture_button',
|
44
43
|
SHOW_CAMERA_BUTTON = 'show_camera_button',
|
45
44
|
LANGUAGE = 'language',
|
46
|
-
SHOW_JUSTIFICATION_FIELD = 'show_justification_field'
|
47
|
-
MIN_EYE_TO_EYE_DIST = 'MIN_EYE_TO_EYE_DIST'
|
45
|
+
SHOW_JUSTIFICATION_FIELD = 'show_justification_field'
|
48
46
|
}
|
49
47
|
|
50
48
|
export const enum BodyPartNames {
|
@@ -102,11 +100,6 @@ export type documentUnconformitiesValidated = BryWebCollectorComponentEvent<{
|
|
102
100
|
errorCode?: string;
|
103
101
|
status: requestResultEnum;
|
104
102
|
}>;
|
105
|
-
export type lowQualityFaceEvent = CustomEvent<{
|
106
|
-
bodyParts: BodyPart[];
|
107
|
-
errorCode: string;
|
108
|
-
translatedError: string;
|
109
|
-
}>;
|
110
103
|
|
111
104
|
declare global {
|
112
105
|
interface BryWebCollectorComponent extends HTMLElement {
|
@@ -142,14 +135,12 @@ declare global {
|
|
142
135
|
[Props.EVALUATE_PHOTO]: string;
|
143
136
|
[Props.SHOW_CAPTURE_BUTTON]: string;
|
144
137
|
[Props.SHOW_UNCONFORMITIES]: string;
|
145
|
-
[Props.
|
146
|
-
[Props.VIDEO_OVERLAY_TRANSPARENCY]: number;
|
138
|
+
[Props.VIDEO_FILTER]: string;
|
147
139
|
[Props.SHOW_CONFIG_BUTTON]: string;
|
148
140
|
[Props.SHOW_AUTO_CAPTURE_BUTTON]: string;
|
149
141
|
[Props.SHOW_CAMERA_BUTTON]: string;
|
150
142
|
[Props.LANGUAGE]: string;
|
151
143
|
[Props.SHOW_JUSTIFICATION_FIELD]: string;
|
152
|
-
[Props.MIN_EYE_TO_EYE_DIST]: number;
|
153
144
|
/**
|
154
145
|
* Clears fingers and face, to make ready for a new collection.
|
155
146
|
* Will not clear jwtToken.
|
@@ -233,6 +224,5 @@ declare global {
|
|
233
224
|
'export-document': exportDocument;
|
234
225
|
'face-unconformities-validated': faceUnconformitiesValidated;
|
235
226
|
'document-unconformities-validated': documentUnconformitiesValidated;
|
236
|
-
'low-quality-face': lowQualityFaceEvent;
|
237
227
|
}
|
238
228
|
}
|
package/dist/index.js
CHANGED