@regulaforensics/vp-frontend-document-components 8.2.2338-nightly → 8.2.2341-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 +3 -4
package/dist/main.js
CHANGED
|
@@ -16748,11 +16748,11 @@ function Tb(e, r) {
|
|
|
16748
16748
|
var t, a;
|
|
16749
16749
|
const o = {
|
|
16750
16750
|
[L2.BarcodeMRZ]: {
|
|
16751
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/
|
|
16751
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/f5c63870-e8be584bd",
|
|
16752
16752
|
DEV: "./wasm/barcode-mrz/"
|
|
16753
16753
|
},
|
|
16754
16754
|
[L2.BoundsLite]: {
|
|
16755
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.2/boundslite/
|
|
16755
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.2/boundslite/f5c63870-e8be584bd",
|
|
16756
16756
|
DEV: "./wasm/bounds-lite/"
|
|
16757
16757
|
}
|
|
16758
16758
|
};
|
|
@@ -16996,7 +16996,7 @@ function Vb(e) {
|
|
|
16996
16996
|
}, [Q, X]), ae.useEffect(() => {
|
|
16997
16997
|
var le;
|
|
16998
16998
|
if (!u || !ee || R || b || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
16999
|
-
const pe = $g([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.
|
|
16999
|
+
const pe = $g([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.2341-nightly".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
|
|
17000
17000
|
Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
|
|
17001
17001
|
g(!0), Qi("New document started");
|
|
17002
17002
|
}).catch((ge) => {
|
|
@@ -17511,7 +17511,7 @@ function ew(e) {
|
|
|
17511
17511
|
var D;
|
|
17512
17512
|
if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
|
|
17513
17513
|
var T;
|
|
17514
|
-
const g = $g([], "", "8.2.
|
|
17514
|
+
const g = $g([], "", "8.2.2341-nightly".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
|
|
17515
17515
|
yield l.createBackendTransaction(g, l.imageProcessParam);
|
|
17516
17516
|
}
|
|
17517
17517
|
const R = yield l.processImage(r, m);
|
|
@@ -23331,12 +23331,12 @@ const FD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23331
23331
|
class r0e {
|
|
23332
23332
|
constructor() {
|
|
23333
23333
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new que()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23334
|
-
component: "8.2.
|
|
23334
|
+
component: "8.2.2341-nightly".trim()
|
|
23335
23335
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23336
23336
|
processParam: {}
|
|
23337
23337
|
}), Pr(this, "imageProcessParam", {
|
|
23338
23338
|
processParam: {}
|
|
23339
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/
|
|
23339
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/f5c63870-e8be584bd");
|
|
23340
23340
|
}
|
|
23341
23341
|
get processingListener() {
|
|
23342
23342
|
return this._processingListener;
|
|
@@ -23402,7 +23402,7 @@ class r0e {
|
|
|
23402
23402
|
var t;
|
|
23403
23403
|
Ir("Preparing the service");
|
|
23404
23404
|
{
|
|
23405
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/
|
|
23405
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.2/barcodemrz/f5c63870-e8be584bd", o = Jue(r ? Tb(r, "PROD") : this.workerPath);
|
|
23406
23406
|
let c = yield (yield fetch("".concat(o, "/").concat(ay))).text();
|
|
23407
23407
|
!a && !r && (c = Ab(c, o));
|
|
23408
23408
|
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.2.
|
|
3
|
+
"version": "8.2.2341-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",
|
|
@@ -19,11 +19,10 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"homepage": "https://storybook-document.regulaforensics.com/",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "vite build"
|
|
23
|
-
"test": "jest --testPathPattern=src/tests"
|
|
22
|
+
"build": "vite build"
|
|
24
23
|
},
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"@regulaforensics/document-reader-webclient": "^8.2.
|
|
25
|
+
"@regulaforensics/document-reader-webclient": "^8.2.453-nightly",
|
|
27
26
|
"qrcode.react": "^4.2.0"
|
|
28
27
|
}
|
|
29
28
|
}
|