@regulaforensics/vp-frontend-face-components 8.1.1957-nightly → 8.1.1958-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 +3 -3
- package/dist/main.js +8 -19
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -5747,7 +5747,7 @@ const Di = (e, r) => {
|
|
|
5747
5747
|
} catch (r) {
|
|
5748
5748
|
return !1;
|
|
5749
5749
|
}
|
|
5750
|
-
}, UE = (e, r) => e.replace(/https:\/\/wasm
|
|
5750
|
+
}, UE = (e, r) => e.replace(/https:\/\/wasm\.regulaforensics\.com\/face\/\w+\/\d+\.\d+\/[a-f0-9-]+/, r), cc = () => {
|
|
5751
5751
|
const e = navigator.userAgent || navigator.vendor || window.opera;
|
|
5752
5752
|
let r = tr.isTablet;
|
|
5753
5753
|
const t = /SM-(T|X|P)\d+/i.test(e) || /GT-P\d+/i.test(e) || /Galaxy Tab/i.test(e), M = /MediaPad/i.test(e) || /HONOR\sPad/i.test(e) || /HUAWEI\sPad/i.test(e), i = /Mi\sPad/i.test(e) || /Redmi\sPad/i.test(e) || /XiaoMi\sPad/i.test(e) || /XiaoXin\sPad/i.test(e) || /Lenovo\sTB/i.test(e);
|
|
@@ -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/
|
|
6174
|
+
workerPath: "https://wasm-development.regulaforensics.com/face/rc/8.1/65a66667-b3f8a4f6",
|
|
6175
6175
|
detectOcclusion: !0,
|
|
6176
6176
|
captureButton: !1
|
|
6177
6177
|
}, Ax = (e) => No(No({}, XN), {}, {
|
|
@@ -6416,7 +6416,6 @@ function Gr(e) {
|
|
|
6416
6416
|
return Ce(() => {
|
|
6417
6417
|
M && (c || s());
|
|
6418
6418
|
}, []), S("div", {
|
|
6419
|
-
part: "info-screen",
|
|
6420
6419
|
"aria-live": "assertive",
|
|
6421
6420
|
className: Dt["info-message"],
|
|
6422
6421
|
children: S("div", {
|
|
@@ -6430,16 +6429,13 @@ function Gr(e) {
|
|
|
6430
6429
|
className: Dt.done
|
|
6431
6430
|
})
|
|
6432
6431
|
) : i, S("p", {
|
|
6433
|
-
part: "info-screen-title",
|
|
6434
6432
|
"data-e2e": "info-msg-title",
|
|
6435
6433
|
className: Dt.title,
|
|
6436
6434
|
children: r
|
|
6437
6435
|
}), S("p", {
|
|
6438
|
-
part: "info-screen-subtitle",
|
|
6439
6436
|
className: Dt.subtitle,
|
|
6440
6437
|
children: t
|
|
6441
6438
|
}), n && S("p", {
|
|
6442
|
-
part: "info-screen-error-code",
|
|
6443
6439
|
className: Dt.errorCode,
|
|
6444
6440
|
children: [o("errorCode"), " ", n]
|
|
6445
6441
|
}), M && S("div", {
|
|
@@ -6912,7 +6908,6 @@ function td(e) {
|
|
|
6912
6908
|
translate: n
|
|
6913
6909
|
} = _t.useLocalize();
|
|
6914
6910
|
return S("div", {
|
|
6915
|
-
part: "onboarding-screen",
|
|
6916
6911
|
"aria-live": "polite",
|
|
6917
6912
|
className: Lr["instruction-window"],
|
|
6918
6913
|
children: S("div", {
|
|
@@ -6931,21 +6926,18 @@ function td(e) {
|
|
|
6931
6926
|
}), S("div", {
|
|
6932
6927
|
className: Lr["icon-container"],
|
|
6933
6928
|
children: [S("div", {
|
|
6934
|
-
part: "onboarding-screen-detail",
|
|
6935
6929
|
className: Lr["icon-block"],
|
|
6936
6930
|
children: [S("div", {
|
|
6937
6931
|
part: "onboarding-screen-illumination",
|
|
6938
6932
|
className: "".concat(Lr.icon, " ").concat(Lr.illumination)
|
|
6939
6933
|
}), n("illumination")]
|
|
6940
6934
|
}), S("div", {
|
|
6941
|
-
part: "onboarding-screen-detail",
|
|
6942
6935
|
className: Lr["icon-block"],
|
|
6943
6936
|
children: [S("div", {
|
|
6944
6937
|
part: "onboarding-screen-accessories",
|
|
6945
6938
|
className: "".concat(Lr.icon, " ").concat(Lr["no-accessories"])
|
|
6946
6939
|
}), n("noAccessories")]
|
|
6947
6940
|
}), S("div", {
|
|
6948
|
-
part: "onboarding-screen-detail",
|
|
6949
6941
|
className: Lr["icon-block"],
|
|
6950
6942
|
children: [S("div", {
|
|
6951
6943
|
part: "onboarding-screen-camera-level",
|
|
@@ -9284,7 +9276,7 @@ class nO {
|
|
|
9284
9276
|
}
|
|
9285
9277
|
prepare(r) {
|
|
9286
9278
|
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/
|
|
9279
|
+
const t = "Liveness.worker.js", M = oe.getState().workerPath, i = tO(M), n = oe.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/8.1/65a66667-b3f8a4f6";
|
|
9288
9280
|
try {
|
|
9289
9281
|
let o = yield (yield fetch(i + "/" + t)).text();
|
|
9290
9282
|
n || (o = UE(o, i));
|
|
@@ -9302,7 +9294,7 @@ class nO {
|
|
|
9302
9294
|
}), this.worker.postMessage({
|
|
9303
9295
|
target: "worker-init",
|
|
9304
9296
|
URL: document.URL,
|
|
9305
|
-
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/
|
|
9297
|
+
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/8.1/65a66667-b3f8a4f6",
|
|
9306
9298
|
preMain: !0
|
|
9307
9299
|
}));
|
|
9308
9300
|
});
|
|
@@ -9674,7 +9666,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
|
|
|
9674
9666
|
metadata: {
|
|
9675
9667
|
serviceUrl: c || Ht,
|
|
9676
9668
|
hostAppId: vT(),
|
|
9677
|
-
sdkVersion: PN("8.1.
|
|
9669
|
+
sdkVersion: PN("8.1.1958-rc"),
|
|
9678
9670
|
deviceModel: "".concat(tr.osName, "/").concat(tr.osVersion, " ").concat(tr.browserName, "/").concat(tr.fullBrowserVersion),
|
|
9679
9671
|
camera: D.camera
|
|
9680
9672
|
}
|
|
@@ -9684,7 +9676,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
|
|
|
9684
9676
|
data: null
|
|
9685
9677
|
}), ou("Service initialized");
|
|
9686
9678
|
} else {
|
|
9687
|
-
const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.1.
|
|
9679
|
+
const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.1.1958-rc"), c || Ht, z);
|
|
9688
9680
|
wt.getInitializingData({
|
|
9689
9681
|
deviceMetadata: v,
|
|
9690
9682
|
tag: j,
|
|
@@ -10257,10 +10249,8 @@ function My(e) {
|
|
|
10257
10249
|
title: r
|
|
10258
10250
|
} = e;
|
|
10259
10251
|
return S("div", {
|
|
10260
|
-
part: "processing-screen",
|
|
10261
10252
|
className: Dt["process-message"],
|
|
10262
10253
|
children: [S(Ux, {}), S("span", {
|
|
10263
|
-
part: "processing-screen-text",
|
|
10264
10254
|
className: Dt.message,
|
|
10265
10255
|
children: r
|
|
10266
10256
|
})]
|
|
@@ -10290,7 +10280,6 @@ function GO(e) {
|
|
|
10290
10280
|
return Ce(() => {
|
|
10291
10281
|
o || a();
|
|
10292
10282
|
}, []), S("div", {
|
|
10293
|
-
part: "retry-screen",
|
|
10294
10283
|
"aria-live": "assertive",
|
|
10295
10284
|
className: Qr["retry-screen"],
|
|
10296
10285
|
children: [S("div", {
|
|
@@ -12245,7 +12234,7 @@ class n6 extends HTMLElement {
|
|
|
12245
12234
|
this.dispatchEvent(t), i6("Component event: ".concat(JSON.stringify(t.detail)));
|
|
12246
12235
|
}
|
|
12247
12236
|
get version() {
|
|
12248
|
-
return "".concat("8.1.
|
|
12237
|
+
return "".concat("8.1.1958-rc".trim());
|
|
12249
12238
|
}
|
|
12250
12239
|
set translations(r) {
|
|
12251
12240
|
this._translations = r, this._mounted && this.render();
|
|
@@ -12681,7 +12670,7 @@ class E6 extends HTMLElement {
|
|
|
12681
12670
|
});
|
|
12682
12671
|
}
|
|
12683
12672
|
get version() {
|
|
12684
|
-
return "".concat("8.1.
|
|
12673
|
+
return "".concat("8.1.1958-rc".trim());
|
|
12685
12674
|
}
|
|
12686
12675
|
set translations(r) {
|
|
12687
12676
|
this._translations = r, this._mounted && this.render();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-face-components",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.1958-rc",
|
|
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",
|