@ekyc_qoobiss/qbs-ect-cmp 2.0.9 → 2.0.11

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.
@@ -473,6 +473,9 @@ class ApiCall {
473
473
  if (state.hasIdBack && type == 'IdBack') {
474
474
  return respJson.isValid;
475
475
  }
476
+ if (type == 'Selfie') {
477
+ return respJson.isValid;
478
+ }
476
479
  return true;
477
480
  }
478
481
  async GetAgreement(agreementType) {
@@ -9239,7 +9242,7 @@ const MobileRedirect = class {
9239
9242
  this.infoTextBottom = MobileRedirectValues.InfoBottom;
9240
9243
  let envUri = state.environment == 'QA' ? 'test' : 'ect';
9241
9244
  let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
9242
- this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
9245
+ this.redirectLink = baseUri + envUri + '/mobileredirect?redirectId=' + state.redirectId;
9243
9246
  if (state.phoneNumber && state.phoneNumber != '') {
9244
9247
  this.contact = state.phoneNumber;
9245
9248
  this.prefilledPhone = true;
@@ -27,7 +27,7 @@ export class MobileRedirect {
27
27
  this.infoTextBottom = MobileRedirectValues.InfoBottom;
28
28
  let envUri = store.environment == 'QA' ? 'test' : 'ect';
29
29
  let baseUri = store.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
30
- this.redirectLink = baseUri + envUri + '/identification?redirectId=' + store.redirectId;
30
+ this.redirectLink = baseUri + envUri + '/mobileredirect?redirectId=' + store.redirectId;
31
31
  if (store.phoneNumber && store.phoneNumber != '') {
32
32
  this.contact = store.phoneNumber;
33
33
  this.prefilledPhone = true;
@@ -86,6 +86,9 @@ export class ApiCall {
86
86
  if (store.hasIdBack && type == 'IdBack') {
87
87
  return respJson.isValid;
88
88
  }
89
+ if (type == 'Selfie') {
90
+ return respJson.isValid;
91
+ }
89
92
  return true;
90
93
  }
91
94
  async GetAgreement(agreementType) {
@@ -469,6 +469,9 @@ class ApiCall {
469
469
  if (state.hasIdBack && type == 'IdBack') {
470
470
  return respJson.isValid;
471
471
  }
472
+ if (type == 'Selfie') {
473
+ return respJson.isValid;
474
+ }
472
475
  return true;
473
476
  }
474
477
  async GetAgreement(agreementType) {
@@ -9235,7 +9238,7 @@ const MobileRedirect = class {
9235
9238
  this.infoTextBottom = MobileRedirectValues.InfoBottom;
9236
9239
  let envUri = state.environment == 'QA' ? 'test' : 'ect';
9237
9240
  let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
9238
- this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
9241
+ this.redirectLink = baseUri + envUri + '/mobileredirect?redirectId=' + state.redirectId;
9239
9242
  if (state.phoneNumber && state.phoneNumber != '') {
9240
9243
  this.contact = state.phoneNumber;
9241
9244
  this.prefilledPhone = true;