bry-biometric-collector 3.1.1 → 3.2.0-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 (21) hide show
  1. package/README.md +11 -0
  2. package/dist/{DocumentCollector_8012ed16_3.1.1.js → DocumentCollector_d1c59f5a_3.2.0-RC01.js} +386 -382
  3. package/dist/FaceCollector_68279b2b_3.2.0-RC01.js +2350 -0
  4. package/dist/{ValidationAlert_1d046b33_3.1.1.js → ValidationAlert_524c32bf_3.2.0-RC01.js} +40 -40
  5. package/dist/{___vite-browser-external_commonjs-proxy_85cb5597_3.1.1.js → ___vite-browser-external_commonjs-proxy_34cd71cb_3.2.0-RC01.js} +1 -1
  6. package/dist/bry-biometric-collector-main.js +2 -2
  7. package/dist/{fingersApi_42f58c57_3.1.1.js → fingersApi_8a169eff_3.2.0-RC01.js} +2 -2
  8. package/dist/index.d.ts +3 -1
  9. package/dist/index.js +2 -2
  10. package/dist/{index_9ac1b157_3.1.1.js → index_992033ae_3.2.0-RC01.js} +3 -3
  11. package/dist/{index_51d91852_3.1.1.js → index_a6e5c99a_3.2.0-RC01.js} +3 -3
  12. package/dist/{main_de63cee6_3.1.1.js → main_e8bc3f80_3.2.0-RC01.js} +4866 -4790
  13. package/dist/style.css +1 -1
  14. package/package.json +1 -1
  15. package/dist/FaceCollector_d821db28_3.1.1.js +0 -2241
  16. /package/dist/{en-us_e83efd5d_3.1.1.js → en-us_e83efd5d_3.2.0-RC01.js} +0 -0
  17. /package/dist/{es-cl_5939150a_3.1.1.js → es-cl_5939150a_3.2.0-RC01.js} +0 -0
  18. /package/dist/{face_api_0e3ce8c8_3.1.1.js → face_api_0e3ce8c8_3.2.0-RC01.js} +0 -0
  19. /package/dist/{index-idlf-detector_39cfdffa_3.1.1.js → index-idlf-detector_39cfdffa_3.2.0-RC01.js} +0 -0
  20. /package/dist/{index-idlf-detector_a819b3c8_3.1.1.js → index-idlf-detector_a819b3c8_3.2.0-RC01.js} +0 -0
  21. /package/dist/{pt-br_fae15356_3.1.1.js → pt-br_fae15356_3.2.0-RC01.js} +0 -0
@@ -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, 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";
1
+ import { S as H, q as P, r as F, t as G, x as M, y as S, z as I, B as T, C as h, I as g, J as E, X as we, $ as le, bo as Y, bp as $, T as B, bg as O, U as p, _ as L, bq as x, a2 as b, br as Q, a3 as C, b2 as R, a0 as pe, a6 as ie, V as X, a9 as ve, aV as re, N as ee, ad as se, E as V, G as k, H as Z, D as z, L as Ae, bj as ae, Z as Le, ao as _e, M as q, b1 as U, bh as te, bs as Ie, O as J, P as W, Q as K, R as oe, ag as Ce } from "./main_e8bc3f80_3.2.0-RC01.js";
2
2
  function ke(i) {
3
3
  let e, s, a, t, l = (
4
4
  /*$_*/
@@ -523,7 +523,7 @@ class Qe extends H {
523
523
  this,
524
524
  {
525
525
  target: this.shadowRoot,
526
- props: W(this.attributes),
526
+ props: G(this.attributes),
527
527
  customElement: !0
528
528
  },
529
529
  Ue,
@@ -577,7 +577,7 @@ class He extends H {
577
577
  this,
578
578
  {
579
579
  target: this.shadowRoot,
580
- props: W(this.attributes),
580
+ props: G(this.attributes),
581
581
  customElement: !0
582
582
  },
583
583
  Ze,
@@ -646,7 +646,7 @@ function Fe(i) {
646
646
  }
647
647
  };
648
648
  }
649
- function We(i) {
649
+ function Ge(i) {
650
650
  let e;
651
651
  function s(l, u) {
652
652
  return (
@@ -658,7 +658,7 @@ function We(i) {
658
658
  let a = s(i), t = a(i);
659
659
  return {
660
660
  c() {
661
- t.c(), e = q(), this.c = T;
661
+ t.c(), e = X(), this.c = T;
662
662
  },
663
663
  m(l, u) {
664
664
  t.m(l, u), M(l, e, u);
@@ -673,7 +673,7 @@ function We(i) {
673
673
  }
674
674
  };
675
675
  }
676
- function Ge(i, e, s) {
676
+ function Je(i, e, s) {
677
677
  let a, t;
678
678
  E(i, ve, (o) => s(1, a = o)), E(i, re, (o) => s(2, t = o));
679
679
  let { show: l } = e;
@@ -690,11 +690,11 @@ class ue extends H {
690
690
  this,
691
691
  {
692
692
  target: this.shadowRoot,
693
- props: W(this.attributes),
693
+ props: G(this.attributes),
694
694
  customElement: !0
695
695
  },
696
+ Je,
696
697
  Ge,
697
- We,
698
698
  F,
699
699
  { show: 0 },
700
700
  null
@@ -711,7 +711,7 @@ class ue extends H {
711
711
  }
712
712
  }
713
713
  customElements.define("camera-btn", ue);
714
- function Je(i) {
714
+ function We(i) {
715
715
  let e, s = (
716
716
  /*$_*/
717
717
  i[0]("buttons.startCapture") + ""
@@ -754,11 +754,11 @@ class ze extends H {
754
754
  this,
755
755
  {
756
756
  target: this.shadowRoot,
757
- props: W(this.attributes),
757
+ props: G(this.attributes),
758
758
  customElement: !0
759
759
  },
760
760
  Ke,
761
- Je,
761
+ We,
762
762
  F,
763
763
  {},
764
764
  null
@@ -766,7 +766,7 @@ class ze extends H {
766
766
  }
767
767
  }
768
768
  customElements.define("start-auto-capture-btn", ze);
769
- function qe(i) {
769
+ function Xe(i) {
770
770
  let e, s = (
771
771
  /*$_*/
772
772
  i[3]("faceCollector.capture") + ""
@@ -801,7 +801,7 @@ function qe(i) {
801
801
  }
802
802
  };
803
803
  }
804
- function Xe(i, e, s) {
804
+ function qe(i, e, s) {
805
805
  let a;
806
806
  E(i, le, (n) => s(3, a = n));
807
807
  let { handler: t = () => {
@@ -817,11 +817,11 @@ class ne extends H {
817
817
  this,
818
818
  {
819
819
  target: this.shadowRoot,
820
- props: W(this.attributes),
820
+ props: G(this.attributes),
821
821
  customElement: !0
822
822
  },
823
- Xe,
824
823
  qe,
824
+ Xe,
825
825
  F,
826
826
  { handler: 0, disabled: 1, hidden: 2 },
827
827
  null
@@ -1024,10 +1024,10 @@ function fe(i) {
1024
1024
  ) }
1025
1025
  }), {
1026
1026
  c() {
1027
- G(e.$$.fragment);
1027
+ J(e.$$.fragment);
1028
1028
  },
1029
1029
  m(a, t) {
1030
- J(e, a, t), s = !0;
1030
+ W(e, a, t), s = !0;
1031
1031
  },
1032
1032
  p(a, t) {
1033
1033
  const l = {};
@@ -1061,10 +1061,10 @@ function ce(i) {
1061
1061
  }
1062
1062
  }), {
1063
1063
  c() {
1064
- G(e.$$.fragment);
1064
+ J(e.$$.fragment);
1065
1065
  },
1066
1066
  m(a, t) {
1067
- J(e, a, t), s = !0;
1067
+ W(e, a, t), s = !0;
1068
1068
  },
1069
1069
  p(a, t) {
1070
1070
  const l = {};
@@ -1094,10 +1094,10 @@ function Me(i) {
1094
1094
  ) }
1095
1095
  }), {
1096
1096
  c() {
1097
- G(e.$$.fragment);
1097
+ J(e.$$.fragment);
1098
1098
  },
1099
1099
  m(a, t) {
1100
- J(e, a, t), s = !0;
1100
+ W(e, a, t), s = !0;
1101
1101
  },
1102
1102
  p(a, t) {
1103
1103
  const l = {};
@@ -1125,10 +1125,10 @@ function me(i) {
1125
1125
  ) }
1126
1126
  }), {
1127
1127
  c() {
1128
- G(e.$$.fragment);
1128
+ J(e.$$.fragment);
1129
1129
  },
1130
1130
  m(a, t) {
1131
- J(e, a, t), s = !0;
1131
+ W(e, a, t), s = !0;
1132
1132
  },
1133
1133
  p(a, t) {
1134
1134
  const l = {};
@@ -1151,10 +1151,10 @@ function ge(i) {
1151
1151
  let e, s;
1152
1152
  return e = new ze({}), {
1153
1153
  c() {
1154
- G(e.$$.fragment);
1154
+ J(e.$$.fragment);
1155
1155
  },
1156
1156
  m(a, t) {
1157
- J(e, a, t), s = !0;
1157
+ W(e, a, t), s = !0;
1158
1158
  },
1159
1159
  i(a) {
1160
1160
  s || (z(e.$$.fragment, a), s = !0);
@@ -1190,10 +1190,10 @@ function Ne(i) {
1190
1190
  }
1191
1191
  }), {
1192
1192
  c() {
1193
- G(e.$$.fragment);
1193
+ J(e.$$.fragment);
1194
1194
  },
1195
1195
  m(a, t) {
1196
- J(e, a, t), s = !0;
1196
+ W(e, a, t), s = !0;
1197
1197
  },
1198
1198
  p(a, t) {
1199
1199
  const l = {};
@@ -1231,10 +1231,10 @@ function de(i) {
1231
1231
  ) }
1232
1232
  }), {
1233
1233
  c() {
1234
- G(e.$$.fragment);
1234
+ J(e.$$.fragment);
1235
1235
  },
1236
1236
  m(a, t) {
1237
- J(e, a, t), s = !0;
1237
+ W(e, a, t), s = !0;
1238
1238
  },
1239
1239
  p(a, t) {
1240
1240
  const l = {};
@@ -1268,7 +1268,7 @@ function tt(i) {
1268
1268
  }
1269
1269
  return ~(e = o(i)) && (s = u[e] = l[e](i)), {
1270
1270
  c() {
1271
- s && s.c(), a = q(), this.c = T;
1271
+ s && s.c(), a = X(), this.c = T;
1272
1272
  },
1273
1273
  m(n, f) {
1274
1274
  ~e && u[e].m(n, f), M(n, a, f), t = !0;
@@ -1299,7 +1299,7 @@ function lt(i, e, s) {
1299
1299
  "showConfigButton" in _ && s(0, c = _.showConfigButton), "showAutoCaptureButton" in _ && s(1, D = _.showAutoCaptureButton), "showCaptureButton" in _ && s(2, d = _.showCaptureButton), "showCameraButton" in _ && s(3, m = _.showCameraButton), "enableCaptureButton" in _ && s(4, j = _.enableCaptureButton), "videoOverlay" in _ && s(5, w = _.videoOverlay), "videoOverlayTransparency" in _ && s(6, v = _.videoOverlayTransparency), "idrndClosed" in _ && s(7, y = _.idrndClosed), "idrndLoading" in _ && s(8, A = _.idrndLoading), "waitingIdrndCaptureEvent" in _ && s(9, r = _.waitingIdrndCaptureEvent), "handler" in _ && s(10, N = _.handler);
1300
1300
  }, i.$$.update = () => {
1301
1301
  i.$$.dirty & /*$videoStore*/
1302
- 131072 && a && (X() ? ee(ae, t = Math.round(a.videoHeight * 0.25), t) : ee(ae, t = Math.round(a.videoHeight * 0.15), t));
1302
+ 131072 && a && (q() ? ee(ae, t = Math.round(a.videoHeight * 0.25), t) : ee(ae, t = Math.round(a.videoHeight * 0.15), t));
1303
1303
  }, [
1304
1304
  c,
1305
1305
  D,
@@ -1327,7 +1327,7 @@ class at extends H {
1327
1327
  this,
1328
1328
  {
1329
1329
  target: this.shadowRoot,
1330
- props: W(this.attributes),
1330
+ props: G(this.attributes),
1331
1331
  customElement: !0
1332
1332
  },
1333
1333
  lt,
@@ -1444,7 +1444,7 @@ function st(i) {
1444
1444
  );
1445
1445
  return {
1446
1446
  c() {
1447
- a && a.c(), e = p(), t && t.c(), s = q();
1447
+ a && a.c(), e = p(), t && t.c(), s = X();
1448
1448
  },
1449
1449
  m(l, u) {
1450
1450
  a && a.m(l, u), M(l, e, u), t && t.m(l, u), M(l, s, u);
@@ -1473,7 +1473,7 @@ function it(i) {
1473
1473
  );
1474
1474
  return {
1475
1475
  c() {
1476
- a && a.c(), e = p(), t && t.c(), s = q();
1476
+ a && a.c(), e = p(), t && t.c(), s = X();
1477
1477
  },
1478
1478
  m(l, u) {
1479
1479
  a && a.m(l, u), M(l, e, u), t && t.m(l, u), M(l, s, u);
@@ -1497,7 +1497,7 @@ function he(i) {
1497
1497
  ), a;
1498
1498
  return {
1499
1499
  c() {
1500
- e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (X() ? "top-[6%]" : "top-[4.5%]"));
1500
+ e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (q() ? "top-[6%]" : "top-[4.5%]"));
1501
1501
  },
1502
1502
  m(t, l) {
1503
1503
  M(t, e, l), b(e, a);
@@ -1520,7 +1520,7 @@ function De(i) {
1520
1520
  ), a;
1521
1521
  return {
1522
1522
  c() {
1523
- e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (X() ? "top-[6%]" : "top-[4.5%]"));
1523
+ e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (q() ? "top-[6%]" : "top-[4.5%]"));
1524
1524
  },
1525
1525
  m(t, l) {
1526
1526
  M(t, e, l), b(e, a);
@@ -1543,7 +1543,7 @@ function je(i) {
1543
1543
  ), a;
1544
1544
  return {
1545
1545
  c() {
1546
- e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (X() ? "top-[6.5%]" : "top-[3%]"));
1546
+ e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (q() ? "top-[6.5%]" : "top-[3%]"));
1547
1547
  },
1548
1548
  m(t, l) {
1549
1549
  M(t, e, l), b(e, a);
@@ -1566,7 +1566,7 @@ function be(i) {
1566
1566
  ), a;
1567
1567
  return {
1568
1568
  c() {
1569
- e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (X() ? "top-[6.5%]" : "top-[3%]"));
1569
+ e = I("span"), a = L(s), h(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (q() ? "top-[6.5%]" : "top-[3%]"));
1570
1570
  },
1571
1571
  m(t, l) {
1572
1572
  M(t, e, l), b(e, a);
@@ -1599,7 +1599,7 @@ function ut(i) {
1599
1599
  let a = s(i), t = a && a(i);
1600
1600
  return {
1601
1601
  c() {
1602
- t && t.c(), e = q(), this.c = T;
1602
+ t && t.c(), e = X(), this.c = T;
1603
1603
  },
1604
1604
  m(l, u) {
1605
1605
  t && t.m(l, u), M(l, e, u);
@@ -1628,7 +1628,7 @@ class rt extends H {
1628
1628
  this,
1629
1629
  {
1630
1630
  target: this.shadowRoot,
1631
- props: W(this.attributes),
1631
+ props: G(this.attributes),
1632
1632
  customElement: !0
1633
1633
  },
1634
1634
  nt,
@@ -1,4 +1,4 @@
1
- import { bt as D, bu as V } from "./main_de63cee6_3.1.1.js";
1
+ import { bu as D, bv as V } from "./main_e8bc3f80_3.2.0-RC01.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_de63cee6_3.1.1.js";
2
- import "./face_api_0e3ce8c8_3.1.1.js";
1
+ import { bw as a } from "./main_e8bc3f80_3.2.0-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.0-RC01.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -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_de63cee6_3.1.1.js";
2
- import "./face_api_0e3ce8c8_3.1.1.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_e8bc3f80_3.2.0-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.0-RC01.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
@@ -45,7 +45,8 @@ export enum Props {
45
45
  LANGUAGE = 'language',
46
46
  SHOW_JUSTIFICATION_FIELD = 'show_justification_field',
47
47
  MIN_EYE_TO_EYE_DIST = 'min_eye_to_eye_dist',
48
- SHOW_WATERMARK = 'show_watermark'
48
+ SHOW_WATERMARK = 'show_watermark',
49
+ FACE_DETECTION_SENSITIVITY = 'face_detection_sensitivity'
49
50
  }
50
51
 
51
52
  export const enum BodyPartNames {
@@ -152,6 +153,7 @@ declare global {
152
153
  [Props.SHOW_JUSTIFICATION_FIELD]: string;
153
154
  [Props.MIN_EYE_TO_EYE_DIST]: number;
154
155
  [Props.SHOW_WATERMARK]: string;
156
+ [Props.FACE_DETECTION_SENSITIVITY]: string;
155
157
  /**
156
158
  * Clears fingers and face, to make ready for a new collection.
157
159
  * Will not clear jwtToken.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { bv as a } from "./main_de63cee6_3.1.1.js";
2
- import "./face_api_0e3ce8c8_3.1.1.js";
1
+ import { bw as a } from "./main_e8bc3f80_3.2.0-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.0-RC01.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
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";
1
+ import { bt as eo } from "./main_e8bc3f80_3.2.0-RC01.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_34cd71cb_3.2.0-RC01.js";
3
+ import "./face_api_0e3ce8c8_3.2.0-RC01.js";
4
4
  var pu = { exports: {} };
5
5
  pu.exports;
6
6
  (function(n) {
@@ -1,6 +1,6 @@
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";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_34cd71cb_3.2.0-RC01.js";
2
+ import { bt as Xa, bu as hr } from "./main_e8bc3f80_3.2.0-RC01.js";
3
+ import "./face_api_0e3ce8c8_3.2.0-RC01.js";
4
4
  function gr(e, t) {
5
5
  for (var n = 0; n < t.length; n++) {
6
6
  const s = t[n];