bry-biometric-collector 2.2.18-RC01 → 2.2.18-RC02
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 +13 -1
- package/dist/{DocumentCollector_c0f3d6d6_2.2.18-RC01.js → DocumentCollector_9050b732_2.2.18-RC02.js} +92 -92
- package/dist/FaceCollector_fbda99c6_2.2.18-RC02.js +2468 -0
- package/dist/{TakePictureBtn_5a4eaaa6_2.2.18-RC01.js → TakePictureBtn_a40bc646_2.2.18-RC02.js} +49 -49
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_178afe03_2.2.18-RC01.js → en-us_901680c0_2.2.18-RC02.js} +9 -8
- package/dist/{es-cl_ff8fb88a_2.2.18-RC01.js → es-cl_1fe1aaa9_2.2.18-RC02.js} +3 -2
- package/dist/{face_api_0e3ce8c8_2.2.18-RC01.js → face_api_0e3ce8c8_2.2.18-RC02.js} +1 -1
- package/dist/{fingersApi_e6c1bd64_2.2.18-RC01.js → fingersApi_1b9929d9_2.2.18-RC02.js} +2 -2
- package/dist/{index-no-detector_4b302e78_2.2.18-RC01.js → index-no-detector_4b302e78_2.2.18-RC02.js} +1 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.js +1 -1
- package/dist/{main_e486eebd_2.2.18-RC01.js → main_22b66069_2.2.18-RC02.js} +3438 -3408
- package/dist/{pt-br_25be31c7_2.2.18-RC01.js → pt-br_bef1149f_2.2.18-RC02.js} +3 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FaceCollector_055e89fa_2.2.18-RC01.js +0 -2429
package/dist/index.d.ts
CHANGED
@@ -37,12 +37,14 @@ export enum Props {
|
|
37
37
|
EVALUATE_PHOTO = 'evaluate_photo',
|
38
38
|
SHOW_CAPTURE_BUTTON = 'show_capture_button',
|
39
39
|
SHOW_UNCONFORMITIES = 'show_unconformities',
|
40
|
-
|
40
|
+
VIDEO_OVERLAY = 'video_overlay',
|
41
|
+
VIDEO_OVERLAY_TRANSPARENCY= 'video_overlay_transparency',
|
41
42
|
SHOW_CONFIG_BUTTON = 'show_config_button',
|
42
43
|
SHOW_AUTO_CAPTURE_BUTTON = 'show_auto_capture_button',
|
43
44
|
SHOW_CAMERA_BUTTON = 'show_camera_button',
|
44
45
|
LANGUAGE = 'language',
|
45
|
-
SHOW_JUSTIFICATION_FIELD = 'show_justification_field'
|
46
|
+
SHOW_JUSTIFICATION_FIELD = 'show_justification_field',
|
47
|
+
MIN_EYE_TO_EYE_DIST = 'MIN_EYE_TO_EYE_DIST'
|
46
48
|
}
|
47
49
|
|
48
50
|
export const enum BodyPartNames {
|
@@ -100,6 +102,11 @@ export type documentUnconformitiesValidated = BryWebCollectorComponentEvent<{
|
|
100
102
|
errorCode?: string;
|
101
103
|
status: requestResultEnum;
|
102
104
|
}>;
|
105
|
+
export type lowFaceQualityEvent = CustomEvent<{
|
106
|
+
bodyParts: BodyPart[];
|
107
|
+
errorCode: string;
|
108
|
+
translatedError: string;
|
109
|
+
}>;
|
103
110
|
|
104
111
|
declare global {
|
105
112
|
interface BryWebCollectorComponent extends HTMLElement {
|
@@ -135,12 +142,14 @@ declare global {
|
|
135
142
|
[Props.EVALUATE_PHOTO]: string;
|
136
143
|
[Props.SHOW_CAPTURE_BUTTON]: string;
|
137
144
|
[Props.SHOW_UNCONFORMITIES]: string;
|
138
|
-
[Props.
|
145
|
+
[Props.VIDEO_OVERLAY]: string;
|
146
|
+
[Props.VIDEO_OVERLAY_TRANSPARENCY]: number;
|
139
147
|
[Props.SHOW_CONFIG_BUTTON]: string;
|
140
148
|
[Props.SHOW_AUTO_CAPTURE_BUTTON]: string;
|
141
149
|
[Props.SHOW_CAMERA_BUTTON]: string;
|
142
150
|
[Props.LANGUAGE]: string;
|
143
151
|
[Props.SHOW_JUSTIFICATION_FIELD]: string;
|
152
|
+
[Props.MIN_EYE_TO_EYE_DIST]: number;
|
144
153
|
/**
|
145
154
|
* Clears fingers and face, to make ready for a new collection.
|
146
155
|
* Will not clear jwtToken.
|
@@ -224,5 +233,6 @@ declare global {
|
|
224
233
|
'export-document': exportDocument;
|
225
234
|
'face-unconformities-validated': faceUnconformitiesValidated;
|
226
235
|
'document-unconformities-validated': documentUnconformitiesValidated;
|
236
|
+
'low-face-quality': lowFaceQualityEvent;
|
227
237
|
}
|
228
238
|
}
|
package/dist/index.js
CHANGED