bry-biometric-collector 3.1.0 → 3.1.1

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 { S as H, q as P, r as F, t as W, x as M, y as S, z as I, C as T, D as h, I as g, K as E, Z as we, $ as le, bn as Y, bo as $, Q as B, bg as O, R as p, b3 as L, bp as x, U as b, bq as Q, b4 as C, a$ as R, b1 as pe, a0 as ie, T as q, a3 as ve, aS as re, O as ee, a7 as se, V, H as k, W as Z, G as z, M as Ae, bj as ae, _ as Le, ai as _e, N as X, a_ as U, bh as te, br as Ie, B as G, E as J, J as K, P as oe, ab as Ce } from "./main_297fa10f_3.1.0.js";
1
+ import { S as H, q as P, r as F, t as W, x as M, y as S, z as I, B as T, C as h, I as g, J as E, Z as we, $ as le, bn as Y, bo as $, T as B, bg as O, U as p, b3 as L, bp as x, W as b, bq as Q, b4 as C, a$ as R, b1 as pe, a0 as ie, V as q, a3 as ve, aS as re, N as ee, a7 as se, E as V, G as k, H as Z, D as z, L as Ae, bj as ae, _ as Le, ai as _e, M as X, a_ as U, bh as te, br as Ie, O as G, P as J, Q as K, R as oe, ab as Ce } from "./main_de63cee6_3.1.1.js";
2
2
  function ke(i) {
3
3
  let e, s, a, t, l = (
4
4
  /*$_*/
@@ -1,4 +1,4 @@
1
- import { bt as D, bu as V } from "./main_297fa10f_3.1.0.js";
1
+ import { bt as D, bu as V } from "./main_de63cee6_3.1.1.js";
2
2
  function H(e, t) {
3
3
  for (var n = 0; n < t.length; n++) {
4
4
  const r = t[n];
@@ -1,5 +1,5 @@
1
- import { bv as a } from "./main_297fa10f_3.1.0.js";
2
- import "./face_api_0e3ce8c8_3.1.0.js";
1
+ import { bv as a } from "./main_de63cee6_3.1.1.js";
2
+ import "./face_api_0e3ce8c8_3.1.1.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -132,7 +132,7 @@ const e = {
132
132
  faceTooCloseToBorder: "The face is not centered, please center it.",
133
133
  faceCropped: "The face is cropped in the capture, please center it.",
134
134
  faceOccluded: "The face is occluded, please remove the obstruction.",
135
- faceNotFound: "No face was found in the capture.",
135
+ faceNotFound: "Insufficient quality or face not found, please retake the photo.",
136
136
  multipleFaces: "More than one face detected, please show only one face in the capture.",
137
137
  faceTooSmall: "The face is too far from the camera, please get closer.",
138
138
  faceAngleTooLarge: "The face is too tilted, please straighten it.",
@@ -130,7 +130,7 @@ const e = {
130
130
  faceTooCloseToBorder: "El rostro no está centrado, por favor céntralo.",
131
131
  faceCropped: "El rostro está cortado en la captura, por favor céntralo.",
132
132
  faceOccluded: "El rostro está obstruido, por favor quite lo que está obstruyendo.",
133
- faceNotFound: "No se encontró ningún rostro en la captura.",
133
+ faceNotFound: "Calidad insuficiente o rostro no encontrado, por favor rehaga la foto.",
134
134
  multipleFaces: "Se detectaron múltiples rostros, por favor muestre solo un rostro en la captura.",
135
135
  faceTooSmall: "El rostro está muy lejos de la cámara, por favor acérquese.",
136
136
  faceAngleTooLarge: "El rostro está demasiado inclinado, por favor enderece.",
@@ -1,5 +1,5 @@
1
- import { u as m, $ as D, 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_297fa10f_3.1.0.js";
2
- import "./face_api_0e3ce8c8_3.1.0.js";
1
+ import { u as m, $ as D, 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_de63cee6_3.1.1.js";
2
+ import "./face_api_0e3ce8c8_3.1.1.js";
3
3
  const f = m(D);
4
4
  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 || {});
5
5
  class r extends Error {
package/dist/index.d.ts CHANGED
@@ -44,7 +44,8 @@ export enum Props {
44
44
  SHOW_CAMERA_BUTTON = 'show_camera_button',
45
45
  LANGUAGE = 'language',
46
46
  SHOW_JUSTIFICATION_FIELD = 'show_justification_field',
47
- MIN_EYE_TO_EYE_DIST = 'MIN_EYE_TO_EYE_DIST'
47
+ MIN_EYE_TO_EYE_DIST = 'min_eye_to_eye_dist',
48
+ SHOW_WATERMARK = 'show_watermark'
48
49
  }
49
50
 
50
51
  export const enum BodyPartNames {
@@ -150,6 +151,7 @@ declare global {
150
151
  [Props.LANGUAGE]: string;
151
152
  [Props.SHOW_JUSTIFICATION_FIELD]: string;
152
153
  [Props.MIN_EYE_TO_EYE_DIST]: number;
154
+ [Props.SHOW_WATERMARK]: string;
153
155
  /**
154
156
  * Clears fingers and face, to make ready for a new collection.
155
157
  * Will not clear jwtToken.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { bv as a } from "./main_297fa10f_3.1.0.js";
2
- import "./face_api_0e3ce8c8_3.1.0.js";
1
+ import { bv as a } from "./main_de63cee6_3.1.1.js";
2
+ import "./face_api_0e3ce8c8_3.1.1.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_e49f2f2d_3.1.0.js";
2
- import { bs as Xa, bt as hr } from "./main_297fa10f_3.1.0.js";
3
- import "./face_api_0e3ce8c8_3.1.0.js";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_85cb5597_3.1.1.js";
2
+ import { bs as Xa, bt as hr } from "./main_de63cee6_3.1.1.js";
3
+ import "./face_api_0e3ce8c8_3.1.1.js";
4
4
  function gr(e, t) {
5
5
  for (var n = 0; n < t.length; n++) {
6
6
  const s = t[n];
@@ -1,6 +1,6 @@
1
- import { bs as eo } from "./main_297fa10f_3.1.0.js";
2
- import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_e49f2f2d_3.1.0.js";
3
- import "./face_api_0e3ce8c8_3.1.0.js";
1
+ import { bs as eo } from "./main_de63cee6_3.1.1.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_85cb5597_3.1.1.js";
3
+ import "./face_api_0e3ce8c8_3.1.1.js";
4
4
  var pu = { exports: {} };
5
5
  pu.exports;
6
6
  (function(n) {