@ekyc_qoobiss/qbs-ect-cmp 1.2.2 → 1.2.4

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.
@@ -438,6 +438,7 @@ class ApiCall {
438
438
  requestId: state.requestId,
439
439
  clientDeviceInfo: JSON.stringify(deviceInfo),
440
440
  redirectId: state.redirectId,
441
+ phoneNumber: state.phoneNumber,
441
442
  };
442
443
  let jsonResp = await this.post(this.urls.IdentityInsert, JSON.stringify(data));
443
444
  if (state.requestId == '') {
@@ -9162,7 +9163,7 @@ const MobileRedirect = class {
9162
9163
  this.infoTextTop = MobileRedirectValues.InfoTop;
9163
9164
  this.infoTextBottom = MobileRedirectValues.InfoBottom;
9164
9165
  let envUri = state.environment == 'PROD' ? 'ect' : 'test';
9165
- let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
9166
+ let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/identification' : 'https://onro.id-kyc.com/identification';
9166
9167
  this.redirectLink = baseUri + envUri + '?redirectId=' + state.redirectId;
9167
9168
  if (state.phoneNumber != '') {
9168
9169
  this.contact = state.phoneNumber;
@@ -9221,7 +9222,7 @@ const MobileRedirect = class {
9221
9222
  ev.target.value = this.contact;
9222
9223
  }
9223
9224
  render() {
9224
- return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { hidden: this.waitingMobile }, index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextTop)), index.h("div", { class: "qr-canvas align-center" }, index.h("img", { src: this.qrCode })), index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextBottom)), index.h("div", { class: "input-container mb-15" }, index.h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, index.h("b", null, MobileRedirectValues.Validation)), index.h("input", { type: "text", id: "codeInput", class: "main-input", hidden: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), index.h("div", { class: "pos-relative" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), index.h("div", { hidden: this.waitingMobile == false }, index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextTop))))));
9225
+ return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { hidden: this.waitingMobile }, index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextTop)), index.h("div", { class: "qr-canvas align-center" }, index.h("img", { src: this.qrCode })), index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextBottom)), index.h("div", { class: "input-container mb-15" }, index.h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, index.h("b", null, MobileRedirectValues.Validation)), index.h("input", { type: "text", id: "codeInput", class: "main-input", disabled: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), index.h("div", { class: "pos-relative" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), index.h("div", { hidden: this.waitingMobile == false }, index.h("div", { class: "text-center" }, index.h("p", { class: "font-size-2" }, this.infoTextTop))))));
9225
9226
  }
9226
9227
  };
9227
9228
  MobileRedirect.style = mobileRedirectCss;
@@ -25,7 +25,7 @@ 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/' : 'https://onro.id-kyc.com/';
28
+ let baseUri = store.hasIdBack ? 'https://onmd.id-kyc.com/identification' : 'https://onro.id-kyc.com/identification';
29
29
  this.redirectLink = baseUri + envUri + '?redirectId=' + store.redirectId;
30
30
  if (store.phoneNumber != '') {
31
31
  this.contact = store.phoneNumber;
@@ -85,7 +85,7 @@ export class MobileRedirect {
85
85
  ev.target.value = this.contact;
86
86
  }
87
87
  render() {
88
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", hidden: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
88
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", disabled: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
89
89
  }
90
90
  static get is() { return "mobile-redirect"; }
91
91
  static get originalStyleUrls() {
@@ -59,6 +59,7 @@ export class ApiCall {
59
59
  requestId: store.requestId,
60
60
  clientDeviceInfo: JSON.stringify(deviceInfo),
61
61
  redirectId: store.redirectId,
62
+ phoneNumber: store.phoneNumber,
62
63
  };
63
64
  let jsonResp = await this.post(this.urls.IdentityInsert, JSON.stringify(data));
64
65
  if (store.requestId == '') {
@@ -434,6 +434,7 @@ class ApiCall {
434
434
  requestId: state.requestId,
435
435
  clientDeviceInfo: JSON.stringify(deviceInfo),
436
436
  redirectId: state.redirectId,
437
+ phoneNumber: state.phoneNumber,
437
438
  };
438
439
  let jsonResp = await this.post(this.urls.IdentityInsert, JSON.stringify(data));
439
440
  if (state.requestId == '') {
@@ -9158,7 +9159,7 @@ const MobileRedirect = class {
9158
9159
  this.infoTextTop = MobileRedirectValues.InfoTop;
9159
9160
  this.infoTextBottom = MobileRedirectValues.InfoBottom;
9160
9161
  let envUri = state.environment == 'PROD' ? 'ect' : 'test';
9161
- let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
9162
+ let baseUri = state.hasIdBack ? 'https://onmd.id-kyc.com/identification' : 'https://onro.id-kyc.com/identification';
9162
9163
  this.redirectLink = baseUri + envUri + '?redirectId=' + state.redirectId;
9163
9164
  if (state.phoneNumber != '') {
9164
9165
  this.contact = state.phoneNumber;
@@ -9217,7 +9218,7 @@ const MobileRedirect = class {
9217
9218
  ev.target.value = this.contact;
9218
9219
  }
9219
9220
  render() {
9220
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", hidden: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
9221
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", disabled: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
9221
9222
  }
9222
9223
  };
9223
9224
  MobileRedirect.style = mobileRedirectCss;