@ekyc_qoobiss/qbs-ect-cmp 1.2.12 → 1.2.14

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,7 +438,7 @@ class ApiCall {
438
438
  return jsonResp.valid;
439
439
  }
440
440
  async AddIdentificationRequest(deviceInfo) {
441
- console.log('Calling identity request with store:' + JSON.stringify(state));
441
+ //console.log('Calling identity request with store:' + JSON.stringify(store));
442
442
  let data = {
443
443
  requestId: state.requestId,
444
444
  clientDeviceInfo: JSON.stringify(deviceInfo),
@@ -5329,8 +5329,8 @@ class Cameras {
5329
5329
  let constraints = {
5330
5330
  audio: false,
5331
5331
  video: {
5332
- frameRate: 30
5333
- }
5332
+ frameRate: 30,
5333
+ },
5334
5334
  };
5335
5335
  if (selectedDeviceId) {
5336
5336
  constraints.video.deviceId = {
@@ -6008,7 +6008,7 @@ const identificationComponentCss = "@font-face{font-family:'Inter';font-style:no
6008
6008
 
6009
6009
  const IdentificationComponent = class {
6010
6010
  async onTokenChange(newValue, _oldValue) {
6011
- console.log('Token change called with value: ' + newValue);
6011
+ //console.log('Token change called with value: ' + newValue);
6012
6012
  if (newValue == '') {
6013
6013
  newValue = state.token;
6014
6014
  return;
@@ -6019,7 +6019,7 @@ const IdentificationComponent = class {
6019
6019
  }
6020
6020
  }
6021
6021
  async onOrderIdChange(newValue, _oldValue) {
6022
- console.log('OrderId change called with value: ' + newValue);
6022
+ //console.log('OrderId change called with value: ' + newValue);
6023
6023
  if (state.requestId !== newValue && newValue != '') {
6024
6024
  state.requestId = newValue;
6025
6025
  state.initialised = false;
@@ -6048,7 +6048,7 @@ const IdentificationComponent = class {
6048
6048
  }
6049
6049
  }
6050
6050
  async onRedirectIdChange(newValue, _oldValue) {
6051
- console.log('RedirectId change called with value: ' + newValue);
6051
+ //console.log('RedirectId change called with value: ' + newValue);
6052
6052
  if (state.redirectId != '') {
6053
6053
  newValue = state.redirectId;
6054
6054
  return;
@@ -6114,13 +6114,13 @@ const IdentificationComponent = class {
6114
6114
  state.apiBaseUrl = this.api_url;
6115
6115
  state.environment = this.env;
6116
6116
  if (this.token) {
6117
- console.log('Store Token set with property value: ' + this.token);
6117
+ //console.log('Store Token set with property value: ' + this.token);
6118
6118
  state.token = this.token;
6119
6119
  }
6120
6120
  else if (state.token == '') {
6121
6121
  state.token = sessionStorage.getItem(SessionKeys.TokenKey);
6122
6122
  this.token = state.token;
6123
- console.log('Store Token set with session value: ' + state.token);
6123
+ //console.log('Store Token set with session value: ' + store.token);
6124
6124
  }
6125
6125
  if (this.redirect_id) {
6126
6126
  state.redirectId = this.redirect_id;
@@ -6153,16 +6153,16 @@ const IdentificationComponent = class {
6153
6153
  }
6154
6154
  const savedRequest = sessionStorage.getItem(SessionKeys.RequestIdKey);
6155
6155
  if (this.order_id && this.order_id != '') {
6156
- console.log('Current RequestId has value: ' + this.order_id);
6156
+ //console.log('Current RequestId has value: ' + this.order_id);
6157
6157
  if (savedRequest && savedRequest != '' && savedRequest != this.order_id) {
6158
- console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
6158
+ //console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
6159
6159
  state.flowStatus = FlowStatus.LANDING;
6160
6160
  state.initialised = false;
6161
6161
  }
6162
6162
  state.requestId = this.order_id;
6163
6163
  }
6164
6164
  else if (savedRequest) {
6165
- console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
6165
+ //console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
6166
6166
  state.requestId = savedRequest;
6167
6167
  this.order_id = savedRequest;
6168
6168
  }
@@ -9,7 +9,7 @@ import Events from '../../helpers/Events';
9
9
  import * as uuid from 'uuid';
10
10
  export class IdentificationComponent {
11
11
  async onTokenChange(newValue, _oldValue) {
12
- console.log('Token change called with value: ' + newValue);
12
+ //console.log('Token change called with value: ' + newValue);
13
13
  if (newValue == '') {
14
14
  newValue = store.token;
15
15
  return;
@@ -20,7 +20,7 @@ export class IdentificationComponent {
20
20
  }
21
21
  }
22
22
  async onOrderIdChange(newValue, _oldValue) {
23
- console.log('OrderId change called with value: ' + newValue);
23
+ //console.log('OrderId change called with value: ' + newValue);
24
24
  if (store.requestId !== newValue && newValue != '') {
25
25
  store.requestId = newValue;
26
26
  store.initialised = false;
@@ -49,7 +49,7 @@ export class IdentificationComponent {
49
49
  }
50
50
  }
51
51
  async onRedirectIdChange(newValue, _oldValue) {
52
- console.log('RedirectId change called with value: ' + newValue);
52
+ //console.log('RedirectId change called with value: ' + newValue);
53
53
  if (store.redirectId != '') {
54
54
  newValue = store.redirectId;
55
55
  return;
@@ -114,13 +114,13 @@ export class IdentificationComponent {
114
114
  store.apiBaseUrl = this.api_url;
115
115
  store.environment = this.env;
116
116
  if (this.token) {
117
- console.log('Store Token set with property value: ' + this.token);
117
+ //console.log('Store Token set with property value: ' + this.token);
118
118
  store.token = this.token;
119
119
  }
120
120
  else if (store.token == '') {
121
121
  store.token = sessionStorage.getItem(SessionKeys.TokenKey);
122
122
  this.token = store.token;
123
- console.log('Store Token set with session value: ' + store.token);
123
+ //console.log('Store Token set with session value: ' + store.token);
124
124
  }
125
125
  if (this.redirect_id) {
126
126
  store.redirectId = this.redirect_id;
@@ -153,16 +153,16 @@ export class IdentificationComponent {
153
153
  }
154
154
  const savedRequest = sessionStorage.getItem(SessionKeys.RequestIdKey);
155
155
  if (this.order_id && this.order_id != '') {
156
- console.log('Current RequestId has value: ' + this.order_id);
156
+ //console.log('Current RequestId has value: ' + this.order_id);
157
157
  if (savedRequest && savedRequest != '' && savedRequest != this.order_id) {
158
- console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
158
+ //console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
159
159
  store.flowStatus = FlowStatus.LANDING;
160
160
  store.initialised = false;
161
161
  }
162
162
  store.requestId = this.order_id;
163
163
  }
164
164
  else if (savedRequest) {
165
- console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
165
+ //console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
166
166
  store.requestId = savedRequest;
167
167
  this.order_id = savedRequest;
168
168
  }
@@ -55,7 +55,7 @@ export class ApiCall {
55
55
  return jsonResp.valid;
56
56
  }
57
57
  async AddIdentificationRequest(deviceInfo) {
58
- console.log('Calling identity request with store:' + JSON.stringify(store));
58
+ //console.log('Calling identity request with store:' + JSON.stringify(store));
59
59
  let data = {
60
60
  requestId: store.requestId,
61
61
  clientDeviceInfo: JSON.stringify(deviceInfo),
@@ -61,8 +61,8 @@ export class Cameras {
61
61
  let constraints = {
62
62
  audio: false,
63
63
  video: {
64
- frameRate: 30
65
- }
64
+ frameRate: 30,
65
+ },
66
66
  };
67
67
  if (selectedDeviceId) {
68
68
  constraints.video.deviceId = {
@@ -434,7 +434,7 @@ class ApiCall {
434
434
  return jsonResp.valid;
435
435
  }
436
436
  async AddIdentificationRequest(deviceInfo) {
437
- console.log('Calling identity request with store:' + JSON.stringify(state));
437
+ //console.log('Calling identity request with store:' + JSON.stringify(store));
438
438
  let data = {
439
439
  requestId: state.requestId,
440
440
  clientDeviceInfo: JSON.stringify(deviceInfo),
@@ -5325,8 +5325,8 @@ class Cameras {
5325
5325
  let constraints = {
5326
5326
  audio: false,
5327
5327
  video: {
5328
- frameRate: 30
5329
- }
5328
+ frameRate: 30,
5329
+ },
5330
5330
  };
5331
5331
  if (selectedDeviceId) {
5332
5332
  constraints.video.deviceId = {
@@ -6004,7 +6004,7 @@ const identificationComponentCss = "@font-face{font-family:'Inter';font-style:no
6004
6004
 
6005
6005
  const IdentificationComponent = class {
6006
6006
  async onTokenChange(newValue, _oldValue) {
6007
- console.log('Token change called with value: ' + newValue);
6007
+ //console.log('Token change called with value: ' + newValue);
6008
6008
  if (newValue == '') {
6009
6009
  newValue = state.token;
6010
6010
  return;
@@ -6015,7 +6015,7 @@ const IdentificationComponent = class {
6015
6015
  }
6016
6016
  }
6017
6017
  async onOrderIdChange(newValue, _oldValue) {
6018
- console.log('OrderId change called with value: ' + newValue);
6018
+ //console.log('OrderId change called with value: ' + newValue);
6019
6019
  if (state.requestId !== newValue && newValue != '') {
6020
6020
  state.requestId = newValue;
6021
6021
  state.initialised = false;
@@ -6044,7 +6044,7 @@ const IdentificationComponent = class {
6044
6044
  }
6045
6045
  }
6046
6046
  async onRedirectIdChange(newValue, _oldValue) {
6047
- console.log('RedirectId change called with value: ' + newValue);
6047
+ //console.log('RedirectId change called with value: ' + newValue);
6048
6048
  if (state.redirectId != '') {
6049
6049
  newValue = state.redirectId;
6050
6050
  return;
@@ -6110,13 +6110,13 @@ const IdentificationComponent = class {
6110
6110
  state.apiBaseUrl = this.api_url;
6111
6111
  state.environment = this.env;
6112
6112
  if (this.token) {
6113
- console.log('Store Token set with property value: ' + this.token);
6113
+ //console.log('Store Token set with property value: ' + this.token);
6114
6114
  state.token = this.token;
6115
6115
  }
6116
6116
  else if (state.token == '') {
6117
6117
  state.token = sessionStorage.getItem(SessionKeys.TokenKey);
6118
6118
  this.token = state.token;
6119
- console.log('Store Token set with session value: ' + state.token);
6119
+ //console.log('Store Token set with session value: ' + store.token);
6120
6120
  }
6121
6121
  if (this.redirect_id) {
6122
6122
  state.redirectId = this.redirect_id;
@@ -6149,16 +6149,16 @@ const IdentificationComponent = class {
6149
6149
  }
6150
6150
  const savedRequest = sessionStorage.getItem(SessionKeys.RequestIdKey);
6151
6151
  if (this.order_id && this.order_id != '') {
6152
- console.log('Current RequestId has value: ' + this.order_id);
6152
+ //console.log('Current RequestId has value: ' + this.order_id);
6153
6153
  if (savedRequest && savedRequest != '' && savedRequest != this.order_id) {
6154
- console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
6154
+ //console.log('Session RequestId: ' + savedRequest + ' has different value than property one: ' + this.order_id);
6155
6155
  state.flowStatus = FlowStatus.LANDING;
6156
6156
  state.initialised = false;
6157
6157
  }
6158
6158
  state.requestId = this.order_id;
6159
6159
  }
6160
6160
  else if (savedRequest) {
6161
- console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
6161
+ //console.log('Current RequestId has no value, setting with session value: ' + savedRequest);
6162
6162
  state.requestId = savedRequest;
6163
6163
  this.order_id = savedRequest;
6164
6164
  }