@ekyc_qoobiss/qbs-ect-cmp 2.0.7 → 2.0.8
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 +11 -7
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +2 -1
- package/dist/collection/components/identification-component/identification-component.js +9 -6
- package/dist/esm/agreement-check_17.entry.js +11 -7
- package/dist/qbs-ect-cmp/{p-dbe587b1.entry.js → p-6baff2a4.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -6106,6 +6106,7 @@ const IdentificationComponent = class {
|
|
|
6106
6106
|
}
|
|
6107
6107
|
constructor(hostRef) {
|
|
6108
6108
|
index.registerInstance(this, hostRef);
|
|
6109
|
+
this.logInit = {};
|
|
6109
6110
|
this.token = undefined;
|
|
6110
6111
|
this.order_id = undefined;
|
|
6111
6112
|
this.api_url = undefined;
|
|
@@ -6124,11 +6125,12 @@ const IdentificationComponent = class {
|
|
|
6124
6125
|
if (this.env && this.env != '') {
|
|
6125
6126
|
state.environment = this.env;
|
|
6126
6127
|
}
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6128
|
+
if (state.debug)
|
|
6129
|
+
this.logInit = {
|
|
6130
|
+
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6131
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6132
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6133
|
+
};
|
|
6132
6134
|
if (this.token) {
|
|
6133
6135
|
if (state.debug)
|
|
6134
6136
|
console.log('Store Token set with property value: ' + this.token);
|
|
@@ -6200,7 +6202,8 @@ const IdentificationComponent = class {
|
|
|
6200
6202
|
return;
|
|
6201
6203
|
}
|
|
6202
6204
|
try {
|
|
6203
|
-
|
|
6205
|
+
if (state.debug)
|
|
6206
|
+
this.apiCall.AddLog(this.logInit);
|
|
6204
6207
|
}
|
|
6205
6208
|
catch (_a) { }
|
|
6206
6209
|
try {
|
|
@@ -9244,6 +9247,8 @@ const MobileRedirect = class {
|
|
|
9244
9247
|
}
|
|
9245
9248
|
componentWillRender() { }
|
|
9246
9249
|
async componentDidLoad() {
|
|
9250
|
+
Events.init(window);
|
|
9251
|
+
Events.flowStarted();
|
|
9247
9252
|
await this.delay(5000);
|
|
9248
9253
|
await this.checkStatus();
|
|
9249
9254
|
while (this.orderStatus == OrderStatuses.Capturing || this.orderStatus == OrderStatuses.Waiting) {
|
|
@@ -9267,7 +9272,6 @@ const MobileRedirect = class {
|
|
|
9267
9272
|
if (this.orderStatus == OrderStatuses.Aborted) {
|
|
9268
9273
|
this.waitingMobile = false;
|
|
9269
9274
|
this.infoTextTop = MobileRedirectValues.InfoAborted;
|
|
9270
|
-
Events.init(window);
|
|
9271
9275
|
Events.flowAborted();
|
|
9272
9276
|
}
|
|
9273
9277
|
}
|
|
@@ -41,6 +41,8 @@ export class MobileRedirect {
|
|
|
41
41
|
}
|
|
42
42
|
componentWillRender() { }
|
|
43
43
|
async componentDidLoad() {
|
|
44
|
+
Events.init(window);
|
|
45
|
+
Events.flowStarted();
|
|
44
46
|
await this.delay(5000);
|
|
45
47
|
await this.checkStatus();
|
|
46
48
|
while (this.orderStatus == OrderStatuses.Capturing || this.orderStatus == OrderStatuses.Waiting) {
|
|
@@ -64,7 +66,6 @@ export class MobileRedirect {
|
|
|
64
66
|
if (this.orderStatus == OrderStatuses.Aborted) {
|
|
65
67
|
this.waitingMobile = false;
|
|
66
68
|
this.infoTextTop = MobileRedirectValues.InfoAborted;
|
|
67
|
-
Events.init(window);
|
|
68
69
|
Events.flowAborted();
|
|
69
70
|
}
|
|
70
71
|
}
|
|
@@ -100,6 +100,7 @@ export class IdentificationComponent {
|
|
|
100
100
|
store.flowStatus = FlowStatus.ERROREND;
|
|
101
101
|
}
|
|
102
102
|
constructor() {
|
|
103
|
+
this.logInit = {};
|
|
103
104
|
this.token = undefined;
|
|
104
105
|
this.order_id = undefined;
|
|
105
106
|
this.api_url = undefined;
|
|
@@ -118,11 +119,12 @@ export class IdentificationComponent {
|
|
|
118
119
|
if (this.env && this.env != '') {
|
|
119
120
|
store.environment = this.env;
|
|
120
121
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
if (store.debug)
|
|
123
|
+
this.logInit = {
|
|
124
|
+
store_values: { request_id: store.requestId, redirect_id: store.redirectId, token: store.token },
|
|
125
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
126
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
127
|
+
};
|
|
126
128
|
if (this.token) {
|
|
127
129
|
if (store.debug)
|
|
128
130
|
console.log('Store Token set with property value: ' + this.token);
|
|
@@ -194,7 +196,8 @@ export class IdentificationComponent {
|
|
|
194
196
|
return;
|
|
195
197
|
}
|
|
196
198
|
try {
|
|
197
|
-
|
|
199
|
+
if (store.debug)
|
|
200
|
+
this.apiCall.AddLog(this.logInit);
|
|
198
201
|
}
|
|
199
202
|
catch (_a) { }
|
|
200
203
|
try {
|
|
@@ -6102,6 +6102,7 @@ const IdentificationComponent = class {
|
|
|
6102
6102
|
}
|
|
6103
6103
|
constructor(hostRef) {
|
|
6104
6104
|
registerInstance(this, hostRef);
|
|
6105
|
+
this.logInit = {};
|
|
6105
6106
|
this.token = undefined;
|
|
6106
6107
|
this.order_id = undefined;
|
|
6107
6108
|
this.api_url = undefined;
|
|
@@ -6120,11 +6121,12 @@ const IdentificationComponent = class {
|
|
|
6120
6121
|
if (this.env && this.env != '') {
|
|
6121
6122
|
state.environment = this.env;
|
|
6122
6123
|
}
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6124
|
+
if (state.debug)
|
|
6125
|
+
this.logInit = {
|
|
6126
|
+
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6127
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6128
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6129
|
+
};
|
|
6128
6130
|
if (this.token) {
|
|
6129
6131
|
if (state.debug)
|
|
6130
6132
|
console.log('Store Token set with property value: ' + this.token);
|
|
@@ -6196,7 +6198,8 @@ const IdentificationComponent = class {
|
|
|
6196
6198
|
return;
|
|
6197
6199
|
}
|
|
6198
6200
|
try {
|
|
6199
|
-
|
|
6201
|
+
if (state.debug)
|
|
6202
|
+
this.apiCall.AddLog(this.logInit);
|
|
6200
6203
|
}
|
|
6201
6204
|
catch (_a) { }
|
|
6202
6205
|
try {
|
|
@@ -9240,6 +9243,8 @@ const MobileRedirect = class {
|
|
|
9240
9243
|
}
|
|
9241
9244
|
componentWillRender() { }
|
|
9242
9245
|
async componentDidLoad() {
|
|
9246
|
+
Events.init(window);
|
|
9247
|
+
Events.flowStarted();
|
|
9243
9248
|
await this.delay(5000);
|
|
9244
9249
|
await this.checkStatus();
|
|
9245
9250
|
while (this.orderStatus == OrderStatuses.Capturing || this.orderStatus == OrderStatuses.Waiting) {
|
|
@@ -9263,7 +9268,6 @@ const MobileRedirect = class {
|
|
|
9263
9268
|
if (this.orderStatus == OrderStatuses.Aborted) {
|
|
9264
9269
|
this.waitingMobile = false;
|
|
9265
9270
|
this.infoTextTop = MobileRedirectValues.InfoAborted;
|
|
9266
|
-
Events.init(window);
|
|
9267
9271
|
Events.flowAborted();
|
|
9268
9272
|
}
|
|
9269
9273
|
}
|