@ekyc_qoobiss/qbs-ect-cmp 2.0.3 → 2.0.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.
@@ -6113,6 +6113,11 @@ const IdentificationComponent = class {
6113
6113
  Events.init(window);
6114
6114
  state.apiBaseUrl = this.api_url;
6115
6115
  state.environment = this.env;
6116
+ this.logInit = {
6117
+ store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
6118
+ session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
6119
+ paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
6120
+ };
6116
6121
  if (this.token) {
6117
6122
  //console.log('Store Token set with property value: ' + this.token);
6118
6123
  state.token = this.token;
@@ -6179,11 +6184,7 @@ const IdentificationComponent = class {
6179
6184
  return;
6180
6185
  }
6181
6186
  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
- });
6187
+ this.apiCall.AddLog(this.logInit);
6187
6188
  }
6188
6189
  catch (_a) { }
6189
6190
  try {
@@ -113,6 +113,11 @@ export class IdentificationComponent {
113
113
  Events.init(window);
114
114
  store.apiBaseUrl = this.api_url;
115
115
  store.environment = this.env;
116
+ this.logInit = {
117
+ store_values: { request_id: store.requestId, redirect_id: store.redirectId, token: store.token },
118
+ session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
119
+ paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
120
+ };
116
121
  if (this.token) {
117
122
  //console.log('Store Token set with property value: ' + this.token);
118
123
  store.token = this.token;
@@ -179,11 +184,7 @@ export class IdentificationComponent {
179
184
  return;
180
185
  }
181
186
  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
- });
187
+ this.apiCall.AddLog(this.logInit);
187
188
  }
188
189
  catch (_a) { }
189
190
  try {
@@ -6109,6 +6109,11 @@ const IdentificationComponent = class {
6109
6109
  Events.init(window);
6110
6110
  state.apiBaseUrl = this.api_url;
6111
6111
  state.environment = this.env;
6112
+ this.logInit = {
6113
+ store_values: { request_id: state.requestId, redirect_id: state.redirectId, token: state.token },
6114
+ session_values: { request_id: sessionStorage.getItem(SessionKeys.RequestIdKey), token: sessionStorage.getItem(SessionKeys.TokenKey) },
6115
+ paramete_values: { request_id: this.order_id, redirect_id: this.redirect_id, token: this.token },
6116
+ };
6112
6117
  if (this.token) {
6113
6118
  //console.log('Store Token set with property value: ' + this.token);
6114
6119
  state.token = this.token;
@@ -6175,11 +6180,7 @@ const IdentificationComponent = class {
6175
6180
  return;
6176
6181
  }
6177
6182
  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
- });
6183
+ this.apiCall.AddLog(this.logInit);
6183
6184
  }
6184
6185
  catch (_a) { }
6185
6186
  try {