@ekyc_qoobiss/qbs-ect-cmp 2.1.13 → 2.1.15

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.
@@ -5189,6 +5189,11 @@ const CameraError = class {
5189
5189
  this.title = CameraErrorValues.Title;
5190
5190
  this.description = CameraErrorValues.Description;
5191
5191
  this.buttonText = CameraErrorValues.Button;
5192
+ if (!this.device.isIos) {
5193
+ this.demoVideo.src = CameraErrorValues.HowToLink;
5194
+ this.demoVideo.loop = true;
5195
+ this.demoVideo.play();
5196
+ }
5192
5197
  }
5193
5198
  async componentDidLoad() {
5194
5199
  try {
@@ -5197,14 +5202,12 @@ const CameraError = class {
5197
5202
  catch (e) {
5198
5203
  this.apiErrorEvent.emit(e);
5199
5204
  }
5200
- if (!this.device.isIos) {
5201
- this.demoVideo.src = CameraErrorValues.HowToLink;
5202
- this.demoVideo.loop = true;
5203
- this.demoVideo.play();
5204
- }
5205
5205
  }
5206
5206
  async buttonClick() {
5207
5207
  this.buttonDisabled = true;
5208
+ if (this.device.isIos) {
5209
+ window.location.reload();
5210
+ }
5208
5211
  state.flowStatus = FlowStatus.LANDING;
5209
5212
  }
5210
5213
  render() {
@@ -6161,7 +6164,7 @@ function v4(options, buf, offset) {
6161
6164
  }
6162
6165
 
6163
6166
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6164
- const version$1 = "2.1.13";
6167
+ const version$1 = "2.1.15";
6165
6168
  const description = "Person Identification Component";
6166
6169
  const main = "./dist/index.cjs.js";
6167
6170
  const module$1 = "./dist/index.js";
@@ -6540,9 +6543,8 @@ const LandingValidation = class {
6540
6543
  this.buttonDisabled = true;
6541
6544
  if (!(await Cameras.InitCameras(this.device))) {
6542
6545
  state.flowStatus = FlowStatus.CAMERAERROR;
6543
- return;
6544
6546
  }
6545
- if (state.agreementsValidation) {
6547
+ else if (state.agreementsValidation) {
6546
6548
  state.flowStatus = FlowStatus.AGREEMENT;
6547
6549
  }
6548
6550
  else if (state.phoneValidation) {
@@ -18,6 +18,11 @@ export class CameraError {
18
18
  this.title = CameraErrorValues.Title;
19
19
  this.description = CameraErrorValues.Description;
20
20
  this.buttonText = CameraErrorValues.Button;
21
+ if (!this.device.isIos) {
22
+ this.demoVideo.src = CameraErrorValues.HowToLink;
23
+ this.demoVideo.loop = true;
24
+ this.demoVideo.play();
25
+ }
21
26
  }
22
27
  async componentDidLoad() {
23
28
  try {
@@ -26,14 +31,12 @@ export class CameraError {
26
31
  catch (e) {
27
32
  this.apiErrorEvent.emit(e);
28
33
  }
29
- if (!this.device.isIos) {
30
- this.demoVideo.src = CameraErrorValues.HowToLink;
31
- this.demoVideo.loop = true;
32
- this.demoVideo.play();
33
- }
34
34
  }
35
35
  async buttonClick() {
36
36
  this.buttonDisabled = true;
37
+ if (this.device.isIos) {
38
+ window.location.reload();
39
+ }
37
40
  store.flowStatus = FlowStatus.LANDING;
38
41
  }
39
42
  render() {
@@ -45,9 +45,8 @@ export class LandingValidation {
45
45
  this.buttonDisabled = true;
46
46
  if (!(await Cameras.InitCameras(this.device))) {
47
47
  store.flowStatus = FlowStatus.CAMERAERROR;
48
- return;
49
48
  }
50
- if (store.agreementsValidation) {
49
+ else if (store.agreementsValidation) {
51
50
  store.flowStatus = FlowStatus.AGREEMENT;
52
51
  }
53
52
  else if (store.phoneValidation) {
@@ -5185,6 +5185,11 @@ const CameraError = class {
5185
5185
  this.title = CameraErrorValues.Title;
5186
5186
  this.description = CameraErrorValues.Description;
5187
5187
  this.buttonText = CameraErrorValues.Button;
5188
+ if (!this.device.isIos) {
5189
+ this.demoVideo.src = CameraErrorValues.HowToLink;
5190
+ this.demoVideo.loop = true;
5191
+ this.demoVideo.play();
5192
+ }
5188
5193
  }
5189
5194
  async componentDidLoad() {
5190
5195
  try {
@@ -5193,14 +5198,12 @@ const CameraError = class {
5193
5198
  catch (e) {
5194
5199
  this.apiErrorEvent.emit(e);
5195
5200
  }
5196
- if (!this.device.isIos) {
5197
- this.demoVideo.src = CameraErrorValues.HowToLink;
5198
- this.demoVideo.loop = true;
5199
- this.demoVideo.play();
5200
- }
5201
5201
  }
5202
5202
  async buttonClick() {
5203
5203
  this.buttonDisabled = true;
5204
+ if (this.device.isIos) {
5205
+ window.location.reload();
5206
+ }
5204
5207
  state.flowStatus = FlowStatus.LANDING;
5205
5208
  }
5206
5209
  render() {
@@ -6157,7 +6160,7 @@ function v4(options, buf, offset) {
6157
6160
  }
6158
6161
 
6159
6162
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6160
- const version$1 = "2.1.13";
6163
+ const version$1 = "2.1.15";
6161
6164
  const description = "Person Identification Component";
6162
6165
  const main = "./dist/index.cjs.js";
6163
6166
  const module = "./dist/index.js";
@@ -6536,9 +6539,8 @@ const LandingValidation = class {
6536
6539
  this.buttonDisabled = true;
6537
6540
  if (!(await Cameras.InitCameras(this.device))) {
6538
6541
  state.flowStatus = FlowStatus.CAMERAERROR;
6539
- return;
6540
6542
  }
6541
- if (state.agreementsValidation) {
6543
+ else if (state.agreementsValidation) {
6542
6544
  state.flowStatus = FlowStatus.AGREEMENT;
6543
6545
  }
6544
6546
  else if (state.phoneValidation) {