@ekyc_qoobiss/qbs-ect-cmp 3.4.1 → 3.4.2
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.
- package/dist/cjs/agreement-check_18.cjs.entry.js +4 -4
- package/dist/collection/helpers/ApiCall.js +3 -3
- package/dist/esm/agreement-check_18.entry.js +4 -4
- package/dist/qbs-ect-cmp/{p-9aa0f29b.entry.js → p-4144c7ed.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/helpers/ApiCall.d.ts +1 -1
- package/package.json +1 -1
|
@@ -431,7 +431,7 @@ var FlowMoments;
|
|
|
431
431
|
|
|
432
432
|
class ApiCall {
|
|
433
433
|
constructor() {
|
|
434
|
-
this.
|
|
434
|
+
this.serviceErrors = ['Service Unavailable', 'Unauthorized'];
|
|
435
435
|
this.toBase64 = (file) => new Promise((resolve, reject) => {
|
|
436
436
|
const reader = new FileReader();
|
|
437
437
|
reader.readAsDataURL(file);
|
|
@@ -489,7 +489,7 @@ class ApiCall {
|
|
|
489
489
|
return await this.http(request);
|
|
490
490
|
}
|
|
491
491
|
catch (ex) {
|
|
492
|
-
if (!withRetry || ex.message
|
|
492
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
493
493
|
throw ex;
|
|
494
494
|
}
|
|
495
495
|
this.AddLog('Error in post ', ex);
|
|
@@ -514,7 +514,7 @@ class ApiCall {
|
|
|
514
514
|
return await this.http(request);
|
|
515
515
|
}
|
|
516
516
|
catch (ex) {
|
|
517
|
-
if (!withRetry || ex.message
|
|
517
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
518
518
|
throw ex;
|
|
519
519
|
}
|
|
520
520
|
this.AddLog('Error in get ', ex);
|
|
@@ -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.4.
|
|
6377
|
+
const version$1 = "3.4.2";
|
|
6378
6378
|
const description = "Person Identification Component";
|
|
6379
6379
|
const main = "./dist/index.cjs.js";
|
|
6380
6380
|
const module$1 = "./dist/index.js";
|
|
@@ -5,7 +5,7 @@ import { FlowStatus } from '../models/FlowStatus';
|
|
|
5
5
|
import { FlowMoments, FlowSteps } from '../models/FlowSteps';
|
|
6
6
|
export class ApiCall {
|
|
7
7
|
constructor() {
|
|
8
|
-
this.
|
|
8
|
+
this.serviceErrors = ['Service Unavailable', 'Unauthorized'];
|
|
9
9
|
this.toBase64 = (file) => new Promise((resolve, reject) => {
|
|
10
10
|
const reader = new FileReader();
|
|
11
11
|
reader.readAsDataURL(file);
|
|
@@ -63,7 +63,7 @@ export class ApiCall {
|
|
|
63
63
|
return await this.http(request);
|
|
64
64
|
}
|
|
65
65
|
catch (ex) {
|
|
66
|
-
if (!withRetry || ex.message
|
|
66
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
67
67
|
throw ex;
|
|
68
68
|
}
|
|
69
69
|
this.AddLog('Error in post ', ex);
|
|
@@ -88,7 +88,7 @@ export class ApiCall {
|
|
|
88
88
|
return await this.http(request);
|
|
89
89
|
}
|
|
90
90
|
catch (ex) {
|
|
91
|
-
if (!withRetry || ex.message
|
|
91
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
92
92
|
throw ex;
|
|
93
93
|
}
|
|
94
94
|
this.AddLog('Error in get ', ex);
|
|
@@ -427,7 +427,7 @@ var FlowMoments;
|
|
|
427
427
|
|
|
428
428
|
class ApiCall {
|
|
429
429
|
constructor() {
|
|
430
|
-
this.
|
|
430
|
+
this.serviceErrors = ['Service Unavailable', 'Unauthorized'];
|
|
431
431
|
this.toBase64 = (file) => new Promise((resolve, reject) => {
|
|
432
432
|
const reader = new FileReader();
|
|
433
433
|
reader.readAsDataURL(file);
|
|
@@ -485,7 +485,7 @@ class ApiCall {
|
|
|
485
485
|
return await this.http(request);
|
|
486
486
|
}
|
|
487
487
|
catch (ex) {
|
|
488
|
-
if (!withRetry || ex.message
|
|
488
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
489
489
|
throw ex;
|
|
490
490
|
}
|
|
491
491
|
this.AddLog('Error in post ', ex);
|
|
@@ -510,7 +510,7 @@ class ApiCall {
|
|
|
510
510
|
return await this.http(request);
|
|
511
511
|
}
|
|
512
512
|
catch (ex) {
|
|
513
|
-
if (!withRetry || ex.message
|
|
513
|
+
if (!withRetry || this.serviceErrors.includes(ex.message)) {
|
|
514
514
|
throw ex;
|
|
515
515
|
}
|
|
516
516
|
this.AddLog('Error in get ', ex);
|
|
@@ -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.4.
|
|
6373
|
+
const version$1 = "3.4.2";
|
|
6374
6374
|
const description = "Person Identification Component";
|
|
6375
6375
|
const main = "./dist/index.cjs.js";
|
|
6376
6376
|
const module = "./dist/index.js";
|