@ekyc_qoobiss/qbs-ect-cmp 3.6.33 → 3.6.34

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.
@@ -5541,7 +5541,7 @@ function v4(options, buf, offset) {
5541
5541
  }
5542
5542
 
5543
5543
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5544
- const version$1 = "3.6.33";
5544
+ const version$1 = "3.6.34";
5545
5545
  const description = "Person Identification Component";
5546
5546
  const main = "./dist/index.cjs.js";
5547
5547
  const module$1 = "./dist/index.js";
@@ -9353,7 +9353,7 @@ const SelfieTilt = class {
9353
9353
  async componentDidLoad() {
9354
9354
  this.mainStream = Stream.getInstance(VerificationMode.Tilt);
9355
9355
  await this.baseComponent.logStep(TranslationUtils.FlowSteps.SelfieTilt, TranslationUtils.FlowMoments.Initialized);
9356
- this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[Object.values(FacePose).indexOf(this.mainStream.facePose)];
9356
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
9357
9357
  this.demoEnded = false;
9358
9358
  this.demoVideo.src = TranslationUtils.SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
9359
9359
  this.demoVideo.play();
@@ -8,7 +8,6 @@ import store from '../../../helpers/store';
8
8
  import { BaseComponent } from '../../base-component';
9
9
  import { FlowMoments, FlowSteps } from '../../../models/FlowSteps';
10
10
  import { VerificationMode } from '../../../models/IVerificationMode';
11
- import { FacePose } from '../../../libs/FaceML5Detector/FacePose';
12
11
  import { Translations } from '../../../helpers/TranslationUtils';
13
12
  export class SelfieTilt {
14
13
  // @State() private animationPath: string;
@@ -51,7 +50,7 @@ export class SelfieTilt {
51
50
  async componentDidLoad() {
52
51
  this.mainStream = Stream.getInstance(VerificationMode.Tilt);
53
52
  await this.baseComponent.logStep(FlowSteps.SelfieTilt, FlowMoments.Initialized);
54
- this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[Object.values(FacePose).indexOf(this.mainStream.facePose)];
53
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
55
54
  this.demoEnded = false;
56
55
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
57
56
  this.demoVideo.play();
@@ -5537,7 +5537,7 @@ function v4(options, buf, offset) {
5537
5537
  }
5538
5538
 
5539
5539
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5540
- const version$1 = "3.6.33";
5540
+ const version$1 = "3.6.34";
5541
5541
  const description = "Person Identification Component";
5542
5542
  const main = "./dist/index.cjs.js";
5543
5543
  const module = "./dist/index.js";
@@ -9349,7 +9349,7 @@ const SelfieTilt = class {
9349
9349
  async componentDidLoad() {
9350
9350
  this.mainStream = Stream.getInstance(VerificationMode.Tilt);
9351
9351
  await this.baseComponent.logStep(FlowSteps.SelfieTilt, FlowMoments.Initialized);
9352
- this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[Object.values(FacePose).indexOf(this.mainStream.facePose)];
9352
+ this.titleMesage = this.translations.SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
9353
9353
  this.demoEnded = false;
9354
9354
  this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
9355
9355
  this.demoVideo.play();