@regulaforensics/vp-frontend-document-components 8.2.2311-nightly → 8.2.2313-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
@@ -16948,7 +16948,7 @@ function Nb(e) {
16948
16948
  }, [X, K]), oe.useEffect(() => {
16949
16949
  var le;
16950
16950
  if (!u || !J || R || b || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
16951
- const pe = xg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.2311-nightly".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
16951
+ const pe = xg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.2313-nightly".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
16952
16952
  Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
16953
16953
  g(!0), Qi("New document started");
16954
16954
  }).catch((ge) => {
@@ -17460,7 +17460,7 @@ function qb(e) {
17460
17460
  var D;
17461
17461
  if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
17462
17462
  var T;
17463
- const g = xg([], "", "8.2.2311-nightly".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
17463
+ const g = xg([], "", "8.2.2313-nightly".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
17464
17464
  yield l.createBackendTransaction(g, l.imageProcessParam);
17465
17465
  }
17466
17466
  const R = yield l.processImage(r, m);
@@ -21746,11 +21746,9 @@ class Bce extends HTMLElement {
21746
21746
  o[r] && o[r](), this._mounted && this.render();
21747
21747
  }
21748
21748
  connectedCallback() {
21749
- setTimeout(() => {
21750
- T2("Component mounted"), this.render(), this._mounted = !0, this.onEvent({
21751
- action: pt.ELEMENT_VISIBLE,
21752
- data: null
21753
- });
21749
+ T2("Component mounted"), this.render(), this._mounted = !0, this.onEvent({
21750
+ action: pt.ELEMENT_VISIBLE,
21751
+ data: null
21754
21752
  });
21755
21753
  }
21756
21754
  set translations(r) {
@@ -22049,11 +22047,9 @@ class tue extends HTMLElement {
22049
22047
  o[r] && o[r](), this._mounted && this.render();
22050
22048
  }
22051
22049
  connectedCallback() {
22052
- setTimeout(() => {
22053
- this.render(), this._mounted = !0, this.onEvent({
22054
- action: pt.ELEMENT_VISIBLE,
22055
- data: null
22056
- });
22050
+ this.render(), this._mounted = !0, this.onEvent({
22051
+ action: pt.ELEMENT_VISIBLE,
22052
+ data: null
22057
22053
  });
22058
22054
  }
22059
22055
  set translations(r) {
@@ -23280,12 +23276,12 @@ const VD = Gr.create("wasm"), Ir = Gr.create("main");
23280
23276
  class Yue {
23281
23277
  constructor() {
23282
23278
  Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new xue()), Pr(this, "_initProcess", null), Pr(this, "version", {
23283
- component: "8.2.2311-nightly".trim()
23279
+ component: "8.2.2313-nightly".trim()
23284
23280
  }), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
23285
23281
  processParam: {}
23286
23282
  }), Pr(this, "imageProcessParam", {
23287
23283
  processParam: {}
23288
- }), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/d0dd30b4-5c47043de");
23284
+ }), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/5945c2ba-b5931dc3b");
23289
23285
  }
23290
23286
  get processingListener() {
23291
23287
  return this._processingListener;
@@ -23348,7 +23344,7 @@ class Yue {
23348
23344
  return Oe(this, null, function* () {
23349
23345
  var r;
23350
23346
  Ir("Preparing the service");
23351
- const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/d0dd30b4-5c47043de", o = zue(this.workerPath);
23347
+ const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/5945c2ba-b5931dc3b", o = zue(this.workerPath);
23352
23348
  {
23353
23349
  let c = yield (yield fetch("".concat(o, "/").concat(t))).text();
23354
23350
  a || (c = Ib(c, o));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/vp-frontend-document-components",
3
- "version": "8.2.2311-nightly",
3
+ "version": "8.2.2313-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.js",
@@ -23,7 +23,7 @@
23
23
  "test": "jest --testPathPattern=src/tests"
24
24
  },
25
25
  "dependencies": {
26
- "@regulaforensics/document-reader-webclient": "^8.2.432-nightly",
26
+ "@regulaforensics/document-reader-webclient": "^8.2.433-nightly",
27
27
  "qrcode.react": "^4.2.0"
28
28
  }
29
29
  }