@regulaforensics/vp-frontend-face-components 8.3.2220-nightly → 8.3.2222-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
@@ -5447,7 +5447,8 @@ var io = (e) => {
5447
5447
  APP_INACTIVE: "APP_INACTIVE",
5448
5448
  HTTP_NOT_SUPPORTED: "HTTP_NOT_SUPPORTED",
5449
5449
  WEBSERVICE_NOT_COMPATIBLE: "WEBSERVICE_NOT_COMPATIBLE",
5450
- CANCELLED: "CANCELLED"
5450
+ CANCELLED: "CANCELLED",
5451
+ BAD_FACE_QUALITY: "BAD_FACE_QUALITY"
5451
5452
  }, uo = /* @__PURE__ */ function(e) {
5452
5453
  return e[e.Empty = 0] = "Empty", e[e.FitFaceIntoOval = 1] = "FitFaceIntoOval", e[e.LookStraight = 2] = "LookStraight", e[e.MoveCloser = 3] = "MoveCloser", e[e.MoveAway = 4] = "MoveAway", e[e.HoldStill = 5] = "HoldStill", e[e.ShowOnlyOneFace = 6] = "ShowOnlyOneFace", e[e.TurnHead = 7] = "TurnHead", e[e.GiveMoreLight = 8] = "GiveMoreLight", e[e.RemoveOcclusion = 9] = "RemoveOcclusion", e[e.TurnHeadUp = 10] = "TurnHeadUp", e[e.TurnHeadDown = 11] = "TurnHeadDown", e[e.TurnHeadLeft = 12] = "TurnHeadLeft", e[e.TurnHeadRight = 13] = "TurnHeadRight", e[e.BlinkYourEyes = 14] = "BlinkYourEyes", e;
5453
5454
  }({}), fo = /* @__PURE__ */ function(e) {
@@ -6274,7 +6275,7 @@ var Ys = Us.create("main"), Xs = {
6274
6275
  livenessType: Ao.ACTIVE,
6275
6276
  holdStillDuration: void 0,
6276
6277
  timeoutInterval: void 0,
6277
- workerPath: "https://wasm-development.regulaforensics.com/face/nightly/8.3/62c1a5af-b00492ebb",
6278
+ workerPath: "https://wasm-development.regulaforensics.com/face/nightly/8.3/d3378eee-b00492ebb",
6278
6279
  detectOcclusion: !0,
6279
6280
  captureButton: !1
6280
6281
  }, Zs = (e) => Gs(Gs({}, Xs), {}, {
@@ -9353,7 +9354,7 @@ var Rd = Us.create("wasm"), zd = class {
9353
9354
  prepare(e) {
9354
9355
  var t = this;
9355
9356
  return Ba(function* () {
9356
- let n = $.getState().workerPath, r = Pd(n), i = $.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/8.3/62c1a5af-b00492ebb";
9357
+ let n = $.getState().workerPath, r = Pd(n), i = $.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/8.3/d3378eee-b00492ebb";
9357
9358
  try {
9358
9359
  let e = yield (yield fetch(r + "/Liveness.worker.js")).text();
9359
9360
  i || (e = Ko(e, r));
@@ -9369,7 +9370,7 @@ var Rd = Us.create("wasm"), zd = class {
9369
9370
  }), t.worker.postMessage({
9370
9371
  target: "worker-init",
9371
9372
  URL: document.URL,
9372
- currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/8.3/62c1a5af-b00492ebb",
9373
+ currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/8.3/d3378eee-b00492ebb",
9373
9374
  preMain: !0
9374
9375
  }));
9375
9376
  })();
@@ -9728,7 +9729,7 @@ var lf = 1500, uf = (e) => e * 1e3, df = Us.create("main"), ff = (e) => e === Ao
9728
9729
  metadata: {
9729
9730
  serviceUrl: l || "https://faceapi.regulaforensics.com",
9730
9731
  hostAppId: so(),
9731
- sdkVersion: Wo("8.3.2220-nightly"),
9732
+ sdkVersion: Wo("8.3.2222-nightly"),
9732
9733
  deviceModel: `${Ma.osName}/${Ma.osVersion} ${Ma.browserName}/${Ma.fullBrowserVersion}`,
9733
9734
  camera: h.camera
9734
9735
  }
@@ -9741,7 +9742,7 @@ var lf = 1500, uf = (e) => e * 1e3, df = Us.create("main"), ff = (e) => e === Ao
9741
9742
  let n = yield co({
9742
9743
  cameras: [...h.sortedDevices.frontCameras, ...h.sortedDevices.backCameras],
9743
9744
  cameraID: h.camera.deviceId,
9744
- sdkVersion: Wo("8.3.2220-nightly"),
9745
+ sdkVersion: Wo("8.3.2222-nightly"),
9745
9746
  serviceUrl: l || "https://faceapi.regulaforensics.com",
9746
9747
  customMetadata: x
9747
9748
  });
@@ -12839,7 +12840,7 @@ var Ip = Us.create("main"), Lp = [
12839
12840
  this.dispatchEvent(t), Ip(`Component event: ${JSON.stringify(t.detail)}`);
12840
12841
  }
12841
12842
  get version() {
12842
- return "8.3.2220-nightly";
12843
+ return "8.3.2222-nightly";
12843
12844
  }
12844
12845
  set translations(e) {
12845
12846
  this._translations = e, this._mounted && this.render();
@@ -13097,12 +13098,18 @@ function tm(e) {
13097
13098
  }));
13098
13099
  });
13099
13100
  }
13100
- y === Z.BAD_FACE_QUALITY && S && Gd.sendLivenessAbortedResult(S, {
13101
+ y === Z.BAD_FACE_QUALITY && S && (u({
13102
+ action: ho.PROCESS_FINISHED,
13103
+ data: Gp({
13104
+ status: Mo.ERROR,
13105
+ reason: lo.BAD_FACE_QUALITY
13106
+ }, !D && c ? { transactionId: c } : {})
13107
+ }), Gd.sendLivenessAbortedResult(S, {
13101
13108
  transactionId: c,
13102
13109
  backendURL: d,
13103
13110
  publicKey: l,
13104
13111
  signature: E
13105
- }), Fo(y, o) && S && (y === Z.ABORT_PROCESSING && (x(j), r(!1)), Gd.sendLivenessAbortedResult(S, {
13112
+ })), Fo(y, o) && S && (y === Z.ABORT_PROCESSING && (x(j), r(!1)), Gd.sendLivenessAbortedResult(S, {
13106
13113
  transactionId: c,
13107
13114
  backendURL: d,
13108
13115
  publicKey: l,
@@ -13261,7 +13268,7 @@ var cm = Us.create("main"), lm = [
13261
13268
  });
13262
13269
  }
13263
13270
  get version() {
13264
- return "8.3.2220-nightly";
13271
+ return "8.3.2222-nightly";
13265
13272
  }
13266
13273
  set translations(e) {
13267
13274
  this._translations = e, 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.3.2220-nightly",
3
+ "version": "8.3.2222-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",