@regulaforensics/vp-frontend-document-components 8.2.2313-nightly → 8.2.2315-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.iife.js +3 -3
- package/dist/main.js +15 -11
- package/package.json +2 -2
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.
|
|
16951
|
+
const pe = xg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.2315-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.
|
|
17463
|
+
const g = xg([], "", "8.2.2315-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,9 +21746,11 @@ class Bce extends HTMLElement {
|
|
|
21746
21746
|
o[r] && o[r](), this._mounted && this.render();
|
|
21747
21747
|
}
|
|
21748
21748
|
connectedCallback() {
|
|
21749
|
-
|
|
21750
|
-
|
|
21751
|
-
|
|
21749
|
+
setTimeout(() => {
|
|
21750
|
+
T2("Component mounted"), this.render(), this._mounted = !0, this.onEvent({
|
|
21751
|
+
action: pt.ELEMENT_VISIBLE,
|
|
21752
|
+
data: null
|
|
21753
|
+
});
|
|
21752
21754
|
});
|
|
21753
21755
|
}
|
|
21754
21756
|
set translations(r) {
|
|
@@ -22047,9 +22049,11 @@ class tue extends HTMLElement {
|
|
|
22047
22049
|
o[r] && o[r](), this._mounted && this.render();
|
|
22048
22050
|
}
|
|
22049
22051
|
connectedCallback() {
|
|
22050
|
-
|
|
22051
|
-
|
|
22052
|
-
|
|
22052
|
+
setTimeout(() => {
|
|
22053
|
+
this.render(), this._mounted = !0, this.onEvent({
|
|
22054
|
+
action: pt.ELEMENT_VISIBLE,
|
|
22055
|
+
data: null
|
|
22056
|
+
});
|
|
22053
22057
|
});
|
|
22054
22058
|
}
|
|
22055
22059
|
set translations(r) {
|
|
@@ -23276,12 +23280,12 @@ const VD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23276
23280
|
class Yue {
|
|
23277
23281
|
constructor() {
|
|
23278
23282
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new xue()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23279
|
-
component: "8.2.
|
|
23283
|
+
component: "8.2.2315-nightly".trim()
|
|
23280
23284
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23281
23285
|
processParam: {}
|
|
23282
23286
|
}), Pr(this, "imageProcessParam", {
|
|
23283
23287
|
processParam: {}
|
|
23284
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/
|
|
23288
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/f984efb8-eb9fa867d");
|
|
23285
23289
|
}
|
|
23286
23290
|
get processingListener() {
|
|
23287
23291
|
return this._processingListener;
|
|
@@ -23344,7 +23348,7 @@ class Yue {
|
|
|
23344
23348
|
return Oe(this, null, function* () {
|
|
23345
23349
|
var r;
|
|
23346
23350
|
Ir("Preparing the service");
|
|
23347
|
-
const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/
|
|
23351
|
+
const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/f984efb8-eb9fa867d", o = zue(this.workerPath);
|
|
23348
23352
|
{
|
|
23349
23353
|
let c = yield (yield fetch("".concat(o, "/").concat(t))).text();
|
|
23350
23354
|
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.
|
|
3
|
+
"version": "8.2.2315-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.
|
|
26
|
+
"@regulaforensics/document-reader-webclient": "^8.2.435-nightly",
|
|
27
27
|
"qrcode.react": "^4.2.0"
|
|
28
28
|
}
|
|
29
29
|
}
|