@ekyc_qoobiss/qbs-ect-cmp 3.6.67 → 3.6.68

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.
@@ -5208,7 +5208,7 @@ function v4(options, buf, offset) {
5208
5208
  }
5209
5209
 
5210
5210
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5211
- const version$1 = "3.6.67";
5211
+ const version$1 = "3.6.68";
5212
5212
  const description = "Person Identification Component";
5213
5213
  const main = "./dist/index.cjs.js";
5214
5214
  const module$1 = "./dist/index.js";
@@ -8859,7 +8859,6 @@ const SelfieCapture = class {
8859
8859
  }
8860
8860
  async componentWillLoad() {
8861
8861
  this.translations = await TranslationUtils.Translations.getValues();
8862
- this.titleMesage = this.translations.SelfieCaptureValues.Title;
8863
8862
  //this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
8864
8863
  if (!navigator.mediaDevices) {
8865
8864
  this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
@@ -8870,12 +8869,14 @@ const SelfieCapture = class {
8870
8869
  this.verificationMode = VerificationMode.Full;
8871
8870
  this.currentStep = TranslationUtils.FlowSteps.SelfieCapture;
8872
8871
  this.mainStream = Stream.getNewInstance(this.verificationMode);
8872
+ this.titleMesage = this.translations.SelfieCaptureValues.Title;
8873
8873
  this.demoVideo.src = TranslationUtils.SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
8874
8874
  }
8875
8875
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTURE) {
8876
8876
  this.verificationMode = VerificationMode.Tilt;
8877
8877
  this.currentStep = TranslationUtils.FlowSteps.SelfieTilt;
8878
8878
  this.mainStream = Stream.getNewInstance(this.verificationMode);
8879
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
8879
8880
  this.demoVideo.src = TranslationUtils.SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
8880
8881
  }
8881
8882
  this.demoVideo.play();
@@ -34,7 +34,6 @@ export class SelfieCapture {
34
34
  }
35
35
  async componentWillLoad() {
36
36
  this.translations = await Translations.getValues();
37
- this.titleMesage = this.translations.SelfieCaptureValues.Title;
38
37
  //this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
39
38
  if (!navigator.mediaDevices) {
40
39
  this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
@@ -45,12 +44,14 @@ export class SelfieCapture {
45
44
  this.verificationMode = VerificationMode.Full;
46
45
  this.currentStep = FlowSteps.SelfieCapture;
47
46
  this.mainStream = Stream.getNewInstance(this.verificationMode);
47
+ this.titleMesage = this.translations.SelfieCaptureValues.Title;
48
48
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
49
49
  }
50
50
  else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
51
51
  this.verificationMode = VerificationMode.Tilt;
52
52
  this.currentStep = FlowSteps.SelfieTilt;
53
53
  this.mainStream = Stream.getNewInstance(this.verificationMode);
54
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
54
55
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
55
56
  }
56
57
  this.demoVideo.play();
@@ -5204,7 +5204,7 @@ function v4(options, buf, offset) {
5204
5204
  }
5205
5205
 
5206
5206
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5207
- const version$1 = "3.6.67";
5207
+ const version$1 = "3.6.68";
5208
5208
  const description = "Person Identification Component";
5209
5209
  const main = "./dist/index.cjs.js";
5210
5210
  const module = "./dist/index.js";
@@ -8855,7 +8855,6 @@ const SelfieCapture = class {
8855
8855
  }
8856
8856
  async componentWillLoad() {
8857
8857
  this.translations = await Translations.getValues();
8858
- this.titleMesage = this.translations.SelfieCaptureValues.Title;
8859
8858
  //this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
8860
8859
  if (!navigator.mediaDevices) {
8861
8860
  this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
@@ -8866,12 +8865,14 @@ const SelfieCapture = class {
8866
8865
  this.verificationMode = VerificationMode.Full;
8867
8866
  this.currentStep = FlowSteps.SelfieCapture;
8868
8867
  this.mainStream = Stream.getNewInstance(this.verificationMode);
8868
+ this.titleMesage = this.translations.SelfieCaptureValues.Title;
8869
8869
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
8870
8870
  }
8871
8871
  else if (state.flowStatus == FlowStatus.LIVENESSGESTURE) {
8872
8872
  this.verificationMode = VerificationMode.Tilt;
8873
8873
  this.currentStep = FlowSteps.SelfieTilt;
8874
8874
  this.mainStream = Stream.getNewInstance(this.verificationMode);
8875
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
8875
8876
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
8876
8877
  }
8877
8878
  this.demoVideo.play();