@regulaforensics/vp-frontend-document-components 8.2.2367 → 8.2.2370-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 +5 -5
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -16995,7 +16995,7 @@ function wP(e) {
|
|
|
16995
16995
|
}, [Q, X]), ae.useEffect(() => {
|
|
16996
16996
|
var le;
|
|
16997
16997
|
if (!u || !ee || R || P || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
16998
|
-
const pe = $g([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.
|
|
16998
|
+
const pe = $g([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.2.2370-rc".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
|
|
16999
16999
|
Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
|
|
17000
17000
|
g(!0), Qi("New document started");
|
|
17001
17001
|
}).catch((ge) => {
|
|
@@ -17510,7 +17510,7 @@ function QP(e) {
|
|
|
17510
17510
|
var D;
|
|
17511
17511
|
if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
|
|
17512
17512
|
var T;
|
|
17513
|
-
const g = $g([], "", "8.2.
|
|
17513
|
+
const g = $g([], "", "8.2.2370-rc".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
|
|
17514
17514
|
yield l.createBackendTransaction(g, l.imageProcessParam);
|
|
17515
17515
|
}
|
|
17516
17516
|
const R = yield l.processImage(r, m);
|
|
@@ -23330,12 +23330,12 @@ const FD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23330
23330
|
class e0e {
|
|
23331
23331
|
constructor() {
|
|
23332
23332
|
br(this, "_worker", null), br(this, "_initializeListener", null), br(this, "_processingListener", null), br(this, "_queueService", new jue()), br(this, "_initProcess", null), br(this, "version", {
|
|
23333
|
-
component: "8.2.
|
|
23333
|
+
component: "8.2.2370-rc".trim()
|
|
23334
23334
|
}), br(this, "onFinalize", null), br(this, "isPrepared", !1), br(this, "isInitialized", !1), br(this, "isProcessing", !1), br(this, "initData", null), br(this, "recognizerProcessParam", {
|
|
23335
23335
|
processParam: {}
|
|
23336
23336
|
}), br(this, "imageProcessParam", {
|
|
23337
23337
|
processParam: {}
|
|
23338
|
-
}), br(this, "recognizeListener", null), br(this, "workerPath", "https://wasm.regulaforensics.com/document/
|
|
23338
|
+
}), br(this, "recognizeListener", null), br(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.2/278dd5b2-8fcb4ad21");
|
|
23339
23339
|
}
|
|
23340
23340
|
get processingListener() {
|
|
23341
23341
|
return this._processingListener;
|
|
@@ -23398,7 +23398,7 @@ class e0e {
|
|
|
23398
23398
|
return Oe(this, null, function* () {
|
|
23399
23399
|
var r;
|
|
23400
23400
|
Ir("Preparing the service");
|
|
23401
|
-
const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm.regulaforensics.com/document/
|
|
23401
|
+
const t = "ProcMgr.worker.js", a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.2/278dd5b2-8fcb4ad21", o = Xue(this.workerPath);
|
|
23402
23402
|
{
|
|
23403
23403
|
let c = yield (yield fetch("".concat(o, "/").concat(t))).text();
|
|
23404
23404
|
a || (c = RP(c, o));
|
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.2370-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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "jest --testPathPattern=src/tests"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@regulaforensics/document-reader-webclient": "^8.2.
|
|
26
|
+
"@regulaforensics/document-reader-webclient": "^8.2.468-rc",
|
|
27
27
|
"qrcode.react": "^4.2.0"
|
|
28
28
|
}
|
|
29
29
|
}
|