@ekyc_qoobiss/qbs-ect-cmp 1.5.12 → 1.5.14

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.
@@ -5932,7 +5932,8 @@ const LandingValidation = class {
5932
5932
  this.apiCall = new ApiCall();
5933
5933
  }
5934
5934
  async componentWillLoad() {
5935
- await new Promise(() => setTimeout(this.initRequest, 500));
5935
+ await new Promise(f => setTimeout(f, 500));
5936
+ await this.initRequest();
5936
5937
  }
5937
5938
  async initRequest() {
5938
5939
  this.saved = await this.apiCall.AddIdentificationRequest(state.requestId, JSON.stringify(this.device));
@@ -26,6 +26,7 @@ export class CaptureError {
26
26
  store.flowStatus = this.idSide == 'front' ? 'ID' : 'IDBACK';
27
27
  }
28
28
  else if (this.type == 'invalid') {
29
+ this.idSide == 'front';
29
30
  store.flowStatus = 'HOWTOID';
30
31
  }
31
32
  else {
@@ -15,7 +15,8 @@ export class LandingValidation {
15
15
  this.apiCall = new ApiCall();
16
16
  }
17
17
  async componentWillLoad() {
18
- await new Promise(() => setTimeout(this.initRequest, 500));
18
+ await new Promise(f => setTimeout(f, 500));
19
+ await this.initRequest();
19
20
  }
20
21
  async initRequest() {
21
22
  this.saved = await this.apiCall.AddIdentificationRequest(store.requestId, JSON.stringify(this.device));
@@ -5928,7 +5928,8 @@ const LandingValidation = class {
5928
5928
  this.apiCall = new ApiCall();
5929
5929
  }
5930
5930
  async componentWillLoad() {
5931
- await new Promise(() => setTimeout(this.initRequest, 500));
5931
+ await new Promise(f => setTimeout(f, 500));
5932
+ await this.initRequest();
5932
5933
  }
5933
5934
  async initRequest() {
5934
5935
  this.saved = await this.apiCall.AddIdentificationRequest(state.requestId, JSON.stringify(this.device));