@ekyc_qoobiss/qbs-ect-cmp 2.0.3 → 2.0.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.
- package/dist/cjs/agreement-check_17.cjs.entry.js +10 -7
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +1 -1
- package/dist/collection/components/identification-component/identification-component.js +9 -6
- package/dist/esm/agreement-check_17.entry.js +10 -7
- package/dist/qbs-ect-cmp/{p-0a428cbf.entry.js → p-09515039.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/identification-component/identification-component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6112,7 +6112,14 @@ const IdentificationComponent = class {
|
|
|
6112
6112
|
async componentWillLoad() {
|
|
6113
6113
|
Events.init(window);
|
|
6114
6114
|
state.apiBaseUrl = this.api_url;
|
|
6115
|
-
|
|
6115
|
+
if (this.env && this.env != '') {
|
|
6116
|
+
state.environment = this.env;
|
|
6117
|
+
}
|
|
6118
|
+
this.logInit = {
|
|
6119
|
+
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6120
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6121
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6122
|
+
};
|
|
6116
6123
|
if (this.token) {
|
|
6117
6124
|
//console.log('Store Token set with property value: ' + this.token);
|
|
6118
6125
|
state.token = this.token;
|
|
@@ -6179,11 +6186,7 @@ const IdentificationComponent = class {
|
|
|
6179
6186
|
return;
|
|
6180
6187
|
}
|
|
6181
6188
|
try {
|
|
6182
|
-
this.apiCall.AddLog(
|
|
6183
|
-
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6184
|
-
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6185
|
-
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6186
|
-
});
|
|
6189
|
+
this.apiCall.AddLog(this.logInit);
|
|
6187
6190
|
}
|
|
6188
6191
|
catch (_a) { }
|
|
6189
6192
|
try {
|
|
@@ -9211,7 +9214,7 @@ const MobileRedirect = class {
|
|
|
9211
9214
|
async componentWillLoad() {
|
|
9212
9215
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9213
9216
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9214
|
-
let envUri = state.environment == '
|
|
9217
|
+
let envUri = state.environment == 'QA' ? 'test' : 'ect';
|
|
9215
9218
|
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9216
9219
|
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9217
9220
|
if (state.phoneNumber && state.phoneNumber != '') {
|
|
@@ -25,7 +25,7 @@ export class MobileRedirect {
|
|
|
25
25
|
async componentWillLoad() {
|
|
26
26
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
27
27
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
28
|
-
let envUri = store.environment == '
|
|
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
30
|
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + store.redirectId;
|
|
31
31
|
if (store.phoneNumber && store.phoneNumber != '') {
|
|
@@ -112,7 +112,14 @@ export class IdentificationComponent {
|
|
|
112
112
|
async componentWillLoad() {
|
|
113
113
|
Events.init(window);
|
|
114
114
|
store.apiBaseUrl = this.api_url;
|
|
115
|
-
|
|
115
|
+
if (this.env && this.env != '') {
|
|
116
|
+
store.environment = this.env;
|
|
117
|
+
}
|
|
118
|
+
this.logInit = {
|
|
119
|
+
store_values: { request_id: store.requestId, redirect_id: store.redirectId, token: store.token },
|
|
120
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
121
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
122
|
+
};
|
|
116
123
|
if (this.token) {
|
|
117
124
|
//console.log('Store Token set with property value: ' + this.token);
|
|
118
125
|
store.token = this.token;
|
|
@@ -179,11 +186,7 @@ export class IdentificationComponent {
|
|
|
179
186
|
return;
|
|
180
187
|
}
|
|
181
188
|
try {
|
|
182
|
-
this.apiCall.AddLog(
|
|
183
|
-
store_values: { request_id: store.requestId, redirect_id: store.redirectId, token: store.token },
|
|
184
|
-
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
185
|
-
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
186
|
-
});
|
|
189
|
+
this.apiCall.AddLog(this.logInit);
|
|
187
190
|
}
|
|
188
191
|
catch (_a) { }
|
|
189
192
|
try {
|
|
@@ -6108,7 +6108,14 @@ const IdentificationComponent = class {
|
|
|
6108
6108
|
async componentWillLoad() {
|
|
6109
6109
|
Events.init(window);
|
|
6110
6110
|
state.apiBaseUrl = this.api_url;
|
|
6111
|
-
|
|
6111
|
+
if (this.env && this.env != '') {
|
|
6112
|
+
state.environment = this.env;
|
|
6113
|
+
}
|
|
6114
|
+
this.logInit = {
|
|
6115
|
+
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6116
|
+
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6117
|
+
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6118
|
+
};
|
|
6112
6119
|
if (this.token) {
|
|
6113
6120
|
//console.log('Store Token set with property value: ' + this.token);
|
|
6114
6121
|
state.token = this.token;
|
|
@@ -6175,11 +6182,7 @@ const IdentificationComponent = class {
|
|
|
6175
6182
|
return;
|
|
6176
6183
|
}
|
|
6177
6184
|
try {
|
|
6178
|
-
this.apiCall.AddLog(
|
|
6179
|
-
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6180
|
-
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
6181
|
-
paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
|
|
6182
|
-
});
|
|
6185
|
+
this.apiCall.AddLog(this.logInit);
|
|
6183
6186
|
}
|
|
6184
6187
|
catch (_a) { }
|
|
6185
6188
|
try {
|
|
@@ -9207,7 +9210,7 @@ const MobileRedirect = class {
|
|
|
9207
9210
|
async componentWillLoad() {
|
|
9208
9211
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9209
9212
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9210
|
-
let envUri = state.environment == '
|
|
9213
|
+
let envUri = state.environment == 'QA' ? 'test' : 'ect';
|
|
9211
9214
|
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9212
9215
|
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9213
9216
|
if (state.phoneNumber && state.phoneNumber != '') {
|