@regulaforensics/vp-frontend-document-components 8.5.2566-nightly → 8.5.2567-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 +3 -3
- package/dist/main.js +8 -8
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -6306,7 +6306,7 @@ function vC(e, t, r) {
|
|
|
6306
6306
|
if (!t.deviceId && !t.facing)
|
|
6307
6307
|
return r ? (n.status = st.INCORRECT_CAMERA_ID, n) : (n.status = st.NO_CAMERA, n);
|
|
6308
6308
|
try {
|
|
6309
|
-
const a = e.
|
|
6309
|
+
const a = e.height > op ? Fr.FULL_HD.width : e.width, i = e.height > op ? Fr.FULL_HD.height : e.height, o = {
|
|
6310
6310
|
ideal: a
|
|
6311
6311
|
}, c = {
|
|
6312
6312
|
ideal: i
|
|
@@ -12531,11 +12531,11 @@ function X9(e, t) {
|
|
|
12531
12531
|
var r, n;
|
|
12532
12532
|
const a = {
|
|
12533
12533
|
[Hi.BarcodeMRZ]: {
|
|
12534
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
12534
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.5/barcodemrz/64de9872-",
|
|
12535
12535
|
DEV: "./wasm/barcode-mrz/"
|
|
12536
12536
|
},
|
|
12537
12537
|
[Hi.BoundsLite]: {
|
|
12538
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
12538
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.5/boundslite/64de9872-",
|
|
12539
12539
|
DEV: "./wasm/bounds-lite/"
|
|
12540
12540
|
}
|
|
12541
12541
|
};
|
|
@@ -12781,7 +12781,7 @@ function sy(e) {
|
|
|
12781
12781
|
}, [W, x]), Ve(() => {
|
|
12782
12782
|
var ee;
|
|
12783
12783
|
if (!c || !j || D || te || r.videoStatus !== st.PLAY || !r.sortedDevices) return;
|
|
12784
|
-
const Z = AC([...r.sortedDevices.frontCameras, ...r.sortedDevices.backCameras], r.camera.deviceId, "8.5.
|
|
12784
|
+
const Z = AC([...r.sortedDevices.frontCameras, ...r.sortedDevices.backCameras], r.camera.deviceId, "8.5.2567-rc".trim(), ((ee = c.recognizerProcessParam.processParam.backendProcessing) === null || ee === void 0 ? void 0 : ee.serviceURL) || "");
|
|
12785
12785
|
if (cn("Metadata: ".concat(JSON.stringify(Z))), h) return;
|
|
12786
12786
|
(c.recognizerProcessParam.processParam.backendProcessing ? c.createBackendTransaction(Z) : c.startNewDocument(Z)).then(() => {
|
|
12787
12787
|
g(!0), cn("New document started");
|
|
@@ -13389,7 +13389,7 @@ function Ay(e) {
|
|
|
13389
13389
|
var m;
|
|
13390
13390
|
if ((m = i.imageProcessParam.processParam) !== null && m !== void 0 && m.backendProcessing) {
|
|
13391
13391
|
var I;
|
|
13392
|
-
const E = AC([], "", "8.5.
|
|
13392
|
+
const E = AC([], "", "8.5.2567-rc".trim(), ((I = i.recognizerProcessParam.processParam) === null || I === void 0 || (I = I.backendProcessing) === null || I === void 0 ? void 0 : I.serviceURL) || "");
|
|
13393
13393
|
yield i.createBackendTransaction(E, i.imageProcessParam);
|
|
13394
13394
|
}
|
|
13395
13395
|
const C = yield i.processImage(t, d);
|
|
@@ -19909,12 +19909,12 @@ const cu = jt.create("wasm"), wt = jt.create("main");
|
|
|
19909
19909
|
class qse {
|
|
19910
19910
|
constructor() {
|
|
19911
19911
|
$t(this, "_worker", null), $t(this, "_initializeListener", null), $t(this, "_processingListener", null), $t(this, "_queueService", new kse()), $t(this, "_initProcess", null), $t(this, "version", {
|
|
19912
|
-
component: "8.5.
|
|
19912
|
+
component: "8.5.2567-rc".trim()
|
|
19913
19913
|
}), $t(this, "onFinalize", null), $t(this, "isPrepared", !1), $t(this, "isInitialized", !1), $t(this, "isProcessing", !1), $t(this, "initData", null), $t(this, "recognizerProcessParam", {
|
|
19914
19914
|
processParam: {}
|
|
19915
19915
|
}), $t(this, "imageProcessParam", {
|
|
19916
19916
|
processParam: {}
|
|
19917
|
-
}), $t(this, "recognizeListener", null), $t(this, "workerPath", "https://wasm-development.regulaforensics.com/document/
|
|
19917
|
+
}), $t(this, "recognizeListener", null), $t(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.5/barcodemrz/64de9872-");
|
|
19918
19918
|
}
|
|
19919
19919
|
get processingListener() {
|
|
19920
19920
|
return this._processingListener;
|
|
@@ -19982,7 +19982,7 @@ class qse {
|
|
|
19982
19982
|
var r;
|
|
19983
19983
|
wt("Preparing the service");
|
|
19984
19984
|
{
|
|
19985
|
-
const n = this.workerPath === "https://wasm-development.regulaforensics.com/document/
|
|
19985
|
+
const n = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.5/barcodemrz/64de9872-", a = Gse(t ? X9(t, "PROD") : this.workerPath);
|
|
19986
19986
|
let o = yield (yield fetch("".concat(a, "/").concat(_R))).text();
|
|
19987
19987
|
!n && !t && (o = Y9(o, a));
|
|
19988
19988
|
const c = new Blob([o], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-document-components",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.2567-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.5.
|
|
25
|
+
"@regulaforensics/document-reader-webclient": "^8.5.629-rc",
|
|
26
26
|
"qrcode.react": "^4.2.0"
|
|
27
27
|
}
|
|
28
28
|
}
|