@regulaforensics/vp-frontend-document-components 8.4.2482-rc → 8.4.2484-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.iife.js +2 -2
- package/dist/main.js +7 -7
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -16868,11 +16868,11 @@ function wb(e, r) {
|
|
|
16868
16868
|
var t, a;
|
|
16869
16869
|
const o = {
|
|
16870
16870
|
[wl.BarcodeMRZ]: {
|
|
16871
|
-
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-
|
|
16871
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-51d151ee1",
|
|
16872
16872
|
DEV: "./wasm/barcode-mrz/"
|
|
16873
16873
|
},
|
|
16874
16874
|
[wl.BoundsLite]: {
|
|
16875
|
-
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.4/boundslite/b82a746a-
|
|
16875
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.4/boundslite/b82a746a-51d151ee1",
|
|
16876
16876
|
DEV: "./wasm/bounds-lite/"
|
|
16877
16877
|
}
|
|
16878
16878
|
};
|
|
@@ -17117,7 +17117,7 @@ function $b(e) {
|
|
|
17117
17117
|
}, [G, se]), ie.useEffect(() => {
|
|
17118
17118
|
var ae;
|
|
17119
17119
|
if (!f || !N || T || ce || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17120
|
-
const ge = WD([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.4.
|
|
17120
|
+
const ge = WD([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.4.2484-rc".trim(), ((ae = f.recognizerProcessParam.processParam.backendProcessing) === null || ae === void 0 ? void 0 : ae.serviceURL) || "");
|
|
17121
17121
|
ea("Metadata: ".concat(JSON.stringify(ge))), (f.recognizerProcessParam.processParam.backendProcessing ? f.createBackendTransaction(ge) : f.startNewDocument(ge)).then(() => {
|
|
17122
17122
|
y(!0), ea("New document started");
|
|
17123
17123
|
}).catch((_e) => {
|
|
@@ -17634,7 +17634,7 @@ function oP(e) {
|
|
|
17634
17634
|
var g;
|
|
17635
17635
|
if ((g = l.imageProcessParam.processParam) !== null && g !== void 0 && g.backendProcessing) {
|
|
17636
17636
|
var O;
|
|
17637
|
-
const D = WD([], "", "8.4.
|
|
17637
|
+
const D = WD([], "", "8.4.2484-rc".trim(), ((O = l.recognizerProcessParam.processParam) === null || O === void 0 || (O = O.backendProcessing) === null || O === void 0 ? void 0 : O.serviceURL) || "");
|
|
17638
17638
|
yield l.createBackendTransaction(D, l.imageProcessParam);
|
|
17639
17639
|
}
|
|
17640
17640
|
const R = yield l.processImage(r, _);
|
|
@@ -23562,12 +23562,12 @@ const fp = jr.create("wasm"), Ir = jr.create("main");
|
|
|
23562
23562
|
class a1e {
|
|
23563
23563
|
constructor() {
|
|
23564
23564
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new K3e()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23565
|
-
component: "8.4.
|
|
23565
|
+
component: "8.4.2484-rc".trim()
|
|
23566
23566
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23567
23567
|
processParam: {}
|
|
23568
23568
|
}), Pr(this, "imageProcessParam", {
|
|
23569
23569
|
processParam: {}
|
|
23570
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-
|
|
23570
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-51d151ee1");
|
|
23571
23571
|
}
|
|
23572
23572
|
get processingListener() {
|
|
23573
23573
|
return this._processingListener;
|
|
@@ -23635,7 +23635,7 @@ class a1e {
|
|
|
23635
23635
|
var t;
|
|
23636
23636
|
Ir("Preparing the service");
|
|
23637
23637
|
{
|
|
23638
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-
|
|
23638
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.4/barcodemrz/b82a746a-51d151ee1", o = r1e(r ? wb(r, "PROD") : this.workerPath);
|
|
23639
23639
|
let c = yield (yield fetch("".concat(o, "/").concat(fO))).text();
|
|
23640
23640
|
!a && !r && (c = Mb(c, o));
|
|
23641
23641
|
const f = new Blob([c], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-document-components",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2484-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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"build": "vite build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@regulaforensics/document-reader-webclient": "^8.4.
|
|
25
|
+
"@regulaforensics/document-reader-webclient": "^8.4.560-rc",
|
|
26
26
|
"qrcode.react": "^4.2.0"
|
|
27
27
|
}
|
|
28
28
|
}
|