@ekyc_qoobiss/qbs-ect-cmp 3.3.3 → 3.3.5

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.
@@ -489,10 +489,10 @@ class ApiCall {
489
489
  return await this.http(request);
490
490
  }
491
491
  catch (ex) {
492
- this.AddLog('Error in post ', ex);
493
492
  if (!withRetry) {
494
493
  throw ex;
495
494
  }
495
+ this.AddLog('Error in post ', ex);
496
496
  try {
497
497
  return await this.http(request);
498
498
  }
@@ -514,10 +514,10 @@ class ApiCall {
514
514
  return await this.http(request);
515
515
  }
516
516
  catch (ex) {
517
- this.AddLog('Error in get ', ex);
518
517
  if (!withRetry) {
519
518
  throw ex;
520
519
  }
520
+ this.AddLog('Error in get ', ex);
521
521
  try {
522
522
  return await this.http(request);
523
523
  }
@@ -6374,7 +6374,7 @@ function v4(options, buf, offset) {
6374
6374
  }
6375
6375
 
6376
6376
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6377
- const version$1 = "3.3.3";
6377
+ const version$1 = "3.3.5";
6378
6378
  const description = "Person Identification Component";
6379
6379
  const main = "./dist/index.cjs.js";
6380
6380
  const module$1 = "./dist/index.js";
@@ -6646,8 +6646,9 @@ const IdentificationComponent = class {
6646
6646
  catch (_a) { }
6647
6647
  try {
6648
6648
  if (state.device.browser == Browser.Mi) {
6649
- this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + state.requestId + ' RedirectId:' + state.redirectId);
6650
- return;
6649
+ //this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + store.requestId + ' RedirectId:' + store.redirectId);
6650
+ //return;
6651
+ alert('Mi Browser detectat.');
6651
6652
  }
6652
6653
  if (!state.device.isMobile && state.redirectId == '') {
6653
6654
  state.redirectId = v4();
@@ -210,8 +210,9 @@ export class IdentificationComponent {
210
210
  catch (_a) { }
211
211
  try {
212
212
  if (store.device.browser == Browser.Mi) {
213
- this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + store.requestId + ' RedirectId:' + store.redirectId);
214
- return;
213
+ //this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + store.requestId + ' RedirectId:' + store.redirectId);
214
+ //return;
215
+ alert('Mi Browser detectat.');
215
216
  }
216
217
  if (!store.device.isMobile && store.redirectId == '') {
217
218
  store.redirectId = uuid.v4();
@@ -63,10 +63,10 @@ export class ApiCall {
63
63
  return await this.http(request);
64
64
  }
65
65
  catch (ex) {
66
- this.AddLog('Error in post ', ex);
67
66
  if (!withRetry) {
68
67
  throw ex;
69
68
  }
69
+ this.AddLog('Error in post ', ex);
70
70
  try {
71
71
  return await this.http(request);
72
72
  }
@@ -88,10 +88,10 @@ export class ApiCall {
88
88
  return await this.http(request);
89
89
  }
90
90
  catch (ex) {
91
- this.AddLog('Error in get ', ex);
92
91
  if (!withRetry) {
93
92
  throw ex;
94
93
  }
94
+ this.AddLog('Error in get ', ex);
95
95
  try {
96
96
  return await this.http(request);
97
97
  }
@@ -485,10 +485,10 @@ class ApiCall {
485
485
  return await this.http(request);
486
486
  }
487
487
  catch (ex) {
488
- this.AddLog('Error in post ', ex);
489
488
  if (!withRetry) {
490
489
  throw ex;
491
490
  }
491
+ this.AddLog('Error in post ', ex);
492
492
  try {
493
493
  return await this.http(request);
494
494
  }
@@ -510,10 +510,10 @@ class ApiCall {
510
510
  return await this.http(request);
511
511
  }
512
512
  catch (ex) {
513
- this.AddLog('Error in get ', ex);
514
513
  if (!withRetry) {
515
514
  throw ex;
516
515
  }
516
+ this.AddLog('Error in get ', ex);
517
517
  try {
518
518
  return await this.http(request);
519
519
  }
@@ -6370,7 +6370,7 @@ function v4(options, buf, offset) {
6370
6370
  }
6371
6371
 
6372
6372
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6373
- const version$1 = "3.3.3";
6373
+ const version$1 = "3.3.5";
6374
6374
  const description = "Person Identification Component";
6375
6375
  const main = "./dist/index.cjs.js";
6376
6376
  const module = "./dist/index.js";
@@ -6642,8 +6642,9 @@ const IdentificationComponent = class {
6642
6642
  catch (_a) { }
6643
6643
  try {
6644
6644
  if (state.device.browser == Browser.Mi) {
6645
- this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + state.requestId + ' RedirectId:' + state.redirectId);
6646
- return;
6645
+ //this.apiErrorEmitter('Mi Browser nu este acceptat. Va rugam utilizati Chrome.', 'Request Initialisation RequestId:' + store.requestId + ' RedirectId:' + store.redirectId);
6646
+ //return;
6647
+ alert('Mi Browser detectat.');
6647
6648
  }
6648
6649
  if (!state.device.isMobile && state.redirectId == '') {
6649
6650
  state.redirectId = v4();