@ekyc_qoobiss/qbs-ect-cmp 1.10.15 → 1.10.16
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_17.cjs.entry.js +8 -6
- package/dist/collection/components/identification-component/identification-component.js +8 -6
- package/dist/esm/agreement-check_17.entry.js +8 -6
- package/dist/qbs-ect-cmp/{p-cff0eae0.entry.js → p-428024ed.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -5911,19 +5911,21 @@ const IdentificationComponent = class {
|
|
|
5911
5911
|
}
|
|
5912
5912
|
}
|
|
5913
5913
|
async apiErrorEmitter(data) {
|
|
5914
|
+
let apiLogData = data;
|
|
5914
5915
|
if (data.message) {
|
|
5915
5916
|
this.errorMessage = data.message;
|
|
5917
|
+
apiLogData = data.message;
|
|
5916
5918
|
}
|
|
5917
|
-
else if (data.detail
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5919
|
+
else if (data.detail) {
|
|
5920
|
+
if (data.detail.message) {
|
|
5921
|
+
this.errorMessage = data.detail.message;
|
|
5922
|
+
}
|
|
5923
|
+
apiLogData = data.detail;
|
|
5922
5924
|
}
|
|
5923
5925
|
else {
|
|
5924
5926
|
this.errorMessage = data;
|
|
5925
5927
|
}
|
|
5926
|
-
await this.apiCall.AddLog(
|
|
5928
|
+
await this.apiCall.AddLog(apiLogData);
|
|
5927
5929
|
Events.flowError(data);
|
|
5928
5930
|
state.flowStatus = FlowStatus.ERROREND;
|
|
5929
5931
|
}
|
|
@@ -57,19 +57,21 @@ export class IdentificationComponent {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
async apiErrorEmitter(data) {
|
|
60
|
+
let apiLogData = data;
|
|
60
61
|
if (data.message) {
|
|
61
62
|
this.errorMessage = data.message;
|
|
63
|
+
apiLogData = data.message;
|
|
62
64
|
}
|
|
63
|
-
else if (data.detail
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
else if (data.detail) {
|
|
66
|
+
if (data.detail.message) {
|
|
67
|
+
this.errorMessage = data.detail.message;
|
|
68
|
+
}
|
|
69
|
+
apiLogData = data.detail;
|
|
68
70
|
}
|
|
69
71
|
else {
|
|
70
72
|
this.errorMessage = data;
|
|
71
73
|
}
|
|
72
|
-
await this.apiCall.AddLog(
|
|
74
|
+
await this.apiCall.AddLog(apiLogData);
|
|
73
75
|
Events.flowError(data);
|
|
74
76
|
store.flowStatus = FlowStatus.ERROREND;
|
|
75
77
|
}
|
|
@@ -5907,19 +5907,21 @@ const IdentificationComponent = class {
|
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
async apiErrorEmitter(data) {
|
|
5910
|
+
let apiLogData = data;
|
|
5910
5911
|
if (data.message) {
|
|
5911
5912
|
this.errorMessage = data.message;
|
|
5913
|
+
apiLogData = data.message;
|
|
5912
5914
|
}
|
|
5913
|
-
else if (data.detail
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5915
|
+
else if (data.detail) {
|
|
5916
|
+
if (data.detail.message) {
|
|
5917
|
+
this.errorMessage = data.detail.message;
|
|
5918
|
+
}
|
|
5919
|
+
apiLogData = data.detail;
|
|
5918
5920
|
}
|
|
5919
5921
|
else {
|
|
5920
5922
|
this.errorMessage = data;
|
|
5921
5923
|
}
|
|
5922
|
-
await this.apiCall.AddLog(
|
|
5924
|
+
await this.apiCall.AddLog(apiLogData);
|
|
5923
5925
|
Events.flowError(data);
|
|
5924
5926
|
state.flowStatus = FlowStatus.ERROREND;
|
|
5925
5927
|
}
|