@regulaforensics/vp-frontend-document-components 8.4.2510-nightly → 8.4.2513-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 +2 -2
- package/dist/main.js +7 -7
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -16930,11 +16930,11 @@ function HP(e, r) {
|
|
|
16930
16930
|
var t, a;
|
|
16931
16931
|
const o = {
|
|
16932
16932
|
[Pl.BarcodeMRZ]: {
|
|
16933
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-
|
|
16933
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-4f72f0f1b",
|
|
16934
16934
|
DEV: "./wasm/barcode-mrz/"
|
|
16935
16935
|
},
|
|
16936
16936
|
[Pl.BoundsLite]: {
|
|
16937
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.4/boundslite/caddc0e9-
|
|
16937
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.4/boundslite/caddc0e9-4f72f0f1b",
|
|
16938
16938
|
DEV: "./wasm/bounds-lite/"
|
|
16939
16939
|
}
|
|
16940
16940
|
};
|
|
@@ -17179,7 +17179,7 @@ function jP(e) {
|
|
|
17179
17179
|
}, [G, se]), ae.useEffect(() => {
|
|
17180
17180
|
var ee;
|
|
17181
17181
|
if (!f || !L || T || ce || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17182
|
-
const fe = WD([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.4.
|
|
17182
|
+
const fe = WD([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.4.2513-nightly".trim(), ((ee = f.recognizerProcessParam.processParam.backendProcessing) === null || ee === void 0 ? void 0 : ee.serviceURL) || "");
|
|
17183
17183
|
ea("Metadata: ".concat(JSON.stringify(fe))), (f.recognizerProcessParam.processParam.backendProcessing ? f.createBackendTransaction(fe) : f.startNewDocument(fe)).then(() => {
|
|
17184
17184
|
y(!0), ea("New document started");
|
|
17185
17185
|
}).catch((Se) => {
|
|
@@ -17698,7 +17698,7 @@ function cw(e) {
|
|
|
17698
17698
|
var g;
|
|
17699
17699
|
if ((g = l.imageProcessParam.processParam) !== null && g !== void 0 && g.backendProcessing) {
|
|
17700
17700
|
var O;
|
|
17701
|
-
const D = WD([], "", "8.4.
|
|
17701
|
+
const D = WD([], "", "8.4.2513-nightly".trim(), ((O = l.recognizerProcessParam.processParam) === null || O === void 0 || (O = O.backendProcessing) === null || O === void 0 ? void 0 : O.serviceURL) || "");
|
|
17702
17702
|
yield l.createBackendTransaction(D, l.imageProcessParam);
|
|
17703
17703
|
}
|
|
17704
17704
|
const R = yield l.processImage(r, _);
|
|
@@ -23638,12 +23638,12 @@ const pp = jr.create("wasm"), Ir = jr.create("main");
|
|
|
23638
23638
|
class l1e {
|
|
23639
23639
|
constructor() {
|
|
23640
23640
|
wr(this, "_worker", null), wr(this, "_initializeListener", null), wr(this, "_processingListener", null), wr(this, "_queueService", new J3e()), wr(this, "_initProcess", null), wr(this, "version", {
|
|
23641
|
-
component: "8.4.
|
|
23641
|
+
component: "8.4.2513-nightly".trim()
|
|
23642
23642
|
}), wr(this, "onFinalize", null), wr(this, "isPrepared", !1), wr(this, "isInitialized", !1), wr(this, "isProcessing", !1), wr(this, "initData", null), wr(this, "recognizerProcessParam", {
|
|
23643
23643
|
processParam: {}
|
|
23644
23644
|
}), wr(this, "imageProcessParam", {
|
|
23645
23645
|
processParam: {}
|
|
23646
|
-
}), wr(this, "recognizeListener", null), wr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-
|
|
23646
|
+
}), wr(this, "recognizeListener", null), wr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-4f72f0f1b");
|
|
23647
23647
|
}
|
|
23648
23648
|
get processingListener() {
|
|
23649
23649
|
return this._processingListener;
|
|
@@ -23711,7 +23711,7 @@ class l1e {
|
|
|
23711
23711
|
var t;
|
|
23712
23712
|
Ir("Preparing the service");
|
|
23713
23713
|
{
|
|
23714
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-
|
|
23714
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.4/barcodemrz/caddc0e9-4f72f0f1b", o = a1e(r ? HP(r, "PROD") : this.workerPath);
|
|
23715
23715
|
let c = yield (yield fetch("".concat(o, "/").concat(uO))).text();
|
|
23716
23716
|
!a && !r && (c = wP(c, o));
|
|
23717
23717
|
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.2513-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",
|