@regulaforensics/vp-frontend-document-components 8.3.2411-nightly → 8.3.2412-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 +9 -9
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -8266,7 +8266,7 @@ const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e
|
|
|
8266
8266
|
2: "Bad input data.",
|
|
8267
8267
|
3: "Command already done.",
|
|
8268
8268
|
4: "Command can not be processed at this moment, bad initial state.",
|
|
8269
|
-
5: "
|
|
8269
|
+
5: "License max tags per container exceeded.",
|
|
8270
8270
|
6: "The command has already been executed."
|
|
8271
8271
|
}, Ig = {
|
|
8272
8272
|
iOS: {
|
|
@@ -16760,11 +16760,11 @@ function Rb(e, r) {
|
|
|
16760
16760
|
var t, a;
|
|
16761
16761
|
const o = {
|
|
16762
16762
|
[M2.BarcodeMRZ]: {
|
|
16763
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
16763
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-4a4e6f757",
|
|
16764
16764
|
DEV: "./wasm/barcode-mrz/"
|
|
16765
16765
|
},
|
|
16766
16766
|
[M2.BoundsLite]: {
|
|
16767
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
16767
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.3/boundslite/f1cbbcba-4a4e6f757",
|
|
16768
16768
|
DEV: "./wasm/bounds-lite/"
|
|
16769
16769
|
}
|
|
16770
16770
|
};
|
|
@@ -17008,7 +17008,7 @@ function wb(e) {
|
|
|
17008
17008
|
}, [Q, X]), ae.useEffect(() => {
|
|
17009
17009
|
var le;
|
|
17010
17010
|
if (!u || !ee || R || b || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17011
|
-
const pe = Bg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.
|
|
17011
|
+
const pe = Bg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.2412-rc".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
|
|
17012
17012
|
Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
|
|
17013
17013
|
g(!0), Qi("New document started");
|
|
17014
17014
|
}).catch((ge) => {
|
|
@@ -17523,7 +17523,7 @@ function Qb(e) {
|
|
|
17523
17523
|
var D;
|
|
17524
17524
|
if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
|
|
17525
17525
|
var T;
|
|
17526
|
-
const g = Bg([], "", "8.3.
|
|
17526
|
+
const g = Bg([], "", "8.3.2412-rc".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
|
|
17527
17527
|
yield l.createBackendTransaction(g, l.imageProcessParam);
|
|
17528
17528
|
}
|
|
17529
17529
|
const R = yield l.processImage(r, m);
|
|
@@ -23343,12 +23343,12 @@ const kD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23343
23343
|
class e0e {
|
|
23344
23344
|
constructor() {
|
|
23345
23345
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new jue()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23346
|
-
component: "8.3.
|
|
23346
|
+
component: "8.3.2412-rc".trim()
|
|
23347
23347
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23348
23348
|
processParam: {}
|
|
23349
23349
|
}), Pr(this, "imageProcessParam", {
|
|
23350
23350
|
processParam: {}
|
|
23351
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/
|
|
23351
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-4a4e6f757");
|
|
23352
23352
|
}
|
|
23353
23353
|
get processingListener() {
|
|
23354
23354
|
return this._processingListener;
|
|
@@ -23399,7 +23399,7 @@ class e0e {
|
|
|
23399
23399
|
if (u === up.ok || u === up.badLicense && !p)
|
|
23400
23400
|
Ir("Method ".concat(l, ": { code: ").concat(u, " } ")), t(c);
|
|
23401
23401
|
else {
|
|
23402
|
-
const f = a9[u] || u, h = "Method ".concat(l, ": ").concat(f)
|
|
23402
|
+
const f = a9[u] || u, h = "Method ".concat(l, ": ").concat(f);
|
|
23403
23403
|
Ir(h), a(h);
|
|
23404
23404
|
}
|
|
23405
23405
|
}
|
|
@@ -23414,7 +23414,7 @@ class e0e {
|
|
|
23414
23414
|
var t;
|
|
23415
23415
|
Ir("Preparing the service");
|
|
23416
23416
|
{
|
|
23417
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/
|
|
23417
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-4a4e6f757", o = Xue(r ? Rb(r, "PROD") : this.workerPath);
|
|
23418
23418
|
let c = yield (yield fetch("".concat(o, "/").concat(i9))).text();
|
|
23419
23419
|
!a && !r && (c = gb(c, o));
|
|
23420
23420
|
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.2412-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.3.
|
|
25
|
+
"@regulaforensics/document-reader-webclient": "^8.3.509-rc",
|
|
26
26
|
"qrcode.react": "^4.2.0"
|
|
27
27
|
}
|
|
28
28
|
}
|