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