bry-biometric-collector 2.4.0 → 2.4.1-RC01

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.
Files changed (22) hide show
  1. package/README.md +52 -8
  2. package/dist/DocumentCollector_1a813c26_2.4.1-RC01.js +1121 -0
  3. package/dist/FaceCollector_0dad6f76_2.4.1-RC01.js +1992 -0
  4. package/dist/{TakePictureBtn_3c447bd3_2.4.0.js → TakePictureBtn_2667b5dd_2.4.1-RC01.js} +93 -93
  5. package/dist/{___vite-browser-external_commonjs-proxy_12b6e368_2.4.0.js → ___vite-browser-external_commonjs-proxy_cc55a530_2.4.1-RC01.js} +1 -1
  6. package/dist/bry-biometric-collector-main.js +3 -2
  7. package/dist/{en-us_46a6e2d2_2.4.0.js → en-us_99b30d39_2.4.1-RC01.js} +2 -1
  8. package/dist/{es-cl_af82486d_2.4.0.js → es-cl_cfa50670_2.4.1-RC01.js} +7 -6
  9. package/dist/{fingersApi_8e2acbb1_2.4.0.js → fingersApi_5b5ddc30_2.4.1-RC01.js} +5 -4
  10. package/dist/index.d.ts +0 -6
  11. package/dist/index.js +3 -2
  12. package/dist/{index_898ffd1f_2.4.0.js → index_94b1b0ae_2.4.1-RC01.js} +5 -4
  13. package/dist/{index_9664d71c_2.4.0.js → index_c5d4e73c_2.4.1-RC01.js} +7 -6
  14. package/dist/{main_ade50a8c_2.4.0.js → main_0f0ce46f_2.4.1-RC01.js} +1292 -1272
  15. package/dist/{pt-br_b6088a59_2.4.0.js → pt-br_d5ca6103_2.4.1-RC01.js} +8 -7
  16. package/dist/style.css +1 -1
  17. package/package.json +1 -1
  18. package/dist/DocumentCollector_33be8c4f_2.4.0.js +0 -1249
  19. package/dist/FaceCollector_c6ab76c4_2.4.0.js +0 -1985
  20. /package/dist/{face_api_0e3ce8c8_2.4.0.js → face_api_0e3ce8c8_2.4.1-RC01.js} +0 -0
  21. /package/dist/{index-no-detector_4b302e78_2.4.0.js → index-no-detector_4b302e78_2.4.1-RC01.js} +0 -0
  22. /package/dist/{index-no-detector_b6972e40_2.4.0.js → index-no-detector_b6972e40_2.4.1-RC01.js} +0 -0
@@ -192,7 +192,8 @@ const e = {
192
192
  comeCloserCamera: "Acércate",
193
193
  moveAwayCamera: "Aléjate",
194
194
  stayInFrame: "Céntrate en el documento",
195
- docWasNotFound: "Documento no encontrado"
195
+ docWasNotFound: "Documento no encontrado",
196
+ docNotFound: "Documento no encontrado, por favor vuelva a tomar la foto!"
196
197
  }, R = {
197
198
  close: "Cerrar",
198
199
  instructions: "Para descargar el controlador de su lector biométrico, seleccione el modelo a continuación:",
@@ -209,7 +210,7 @@ const e = {
209
210
  evaluateBiometricsTimeout: "El servidor excedió su tiempo límite para responder, intente nuevamente o contacte al administrador del sistema.",
210
211
  genericNetworkError: "Hubo un error en el procesamiento de su solicitud, intente nuevamente o contacte al administrador del sistema.",
211
212
  genericError: "Hubo un error inesperado, intente nuevamente o contacte al administrador del sistema."
212
- }, b = {
213
+ }, N = {
213
214
  cameraPermission: "Por favor, concede permiso de acceso a la cámara.",
214
215
  cameraNotSupported: "La cámara no cumple con los requisitos necesarios.",
215
216
  cameraNotDetected: "Cámara no detectada.",
@@ -227,7 +228,7 @@ const e = {
227
228
  connectAnotherCamera: "Por favor, conecte otra cámara y vuelva a intentarlo.",
228
229
  biometricCapture: "Ahora, vamos realizar su captura biométrica.",
229
230
  startCapture: "Iniciar Captura"
230
- }, N = {
231
+ }, b = {
231
232
  forbiddenFingerSwal: e,
232
233
  badFingerQualitySwal: a,
233
234
  unknownDuplicateFingerSwal: o,
@@ -249,7 +250,7 @@ const e = {
249
250
  docCollector: D,
250
251
  configModal: R,
251
252
  toast: I,
252
- cameraStatus: b
253
+ cameraStatus: N
253
254
  };
254
255
  export {
255
256
  n as agrFinger,
@@ -259,9 +260,9 @@ export {
259
260
  l as automaticHasAlreadyRunSwal,
260
261
  a as badFingerQualitySwal,
261
262
  p as buttons,
262
- b as cameraStatus,
263
+ N as cameraStatus,
263
264
  R as configModal,
264
- N as default,
265
+ b as default,
265
266
  d as dirtyScannerSwal,
266
267
  D as docCollector,
267
268
  i as duplicateFingerSwal,
@@ -1,12 +1,13 @@
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_ade50a8c_2.4.0.js";
2
- const f = D(m);
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_0f0ce46f_2.4.1-RC01.js";
2
+ import "./face_api_0e3ce8c8_2.4.1-RC01.js";
3
+ const f = m(D);
3
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 || {});
4
5
  class r extends Error {
5
6
  constructor(a, d) {
6
7
  super(a), this.status = d;
7
8
  }
8
9
  }
9
- async function Q(n, a) {
10
+ async function H(n, a) {
10
11
  const d = C([n])[0], T = b();
11
12
  if (y(T))
12
13
  throw new r(
@@ -127,5 +128,5 @@ function q(n) {
127
128
  export {
128
129
  r as CaptureApiError,
129
130
  X as CaptureErrorStatusEnum,
130
- Q as captureSingleFinger
131
+ H as captureSingleFinger
131
132
  };
package/dist/index.d.ts CHANGED
@@ -102,11 +102,6 @@ export type documentUnconformitiesValidated = BryWebCollectorComponentEvent<{
102
102
  errorCode?: string;
103
103
  status: requestResultEnum;
104
104
  }>;
105
- export type lowQualityFaceEvent = CustomEvent<{
106
- bodyParts: BodyPart[];
107
- errorCode: string;
108
- translatedError: string;
109
- }>;
110
105
  export type extensionErrorEvent = CustomEvent<{
111
106
  code: number;
112
107
  description: string;
@@ -239,7 +234,6 @@ declare global {
239
234
  'export-document': exportDocument;
240
235
  'face-unconformities-validated': faceUnconformitiesValidated;
241
236
  'document-unconformities-validated': documentUnconformitiesValidated;
242
- 'low-quality-face': lowQualityFaceEvent;
243
237
  'extension-error': extensionErrorEvent;
244
238
  }
245
239
  }
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- import { bj as f } from "./main_ade50a8c_2.4.0.js";
1
+ import { bm as t } from "./main_0f0ce46f_2.4.1-RC01.js";
2
+ import "./face_api_0e3ce8c8_2.4.1-RC01.js";
2
3
  export {
3
- f as default
4
+ t as default
4
5
  };
@@ -1,5 +1,6 @@
1
- import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_12b6e368_2.4.0.js";
2
- import { bg as Xa, bh as hr } from "./main_ade50a8c_2.4.0.js";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_cc55a530_2.4.1-RC01.js";
2
+ import { bj as Xa, bk as hr } from "./main_0f0ce46f_2.4.1-RC01.js";
3
+ import "./face_api_0e3ce8c8_2.4.1-RC01.js";
3
4
  function gr(e, t) {
4
5
  for (var n = 0; n < t.length; n++) {
5
6
  const s = t[n];
@@ -13348,7 +13349,7 @@ const Ky = [
13348
13349
  "tfjs-backend-wasm-threaded-simd.wasm"
13349
13350
  ];
13350
13351
  let Xy = null, je = null, Ke = {}, En = !1, nu = !1;
13351
- function tw(e, t = !1) {
13352
+ function ew(e, t = !1) {
13352
13353
  if (En)
13353
13354
  throw new Error("The WASM backend was already initialized. Make sure you call `setWasmPaths()` before you call `tf.setBackend()` or `tf.ready()`");
13354
13355
  if (typeof e == "string")
@@ -13385,5 +13386,5 @@ Kl("wasm", async () => {
13385
13386
  }, Qy);
13386
13387
  export {
13387
13388
  zy as BackendWasm,
13388
- tw as setWasmPaths
13389
+ ew as setWasmPaths
13389
13390
  };
@@ -1,5 +1,6 @@
1
- import { bg as eo } from "./main_ade50a8c_2.4.0.js";
2
- import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_12b6e368_2.4.0.js";
1
+ import { bj as eo } from "./main_0f0ce46f_2.4.1-RC01.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_cc55a530_2.4.1-RC01.js";
3
+ import "./face_api_0e3ce8c8_2.4.1-RC01.js";
3
4
  var pu = { exports: {} };
4
5
  pu.exports;
5
6
  (function(n) {
@@ -2784,10 +2785,10 @@ function $t(n) {
2784
2785
  function Dn(n) {
2785
2786
  return D.keep(n);
2786
2787
  }
2787
- function xH(n) {
2788
+ function bH(n) {
2788
2789
  return D.setBackend(n);
2789
2790
  }
2790
- function bH() {
2791
+ function yH() {
2791
2792
  return D.ready();
2792
2793
  }
2793
2794
  function vm(n, t, e = 1) {
@@ -49109,7 +49110,7 @@ export {
49109
49110
  HI as randomNormal,
49110
49111
  Ii as randomUniform,
49111
49112
  gr as range,
49112
- bH as ready,
49113
+ yH as ready,
49113
49114
  pa as real,
49114
49115
  qI as reciprocal,
49115
49116
  vm as registerBackend,
@@ -49125,7 +49126,7 @@ export {
49125
49126
  Tt as scalar,
49126
49127
  Qm as selu,
49127
49128
  tg as separableConv2d,
49128
- xH as setBackend,
49129
+ bH as setBackend,
49129
49130
  S_ as setWebGLContext,
49130
49131
  cR as shared,
49131
49132
  Bo as sigmoid,