@regulaforensics/vp-frontend-document-components 8.3.2454-rc → 8.3.2456
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
|
@@ -16784,11 +16784,11 @@ function vb(e, r) {
|
|
|
16784
16784
|
var t, a;
|
|
16785
16785
|
const o = {
|
|
16786
16786
|
[P2.BarcodeMRZ]: {
|
|
16787
|
-
PROD: "https://wasm
|
|
16787
|
+
PROD: "https://wasm.regulaforensics.com/document/release/8.3/barcodemrz/f526ea12-07843559c",
|
|
16788
16788
|
DEV: "./wasm/barcode-mrz/"
|
|
16789
16789
|
},
|
|
16790
16790
|
[P2.BoundsLite]: {
|
|
16791
|
-
PROD: "https://wasm
|
|
16791
|
+
PROD: "https://wasm.regulaforensics.com/document/release/8.3/boundslite/f526ea12-07843559c",
|
|
16792
16792
|
DEV: "./wasm/bounds-lite/"
|
|
16793
16793
|
}
|
|
16794
16794
|
};
|
|
@@ -17032,7 +17032,7 @@ function Mb(e) {
|
|
|
17032
17032
|
}, [Q, W]), oe.useEffect(() => {
|
|
17033
17033
|
var ce;
|
|
17034
17034
|
if (!u || !J || D || P || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17035
|
-
const ue = $R([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.
|
|
17035
|
+
const ue = $R([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.2456".trim(), ((ce = u.recognizerProcessParam.processParam.backendProcessing) === null || ce === void 0 ? void 0 : ce.serviceURL) || "");
|
|
17036
17036
|
Qi("Metadata: ".concat(JSON.stringify(ue))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(ue) : u.startNewDocument(ue)).then(() => {
|
|
17037
17037
|
R(!0), Qi("New document started");
|
|
17038
17038
|
}).catch((Re) => {
|
|
@@ -17547,7 +17547,7 @@ function Yb(e) {
|
|
|
17547
17547
|
var g;
|
|
17548
17548
|
if ((g = l.imageProcessParam.processParam) !== null && g !== void 0 && g.backendProcessing) {
|
|
17549
17549
|
var O;
|
|
17550
|
-
const R = $R([], "", "8.3.
|
|
17550
|
+
const R = $R([], "", "8.3.2456".trim(), ((O = l.recognizerProcessParam.processParam) === null || O === void 0 || (O = O.backendProcessing) === null || O === void 0 ? void 0 : O.serviceURL) || "");
|
|
17551
17551
|
yield l.createBackendTransaction(R, l.imageProcessParam);
|
|
17552
17552
|
}
|
|
17553
17553
|
const D = yield l.processImage(r, m);
|
|
@@ -23367,12 +23367,12 @@ const cp = Gr.create("wasm"), Sr = Gr.create("main");
|
|
|
23367
23367
|
class Xue {
|
|
23368
23368
|
constructor() {
|
|
23369
23369
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new $ue()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23370
|
-
component: "8.3.
|
|
23370
|
+
component: "8.3.2456".trim()
|
|
23371
23371
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23372
23372
|
processParam: {}
|
|
23373
23373
|
}), Pr(this, "imageProcessParam", {
|
|
23374
23374
|
processParam: {}
|
|
23375
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm
|
|
23375
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm.regulaforensics.com/document/release/8.3/barcodemrz/f526ea12-07843559c");
|
|
23376
23376
|
}
|
|
23377
23377
|
get processingListener() {
|
|
23378
23378
|
return this._processingListener;
|
|
@@ -23440,7 +23440,7 @@ class Xue {
|
|
|
23440
23440
|
var t;
|
|
23441
23441
|
Sr("Preparing the service");
|
|
23442
23442
|
{
|
|
23443
|
-
const a = this.workerPath === "https://wasm
|
|
23443
|
+
const a = this.workerPath === "https://wasm.regulaforensics.com/document/release/8.3/barcodemrz/f526ea12-07843559c", o = Wue(r ? vb(r, "PROD") : this.workerPath);
|
|
23444
23444
|
let c = yield (yield fetch("".concat(o, "/").concat(iy))).text();
|
|
23445
23445
|
!a && !r && (c = Ib(c, o));
|
|
23446
23446
|
const u = new Blob([c], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-document-components",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2456",
|
|
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.3.
|
|
25
|
+
"@regulaforensics/document-reader-webclient": "^8.3.537",
|
|
26
26
|
"qrcode.react": "^4.2.0"
|
|
27
27
|
}
|
|
28
28
|
}
|