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/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
- VIDEO_FILTER = 'video_filter',
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.VIDEO_FILTER]: string;
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
@@ -1,4 +1,4 @@
1
- import { bj as f } from "./main_e486eebd_2.2.18-RC01.js";
1
+ import { bl as f } from "./main_22b66069_2.2.18-RC02.js";
2
2
  export {
3
3
  f as default
4
4
  };