bry-biometric-collector 2.2.18 → 2.2.19
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/README.md +2 -0
- package/dist/{DocumentCollector_60829715_2.2.18.js → DocumentCollector_db1e89c0_2.2.19.js} +3 -3
- package/dist/FaceCollector_046b1e47_2.2.19.js +2000 -0
- package/dist/{TakePictureBtn_85287d58_2.2.18.js → TakePictureBtn_77d8280d_2.2.19.js} +1 -1
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{fingersApi_3fc545c1_2.2.18.js → fingersApi_d1426701_2.2.19.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{main_3af065b9_2.2.18.js → main_b20b5c3f_2.2.19.js} +132 -129
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FaceCollector_d1bd0ef2_2.2.18.js +0 -1921
- /package/dist/{en-us_901680c0_2.2.18.js → en-us_901680c0_2.2.19.js} +0 -0
- /package/dist/{es-cl_1fe1aaa9_2.2.18.js → es-cl_1fe1aaa9_2.2.19.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_2.2.18.js → face_api_0e3ce8c8_2.2.19.js} +0 -0
- /package/dist/{index-no-detector_4b302e78_2.2.18.js → index-no-detector_4b302e78_2.2.19.js} +0 -0
- /package/dist/{pt-br_bef1149f_2.2.18.js → pt-br_bef1149f_2.2.19.js} +0 -0
package/README.md
CHANGED
@@ -237,6 +237,8 @@ The Web-component exports a series of functions that the host environment may ca
|
|
237
237
|
|
238
238
|
- **reset**: Completely resets the web component to its startup state. Unlike clear, this function doesn't depend on finger selected state.
|
239
239
|
|
240
|
+
- **$destroy**: Removes the web component from the DOM and triggers all onDestroy handlers, also stops the camera on face collector.
|
241
|
+
|
240
242
|
- **setExportEnableStrategy**: Sets the export buttons enable strategy. The available strategies are subdivied into 3 groups. The CollectedFingersExportEnableStrategy, the BadFingersExportEnableStrategy, and the FaceExportStrategy. The first one defines how the fingers should be captured and how many. The second one fulfills the edge case, when no finger can be captured. The third one affects the behaviour when the face capture is involved. When evaluating wether to turn the export button on or not, first we check the first strategy, and if it doesn't turn on, then evauluate the second strategy, and then the third. The last two strategies will not override the first one to turn the button off, only on. The CollectedFingersExportEnableStrategy accepts the following values:
|
241
243
|
|
242
244
|
- ALWAYS_ON
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as ci, q as ui, r as Lt, t as fi, w as x, L as se, x as v, N as V, z as Z, B as f, D as l, O as Y, P as ke, Q as X, R as ye, H as oe, I as T, T as Xe, U as di, V as Se, X as hi, W as pe, Y as de, Z as we, _ as Je, a0 as dt, J as ht, a1 as Qe, a3 as mt, a5 as ze, a6 as Ge, a7 as Le, a8 as bt, a9 as gt, ad as _t, ab as mi, af as Ie, ag as Ze, b4 as Fe, am as pt, $ as bi, ao as gi, ap as _i, aq as pi, ar as wi, K as h, as as xe, at as vi, aA as Ci, C as $e, d as Be, aB as wt, aC as We, aD as ki, aE as yi, aF as et, aG as Ei, aH as Di, aI as Oi, aX as Ri, aJ as ve, aK as Ti, aL as vt, E as ae, aM as Me, aN as Ai, aO as Ee, aP as De, aQ as Oe, y as J, G as Q, aT as Ct, au as tt, aV as Pi, aW as Si, aY as Ce, aR as kt, j as Li, a_ as Ii, a$ as Fi, b0 as yt, b2 as Et, b3 as Bi } from "./
|
2
|
-
import { C as j, c as G, a as Wi, T as Mi, b as Ni } from "./
|
1
|
+
import { S as ci, q as ui, r as Lt, t as fi, w as x, L as se, x as v, N as V, z as Z, B as f, D as l, O as Y, P as ke, Q as X, R as ye, H as oe, I as T, T as Xe, U as di, V as Se, X as hi, W as pe, Y as de, Z as we, _ as Je, a0 as dt, J as ht, a1 as Qe, a3 as mt, a5 as ze, a6 as Ge, a7 as Le, a8 as bt, a9 as gt, ad as _t, ab as mi, af as Ie, ag as Ze, b4 as Fe, am as pt, $ as bi, ao as gi, ap as _i, aq as pi, ar as wi, K as h, as as xe, at as vi, aA as Ci, C as $e, d as Be, aB as wt, aC as We, aD as ki, aE as yi, aF as et, aG as Ei, aH as Di, aI as Oi, aX as Ri, aJ as ve, aK as Ti, aL as vt, E as ae, aM as Me, aN as Ai, aO as Ee, aP as De, aQ as Oe, y as J, G as Q, aT as Ct, au as tt, aV as Pi, aW as Si, aY as Ce, aR as kt, j as Li, a_ as Ii, a$ as Fi, b0 as yt, b2 as Et, b3 as Bi } from "./main_b20b5c3f_2.2.19.js";
|
2
|
+
import { C as j, c as G, a as Wi, T as Mi, b as Ni } from "./TakePictureBtn_77d8280d_2.2.19.js";
|
3
3
|
function Dt(s) {
|
4
4
|
let t, i, o;
|
5
5
|
return {
|
@@ -793,7 +793,7 @@ function Zi(s, t, i) {
|
|
793
793
|
let e;
|
794
794
|
if (Ke >= Gi) {
|
795
795
|
Ke = 0;
|
796
|
-
const M = await Pi(), B = await import("./face_api_0e3ce8c8_2.2.
|
796
|
+
const M = await Pi(), B = await import("./face_api_0e3ce8c8_2.2.19.js");
|
797
797
|
let E;
|
798
798
|
E = B.detectSingleFace(U, M), e = await E.withFaceLandmarks(), N.getContext("2d")?.clearRect(0, 0, N.width, N.height);
|
799
799
|
} else
|