@ekyc_qoobiss/qbs-ect-cmp 3.6.50 → 3.6.51

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.
@@ -504,7 +504,7 @@ class ApiCall {
504
504
  };
505
505
  let respJson = await this.post(this.urls.UploadCapture, JSON.stringify(data));
506
506
  state.flowStatus = exports.FlowStatus[respJson.state];
507
- if (type in ['IdFront', 'IdBack', 'Selfie']) {
507
+ if (['IdFront', 'IdBack', 'Selfie'].includes(type)) {
508
508
  return respJson.isValid;
509
509
  }
510
510
  return true;
@@ -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-22bb2d54.js');
6
+ const TranslationUtils = require('./TranslationUtils-d4dd846b.js');
7
7
 
8
8
  const agreementCheckCss = "";
9
9
 
@@ -5149,7 +5149,7 @@ function v4(options, buf, offset) {
5149
5149
  }
5150
5150
 
5151
5151
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5152
- const version$1 = "3.6.50";
5152
+ const version$1 = "3.6.51";
5153
5153
  const description = "Person Identification Component";
5154
5154
  const main = "./dist/index.cjs.js";
5155
5155
  const module$1 = "./dist/index.js";
@@ -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-22bb2d54.js');
6
+ const TranslationUtils = require('./TranslationUtils-d4dd846b.js');
7
7
 
8
8
  const randomActionsCss = "";
9
9
 
@@ -174,7 +174,7 @@ export class ApiCall {
174
174
  };
175
175
  let respJson = await this.post(this.urls.UploadCapture, JSON.stringify(data));
176
176
  store.flowStatus = FlowStatus[respJson.state];
177
- if (type in ['IdFront', 'IdBack', 'Selfie']) {
177
+ if (['IdFront', 'IdBack', 'Selfie'].includes(type)) {
178
178
  return respJson.isValid;
179
179
  }
180
180
  return true;
@@ -502,7 +502,7 @@ class ApiCall {
502
502
  };
503
503
  let respJson = await this.post(this.urls.UploadCapture, JSON.stringify(data));
504
504
  state.flowStatus = FlowStatus[respJson.state];
505
- if (type in ['IdFront', 'IdBack', 'Selfie']) {
505
+ if (['IdFront', 'IdBack', 'Selfie'].includes(type)) {
506
506
  return respJson.isValid;
507
507
  }
508
508
  return true;
@@ -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-f13d895b.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-f21a1c3f.js';
3
3
 
4
4
  const agreementCheckCss = "";
5
5
 
@@ -5145,7 +5145,7 @@ function v4(options, buf, offset) {
5145
5145
  }
5146
5146
 
5147
5147
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5148
- const version$1 = "3.6.50";
5148
+ const version$1 = "3.6.51";
5149
5149
  const description = "Person Identification Component";
5150
5150
  const main = "./dist/index.cjs.js";
5151
5151
  const module = "./dist/index.js";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-cf54a432.js';
2
- import { T as Translations } from './TranslationUtils-f13d895b.js';
2
+ import { T as Translations } from './TranslationUtils-f21a1c3f.js';
3
3
 
4
4
  const randomActionsCss = "";
5
5