@regulaforensics/vp-frontend-document-components 8.1.2284-nightly → 8.1.2286-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
@@ -12253,10 +12253,9 @@ function GL(e) {
12253
12253
  } = Pr(), [N, y] = me.useState(T === void 0), P = me.useRef(null), $ = me.useRef(null), w = me.useRef(null), Y = h && p && N, q = r && g, j = f !== xn.environment && R, Z = a && L, ee = I, ne = Y || E || q, oe = j || Z;
12254
12254
  return me.useEffect(() => {
12255
12255
  var _e, Ce, Ee;
12256
- if (!v) return;
12257
- const X = ((_e = P.current) === null || _e === void 0 ? void 0 : _e.offsetWidth) || 0, se = ((Ce = $.current) === null || Ce === void 0 ? void 0 : Ce.offsetWidth) || 0, ce = ((Ee = w.current) === null || Ee === void 0 ? void 0 : Ee.offsetWidth) || 0, F = Math.max(X, se, ce);
12256
+ const X = ((_e = P.current) === null || _e === void 0 ? void 0 : _e.offsetWidth) || 0, se = ((Ce = $.current) === null || Ce === void 0 ? void 0 : Ce.offsetWidth) || 0, ce = ((Ee = w.current) === null || Ee === void 0 ? void 0 : Ee.offsetWidth) || 0, F = o ? Math.max(X, se, ce) : 0;
12258
12257
  v(F);
12259
- }, [ee, ne, oe]), me.useEffect(() => {
12258
+ }, [ee, ne, oe, o]), me.useEffect(() => {
12260
12259
  if (typeof T != "number") return;
12261
12260
  const _e = setTimeout(() => {
12262
12261
  y(!0);
@@ -16418,7 +16417,7 @@ function Ww(e) {
16418
16417
  }), ue = {
16419
16418
  platform: "Web",
16420
16419
  osVersion: "".concat(pr.osVersion),
16421
- sdkVersion: "8.1.2284-nightly".trim(),
16420
+ sdkVersion: "8.1.2286-rc".trim(),
16422
16421
  hostAppId: (Ie = _.recognizerProcessParam.processParam.backendProcessing) === null || Ie === void 0 ? void 0 : Ie.serviceURL,
16423
16422
  userID: RR(cR),
16424
16423
  deviceModel: "".concat(pr.osName, "/").concat(pr.osVersion, " ").concat(pr.browserName, "/").concat(pr.fullBrowserVersion),
@@ -22644,8 +22643,8 @@ class Kue {
22644
22643
  processParam: {}
22645
22644
  }), sn(this, "imageProcessParam", {
22646
22645
  processParam: {}
22647
- }), sn(this, "recognizeListener", null), sn(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.1/a6b27bc6-f78aae93c"), sn(this, "version", {
22648
- component: "8.1.2284-nightly".trim()
22646
+ }), sn(this, "recognizeListener", null), sn(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.1/4562176c-6035a69e3"), sn(this, "version", {
22647
+ component: "8.1.2286-rc".trim()
22649
22648
  });
22650
22649
  }
22651
22650
  get processingListener() {
@@ -22709,7 +22708,7 @@ class Kue {
22709
22708
  return Ue(this, null, function* () {
22710
22709
  var t;
22711
22710
  Zr("Preparing the service");
22712
- const r = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.1/a6b27bc6-f78aae93c", o = que(this.workerPath);
22711
+ const r = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.1/4562176c-6035a69e3", o = que(this.workerPath);
22713
22712
  {
22714
22713
  let u = yield (yield fetch("".concat(o, "/").concat(r))).text();
22715
22714
  a || (u = Uw(u, o));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/vp-frontend-document-components",
3
- "version": "8.1.2284-nightly",
3
+ "version": "8.1.2286-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.js",
@@ -23,7 +23,7 @@
23
23
  "test": "jest --testPathPattern=src/tests"
24
24
  },
25
25
  "dependencies": {
26
- "@regulaforensics/document-reader-webclient": "^8.1.407-nightly",
26
+ "@regulaforensics/document-reader-webclient": "^8.1.408-rc",
27
27
  "qrcode.react": "^4.2.0"
28
28
  }
29
29
  }