@ekyc_qoobiss/qbs-ect-cmp 3.6.78 → 3.6.79
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/cjs/{TranslationUtils-84b58b58.js → TranslationUtils-6fdf7b55.js} +2 -0
- package/dist/cjs/agreement-check_18.cjs.entry.js +4 -4
- package/dist/cjs/random-actions.cjs.entry.js +1 -1
- package/dist/collection/components/identification-component/identification-component.js +1 -1
- package/dist/collection/helpers/ApiCall.js +1 -0
- package/dist/collection/helpers/ML5.js +1 -1
- package/dist/collection/helpers/store.js +1 -0
- package/dist/esm/{TranslationUtils-93e9abe8.js → TranslationUtils-57159270.js} +2 -0
- package/dist/esm/agreement-check_18.entry.js +4 -4
- package/dist/esm/random-actions.entry.js +1 -1
- package/dist/qbs-ect-cmp/{p-bf7a1229.entry.js → p-0fe5a43f.entry.js} +2 -2
- package/dist/qbs-ect-cmp/p-8552ab44.js +1 -0
- package/dist/qbs-ect-cmp/{p-2ea2cf94.entry.js → p-952ea10c.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/models/IAddRequest.d.ts +1 -0
- package/dist/types/models/IEctStore.d.ts +1 -0
- package/package.json +1 -1
- package/dist/qbs-ect-cmp/p-194504d9.js +0 -1
|
@@ -294,6 +294,7 @@ const { state, onChange } = createStore({
|
|
|
294
294
|
device: null,
|
|
295
295
|
langIso: 'ro',
|
|
296
296
|
logSteps: false,
|
|
297
|
+
modelsPath: '',
|
|
297
298
|
});
|
|
298
299
|
onChange('environment', value => {
|
|
299
300
|
state.debug = value == 'QA';
|
|
@@ -503,6 +504,7 @@ class ApiCall {
|
|
|
503
504
|
state.flowStatus = exports.FlowStatus[jsonResp.state];
|
|
504
505
|
state.logSteps = jsonResp.logSteps;
|
|
505
506
|
state.debug = jsonResp.debug;
|
|
507
|
+
state.modelsPath = jsonResp.modelsPath;
|
|
506
508
|
return true;
|
|
507
509
|
}
|
|
508
510
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-41696e0e.js');
|
|
6
|
-
const TranslationUtils = require('./TranslationUtils-
|
|
6
|
+
const TranslationUtils = require('./TranslationUtils-6fdf7b55.js');
|
|
7
7
|
|
|
8
8
|
const agreementCheckCss = "";
|
|
9
9
|
|
|
@@ -1485,7 +1485,7 @@ class ML5 {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
async init() {
|
|
1487
1487
|
return new Promise(async (resolve) => {
|
|
1488
|
-
const modelPath = TranslationUtils.state.
|
|
1488
|
+
const modelPath = TranslationUtils.state.modelsPath;
|
|
1489
1489
|
this.classifier = await ml5.imageClassifier(modelPath, this.loaded);
|
|
1490
1490
|
this.faceapi = await ml5.faceApi({ withLandmarks: true, withDescriptors: false }, this.loaded);
|
|
1491
1491
|
//warmup
|
|
@@ -5247,7 +5247,7 @@ function v4(options, buf, offset) {
|
|
|
5247
5247
|
}
|
|
5248
5248
|
|
|
5249
5249
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5250
|
-
const version$1 = "3.6.
|
|
5250
|
+
const version$1 = "3.6.79";
|
|
5251
5251
|
const description = "Person Identification Component";
|
|
5252
5252
|
const main = "./dist/index.cjs.js";
|
|
5253
5253
|
const module$1 = "./dist/index.js";
|
|
@@ -5547,12 +5547,12 @@ const IdentificationComponent = class {
|
|
|
5547
5547
|
if (!this.order_id || this.order_id == '') {
|
|
5548
5548
|
this.order_id = TranslationUtils.state.requestId;
|
|
5549
5549
|
}
|
|
5550
|
+
ML5.getInstance();
|
|
5550
5551
|
}
|
|
5551
5552
|
}
|
|
5552
5553
|
catch (e) {
|
|
5553
5554
|
this.apiErrorEmitter(e, 'Request Initialisation RequestId:' + TranslationUtils.state.requestId + ' RedirectId:' + TranslationUtils.state.redirectId);
|
|
5554
5555
|
}
|
|
5555
|
-
ML5.getInstance();
|
|
5556
5556
|
}
|
|
5557
5557
|
disconnectedCallback() {
|
|
5558
5558
|
Events.flowEvent(TranslationUtils.FlowSteps.ComponentLoaded, TranslationUtils.FlowMoments.Finalized);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-41696e0e.js');
|
|
6
|
-
const TranslationUtils = require('./TranslationUtils-
|
|
6
|
+
const TranslationUtils = require('./TranslationUtils-6fdf7b55.js');
|
|
7
7
|
|
|
8
8
|
const randomActionsCss = "";
|
|
9
9
|
|
|
@@ -159,12 +159,12 @@ export class IdentificationComponent {
|
|
|
159
159
|
if (!this.order_id || this.order_id == '') {
|
|
160
160
|
this.order_id = store.requestId;
|
|
161
161
|
}
|
|
162
|
+
ML5.getInstance();
|
|
162
163
|
}
|
|
163
164
|
}
|
|
164
165
|
catch (e) {
|
|
165
166
|
this.apiErrorEmitter(e, 'Request Initialisation RequestId:' + store.requestId + ' RedirectId:' + store.redirectId);
|
|
166
167
|
}
|
|
167
|
-
ML5.getInstance();
|
|
168
168
|
}
|
|
169
169
|
disconnectedCallback() {
|
|
170
170
|
Events.flowEvent(FlowSteps.ComponentLoaded, FlowMoments.Finalized);
|
|
@@ -166,6 +166,7 @@ export class ApiCall {
|
|
|
166
166
|
store.flowStatus = FlowStatus[jsonResp.state];
|
|
167
167
|
store.logSteps = jsonResp.logSteps;
|
|
168
168
|
store.debug = jsonResp.debug;
|
|
169
|
+
store.modelsPath = jsonResp.modelsPath;
|
|
169
170
|
return true;
|
|
170
171
|
}
|
|
171
172
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -14,7 +14,7 @@ export class ML5 {
|
|
|
14
14
|
}
|
|
15
15
|
async init() {
|
|
16
16
|
return new Promise(async (resolve) => {
|
|
17
|
-
const modelPath = store.
|
|
17
|
+
const modelPath = store.modelsPath;
|
|
18
18
|
this.classifier = await ml5.imageClassifier(modelPath, this.loaded);
|
|
19
19
|
this.faceapi = await ml5.faceApi({ withLandmarks: true, withDescriptors: false }, this.loaded);
|
|
20
20
|
//warmup
|
|
@@ -292,6 +292,7 @@ const { state, onChange } = createStore({
|
|
|
292
292
|
device: null,
|
|
293
293
|
langIso: 'ro',
|
|
294
294
|
logSteps: false,
|
|
295
|
+
modelsPath: '',
|
|
295
296
|
});
|
|
296
297
|
onChange('environment', value => {
|
|
297
298
|
state.debug = value == 'QA';
|
|
@@ -501,6 +502,7 @@ class ApiCall {
|
|
|
501
502
|
state.flowStatus = FlowStatus[jsonResp.state];
|
|
502
503
|
state.logSteps = jsonResp.logSteps;
|
|
503
504
|
state.debug = jsonResp.debug;
|
|
505
|
+
state.modelsPath = jsonResp.modelsPath;
|
|
504
506
|
return true;
|
|
505
507
|
}
|
|
506
508
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
|
|
2
|
-
import { A as ApiCall, T as Translations, F as FlowMoments, a as FlowSteps, s as state, S as SessionKeys, b as FlowStatus, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-
|
|
2
|
+
import { A as ApiCall, T as Translations, F as FlowMoments, a as FlowSteps, s as state, S as SessionKeys, b as FlowStatus, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-57159270.js';
|
|
3
3
|
|
|
4
4
|
const agreementCheckCss = "";
|
|
5
5
|
|
|
@@ -1481,7 +1481,7 @@ class ML5 {
|
|
|
1481
1481
|
}
|
|
1482
1482
|
async init() {
|
|
1483
1483
|
return new Promise(async (resolve) => {
|
|
1484
|
-
const modelPath = state.
|
|
1484
|
+
const modelPath = state.modelsPath;
|
|
1485
1485
|
this.classifier = await ml5.imageClassifier(modelPath, this.loaded);
|
|
1486
1486
|
this.faceapi = await ml5.faceApi({ withLandmarks: true, withDescriptors: false }, this.loaded);
|
|
1487
1487
|
//warmup
|
|
@@ -5243,7 +5243,7 @@ function v4(options, buf, offset) {
|
|
|
5243
5243
|
}
|
|
5244
5244
|
|
|
5245
5245
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5246
|
-
const version$1 = "3.6.
|
|
5246
|
+
const version$1 = "3.6.79";
|
|
5247
5247
|
const description = "Person Identification Component";
|
|
5248
5248
|
const main = "./dist/index.cjs.js";
|
|
5249
5249
|
const module = "./dist/index.js";
|
|
@@ -5543,12 +5543,12 @@ const IdentificationComponent = class {
|
|
|
5543
5543
|
if (!this.order_id || this.order_id == '') {
|
|
5544
5544
|
this.order_id = state.requestId;
|
|
5545
5545
|
}
|
|
5546
|
+
ML5.getInstance();
|
|
5546
5547
|
}
|
|
5547
5548
|
}
|
|
5548
5549
|
catch (e) {
|
|
5549
5550
|
this.apiErrorEmitter(e, 'Request Initialisation RequestId:' + state.requestId + ' RedirectId:' + state.redirectId);
|
|
5550
5551
|
}
|
|
5551
|
-
ML5.getInstance();
|
|
5552
5552
|
}
|
|
5553
5553
|
disconnectedCallback() {
|
|
5554
5554
|
Events.flowEvent(FlowSteps.ComponentLoaded, FlowMoments.Finalized);
|