@regulaforensics/vp-frontend-face-components 8.2.2032-rc → 8.2.2035-rc
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 +5 -5
- package/dist/main.js +9 -11
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -6171,7 +6171,7 @@ const lx = Vr.create("main"), XN = {
|
|
|
6171
6171
|
livenessType: Wt.ACTIVE,
|
|
6172
6172
|
holdStillDuration: void 0,
|
|
6173
6173
|
timeoutInterval: void 0,
|
|
6174
|
-
workerPath: "https://wasm-development.regulaforensics.com/face/rc/8.2/
|
|
6174
|
+
workerPath: "https://wasm-development.regulaforensics.com/face/rc/8.2/99679740-95c8148e",
|
|
6175
6175
|
detectOcclusion: !0,
|
|
6176
6176
|
captureButton: !1
|
|
6177
6177
|
}, Ax = (e) => No(No({}, XN), {}, {
|
|
@@ -9284,7 +9284,7 @@ class nO {
|
|
|
9284
9284
|
}
|
|
9285
9285
|
prepare(r) {
|
|
9286
9286
|
return Er(this, null, function* () {
|
|
9287
|
-
const t = "Liveness.worker.js", M = oe.getState().workerPath, i = tO(M), n = oe.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/8.2/
|
|
9287
|
+
const t = "Liveness.worker.js", M = oe.getState().workerPath, i = tO(M), n = oe.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/8.2/99679740-95c8148e";
|
|
9288
9288
|
try {
|
|
9289
9289
|
let o = yield (yield fetch(i + "/" + t)).text();
|
|
9290
9290
|
n || (o = UE(o, i));
|
|
@@ -9302,7 +9302,7 @@ class nO {
|
|
|
9302
9302
|
}), this.worker.postMessage({
|
|
9303
9303
|
target: "worker-init",
|
|
9304
9304
|
URL: document.URL,
|
|
9305
|
-
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/8.2/
|
|
9305
|
+
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/8.2/99679740-95c8148e",
|
|
9306
9306
|
preMain: !0
|
|
9307
9307
|
}));
|
|
9308
9308
|
});
|
|
@@ -9674,7 +9674,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
|
|
|
9674
9674
|
metadata: {
|
|
9675
9675
|
serviceUrl: c || Ht,
|
|
9676
9676
|
hostAppId: vT(),
|
|
9677
|
-
sdkVersion: PN("8.2.
|
|
9677
|
+
sdkVersion: PN("8.2.2035-rc"),
|
|
9678
9678
|
deviceModel: "".concat(tr.osName, "/").concat(tr.osVersion, " ").concat(tr.browserName, "/").concat(tr.fullBrowserVersion),
|
|
9679
9679
|
camera: D.camera
|
|
9680
9680
|
}
|
|
@@ -9684,7 +9684,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
|
|
|
9684
9684
|
data: null
|
|
9685
9685
|
}), ou("Service initialized");
|
|
9686
9686
|
} else {
|
|
9687
|
-
const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.2.
|
|
9687
|
+
const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.2.2035-rc"), c || Ht, z);
|
|
9688
9688
|
wt.getInitializingData({
|
|
9689
9689
|
deviceMetadata: v,
|
|
9690
9690
|
tag: j,
|
|
@@ -10443,7 +10443,7 @@ function BO(e) {
|
|
|
10443
10443
|
}, []);
|
|
10444
10444
|
return Ce(() => {
|
|
10445
10445
|
hT && u(new mt("HTTP_NOT_SUPPORTED")), !i && c(Te.CAPTURING);
|
|
10446
|
-
}, [
|
|
10446
|
+
}, []), Ce(() => {
|
|
10447
10447
|
s === Te.SUCCESS && M({
|
|
10448
10448
|
action: xr.PROCESS_FINISHED,
|
|
10449
10449
|
data: {
|
|
@@ -12245,7 +12245,7 @@ class n6 extends HTMLElement {
|
|
|
12245
12245
|
this.dispatchEvent(t), i6("Component event: ".concat(JSON.stringify(t.detail)));
|
|
12246
12246
|
}
|
|
12247
12247
|
get version() {
|
|
12248
|
-
return "".concat("8.2.
|
|
12248
|
+
return "".concat("8.2.2035-rc".trim());
|
|
12249
12249
|
}
|
|
12250
12250
|
set translations(r) {
|
|
12251
12251
|
this._translations = r, this._mounted && this.render();
|
|
@@ -12481,9 +12481,7 @@ function D6(e) {
|
|
|
12481
12481
|
} = gc(), w = yM() && v && window.innerHeight < 640, [b, R] = We(!1), m = pr(!0), G = et(() => {
|
|
12482
12482
|
y === Te.CAPTURING && o ? (t(!0), M(Yr.CLOSE_BUTTON)) : (t(!1), E(g ? Te.INSTRUCTION : Te.FAILED)), R(!0);
|
|
12483
12483
|
}, [y, o]);
|
|
12484
|
-
return Ce(() => {
|
|
12485
|
-
g || E(Te.CAPTURING);
|
|
12486
|
-
}, [g]), Ce(() => (hT && O(new mt("HTTP_NOT_SUPPORTED")), D && Lt() && !Ft.initialized && Ft.init(I == null ? void 0 : I.deviceOrientationPlate), () => {
|
|
12484
|
+
return Ce(() => (hT && O(new mt("HTTP_NOT_SUPPORTED")), g || E(Te.CAPTURING), D && Lt() && !Ft.initialized && Ft.init(I == null ? void 0 : I.deviceOrientationPlate), () => {
|
|
12487
12485
|
wt.abortLivenessRequest(), Lt() && Ft.initialized && Ft.shutdown();
|
|
12488
12486
|
}), []), Ce(() => {
|
|
12489
12487
|
if (y === Te.PROCESSING_REQUEST) {
|
|
@@ -12683,7 +12681,7 @@ class E6 extends HTMLElement {
|
|
|
12683
12681
|
});
|
|
12684
12682
|
}
|
|
12685
12683
|
get version() {
|
|
12686
|
-
return "".concat("8.2.
|
|
12684
|
+
return "".concat("8.2.2035-rc".trim());
|
|
12687
12685
|
}
|
|
12688
12686
|
set translations(r) {
|
|
12689
12687
|
this._translations = r, this._mounted && this.render();
|
package/package.json
CHANGED