bry-biometric-collector 3.3.0-RC01 → 3.3.0-RC02
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/dist/{DocumentCollector_b7f1f959_3.3.0-RC01.js → DocumentCollector_d1c80ecf_3.3.0-RC02.js} +4 -4
- package/dist/{FaceCollector_bfb78de9_3.3.0-RC01.js → FaceCollector_0019b3db_3.3.0-RC02.js} +184 -179
- package/dist/{ValidationAlert_f85f89cf_3.3.0-RC01.js → ValidationAlert_f608a307_3.3.0-RC02.js} +1 -1
- package/dist/{___vite-browser-external_commonjs-proxy_da3cccf5_3.3.0-RC01.js → ___vite-browser-external_commonjs-proxy_18980ff7_3.3.0-RC02.js} +1 -1
- package/dist/bry-biometric-collector-main.js +2 -2
- package/dist/{faceApi_3de78157_3.3.0-RC01.js → faceApi_940794d6_3.3.0-RC02.js} +4 -4
- package/dist/{fingersApi_8b0e10c7_3.3.0-RC01.js → fingersApi_e73e0484_3.3.0-RC02.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{index_2d85794d_3.3.0-RC01.js → index_0e3c2de1_3.3.0-RC02.js} +3 -3
- package/dist/{index_d3977b75_3.3.0-RC01.js → index_c6027bfe_3.3.0-RC02.js} +3 -3
- package/dist/{main_415c84df_3.3.0-RC01.js → main_92f80aa7_3.3.0-RC02.js} +22 -22
- package/package.json +1 -1
- /package/dist/{en-us_e83efd5d_3.3.0-RC01.js → en-us_e83efd5d_3.3.0-RC02.js} +0 -0
- /package/dist/{es-cl_5939150a_3.3.0-RC01.js → es-cl_5939150a_3.3.0-RC02.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_3.3.0-RC01.js → face_api_0e3ce8c8_3.3.0-RC02.js} +0 -0
- /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC01.js → index-idlf-detector_39cfdffa_3.3.0-RC02.js} +0 -0
- /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC01.js → index-idlf-detector_a819b3c8_3.3.0-RC02.js} +0 -0
- /package/dist/{pt-br_fae15356_3.3.0-RC01.js → pt-br_fae15356_3.3.0-RC02.js} +0 -0
package/dist/{ValidationAlert_f85f89cf_3.3.0-RC01.js → ValidationAlert_f608a307_3.3.0-RC02.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { S as H, t as P, x as F, y as W, z as M, B as S, C as I, D as T, E as h, K as g, L as E, Z as we, $ as le, bq as Y, br as $, V as B, bi as O, W as p, a1 as L, bs as x, a4 as b, bt as Q, a5 as C, b4 as R, a2 as pe, a8 as ie, X, ab as ve, aX as re, P as ee, af as se, H as V, I as k, J as Z, G as z, N as Ae, bl as ae, a0 as Le, aq as _e, O as q, b3 as U, bj as te, bu as Ie, Q as G, R as J, T as K, U as oe, ai as Ce } from "./
|
1
|
+
import { S as H, t as P, x as F, y as W, z as M, B as S, C as I, D as T, E as h, K as g, L as E, Z as we, $ as le, bq as Y, br as $, V as B, bi as O, W as p, a1 as L, bs as x, a4 as b, bt as Q, a5 as C, b4 as R, a2 as pe, a8 as ie, X, ab as ve, aX as re, P as ee, af as se, H as V, I as k, J as Z, G as z, N as Ae, bl as ae, a0 as Le, aq as _e, O as q, b3 as U, bj as te, bu as Ie, Q as G, R as J, T as K, U as oe, ai as Ce } from "./main_92f80aa7_3.3.0-RC02.js";
|
2
2
|
function ke(i) {
|
3
3
|
let e, s, a, t, l = (
|
4
4
|
/*$_*/
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { q as r, r as a, h as n } from "./
|
2
|
-
import "./
|
3
|
-
import "./face_api_0e3ce8c8_3.3.0-
|
4
|
-
import "./
|
1
|
+
import { q as r, r as a, h as n } from "./main_92f80aa7_3.3.0-RC02.js";
|
2
|
+
import "./FaceCollector_0019b3db_3.3.0-RC02.js";
|
3
|
+
import "./face_api_0e3ce8c8_3.3.0-RC02.js";
|
4
|
+
import "./ValidationAlert_f608a307_3.3.0-RC02.js";
|
5
5
|
function i(...t) {
|
6
6
|
}
|
7
7
|
async function g(t) {
|
@@ -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 "./
|
2
|
-
import "./face_api_0e3ce8c8_3.3.0-
|
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_92f80aa7_3.3.0-RC02.js";
|
2
|
+
import "./face_api_0e3ce8c8_3.3.0-RC02.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.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { bv as eo } from "./
|
2
|
-
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-
|
3
|
-
import "./face_api_0e3ce8c8_3.3.0-
|
1
|
+
import { bv as eo } from "./main_92f80aa7_3.3.0-RC02.js";
|
2
|
+
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_18980ff7_3.3.0-RC02.js";
|
3
|
+
import "./face_api_0e3ce8c8_3.3.0-RC02.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-
|
2
|
-
import { bv as Xa, bw as hr } from "./
|
3
|
-
import "./face_api_0e3ce8c8_3.3.0-
|
1
|
+
import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_18980ff7_3.3.0-RC02.js";
|
2
|
+
import { bv as Xa, bw as hr } from "./main_92f80aa7_3.3.0-RC02.js";
|
3
|
+
import "./face_api_0e3ce8c8_3.3.0-RC02.js";
|
4
4
|
function gr(e, t) {
|
5
5
|
for (var n = 0; n < t.length; n++) {
|
6
6
|
const s = t[n];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Box as Dc, detectSingleFace as vc } from "./face_api_0e3ce8c8_3.3.0-
|
1
|
+
import { Box as Dc, detectSingleFace as vc } from "./face_api_0e3ce8c8_3.3.0-RC02.js";
|
2
2
|
function Z() {
|
3
3
|
}
|
4
4
|
function Cn(A, e) {
|
@@ -7200,18 +7200,18 @@ async function of(A) {
|
|
7200
7200
|
A && (e = A), console.log("requesting weights from", e);
|
7201
7201
|
try {
|
7202
7202
|
await Promise.all([
|
7203
|
-
(await import("./face_api_0e3ce8c8_3.3.0-
|
7204
|
-
(await import("./face_api_0e3ce8c8_3.3.0-
|
7203
|
+
(await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).nets.tinyFaceDetector.load(e),
|
7204
|
+
(await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).loadFaceLandmarkModel(e)
|
7205
7205
|
]);
|
7206
7206
|
} catch {
|
7207
7207
|
console.warn("Your browser doesn't support WebGL! Trying to use WASM backend now...");
|
7208
7208
|
try {
|
7209
7209
|
await Promise.all([
|
7210
|
-
(await import("./
|
7211
|
-
(await import("./
|
7212
|
-
(await import("./
|
7213
|
-
(await import("./face_api_0e3ce8c8_3.3.0-
|
7214
|
-
(await import("./face_api_0e3ce8c8_3.3.0-
|
7210
|
+
(await import("./index_c6027bfe_3.3.0-RC02.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
|
7211
|
+
(await import("./index_0e3c2de1_3.3.0-RC02.js")).setBackend("wasm"),
|
7212
|
+
(await import("./index_0e3c2de1_3.3.0-RC02.js")).ready(),
|
7213
|
+
(await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).nets.tinyFaceDetector.load(e),
|
7214
|
+
(await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).loadFaceLandmarkModel(e)
|
7215
7215
|
]);
|
7216
7216
|
} catch {
|
7217
7217
|
throw console.warn("WASM backend failed to load, face detection will be disabled"), new Error("Face detection failed to load");
|
@@ -10305,13 +10305,13 @@ async function AQ(A) {
|
|
10305
10305
|
e = 0.2;
|
10306
10306
|
break;
|
10307
10307
|
}
|
10308
|
-
return new (await import("./face_api_0e3ce8c8_3.3.0-
|
10308
|
+
return new (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).TinyFaceDetectorOptions({
|
10309
10309
|
scoreThreshold: e
|
10310
10310
|
});
|
10311
10311
|
}
|
10312
10312
|
async function Ff(A, e, t, r = !1) {
|
10313
10313
|
if (t) {
|
10314
|
-
const l = (await import("./face_api_0e3ce8c8_3.3.0-
|
10314
|
+
const l = (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).draw;
|
10315
10315
|
l.drawDetections(e, A), new l.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
|
10316
10316
|
}
|
10317
10317
|
const o = A.landmarks.positions, n = eQ(o), a = await tQ(o), B = A.detection.box, I = await rQ(B, a, e, t);
|
@@ -10322,17 +10322,17 @@ function eQ(A) {
|
|
10322
10322
|
return Di(e, t);
|
10323
10323
|
}
|
10324
10324
|
async function tQ(A) {
|
10325
|
-
const e = (await import("./face_api_0e3ce8c8_3.3.0-
|
10325
|
+
const e = (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).Point;
|
10326
10326
|
let t = A[37].add(A[38]).add(A[40]).add(A[41]), r = A[43].add(A[44]).add(A[46]).add(A[47]);
|
10327
10327
|
t = t.div(new e(4, 4)), r = r.div(new e(4, 4));
|
10328
10328
|
const o = Di(r, t);
|
10329
10329
|
return jI.set(o), o;
|
10330
10330
|
}
|
10331
10331
|
async function rQ(A, e, t, r) {
|
10332
|
-
const o = (await import("./face_api_0e3ce8c8_3.3.0-
|
10332
|
+
const o = (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).Point;
|
10333
10333
|
let n = 2.5, a = 0.8;
|
10334
10334
|
const B = A.topLeft.x - e, I = A.topLeft.y - n * e, l = A.bottomLeft.x - e, C = A.bottomLeft.y + a * e, p = A.bottomRight.x + e, m = A.bottomRight.y + e, D = Di(new o(l, C), new o(B, I)), y = Di(new o(l, C), new o(p, m)), N = t.getContext("2d");
|
10335
|
-
return N.beginPath(), N.strokeStyle = "gold", YI.set(new (await import("./face_api_0e3ce8c8_3.3.0-
|
10335
|
+
return N.beginPath(), N.strokeStyle = "gold", YI.set(new (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).Box({ x: B, y: I, width: y, height: D })), N.rect(B, I, y, D), r && N.stroke(), {
|
10336
10336
|
topLeftX: A.topLeft.x,
|
10337
10337
|
topLeftY: A.topLeft.y,
|
10338
10338
|
bottomRightX: A.bottomRight.x,
|
@@ -10405,7 +10405,7 @@ async function gQ(A, e, t) {
|
|
10405
10405
|
height: e.height * C
|
10406
10406
|
}), m = document.createElement("canvas");
|
10407
10407
|
m.width = p.width, m.height = p.height, m.getContext("2d")?.clearRect(0, 0, m.width, m.height), I && sQ(I, A, B);
|
10408
|
-
const [y] = await (await import("./face_api_0e3ce8c8_3.3.0-
|
10408
|
+
const [y] = await (await import("./face_api_0e3ce8c8_3.3.0-RC02.js")).extractFaces(B, [p]);
|
10409
10409
|
return y;
|
10410
10410
|
}
|
10411
10411
|
function sQ(A, e, t) {
|
@@ -23174,10 +23174,10 @@ function QB(A) {
|
|
23174
23174
|
return this;
|
23175
23175
|
}
|
23176
23176
|
async function uB(A, e) {
|
23177
|
-
return await import("./
|
23177
|
+
return await import("./fingersApi_e73e0484_3.3.0-RC02.js").then((t) => t.captureSingleFinger(A, e));
|
23178
23178
|
}
|
23179
23179
|
async function dB(A) {
|
23180
|
-
return await import("./
|
23180
|
+
return await import("./faceApi_940794d6_3.3.0-RC02.js").then((e) => e.captureSingleFace(A));
|
23181
23181
|
}
|
23182
23182
|
function Kd(A, e, t) {
|
23183
23183
|
let r, o, n, a, B, I, l, C, p, m, D, y, N, f, J, V, X, fA, nA, Y, aA, O, lA, UA, ae, Fe, Me, AA, Ne, ne, wA, le, lt, k, v;
|
@@ -23185,7 +23185,7 @@ function Kd(A, e, t) {
|
|
23185
23185
|
let { lottie_color: rA = "71 89 124" } = e, { extension_name: j = "BryWebExtension" } = e, { extension_url_chrome: EA } = e, { extension_url_mozilla: gA } = e, { min_nfiq_acceptable: dA = 3 } = e;
|
23186
23186
|
mE(dA);
|
23187
23187
|
let { show_theme_picker: oA = "true" } = e, { video_dimensions: yA } = e, { enable_minutiae: NA } = e, { collector_select: SA = "BOTH" } = e, { import_lottie: MA = "true" } = e, { hide_tabs: JA = "false" } = e, { import_extension_script: Ae = "false" } = e, { extension_url_script: kA } = e, { liveness_enable: ee = "false" } = e, { weights_path: ge = "https://cdn.jsdelivr.net/npm/bry-biometric-collector@latest/dist/weights/" } = e, { evaluate_photo: zA = "true" } = e, { show_capture_button: Qe = "true" } = e, { show_unconformities: WA = "true" } = e, { video_overlay: OA = "white" } = e, { video_overlay_transparency: Ue = 0 } = e, { show_config_button: Ce = "true" } = e, { show_auto_capture_button: $e = "false" } = e, { show_camera_button: be = "true" } = e, { language: _A = hI() } = e, { show_justification_field: DA = "true" } = e, { min_eye_to_eye_dist: me = 0 } = e, { show_watermark: qe = "true" } = e, { face_detection_sensitivity: QA = "permissive" } = e, { camera_device_id: vA = "" } = e;
|
23188
|
-
Vr("en", () => import("./en-us_e83efd5d_3.3.0-
|
23188
|
+
Vr("en", () => import("./en-us_e83efd5d_3.3.0-RC02.js")), Vr("pt", () => import("./pt-br_fae15356_3.3.0-RC02.js")), Vr("es", () => import("./es-cl_5939150a_3.3.0-RC02.js")), Sn({
|
23189
23189
|
fallbackLocale: "pt",
|
23190
23190
|
initialLocale: _A
|
23191
23191
|
});
|
@@ -23405,10 +23405,10 @@ function Kd(A, e, t) {
|
|
23405
23405
|
return hA(Mn, C = i, C), this;
|
23406
23406
|
}
|
23407
23407
|
async function Ge() {
|
23408
|
-
return t(27, Ct = (await import("./
|
23408
|
+
return t(27, Ct = (await import("./FaceCollector_0019b3db_3.3.0-RC02.js")).default), this;
|
23409
23409
|
}
|
23410
23410
|
async function wt() {
|
23411
|
-
return t(28, ue = (await import("./
|
23411
|
+
return t(28, ue = (await import("./DocumentCollector_d1c80ecf_3.3.0-RC02.js")).default), this;
|
23412
23412
|
}
|
23413
23413
|
function Yt(i) {
|
23414
23414
|
tt(i);
|
@@ -24056,9 +24056,9 @@ class fB extends we {
|
|
24056
24056
|
}
|
24057
24057
|
}
|
24058
24058
|
customElements.define("biometric-collector", fB);
|
24059
|
-
Vr("en", () => import("./en-us_e83efd5d_3.3.0-
|
24060
|
-
Vr("pt", () => import("./pt-br_fae15356_3.3.0-
|
24061
|
-
Vr("es", () => import("./es-cl_5939150a_3.3.0-
|
24059
|
+
Vr("en", () => import("./en-us_e83efd5d_3.3.0-RC02.js"));
|
24060
|
+
Vr("pt", () => import("./pt-br_fae15356_3.3.0-RC02.js"));
|
24061
|
+
Vr("es", () => import("./es-cl_5939150a_3.3.0-RC02.js"));
|
24062
24062
|
Sn({
|
24063
24063
|
fallbackLocale: "pt",
|
24064
24064
|
initialLocale: hI()
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "bry-biometric-collector",
|
3
3
|
"private": false,
|
4
4
|
"description": "BRy web-collector component for biometric capture.",
|
5
|
-
"version": "3.3.0-
|
5
|
+
"version": "3.3.0-RC02",
|
6
6
|
"main": "dist/bry-biometric-collector-main.js",
|
7
7
|
"type": "module",
|
8
8
|
"license": "UNLICENSED",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|