@ekyc_qoobiss/qbs-ect-cmp 3.5.8 → 3.5.9
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/agreement-check_18.cjs.entry.js +23 -23
- package/dist/collection/components/common/camera-error/camera-error.js +2 -2
- package/dist/collection/components/common/how-to-info/how-to-info.js +2 -2
- package/dist/collection/components/flow/agreement-info/agreement-info.js +2 -2
- package/dist/collection/components/flow/id-double-side/id-double-side.js +2 -2
- package/dist/collection/components/flow/id-single-side/id-single-side.js +2 -2
- package/dist/collection/components/flow/landing-validation/landing-validation.js +2 -2
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +2 -2
- package/dist/collection/components/flow/sms-code-validation/sms-code-validation.js +2 -2
- package/dist/collection/components/flow/user-liveness/user-liveness.js +2 -2
- package/dist/collection/components/identification-component/identification-component.js +5 -5
- package/dist/esm/agreement-check_18.entry.js +23 -23
- package/dist/qbs-ect-cmp/{p-2c0531f0.entry.js → p-628255db.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/camera-error/camera-error.d.ts +1 -1
- package/dist/types/components/common/how-to-info/how-to-info.d.ts +1 -1
- package/dist/types/components/flow/agreement-info/agreement-info.d.ts +1 -1
- package/dist/types/components/flow/id-double-side/id-double-side.d.ts +1 -1
- package/dist/types/components/flow/id-single-side/id-single-side.d.ts +1 -1
- package/dist/types/components/flow/landing-validation/landing-validation.d.ts +1 -1
- package/dist/types/components/flow/mobile-redirect/mobile-redirect.d.ts +1 -1
- package/dist/types/components/flow/sms-code-validation/sms-code-validation.d.ts +1 -1
- package/dist/types/components/flow/user-liveness/user-liveness.d.ts +1 -1
- package/dist/types/components/identification-component/identification-component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -934,8 +934,8 @@ const AgreementInfo = class {
|
|
|
934
934
|
this.openAgreements = false;
|
|
935
935
|
this.openTerms = false;
|
|
936
936
|
}
|
|
937
|
-
disconnectedCallback() {
|
|
938
|
-
this.baseComponent.finalize();
|
|
937
|
+
async disconnectedCallback() {
|
|
938
|
+
await this.baseComponent.finalize();
|
|
939
939
|
}
|
|
940
940
|
async buttonClick() {
|
|
941
941
|
if (this.agreementsChecked && this.termsChecked) {
|
|
@@ -5542,8 +5542,8 @@ const CameraError = class {
|
|
|
5542
5542
|
}
|
|
5543
5543
|
}
|
|
5544
5544
|
}
|
|
5545
|
-
disconnectedCallback() {
|
|
5546
|
-
this.baseComponent.finalize();
|
|
5545
|
+
async disconnectedCallback() {
|
|
5546
|
+
await this.baseComponent.finalize();
|
|
5547
5547
|
}
|
|
5548
5548
|
async buttonClick() {
|
|
5549
5549
|
this.buttonDisabled = true;
|
|
@@ -5641,8 +5641,8 @@ const HowToInfo = class {
|
|
|
5641
5641
|
async componentDidLoad() {
|
|
5642
5642
|
await this.baseComponent.initialize();
|
|
5643
5643
|
}
|
|
5644
|
-
disconnectedCallback() {
|
|
5645
|
-
this.baseComponent.finalize();
|
|
5644
|
+
async disconnectedCallback() {
|
|
5645
|
+
await this.baseComponent.finalize();
|
|
5646
5646
|
}
|
|
5647
5647
|
buttonClick() {
|
|
5648
5648
|
this.buttonEnabled = false;
|
|
@@ -6215,8 +6215,8 @@ const IdDoubleSide = class {
|
|
|
6215
6215
|
state.recordingRetryCount = 0;
|
|
6216
6216
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6217
6217
|
}
|
|
6218
|
-
disconnectedCallback() {
|
|
6219
|
-
this.baseComponent.finalize();
|
|
6218
|
+
async disconnectedCallback() {
|
|
6219
|
+
await this.baseComponent.finalize();
|
|
6220
6220
|
}
|
|
6221
6221
|
switchCamera() {
|
|
6222
6222
|
if (this.captureRetryCount == 1) {
|
|
@@ -6350,8 +6350,8 @@ const IdSingleSide = class {
|
|
|
6350
6350
|
}
|
|
6351
6351
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6352
6352
|
}
|
|
6353
|
-
disconnectedCallback() {
|
|
6354
|
-
this.baseComponent.finalize();
|
|
6353
|
+
async disconnectedCallback() {
|
|
6354
|
+
await this.baseComponent.finalize();
|
|
6355
6355
|
}
|
|
6356
6356
|
switchCamera() {
|
|
6357
6357
|
if (this.captureRetryCount == 1) {
|
|
@@ -6438,7 +6438,7 @@ function v4(options, buf, offset) {
|
|
|
6438
6438
|
}
|
|
6439
6439
|
|
|
6440
6440
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6441
|
-
const version$1 = "3.5.
|
|
6441
|
+
const version$1 = "3.5.9";
|
|
6442
6442
|
const description = "Person Identification Component";
|
|
6443
6443
|
const main = "./dist/index.cjs.js";
|
|
6444
6444
|
const module$1 = "./dist/index.js";
|
|
@@ -6623,9 +6623,8 @@ const IdentificationComponent = class {
|
|
|
6623
6623
|
if (this.env && this.env != '') {
|
|
6624
6624
|
state.environment = this.env;
|
|
6625
6625
|
}
|
|
6626
|
-
this.baseComponent = new BaseComponent(
|
|
6626
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6627
6627
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6628
|
-
this.baseComponent.logStep(FlowSteps.ComponentLoaded, FlowMoments.Initialized);
|
|
6629
6628
|
if (state.debug)
|
|
6630
6629
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
6631
6630
|
if (this.token) {
|
|
@@ -6680,6 +6679,7 @@ const IdentificationComponent = class {
|
|
|
6680
6679
|
state.requestId = savedRequest;
|
|
6681
6680
|
this.order_id = savedRequest;
|
|
6682
6681
|
}
|
|
6682
|
+
await this.baseComponent.initialize();
|
|
6683
6683
|
if (flowStatusToSet == null) {
|
|
6684
6684
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
6685
6685
|
if (flowSt) {
|
|
@@ -6731,8 +6731,8 @@ const IdentificationComponent = class {
|
|
|
6731
6731
|
}
|
|
6732
6732
|
ML5.getInstance();
|
|
6733
6733
|
}
|
|
6734
|
-
disconnectedCallback() {
|
|
6735
|
-
this.baseComponent.finalize();
|
|
6734
|
+
async disconnectedCallback() {
|
|
6735
|
+
await this.baseComponent.finalize();
|
|
6736
6736
|
}
|
|
6737
6737
|
render() {
|
|
6738
6738
|
let currentBlock = index.h("div", null);
|
|
@@ -6849,8 +6849,8 @@ const LandingValidation = class {
|
|
|
6849
6849
|
}
|
|
6850
6850
|
}
|
|
6851
6851
|
}
|
|
6852
|
-
disconnectedCallback() {
|
|
6853
|
-
this.baseComponent.finalize();
|
|
6852
|
+
async disconnectedCallback() {
|
|
6853
|
+
await this.baseComponent.finalize();
|
|
6854
6854
|
}
|
|
6855
6855
|
async leaveFlow() {
|
|
6856
6856
|
if (this.buttonDisabled)
|
|
@@ -9811,8 +9811,8 @@ const MobileRedirect = class {
|
|
|
9811
9811
|
Events.flowAborted();
|
|
9812
9812
|
}
|
|
9813
9813
|
}
|
|
9814
|
-
disconnectedCallback() {
|
|
9815
|
-
this.baseComponent.finalize();
|
|
9814
|
+
async disconnectedCallback() {
|
|
9815
|
+
await this.baseComponent.finalize();
|
|
9816
9816
|
}
|
|
9817
9817
|
async buttonClick() {
|
|
9818
9818
|
if (this.contact == '' || this.contact.length != 10) {
|
|
@@ -10019,8 +10019,8 @@ const SmsCodeValidation = class {
|
|
|
10019
10019
|
this.apiErrorEvent.emit(e);
|
|
10020
10020
|
}
|
|
10021
10021
|
}
|
|
10022
|
-
disconnectedCallback() {
|
|
10023
|
-
this.baseComponent.finalize();
|
|
10022
|
+
async disconnectedCallback() {
|
|
10023
|
+
await this.baseComponent.finalize();
|
|
10024
10024
|
}
|
|
10025
10025
|
componentWillRender() {
|
|
10026
10026
|
if (state.flowStatus == FlowStatus.PHONE) {
|
|
@@ -10153,8 +10153,8 @@ const UserLiveness = class {
|
|
|
10153
10153
|
this.selfieFlow.verificationFinished = true;
|
|
10154
10154
|
await this.endFlow();
|
|
10155
10155
|
}
|
|
10156
|
-
disconnectedCallback() {
|
|
10157
|
-
this.baseComponent.finalize();
|
|
10156
|
+
async disconnectedCallback() {
|
|
10157
|
+
await this.baseComponent.finalize();
|
|
10158
10158
|
}
|
|
10159
10159
|
async uploadPhoto() {
|
|
10160
10160
|
if (this.selfieFlow.photoFile == null || this.selfieFlow.photoDone) {
|
|
@@ -9,8 +9,8 @@ export class HowToInfo {
|
|
|
9
9
|
async componentDidLoad() {
|
|
10
10
|
await this.baseComponent.initialize();
|
|
11
11
|
}
|
|
12
|
-
disconnectedCallback() {
|
|
13
|
-
this.baseComponent.finalize();
|
|
12
|
+
async disconnectedCallback() {
|
|
13
|
+
await this.baseComponent.finalize();
|
|
14
14
|
}
|
|
15
15
|
buttonClick() {
|
|
16
16
|
this.buttonEnabled = false;
|
|
@@ -22,8 +22,8 @@ export class AgreementInfo {
|
|
|
22
22
|
this.openAgreements = false;
|
|
23
23
|
this.openTerms = false;
|
|
24
24
|
}
|
|
25
|
-
disconnectedCallback() {
|
|
26
|
-
this.baseComponent.finalize();
|
|
25
|
+
async disconnectedCallback() {
|
|
26
|
+
await this.baseComponent.finalize();
|
|
27
27
|
}
|
|
28
28
|
async buttonClick() {
|
|
29
29
|
if (this.agreementsChecked && this.termsChecked) {
|
|
@@ -173,8 +173,8 @@ export class IdDoubleSide {
|
|
|
173
173
|
store.recordingRetryCount = 0;
|
|
174
174
|
store.flowStatus = FlowStatus.LIVENESS;
|
|
175
175
|
}
|
|
176
|
-
disconnectedCallback() {
|
|
177
|
-
this.baseComponent.finalize();
|
|
176
|
+
async disconnectedCallback() {
|
|
177
|
+
await this.baseComponent.finalize();
|
|
178
178
|
}
|
|
179
179
|
switchCamera() {
|
|
180
180
|
if (this.captureRetryCount == 1) {
|
|
@@ -114,8 +114,8 @@ export class IdSingleSide {
|
|
|
114
114
|
}
|
|
115
115
|
store.flowStatus = FlowStatus.LIVENESS;
|
|
116
116
|
}
|
|
117
|
-
disconnectedCallback() {
|
|
118
|
-
this.baseComponent.finalize();
|
|
117
|
+
async disconnectedCallback() {
|
|
118
|
+
await this.baseComponent.finalize();
|
|
119
119
|
}
|
|
120
120
|
switchCamera() {
|
|
121
121
|
if (this.captureRetryCount == 1) {
|
|
@@ -71,8 +71,8 @@ export class MobileRedirect {
|
|
|
71
71
|
Events.flowAborted();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
disconnectedCallback() {
|
|
75
|
-
this.baseComponent.finalize();
|
|
74
|
+
async disconnectedCallback() {
|
|
75
|
+
await this.baseComponent.finalize();
|
|
76
76
|
}
|
|
77
77
|
async buttonClick() {
|
|
78
78
|
if (this.contact == '' || this.contact.length != 10) {
|
|
@@ -44,8 +44,8 @@ export class SmsCodeValidation {
|
|
|
44
44
|
this.apiErrorEvent.emit(e);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
disconnectedCallback() {
|
|
48
|
-
this.baseComponent.finalize();
|
|
47
|
+
async disconnectedCallback() {
|
|
48
|
+
await this.baseComponent.finalize();
|
|
49
49
|
}
|
|
50
50
|
componentWillRender() {
|
|
51
51
|
if (store.flowStatus == FlowStatus.PHONE) {
|
|
@@ -79,8 +79,8 @@ export class UserLiveness {
|
|
|
79
79
|
this.selfieFlow.verificationFinished = true;
|
|
80
80
|
await this.endFlow();
|
|
81
81
|
}
|
|
82
|
-
disconnectedCallback() {
|
|
83
|
-
this.baseComponent.finalize();
|
|
82
|
+
async disconnectedCallback() {
|
|
83
|
+
await this.baseComponent.finalize();
|
|
84
84
|
}
|
|
85
85
|
async uploadPhoto() {
|
|
86
86
|
if (this.selfieFlow.photoFile == null || this.selfieFlow.photoDone) {
|
|
@@ -9,7 +9,7 @@ import packageJson from '../../../package.json';
|
|
|
9
9
|
import { getLogMessage } from '../../utils/utils';
|
|
10
10
|
import { BaseComponent } from '../base-component';
|
|
11
11
|
import { Browser } from '../../models/IDevice';
|
|
12
|
-
import {
|
|
12
|
+
import { FlowSteps } from '../../models/FlowSteps';
|
|
13
13
|
export class IdentificationComponent {
|
|
14
14
|
async onTokenChange(newValue, _oldValue) {
|
|
15
15
|
if (store.debug)
|
|
@@ -124,9 +124,8 @@ export class IdentificationComponent {
|
|
|
124
124
|
if (this.env && this.env != '') {
|
|
125
125
|
store.environment = this.env;
|
|
126
126
|
}
|
|
127
|
-
this.baseComponent = new BaseComponent(
|
|
127
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
128
128
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
129
|
-
this.baseComponent.logStep(FlowSteps.ComponentLoaded, FlowMoments.Initialized);
|
|
130
129
|
if (store.debug)
|
|
131
130
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
132
131
|
if (this.token) {
|
|
@@ -181,6 +180,7 @@ export class IdentificationComponent {
|
|
|
181
180
|
store.requestId = savedRequest;
|
|
182
181
|
this.order_id = savedRequest;
|
|
183
182
|
}
|
|
183
|
+
await this.baseComponent.initialize();
|
|
184
184
|
if (flowStatusToSet == null) {
|
|
185
185
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
186
186
|
if (flowSt) {
|
|
@@ -232,8 +232,8 @@ export class IdentificationComponent {
|
|
|
232
232
|
}
|
|
233
233
|
ML5.getInstance();
|
|
234
234
|
}
|
|
235
|
-
disconnectedCallback() {
|
|
236
|
-
this.baseComponent.finalize();
|
|
235
|
+
async disconnectedCallback() {
|
|
236
|
+
await this.baseComponent.finalize();
|
|
237
237
|
}
|
|
238
238
|
render() {
|
|
239
239
|
let currentBlock = h("div", null);
|
|
@@ -930,8 +930,8 @@ const AgreementInfo = class {
|
|
|
930
930
|
this.openAgreements = false;
|
|
931
931
|
this.openTerms = false;
|
|
932
932
|
}
|
|
933
|
-
disconnectedCallback() {
|
|
934
|
-
this.baseComponent.finalize();
|
|
933
|
+
async disconnectedCallback() {
|
|
934
|
+
await this.baseComponent.finalize();
|
|
935
935
|
}
|
|
936
936
|
async buttonClick() {
|
|
937
937
|
if (this.agreementsChecked && this.termsChecked) {
|
|
@@ -5538,8 +5538,8 @@ const CameraError = class {
|
|
|
5538
5538
|
}
|
|
5539
5539
|
}
|
|
5540
5540
|
}
|
|
5541
|
-
disconnectedCallback() {
|
|
5542
|
-
this.baseComponent.finalize();
|
|
5541
|
+
async disconnectedCallback() {
|
|
5542
|
+
await this.baseComponent.finalize();
|
|
5543
5543
|
}
|
|
5544
5544
|
async buttonClick() {
|
|
5545
5545
|
this.buttonDisabled = true;
|
|
@@ -5637,8 +5637,8 @@ const HowToInfo = class {
|
|
|
5637
5637
|
async componentDidLoad() {
|
|
5638
5638
|
await this.baseComponent.initialize();
|
|
5639
5639
|
}
|
|
5640
|
-
disconnectedCallback() {
|
|
5641
|
-
this.baseComponent.finalize();
|
|
5640
|
+
async disconnectedCallback() {
|
|
5641
|
+
await this.baseComponent.finalize();
|
|
5642
5642
|
}
|
|
5643
5643
|
buttonClick() {
|
|
5644
5644
|
this.buttonEnabled = false;
|
|
@@ -6211,8 +6211,8 @@ const IdDoubleSide = class {
|
|
|
6211
6211
|
state.recordingRetryCount = 0;
|
|
6212
6212
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6213
6213
|
}
|
|
6214
|
-
disconnectedCallback() {
|
|
6215
|
-
this.baseComponent.finalize();
|
|
6214
|
+
async disconnectedCallback() {
|
|
6215
|
+
await this.baseComponent.finalize();
|
|
6216
6216
|
}
|
|
6217
6217
|
switchCamera() {
|
|
6218
6218
|
if (this.captureRetryCount == 1) {
|
|
@@ -6346,8 +6346,8 @@ const IdSingleSide = class {
|
|
|
6346
6346
|
}
|
|
6347
6347
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6348
6348
|
}
|
|
6349
|
-
disconnectedCallback() {
|
|
6350
|
-
this.baseComponent.finalize();
|
|
6349
|
+
async disconnectedCallback() {
|
|
6350
|
+
await this.baseComponent.finalize();
|
|
6351
6351
|
}
|
|
6352
6352
|
switchCamera() {
|
|
6353
6353
|
if (this.captureRetryCount == 1) {
|
|
@@ -6434,7 +6434,7 @@ function v4(options, buf, offset) {
|
|
|
6434
6434
|
}
|
|
6435
6435
|
|
|
6436
6436
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6437
|
-
const version$1 = "3.5.
|
|
6437
|
+
const version$1 = "3.5.9";
|
|
6438
6438
|
const description = "Person Identification Component";
|
|
6439
6439
|
const main = "./dist/index.cjs.js";
|
|
6440
6440
|
const module = "./dist/index.js";
|
|
@@ -6619,9 +6619,8 @@ const IdentificationComponent = class {
|
|
|
6619
6619
|
if (this.env && this.env != '') {
|
|
6620
6620
|
state.environment = this.env;
|
|
6621
6621
|
}
|
|
6622
|
-
this.baseComponent = new BaseComponent(
|
|
6622
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6623
6623
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6624
|
-
this.baseComponent.logStep(FlowSteps.ComponentLoaded, FlowMoments.Initialized);
|
|
6625
6624
|
if (state.debug)
|
|
6626
6625
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
6627
6626
|
if (this.token) {
|
|
@@ -6676,6 +6675,7 @@ const IdentificationComponent = class {
|
|
|
6676
6675
|
state.requestId = savedRequest;
|
|
6677
6676
|
this.order_id = savedRequest;
|
|
6678
6677
|
}
|
|
6678
|
+
await this.baseComponent.initialize();
|
|
6679
6679
|
if (flowStatusToSet == null) {
|
|
6680
6680
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
6681
6681
|
if (flowSt) {
|
|
@@ -6727,8 +6727,8 @@ const IdentificationComponent = class {
|
|
|
6727
6727
|
}
|
|
6728
6728
|
ML5.getInstance();
|
|
6729
6729
|
}
|
|
6730
|
-
disconnectedCallback() {
|
|
6731
|
-
this.baseComponent.finalize();
|
|
6730
|
+
async disconnectedCallback() {
|
|
6731
|
+
await this.baseComponent.finalize();
|
|
6732
6732
|
}
|
|
6733
6733
|
render() {
|
|
6734
6734
|
let currentBlock = h("div", null);
|
|
@@ -6845,8 +6845,8 @@ const LandingValidation = class {
|
|
|
6845
6845
|
}
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
6848
|
-
disconnectedCallback() {
|
|
6849
|
-
this.baseComponent.finalize();
|
|
6848
|
+
async disconnectedCallback() {
|
|
6849
|
+
await this.baseComponent.finalize();
|
|
6850
6850
|
}
|
|
6851
6851
|
async leaveFlow() {
|
|
6852
6852
|
if (this.buttonDisabled)
|
|
@@ -9807,8 +9807,8 @@ const MobileRedirect = class {
|
|
|
9807
9807
|
Events.flowAborted();
|
|
9808
9808
|
}
|
|
9809
9809
|
}
|
|
9810
|
-
disconnectedCallback() {
|
|
9811
|
-
this.baseComponent.finalize();
|
|
9810
|
+
async disconnectedCallback() {
|
|
9811
|
+
await this.baseComponent.finalize();
|
|
9812
9812
|
}
|
|
9813
9813
|
async buttonClick() {
|
|
9814
9814
|
if (this.contact == '' || this.contact.length != 10) {
|
|
@@ -10015,8 +10015,8 @@ const SmsCodeValidation = class {
|
|
|
10015
10015
|
this.apiErrorEvent.emit(e);
|
|
10016
10016
|
}
|
|
10017
10017
|
}
|
|
10018
|
-
disconnectedCallback() {
|
|
10019
|
-
this.baseComponent.finalize();
|
|
10018
|
+
async disconnectedCallback() {
|
|
10019
|
+
await this.baseComponent.finalize();
|
|
10020
10020
|
}
|
|
10021
10021
|
componentWillRender() {
|
|
10022
10022
|
if (state.flowStatus == FlowStatus.PHONE) {
|
|
@@ -10149,8 +10149,8 @@ const UserLiveness = class {
|
|
|
10149
10149
|
this.selfieFlow.verificationFinished = true;
|
|
10150
10150
|
await this.endFlow();
|
|
10151
10151
|
}
|
|
10152
|
-
disconnectedCallback() {
|
|
10153
|
-
this.baseComponent.finalize();
|
|
10152
|
+
async disconnectedCallback() {
|
|
10153
|
+
await this.baseComponent.finalize();
|
|
10154
10154
|
}
|
|
10155
10155
|
async uploadPhoto() {
|
|
10156
10156
|
if (this.selfieFlow.photoFile == null || this.selfieFlow.photoDone) {
|