@ekyc_qoobiss/qbs-ect-cmp 1.2.4 → 1.2.6
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 -3
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +2 -2
- package/dist/collection/helpers/ApiCall.js +2 -1
- package/dist/esm/agreement-check_17.entry.js +4 -3
- package/dist/qbs-ect-cmp/{p-c060dec7.entry.js → p-b406e636.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/models/IAddRequest.d.ts +1 -0
- package/package.json +1 -1
|
@@ -447,6 +447,7 @@ class ApiCall {
|
|
|
447
447
|
state.hasIdBack = jsonResp.hasIdBack;
|
|
448
448
|
state.agreementsValidation = jsonResp.agreementsValidation;
|
|
449
449
|
state.phoneValidation = jsonResp.phoneValidation;
|
|
450
|
+
state.phoneNumber = jsonResp.phoneNumber;
|
|
450
451
|
return true;
|
|
451
452
|
}
|
|
452
453
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -478,7 +479,7 @@ class ApiCall {
|
|
|
478
479
|
return OrderStatuses[resp.status];
|
|
479
480
|
}
|
|
480
481
|
async SendLink(link, phoneNumber) {
|
|
481
|
-
let data = { link: link, phoneNumber: phoneNumber };
|
|
482
|
+
let data = { requestId: state.requestId, link: link, phoneNumber: phoneNumber };
|
|
482
483
|
let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
|
|
483
484
|
return resp.sent;
|
|
484
485
|
}
|
|
@@ -9163,8 +9164,8 @@ const MobileRedirect = class {
|
|
|
9163
9164
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9164
9165
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9165
9166
|
let envUri = state.environment == 'PROD' ? 'ect' : 'test';
|
|
9166
|
-
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/
|
|
9167
|
-
this.redirectLink = baseUri + envUri + '?redirectId=' + state.redirectId;
|
|
9167
|
+
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9168
|
+
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9168
9169
|
if (state.phoneNumber != '') {
|
|
9169
9170
|
this.contact = state.phoneNumber;
|
|
9170
9171
|
this.prefilledPhone = true;
|
|
@@ -25,8 +25,8 @@ export class MobileRedirect {
|
|
|
25
25
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
26
26
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
27
27
|
let envUri = store.environment == 'PROD' ? 'ect' : 'test';
|
|
28
|
-
let baseUri = store.hasIdBack ? 'https://onmd.id-kyc.com/
|
|
29
|
-
this.redirectLink = baseUri + envUri + '?redirectId=' + store.redirectId;
|
|
28
|
+
let baseUri = store.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
29
|
+
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + store.redirectId;
|
|
30
30
|
if (store.phoneNumber != '') {
|
|
31
31
|
this.contact = store.phoneNumber;
|
|
32
32
|
this.prefilledPhone = true;
|
|
@@ -68,6 +68,7 @@ export class ApiCall {
|
|
|
68
68
|
store.hasIdBack = jsonResp.hasIdBack;
|
|
69
69
|
store.agreementsValidation = jsonResp.agreementsValidation;
|
|
70
70
|
store.phoneValidation = jsonResp.phoneValidation;
|
|
71
|
+
store.phoneNumber = jsonResp.phoneNumber;
|
|
71
72
|
return true;
|
|
72
73
|
}
|
|
73
74
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -99,7 +100,7 @@ export class ApiCall {
|
|
|
99
100
|
return OrderStatuses[resp.status];
|
|
100
101
|
}
|
|
101
102
|
async SendLink(link, phoneNumber) {
|
|
102
|
-
let data = { link: link, phoneNumber: phoneNumber };
|
|
103
|
+
let data = { requestId: store.requestId, link: link, phoneNumber: phoneNumber };
|
|
103
104
|
let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
|
|
104
105
|
return resp.sent;
|
|
105
106
|
}
|
|
@@ -443,6 +443,7 @@ class ApiCall {
|
|
|
443
443
|
state.hasIdBack = jsonResp.hasIdBack;
|
|
444
444
|
state.agreementsValidation = jsonResp.agreementsValidation;
|
|
445
445
|
state.phoneValidation = jsonResp.phoneValidation;
|
|
446
|
+
state.phoneNumber = jsonResp.phoneNumber;
|
|
446
447
|
return true;
|
|
447
448
|
}
|
|
448
449
|
async UploadFileForRequestB64(requestId, type, file) {
|
|
@@ -474,7 +475,7 @@ class ApiCall {
|
|
|
474
475
|
return OrderStatuses[resp.status];
|
|
475
476
|
}
|
|
476
477
|
async SendLink(link, phoneNumber) {
|
|
477
|
-
let data = { link: link, phoneNumber: phoneNumber };
|
|
478
|
+
let data = { requestId: state.requestId, link: link, phoneNumber: phoneNumber };
|
|
478
479
|
let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
|
|
479
480
|
return resp.sent;
|
|
480
481
|
}
|
|
@@ -9159,8 +9160,8 @@ const MobileRedirect = class {
|
|
|
9159
9160
|
this.infoTextTop = MobileRedirectValues.InfoTop;
|
|
9160
9161
|
this.infoTextBottom = MobileRedirectValues.InfoBottom;
|
|
9161
9162
|
let envUri = state.environment == 'PROD' ? 'ect' : 'test';
|
|
9162
|
-
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/
|
|
9163
|
-
this.redirectLink = baseUri + envUri + '?redirectId=' + state.redirectId;
|
|
9163
|
+
let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
|
|
9164
|
+
this.redirectLink = baseUri + envUri + '/identification?redirectId=' + state.redirectId;
|
|
9164
9165
|
if (state.phoneNumber != '') {
|
|
9165
9166
|
this.contact = state.phoneNumber;
|
|
9166
9167
|
this.prefilledPhone = true;
|