@ekyc_qoobiss/qbs-ect-cmp 2.0.4 → 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 +4 -2
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +1 -1
- package/dist/collection/components/identification-component/identification-component.js +3 -1
- package/dist/esm/agreement-check_17.entry.js +4 -2
- package/dist/qbs-ect-cmp/{p-63356af3.entry.js → p-09515039.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -6112,7 +6112,9 @@ 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
|
+
}
|
|
6116
6118
|
this.logInit = {
|
|
6117
6119
|
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6118
6120
|
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
@@ -9212,7 +9214,7 @@ const MobileRedirect = class {
|
|
|
9212
9214
|
async componentWillLoad() {
|
|
9213
9215
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9214
9216
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9215
|
-
let envUri = state.environment == '
|
|
9217
|
+
let envUri = state.environment == 'QA' ? 'test' : 'ect';
|
|
9216
9218
|
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9217
9219
|
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9218
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,9 @@ 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
|
+
}
|
|
116
118
|
this.logInit = {
|
|
117
119
|
store_values: { request_id: store.requestId, redirect_id: store.redirectId, token: store.token },
|
|
118
120
|
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
@@ -6108,7 +6108,9 @@ 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
|
+
}
|
|
6112
6114
|
this.logInit = {
|
|
6113
6115
|
store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
|
|
6114
6116
|
session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
|
|
@@ -9208,7 +9210,7 @@ const MobileRedirect = class {
|
|
|
9208
9210
|
async componentWillLoad() {
|
|
9209
9211
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9210
9212
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9211
|
-
let envUri = state.environment == '
|
|
9213
|
+
let envUri = state.environment == 'QA' ? 'test' : 'ect';
|
|
9212
9214
|
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9213
9215
|
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9214
9216
|
if (state.phoneNumber && state.phoneNumber != '') {
|