@regulaforensics/vp-frontend-face-components 8.1.1946-rc → 8.1.1948-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/cb92870c-9dda51ab",
6175
6175
  detectOcclusion: !0,
6176
6176
  captureButton: !1
6177
6177
  }, Ax = (e) => No(No({}, XN), {}, {
@@ -9276,7 +9276,7 @@ class nO {
9276
9276
  }
9277
9277
  prepare(r) {
9278
9278
  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";
9279
+ 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/cb92870c-9dda51ab";
9280
9280
  try {
9281
9281
  let o = yield (yield fetch(i + "/" + t)).text();
9282
9282
  n || (o = UE(o, i));
@@ -9294,7 +9294,7 @@ class nO {
9294
9294
  }), this.worker.postMessage({
9295
9295
  target: "worker-init",
9296
9296
  URL: document.URL,
9297
- currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/8.1/65a66667-b3f8a4f6",
9297
+ currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/8.1/cb92870c-9dda51ab",
9298
9298
  preMain: !0
9299
9299
  }));
9300
9300
  });
@@ -9666,7 +9666,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
9666
9666
  metadata: {
9667
9667
  serviceUrl: c || Ht,
9668
9668
  hostAppId: vT(),
9669
- sdkVersion: PN("8.1.1946-rc"),
9669
+ sdkVersion: PN("8.1.1948-nightly"),
9670
9670
  deviceModel: "".concat(tr.osName, "/").concat(tr.osVersion, " ").concat(tr.browserName, "/").concat(tr.fullBrowserVersion),
9671
9671
  camera: D.camera
9672
9672
  }
@@ -9676,7 +9676,7 @@ const TO = 1500, XD = (e) => e * 1e3, ou = Vr.create("main"), lO = (e) => e ===
9676
9676
  data: null
9677
9677
  }), ou("Service initialized");
9678
9678
  } else {
9679
- const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.1.1946-rc"), c || Ht, z);
9679
+ const v = TE([...D.sortedDevices.frontCameras, ...D.sortedDevices.backCameras], D.camera.deviceId, PN("8.1.1948-nightly"), c || Ht, z);
9680
9680
  wt.getInitializingData({
9681
9681
  deviceMetadata: v,
9682
9682
  tag: j,
@@ -12234,7 +12234,7 @@ class n6 extends HTMLElement {
12234
12234
  this.dispatchEvent(t), i6("Component event: ".concat(JSON.stringify(t.detail)));
12235
12235
  }
12236
12236
  get version() {
12237
- return "".concat("8.1.1946-rc".trim());
12237
+ return "".concat("8.1.1948-nightly".trim());
12238
12238
  }
12239
12239
  set translations(r) {
12240
12240
  this._translations = r, this._mounted && this.render();
@@ -12670,7 +12670,7 @@ class E6 extends HTMLElement {
12670
12670
  });
12671
12671
  }
12672
12672
  get version() {
12673
- return "".concat("8.1.1946-rc".trim());
12673
+ return "".concat("8.1.1948-nightly".trim());
12674
12674
  }
12675
12675
  set translations(r) {
12676
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.1946-rc",
3
+ "version": "8.1.1948-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",