@regulaforensics/vp-frontend-face-components 7.2.1818-rc → 7.2.1819-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.js CHANGED
@@ -9905,7 +9905,7 @@ const yL = un.create("main"), rA = {
9905
9905
  livenessType: AM.ACTIVE,
9906
9906
  holdStillDuration: void 0,
9907
9907
  timeoutInterval: void 0,
9908
- workerPath: "https://wasm-development.regulaforensics.com/face/rc/7.2/af4a87ef-05ea45dce",
9908
+ workerPath: "https://wasm-development.regulaforensics.com/face/rc/7.2/7523b1b6-05ea45dce",
9909
9909
  detectOcclusion: !0
9910
9910
  }, TL = (t) => dg(dg({}, rA), {}, {
9911
9911
  onEvent: () => yL('Function "onEvent" not defined.'),
@@ -10200,8 +10200,8 @@ function CL(t) {
10200
10200
  color: a
10201
10201
  } = t;
10202
10202
  return /* @__PURE__ */ b.jsxs("svg", { width: i || 86, height: i || 86, viewBox: "0 0 86 86", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10203
- /* @__PURE__ */ b.jsx("path", { d: "M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z", fill: a || "#DC4343" }),
10204
- /* @__PURE__ */ b.jsx("path", { d: "M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z", fill: a || "#DC4343" })
10203
+ /* @__PURE__ */ b.jsx("path", { d: "M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z", fill: a || "#FF0000" }),
10204
+ /* @__PURE__ */ b.jsx("path", { d: "M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z", fill: a || "#FF0000" })
10205
10205
  ] });
10206
10206
  }
10207
10207
  function pL() {
@@ -10290,7 +10290,7 @@ function KE(t) {
10290
10290
  });
10291
10291
  const E = Ne.useMemo(() => Mr.isDesktop && j && j !== 0 && j !== 180, [j]);
10292
10292
  return /* @__PURE__ */ b.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: [
10293
- Mr.isMobileOnly && I && /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(CL, { color: "#DC4343" }), title: g("onlyPortraitOrientation"), subtitle: g("turnDeviceIntoPortrait") }),
10293
+ Mr.isMobileOnly && I && /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(CL, {}), title: g("onlyPortraitOrientation"), subtitle: g("turnDeviceIntoPortrait") }),
10294
10294
  /* @__PURE__ */ b.jsx("div", { className: NM.header, children: !D && /* @__PURE__ */ b.jsx("button", { "aria-label": "Close face web component", "data-e2e": "cross", onClick: i, children: /* @__PURE__ */ b.jsx(SL, { color: "rgba(0, 0, 0, 0.6)" }) }) }),
10295
10295
  a,
10296
10296
  !!d && /* @__PURE__ */ b.jsx("div", { className: NM.footer, children: /* @__PURE__ */ b.jsx("div", { className: NM.copyright, children: /* @__PURE__ */ b.jsx(pL, {}) }) })
@@ -13125,7 +13125,7 @@ class PC {
13125
13125
  }
13126
13126
  prepare(i) {
13127
13127
  return it(this, null, function* () {
13128
- const a = "Liveness.worker.js", o = me.getState().workerPath, s = QC(o), I = me.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/7.2/af4a87ef-05ea45dce";
13128
+ const a = "Liveness.worker.js", o = me.getState().workerPath, s = QC(o), I = me.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/7.2/7523b1b6-05ea45dce";
13129
13129
  try {
13130
13130
  let l = yield (yield fetch(s + "/" + a)).text();
13131
13131
  I || (l = RO(l, s));
@@ -13143,7 +13143,7 @@ class PC {
13143
13143
  }), this.worker.postMessage({
13144
13144
  target: "worker-init",
13145
13145
  URL: document.URL,
13146
- currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/7.2/af4a87ef-05ea45dce",
13146
+ currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/7.2/7523b1b6-05ea45dce",
13147
13147
  preMain: !0
13148
13148
  }));
13149
13149
  });
@@ -13514,7 +13514,7 @@ const XC = 1500, IE = (t) => t * 1e3, zl = un.create("main"), qC = (t) => t ===
13514
13514
  metadata: {
13515
13515
  serviceUrl: D || za,
13516
13516
  hostAppId: ux(),
13517
- sdkVersion: BA("7.2.1818-rc"),
13517
+ sdkVersion: BA("7.2.1819-rc"),
13518
13518
  deviceModel: "".concat(Mr.osName, "/").concat(Mr.osVersion, " ").concat(Mr.browserName, "/").concat(Mr.fullBrowserVersion),
13519
13519
  camera: x.camera
13520
13520
  }
@@ -13524,7 +13524,7 @@ const XC = 1500, IE = (t) => t * 1e3, zl = un.create("main"), qC = (t) => t ===
13524
13524
  data: null
13525
13525
  }), zl("Service initialized");
13526
13526
  } else {
13527
- const W = CO([...x.sortedDevices.frontCameras, ...x.sortedDevices.backCameras], x.camera.deviceId, BA("7.2.1818-rc"), D || za, U);
13527
+ const W = CO([...x.sortedDevices.frontCameras, ...x.sortedDevices.backCameras], x.camera.deviceId, BA("7.2.1819-rc"), D || za, U);
13528
13528
  Pi.getInitializingData({
13529
13529
  deviceMetadata: W,
13530
13530
  tag: d,
@@ -14120,7 +14120,7 @@ const gN = Ne.memo(() => {
14120
14120
  const D = l("getReady");
14121
14121
  return /* @__PURE__ */ b.jsx(ZO, { title: l("selfieTime"), subtitle: D, btnText: l("goButton") });
14122
14122
  }
14123
- return a === Ge.CAPTURING || i ? /* @__PURE__ */ b.jsx(Tp, {}) : a === Ge.PROCESSING_REQUEST ? /* @__PURE__ */ b.jsx(yE, { title: l("processing") }) : a === Ge.SUCCESS && t ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(vL, {}), title: "", isVerified: !0 }) : a === Ge.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: "".concat(l("incorrectCameraId"), ' "').concat(s, '"'), subtitle: l("checkCameraId") }) : a === Ge.PERMISSION_DENIED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: l("noCameraPermission"), subtitle: l("allowAccessToCamera") }) : a === Ge.NO_CAMERA_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, { color: "#DC4343" }), title: l("noCameraAvailable"), subtitle: l("checkCameraConnection") }) : a === Ge.WASM_DEFAULT_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("versionNotSupported"), subtitle: l("updateBrowser") }) : a === Ge.HTTP_NOT_SUPPORTED ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("httpNotSupported") }) : a === Ge.WEBSERVICE_NOT_COMPATIBLE ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("webServerNotCompatible") }) : a === Ge.UNKNOWN_ERROR ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.RESTART || a === Ge.ABORT_PROCESSING ? /* @__PURE__ */ b.jsx(yE, {}) : t ? o.code === K4 ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("somethingWentWrong"), errorCode: K4 }) : /* @__PURE__ */ b.jsx(zp, { errorCode: o.code, onRetry: j }) : /* @__PURE__ */ b.jsx(rn, { title: l("processCompleted"), icon: /* @__PURE__ */ b.jsx(mL, {}) });
14123
+ return a === Ge.CAPTURING || i ? /* @__PURE__ */ b.jsx(Tp, {}) : a === Ge.PROCESSING_REQUEST ? /* @__PURE__ */ b.jsx(yE, { title: l("processing") }) : a === Ge.SUCCESS && t ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(vL, {}), title: "", isVerified: !0 }) : a === Ge.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: "".concat(l("incorrectCameraId"), ' "').concat(s, '"'), subtitle: l("checkCameraId") }) : a === Ge.PERMISSION_DENIED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: l("noCameraPermission"), subtitle: l("allowAccessToCamera") }) : a === Ge.NO_CAMERA_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("noCameraAvailable"), subtitle: l("checkCameraConnection") }) : a === Ge.WASM_DEFAULT_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("versionNotSupported"), subtitle: l("updateBrowser") }) : a === Ge.HTTP_NOT_SUPPORTED ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("httpNotSupported") }) : a === Ge.WEBSERVICE_NOT_COMPATIBLE ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("webServerNotCompatible") }) : a === Ge.UNKNOWN_ERROR ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.RESTART || a === Ge.ABORT_PROCESSING ? /* @__PURE__ */ b.jsx(yE, {}) : t ? o.code === K4 ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("somethingWentWrong"), errorCode: K4 }) : /* @__PURE__ */ b.jsx(zp, { errorCode: o.code, onRetry: j }) : /* @__PURE__ */ b.jsx(rn, { title: l("processCompleted"), icon: /* @__PURE__ */ b.jsx(mL, {}) });
14124
14124
  });
14125
14125
  gN.displayName = "ScreenManager";
14126
14126
  function fp(t) {
@@ -15917,7 +15917,7 @@ class aq extends HTMLElement {
15917
15917
  this.dispatchEvent(a), iq("Component event: ".concat(JSON.stringify(a.detail)));
15918
15918
  }
15919
15919
  get version() {
15920
- return "".concat("7.2.1818-rc".trim());
15920
+ return "".concat("7.2.1819-rc".trim());
15921
15921
  }
15922
15922
  set translations(i) {
15923
15923
  this._translations = i, this._mounted && this.render();
@@ -16347,7 +16347,7 @@ class dq extends HTMLElement {
16347
16347
  });
16348
16348
  }
16349
16349
  get version() {
16350
- return "".concat("7.2.1818-rc".trim());
16350
+ return "".concat("7.2.1819-rc".trim());
16351
16351
  }
16352
16352
  set translations(i) {
16353
16353
  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.1818-rc",
3
+ "version": "7.2.1819-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",