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.
@@ -1,4 +1,4 @@
1
- import { bd as e } from "./main_140d65a3_2.2.22.js";
1
+ import { bb as e } from "./main_af3a4af6_2.2.23.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -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
- }, T = {
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
- }, R = {
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: T,
244
- configModal: R,
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
- R as configModal,
256
+ T as configModal,
258
257
  C as default,
259
258
  c as dirtyScannerSwal,
260
- T as docCollector,
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 "./main_140d65a3_2.2.22.js";
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
- VIDEO_OVERLAY = 'video_overlay',
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.VIDEO_OVERLAY]: string;
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
@@ -1,4 +1,4 @@
1
- import { bd as e } from "./main_140d65a3_2.2.22.js";
1
+ import { bb as e } from "./main_af3a4af6_2.2.23.js";
2
2
  export {
3
3
  e as default
4
4
  };