@ekyc_qoobiss/qbs-ect-cmp 3.5.7 → 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 +25 -20
- 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 +6 -1
- package/dist/collection/models/FlowSteps.js +1 -0
- package/dist/esm/agreement-check_18.entry.js +25 -20
- package/dist/qbs-ect-cmp/{p-aee9d26a.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 -0
- package/dist/types/models/FlowSteps.d.ts +1 -0
- package/package.json +1 -1
|
@@ -408,6 +408,7 @@ onChange('phoneValidation', value => {
|
|
|
408
408
|
|
|
409
409
|
var FlowSteps;
|
|
410
410
|
(function (FlowSteps) {
|
|
411
|
+
FlowSteps[FlowSteps["ComponentLoaded"] = 'component-loaded'] = "ComponentLoaded";
|
|
411
412
|
FlowSteps[FlowSteps["MobileRedirect"] = 'mobile-redirect'] = "MobileRedirect";
|
|
412
413
|
FlowSteps[FlowSteps["Landing"] = 'landing'] = "Landing";
|
|
413
414
|
FlowSteps[FlowSteps["Agreements"] = 'agreements'] = "Agreements";
|
|
@@ -933,8 +934,8 @@ const AgreementInfo = class {
|
|
|
933
934
|
this.openAgreements = false;
|
|
934
935
|
this.openTerms = false;
|
|
935
936
|
}
|
|
936
|
-
disconnectedCallback() {
|
|
937
|
-
this.baseComponent.finalize();
|
|
937
|
+
async disconnectedCallback() {
|
|
938
|
+
await this.baseComponent.finalize();
|
|
938
939
|
}
|
|
939
940
|
async buttonClick() {
|
|
940
941
|
if (this.agreementsChecked && this.termsChecked) {
|
|
@@ -5541,8 +5542,8 @@ const CameraError = class {
|
|
|
5541
5542
|
}
|
|
5542
5543
|
}
|
|
5543
5544
|
}
|
|
5544
|
-
disconnectedCallback() {
|
|
5545
|
-
this.baseComponent.finalize();
|
|
5545
|
+
async disconnectedCallback() {
|
|
5546
|
+
await this.baseComponent.finalize();
|
|
5546
5547
|
}
|
|
5547
5548
|
async buttonClick() {
|
|
5548
5549
|
this.buttonDisabled = true;
|
|
@@ -5640,8 +5641,8 @@ const HowToInfo = class {
|
|
|
5640
5641
|
async componentDidLoad() {
|
|
5641
5642
|
await this.baseComponent.initialize();
|
|
5642
5643
|
}
|
|
5643
|
-
disconnectedCallback() {
|
|
5644
|
-
this.baseComponent.finalize();
|
|
5644
|
+
async disconnectedCallback() {
|
|
5645
|
+
await this.baseComponent.finalize();
|
|
5645
5646
|
}
|
|
5646
5647
|
buttonClick() {
|
|
5647
5648
|
this.buttonEnabled = false;
|
|
@@ -6214,8 +6215,8 @@ const IdDoubleSide = class {
|
|
|
6214
6215
|
state.recordingRetryCount = 0;
|
|
6215
6216
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6216
6217
|
}
|
|
6217
|
-
disconnectedCallback() {
|
|
6218
|
-
this.baseComponent.finalize();
|
|
6218
|
+
async disconnectedCallback() {
|
|
6219
|
+
await this.baseComponent.finalize();
|
|
6219
6220
|
}
|
|
6220
6221
|
switchCamera() {
|
|
6221
6222
|
if (this.captureRetryCount == 1) {
|
|
@@ -6349,8 +6350,8 @@ const IdSingleSide = class {
|
|
|
6349
6350
|
}
|
|
6350
6351
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6351
6352
|
}
|
|
6352
|
-
disconnectedCallback() {
|
|
6353
|
-
this.baseComponent.finalize();
|
|
6353
|
+
async disconnectedCallback() {
|
|
6354
|
+
await this.baseComponent.finalize();
|
|
6354
6355
|
}
|
|
6355
6356
|
switchCamera() {
|
|
6356
6357
|
if (this.captureRetryCount == 1) {
|
|
@@ -6437,7 +6438,7 @@ function v4(options, buf, offset) {
|
|
|
6437
6438
|
}
|
|
6438
6439
|
|
|
6439
6440
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6440
|
-
const version$1 = "3.5.
|
|
6441
|
+
const version$1 = "3.5.9";
|
|
6441
6442
|
const description = "Person Identification Component";
|
|
6442
6443
|
const main = "./dist/index.cjs.js";
|
|
6443
6444
|
const module$1 = "./dist/index.js";
|
|
@@ -6622,7 +6623,7 @@ const IdentificationComponent = class {
|
|
|
6622
6623
|
if (this.env && this.env != '') {
|
|
6623
6624
|
state.environment = this.env;
|
|
6624
6625
|
}
|
|
6625
|
-
this.baseComponent = new BaseComponent(
|
|
6626
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6626
6627
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6627
6628
|
if (state.debug)
|
|
6628
6629
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
@@ -6678,6 +6679,7 @@ const IdentificationComponent = class {
|
|
|
6678
6679
|
state.requestId = savedRequest;
|
|
6679
6680
|
this.order_id = savedRequest;
|
|
6680
6681
|
}
|
|
6682
|
+
await this.baseComponent.initialize();
|
|
6681
6683
|
if (flowStatusToSet == null) {
|
|
6682
6684
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
6683
6685
|
if (flowSt) {
|
|
@@ -6729,6 +6731,9 @@ const IdentificationComponent = class {
|
|
|
6729
6731
|
}
|
|
6730
6732
|
ML5.getInstance();
|
|
6731
6733
|
}
|
|
6734
|
+
async disconnectedCallback() {
|
|
6735
|
+
await this.baseComponent.finalize();
|
|
6736
|
+
}
|
|
6732
6737
|
render() {
|
|
6733
6738
|
let currentBlock = index.h("div", null);
|
|
6734
6739
|
if (state.device.isMobile || state.environment == 'DEMO') {
|
|
@@ -6844,8 +6849,8 @@ const LandingValidation = class {
|
|
|
6844
6849
|
}
|
|
6845
6850
|
}
|
|
6846
6851
|
}
|
|
6847
|
-
disconnectedCallback() {
|
|
6848
|
-
this.baseComponent.finalize();
|
|
6852
|
+
async disconnectedCallback() {
|
|
6853
|
+
await this.baseComponent.finalize();
|
|
6849
6854
|
}
|
|
6850
6855
|
async leaveFlow() {
|
|
6851
6856
|
if (this.buttonDisabled)
|
|
@@ -9806,8 +9811,8 @@ const MobileRedirect = class {
|
|
|
9806
9811
|
Events.flowAborted();
|
|
9807
9812
|
}
|
|
9808
9813
|
}
|
|
9809
|
-
disconnectedCallback() {
|
|
9810
|
-
this.baseComponent.finalize();
|
|
9814
|
+
async disconnectedCallback() {
|
|
9815
|
+
await this.baseComponent.finalize();
|
|
9811
9816
|
}
|
|
9812
9817
|
async buttonClick() {
|
|
9813
9818
|
if (this.contact == '' || this.contact.length != 10) {
|
|
@@ -10014,8 +10019,8 @@ const SmsCodeValidation = class {
|
|
|
10014
10019
|
this.apiErrorEvent.emit(e);
|
|
10015
10020
|
}
|
|
10016
10021
|
}
|
|
10017
|
-
disconnectedCallback() {
|
|
10018
|
-
this.baseComponent.finalize();
|
|
10022
|
+
async disconnectedCallback() {
|
|
10023
|
+
await this.baseComponent.finalize();
|
|
10019
10024
|
}
|
|
10020
10025
|
componentWillRender() {
|
|
10021
10026
|
if (state.flowStatus == FlowStatus.PHONE) {
|
|
@@ -10148,8 +10153,8 @@ const UserLiveness = class {
|
|
|
10148
10153
|
this.selfieFlow.verificationFinished = true;
|
|
10149
10154
|
await this.endFlow();
|
|
10150
10155
|
}
|
|
10151
|
-
disconnectedCallback() {
|
|
10152
|
-
this.baseComponent.finalize();
|
|
10156
|
+
async disconnectedCallback() {
|
|
10157
|
+
await this.baseComponent.finalize();
|
|
10153
10158
|
}
|
|
10154
10159
|
async uploadPhoto() {
|
|
10155
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,6 +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 { FlowSteps } from '../../models/FlowSteps';
|
|
12
13
|
export class IdentificationComponent {
|
|
13
14
|
async onTokenChange(newValue, _oldValue) {
|
|
14
15
|
if (store.debug)
|
|
@@ -123,7 +124,7 @@ export class IdentificationComponent {
|
|
|
123
124
|
if (this.env && this.env != '') {
|
|
124
125
|
store.environment = this.env;
|
|
125
126
|
}
|
|
126
|
-
this.baseComponent = new BaseComponent(
|
|
127
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
127
128
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
128
129
|
if (store.debug)
|
|
129
130
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
@@ -179,6 +180,7 @@ export class IdentificationComponent {
|
|
|
179
180
|
store.requestId = savedRequest;
|
|
180
181
|
this.order_id = savedRequest;
|
|
181
182
|
}
|
|
183
|
+
await this.baseComponent.initialize();
|
|
182
184
|
if (flowStatusToSet == null) {
|
|
183
185
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
184
186
|
if (flowSt) {
|
|
@@ -230,6 +232,9 @@ export class IdentificationComponent {
|
|
|
230
232
|
}
|
|
231
233
|
ML5.getInstance();
|
|
232
234
|
}
|
|
235
|
+
async disconnectedCallback() {
|
|
236
|
+
await this.baseComponent.finalize();
|
|
237
|
+
}
|
|
233
238
|
render() {
|
|
234
239
|
let currentBlock = h("div", null);
|
|
235
240
|
if (store.device.isMobile || store.environment == 'DEMO') {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export var FlowSteps;
|
|
2
2
|
(function (FlowSteps) {
|
|
3
|
+
FlowSteps[FlowSteps["ComponentLoaded"] = 'component-loaded'] = "ComponentLoaded";
|
|
3
4
|
FlowSteps[FlowSteps["MobileRedirect"] = 'mobile-redirect'] = "MobileRedirect";
|
|
4
5
|
FlowSteps[FlowSteps["Landing"] = 'landing'] = "Landing";
|
|
5
6
|
FlowSteps[FlowSteps["Agreements"] = 'agreements'] = "Agreements";
|
|
@@ -404,6 +404,7 @@ onChange('phoneValidation', value => {
|
|
|
404
404
|
|
|
405
405
|
var FlowSteps;
|
|
406
406
|
(function (FlowSteps) {
|
|
407
|
+
FlowSteps[FlowSteps["ComponentLoaded"] = 'component-loaded'] = "ComponentLoaded";
|
|
407
408
|
FlowSteps[FlowSteps["MobileRedirect"] = 'mobile-redirect'] = "MobileRedirect";
|
|
408
409
|
FlowSteps[FlowSteps["Landing"] = 'landing'] = "Landing";
|
|
409
410
|
FlowSteps[FlowSteps["Agreements"] = 'agreements'] = "Agreements";
|
|
@@ -929,8 +930,8 @@ const AgreementInfo = class {
|
|
|
929
930
|
this.openAgreements = false;
|
|
930
931
|
this.openTerms = false;
|
|
931
932
|
}
|
|
932
|
-
disconnectedCallback() {
|
|
933
|
-
this.baseComponent.finalize();
|
|
933
|
+
async disconnectedCallback() {
|
|
934
|
+
await this.baseComponent.finalize();
|
|
934
935
|
}
|
|
935
936
|
async buttonClick() {
|
|
936
937
|
if (this.agreementsChecked && this.termsChecked) {
|
|
@@ -5537,8 +5538,8 @@ const CameraError = class {
|
|
|
5537
5538
|
}
|
|
5538
5539
|
}
|
|
5539
5540
|
}
|
|
5540
|
-
disconnectedCallback() {
|
|
5541
|
-
this.baseComponent.finalize();
|
|
5541
|
+
async disconnectedCallback() {
|
|
5542
|
+
await this.baseComponent.finalize();
|
|
5542
5543
|
}
|
|
5543
5544
|
async buttonClick() {
|
|
5544
5545
|
this.buttonDisabled = true;
|
|
@@ -5636,8 +5637,8 @@ const HowToInfo = class {
|
|
|
5636
5637
|
async componentDidLoad() {
|
|
5637
5638
|
await this.baseComponent.initialize();
|
|
5638
5639
|
}
|
|
5639
|
-
disconnectedCallback() {
|
|
5640
|
-
this.baseComponent.finalize();
|
|
5640
|
+
async disconnectedCallback() {
|
|
5641
|
+
await this.baseComponent.finalize();
|
|
5641
5642
|
}
|
|
5642
5643
|
buttonClick() {
|
|
5643
5644
|
this.buttonEnabled = false;
|
|
@@ -6210,8 +6211,8 @@ const IdDoubleSide = class {
|
|
|
6210
6211
|
state.recordingRetryCount = 0;
|
|
6211
6212
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6212
6213
|
}
|
|
6213
|
-
disconnectedCallback() {
|
|
6214
|
-
this.baseComponent.finalize();
|
|
6214
|
+
async disconnectedCallback() {
|
|
6215
|
+
await this.baseComponent.finalize();
|
|
6215
6216
|
}
|
|
6216
6217
|
switchCamera() {
|
|
6217
6218
|
if (this.captureRetryCount == 1) {
|
|
@@ -6345,8 +6346,8 @@ const IdSingleSide = class {
|
|
|
6345
6346
|
}
|
|
6346
6347
|
state.flowStatus = FlowStatus.LIVENESS;
|
|
6347
6348
|
}
|
|
6348
|
-
disconnectedCallback() {
|
|
6349
|
-
this.baseComponent.finalize();
|
|
6349
|
+
async disconnectedCallback() {
|
|
6350
|
+
await this.baseComponent.finalize();
|
|
6350
6351
|
}
|
|
6351
6352
|
switchCamera() {
|
|
6352
6353
|
if (this.captureRetryCount == 1) {
|
|
@@ -6433,7 +6434,7 @@ function v4(options, buf, offset) {
|
|
|
6433
6434
|
}
|
|
6434
6435
|
|
|
6435
6436
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6436
|
-
const version$1 = "3.5.
|
|
6437
|
+
const version$1 = "3.5.9";
|
|
6437
6438
|
const description = "Person Identification Component";
|
|
6438
6439
|
const main = "./dist/index.cjs.js";
|
|
6439
6440
|
const module = "./dist/index.js";
|
|
@@ -6618,7 +6619,7 @@ const IdentificationComponent = class {
|
|
|
6618
6619
|
if (this.env && this.env != '') {
|
|
6619
6620
|
state.environment = this.env;
|
|
6620
6621
|
}
|
|
6621
|
-
this.baseComponent = new BaseComponent(
|
|
6622
|
+
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6622
6623
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6623
6624
|
if (state.debug)
|
|
6624
6625
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
@@ -6674,6 +6675,7 @@ const IdentificationComponent = class {
|
|
|
6674
6675
|
state.requestId = savedRequest;
|
|
6675
6676
|
this.order_id = savedRequest;
|
|
6676
6677
|
}
|
|
6678
|
+
await this.baseComponent.initialize();
|
|
6677
6679
|
if (flowStatusToSet == null) {
|
|
6678
6680
|
var flowSt = sessionStorage.getItem(SessionKeys.FlowStatusKey);
|
|
6679
6681
|
if (flowSt) {
|
|
@@ -6725,6 +6727,9 @@ const IdentificationComponent = class {
|
|
|
6725
6727
|
}
|
|
6726
6728
|
ML5.getInstance();
|
|
6727
6729
|
}
|
|
6730
|
+
async disconnectedCallback() {
|
|
6731
|
+
await this.baseComponent.finalize();
|
|
6732
|
+
}
|
|
6728
6733
|
render() {
|
|
6729
6734
|
let currentBlock = h("div", null);
|
|
6730
6735
|
if (state.device.isMobile || state.environment == 'DEMO') {
|
|
@@ -6840,8 +6845,8 @@ const LandingValidation = class {
|
|
|
6840
6845
|
}
|
|
6841
6846
|
}
|
|
6842
6847
|
}
|
|
6843
|
-
disconnectedCallback() {
|
|
6844
|
-
this.baseComponent.finalize();
|
|
6848
|
+
async disconnectedCallback() {
|
|
6849
|
+
await this.baseComponent.finalize();
|
|
6845
6850
|
}
|
|
6846
6851
|
async leaveFlow() {
|
|
6847
6852
|
if (this.buttonDisabled)
|
|
@@ -9802,8 +9807,8 @@ const MobileRedirect = class {
|
|
|
9802
9807
|
Events.flowAborted();
|
|
9803
9808
|
}
|
|
9804
9809
|
}
|
|
9805
|
-
disconnectedCallback() {
|
|
9806
|
-
this.baseComponent.finalize();
|
|
9810
|
+
async disconnectedCallback() {
|
|
9811
|
+
await this.baseComponent.finalize();
|
|
9807
9812
|
}
|
|
9808
9813
|
async buttonClick() {
|
|
9809
9814
|
if (this.contact == '' || this.contact.length != 10) {
|
|
@@ -10010,8 +10015,8 @@ const SmsCodeValidation = class {
|
|
|
10010
10015
|
this.apiErrorEvent.emit(e);
|
|
10011
10016
|
}
|
|
10012
10017
|
}
|
|
10013
|
-
disconnectedCallback() {
|
|
10014
|
-
this.baseComponent.finalize();
|
|
10018
|
+
async disconnectedCallback() {
|
|
10019
|
+
await this.baseComponent.finalize();
|
|
10015
10020
|
}
|
|
10016
10021
|
componentWillRender() {
|
|
10017
10022
|
if (state.flowStatus == FlowStatus.PHONE) {
|
|
@@ -10144,8 +10149,8 @@ const UserLiveness = class {
|
|
|
10144
10149
|
this.selfieFlow.verificationFinished = true;
|
|
10145
10150
|
await this.endFlow();
|
|
10146
10151
|
}
|
|
10147
|
-
disconnectedCallback() {
|
|
10148
|
-
this.baseComponent.finalize();
|
|
10152
|
+
async disconnectedCallback() {
|
|
10153
|
+
await this.baseComponent.finalize();
|
|
10149
10154
|
}
|
|
10150
10155
|
async uploadPhoto() {
|
|
10151
10156
|
if (this.selfieFlow.photoFile == null || this.selfieFlow.photoDone) {
|