@regulaforensics/vp-frontend-face-components 7.2.1746-nightly → 7.2.1748-nightly
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/main.iife.js +3 -3
- package/dist/main.js +13 -13
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -547,10 +547,10 @@ function Yl() {
|
|
547
547
|
sy = 1;
|
548
548
|
var t = Un(), i = Ir(), a = Ql(), o = "__core-js_shared__", s = Dc.exports = i[o] || a(o, {});
|
549
549
|
return (s.versions || (s.versions = [])).push({
|
550
|
-
version: "3.
|
550
|
+
version: "3.44.0",
|
551
551
|
mode: t ? "pure" : "global",
|
552
552
|
copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
|
553
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
553
|
+
license: "https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",
|
554
554
|
source: "https://github.com/zloirock/core-js"
|
555
555
|
}), Dc.exports;
|
556
556
|
}
|
@@ -9903,7 +9903,7 @@ const AL = un.create("main"), tA = {
|
|
9903
9903
|
livenessType: AM.ACTIVE,
|
9904
9904
|
holdStillDuration: void 0,
|
9905
9905
|
timeoutInterval: void 0,
|
9906
|
-
workerPath: "https://wasm-development.regulaforensics.com/face/nightly/7.2/
|
9906
|
+
workerPath: "https://wasm-development.regulaforensics.com/face/nightly/7.2/94309ef8-bd789f10e",
|
9907
9907
|
detectOcclusion: !0
|
9908
9908
|
}, dL = (t) => Eg(Eg({}, tA), {}, {
|
9909
9909
|
onEvent: () => AL('Function "onEvent" not defined.'),
|
@@ -10145,7 +10145,7 @@ function rn(t) {
|
|
10145
10145
|
}, []), /* @__PURE__ */ R.jsx("div", { "aria-live": "assertive", className: Wn["info-message"], children: /* @__PURE__ */ R.jsxs("div", { className: Wn["text-container"], children: [
|
10146
10146
|
g ? (
|
10147
10147
|
// customized from css
|
10148
|
-
/* @__PURE__ */ R.jsx("div", { part: "success-screen-image", className: Wn.done })
|
10148
|
+
/* @__PURE__ */ R.jsx("div", { role: "img", "aria-label": "Done", part: "success-screen-image", className: Wn.done })
|
10149
10149
|
) : s,
|
10150
10150
|
/* @__PURE__ */ R.jsx("p", { "data-e2e": "info-msg-title", className: Wn.title, children: i }),
|
10151
10151
|
/* @__PURE__ */ R.jsx("p", { className: Wn.subtitle, children: a }),
|
@@ -10289,9 +10289,9 @@ function rx(t) {
|
|
10289
10289
|
const E = Ne.useMemo(() => Mr.isDesktop && j && j !== 0 && j !== 180, [j]);
|
10290
10290
|
return /* @__PURE__ */ R.jsxs("div", { className: "".concat(NM.window, " ").concat(E ? NM.windowRotate : ""), "data-device": Mr.isMobile && s || E ? "mobile" : "desktop", "data-direction": o, "data-locale": l, part: "wc-container", children: [
|
10291
10291
|
Mr.isMobileOnly && I && /* @__PURE__ */ R.jsx(rn, { icon: /* @__PURE__ */ R.jsx(vL, { color: "#DC4343" }), title: g("onlyPortraitOrientation"), subtitle: g("turnDeviceIntoPortrait") }),
|
10292
|
+
/* @__PURE__ */ R.jsx("div", { className: NM.header, children: !D && /* @__PURE__ */ R.jsx("button", { "aria-label": "Close face web component", "data-e2e": "cross", onClick: i, children: /* @__PURE__ */ R.jsx(pL, { color: "rgba(0, 0, 0, 0.6)" }) }) }),
|
10292
10293
|
a,
|
10293
|
-
/* @__PURE__ */ R.jsx("
|
10294
|
-
!!d && /* @__PURE__ */ R.jsx("footer", { className: NM.footer, children: /* @__PURE__ */ R.jsx("div", { className: NM.copyright, children: /* @__PURE__ */ R.jsx(mL, {}) }) })
|
10294
|
+
!!d && /* @__PURE__ */ R.jsx("div", { className: NM.footer, children: /* @__PURE__ */ R.jsx("div", { className: NM.copyright, children: /* @__PURE__ */ R.jsx(mL, {}) }) })
|
10295
10295
|
] });
|
10296
10296
|
}
|
10297
10297
|
var Vo = /* @__PURE__ */ ((t) => (t.UINT = "UINT", t.BASE64 = "BASE64", t.UINT_AND_BASE64 = "UINT_AND_BASE64", t))(Vo || {}), lr = /* @__PURE__ */ ((t) => (t.PREPARING = "StreamStatus.PREPARING", t.REQUESTING = "StreamStatus.REQUESTING", t.READY = "StreamStatus.READY", t.PLAY = "StreamStatus.PLAY", t.UNKNOWN_ERROR = "StreamStatus.UNKNOWN_ERROR", t.NOT_SUPPORTED = "StreamStatus.NOT_SUPPORTED", t.HTTP_NOT_SUPPORTED = "StreamStatus.HTTP_NOT_SUPPORTED", t.INSECURE_PAGE_CONTEXT = "StreamStatus.INSECURE_PAGE_CONTEXT", t.PERMISSION_DENIED = "StreamStatus.PERMISSION_DENIED", t.NO_CAMERA = "StreamStatus.NO_CAMERA", t.INCORRECT_CAMERA_ID = "StreamStatus.INCORRECT_CAMERA_ID", t))(lr || {}), dn = /* @__PURE__ */ ((t) => (t.user = "user", t.environment = "environment", t))(dn || {}), Vn = /* @__PURE__ */ ((t) => (t.contain = "contain", t.cover = "cover", t))(Vn || {}), tx = /* @__PURE__ */ ((t) => (t[t.HAVE_NOTHING = 0] = "HAVE_NOTHING", t[t.HAVE_METADATA = 1] = "HAVE_METADATA", t[t.HAVE_CURRENT_DATA = 2] = "HAVE_CURRENT_DATA", t[t.HAVE_FUTURE_DATA = 3] = "HAVE_FUTURE_DATA", t[t.HAVE_ENOUGH_DATA = 4] = "HAVE_ENOUGH_DATA", t))(tx || {}), ml = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ml || {}), wl = /* @__PURE__ */ ((t) => (t.mirror = "mirror", t.noMirror = "noMirror", t))(wl || {});
|
@@ -12827,7 +12827,7 @@ function zC(t) {
|
|
12827
12827
|
let {
|
12828
12828
|
children: i
|
12829
12829
|
} = t;
|
12830
|
-
return /* @__PURE__ */ R.jsx(R.Fragment, { children: i && /* @__PURE__ */ R.jsx("div", { "aria-live": "polite", part: "camera-screen-front-hint-label", className: $r["message-container"], children: /* @__PURE__ */ R.jsx("span", { "data-e2e": "message-text", children: i }) }) });
|
12830
|
+
return /* @__PURE__ */ R.jsx(R.Fragment, { children: i && /* @__PURE__ */ R.jsx("div", { "aria-live": "polite", role: "status", part: "camera-screen-front-hint-label", className: $r["message-container"], children: /* @__PURE__ */ R.jsx("span", { "data-e2e": "message-text", children: i }) }) });
|
12831
12831
|
}
|
12832
12832
|
const fC = Ne.memo(zC), LC = {
|
12833
12833
|
[lr.PREPARING]: "preparingCamera",
|
@@ -13126,7 +13126,7 @@ class $C {
|
|
13126
13126
|
}
|
13127
13127
|
prepare(i) {
|
13128
13128
|
return it(this, null, function* () {
|
13129
|
-
const a = "Liveness.worker.js", o = we.getState().workerPath, s = PC(o), I = we.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/7.2/
|
13129
|
+
const a = "Liveness.worker.js", o = we.getState().workerPath, s = PC(o), I = we.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/7.2/94309ef8-bd789f10e";
|
13130
13130
|
try {
|
13131
13131
|
let l = yield (yield fetch(s + "/" + a)).text();
|
13132
13132
|
I || (l = fS(l, s));
|
@@ -13144,7 +13144,7 @@ class $C {
|
|
13144
13144
|
}), this.worker.postMessage({
|
13145
13145
|
target: "worker-init",
|
13146
13146
|
URL: document.URL,
|
13147
|
-
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/7.2/
|
13147
|
+
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/7.2/94309ef8-bd789f10e",
|
13148
13148
|
preMain: !0
|
13149
13149
|
}));
|
13150
13150
|
});
|
@@ -13503,7 +13503,7 @@ const ep = 1500, lE = (t) => t * 1e3, fl = un.create("main"), rp = (t) => t ===
|
|
13503
13503
|
metadata: {
|
13504
13504
|
serviceUrl: D || za,
|
13505
13505
|
hostAppId: zx(),
|
13506
|
-
sdkVersion: ME("7.2.
|
13506
|
+
sdkVersion: ME("7.2.1748-nightly"),
|
13507
13507
|
deviceModel: "".concat(Mr.osName, "/").concat(Mr.osVersion, " ").concat(Mr.browserName, "/").concat(Mr.fullBrowserVersion),
|
13508
13508
|
camera: y.camera
|
13509
13509
|
}
|
@@ -13513,7 +13513,7 @@ const ep = 1500, lE = (t) => t * 1e3, fl = un.create("main"), rp = (t) => t ===
|
|
13513
13513
|
data: null
|
13514
13514
|
}), fl("Service initialized");
|
13515
13515
|
} else {
|
13516
|
-
const Y = gS([...y.sortedDevices.frontCameras, ...y.sortedDevices.backCameras], y.camera.deviceId, ME("7.2.
|
13516
|
+
const Y = gS([...y.sortedDevices.frontCameras, ...y.sortedDevices.backCameras], y.camera.deviceId, ME("7.2.1748-nightly"), D || za, f);
|
13517
13517
|
Pi.getInitialisingData(Y, d, D, E).then((B) => {
|
13518
13518
|
if ("alwaysShowMsg" in B.config && p(!B.config.alwaysShowMsg), !zS(B.publicKey))
|
13519
13519
|
return w((b) => hn(hn({}, b), {}, {
|
@@ -15897,7 +15897,7 @@ class uq extends HTMLElement {
|
|
15897
15897
|
this.dispatchEvent(a), oq("Component event: ".concat(JSON.stringify(a.detail)));
|
15898
15898
|
}
|
15899
15899
|
get version() {
|
15900
|
-
return "".concat("7.2.
|
15900
|
+
return "".concat("7.2.1748-nightly".trim());
|
15901
15901
|
}
|
15902
15902
|
set translations(i) {
|
15903
15903
|
this._translations = i, this._mounted && this.render();
|
@@ -16327,7 +16327,7 @@ class zq extends HTMLElement {
|
|
16327
16327
|
});
|
16328
16328
|
}
|
16329
16329
|
get version() {
|
16330
|
-
return "".concat("7.2.
|
16330
|
+
return "".concat("7.2.1748-nightly".trim());
|
16331
16331
|
}
|
16332
16332
|
set translations(i) {
|
16333
16333
|
this._translations = i, this._mounted && this.render();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@regulaforensics/vp-frontend-face-components",
|
3
|
-
"version": "7.2.
|
3
|
+
"version": "7.2.1748-nightly",
|
4
4
|
"description": "Regula framework agnostic web components to work with webcamera",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"main": "./dist/main.iife.js",
|