@ekyc_qoobiss/qbs-ect-cmp 3.6.38 → 3.6.40

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.
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-8942656c.js";export{s as setNonce}from"./p-8942656c.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-054dc5b3",[[1,"loader-dots"]]],["p-d1d9feaf",[[0,"random-actions"]]],["p-3d28b272",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],phone_number:[1537],lang_iso:[1537],idSide:[32],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{captureStep:[32],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{showError:[32],captureStep:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{agreementsChecked:[32],termsChecked:[32],openAgreements:[32],openTerms:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{title:[32],description:[32],buttonDisabled:[32],demoVideo:[32]}],[0,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{warningText:[32],buttonDisabled:[32]}],[0,"mobile-redirect",{infoTextTop:[32],infoTextBottom:[32],contact:[32],invalidValue:[32],waitingMobile:[32],orderStatus:[32],redirectLink:[32],qrCode:[32],prefilledPhone:[32]}],[0,"sms-code-validation",{title:[32],details:[32],buttonText:[32],phoneNumber:[32],code:[32],prefilledPhone:[32],canSend:[32]}],[0,"id-back-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{agreementType:[1,"agreement-type"],htmlContent:[32],buttonEnabled:[32],scrollClass:[32]}],[0,"capture-error",{type:[1],buttonEnabled:[32],buttonText:[32]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32],buttonEnabled:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
1
+ import{p as e,b as t}from"./p-8942656c.js";export{s as setNonce}from"./p-8942656c.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-054dc5b3",[[1,"loader-dots"]]],["p-d1d9feaf",[[0,"random-actions"]]],["p-df2ea91b",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],phone_number:[1537],lang_iso:[1537],idSide:[32],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{captureStep:[32],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{showError:[32],captureStep:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{agreementsChecked:[32],termsChecked:[32],openAgreements:[32],openTerms:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{title:[32],description:[32],buttonDisabled:[32],demoVideo:[32]}],[0,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{warningText:[32],buttonDisabled:[32]}],[0,"mobile-redirect",{infoTextTop:[32],infoTextBottom:[32],contact:[32],invalidValue:[32],waitingMobile:[32],orderStatus:[32],redirectLink:[32],qrCode:[32],prefilledPhone:[32]}],[0,"sms-code-validation",{title:[32],details:[32],buttonText:[32],phoneNumber:[32],code:[32],prefilledPhone:[32],canSend:[32]}],[0,"id-back-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{agreementType:[1,"agreement-type"],htmlContent:[32],buttonEnabled:[32],scrollClass:[32]}],[0,"capture-error",{type:[1],buttonEnabled:[32],buttonText:[32]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32],buttonEnabled:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
@@ -1,6 +1,4 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { IDPose } from '../../../libs/IDML5Detector/IDPose';
3
- import { FacePose } from '../../../libs/FaceML5Detector/FacePose';
4
2
  export declare class Camera {
5
3
  component: HTMLElement;
6
4
  modelPath: string;
@@ -9,22 +7,17 @@ export declare class Camera {
9
7
  private cameraVideo;
10
8
  private cameraCanvas;
11
9
  eventVideoStarted: EventEmitter;
12
- eventCloseCamera: EventEmitter;
13
- errorCameraEvent: any;
14
10
  eventTakePhoto: EventEmitter;
15
11
  eventRecordingSelfieReady: EventEmitter;
16
12
  eventRecordingIdReady: EventEmitter;
17
13
  eventTimeElapsed: EventEmitter;
18
- eventChangeTitle: EventEmitter;
19
14
  verificationFinished: EventEmitter;
20
15
  componentDidLoad(): void;
21
16
  render(): any;
22
- callbackErrors: (error: Error, isError: boolean) => void;
23
17
  callbackAutoCapturing: () => void;
24
18
  callbackSelfieRecordingReady: (recording: Blob) => void;
25
19
  callbackIdRecordingReady: (recording: Blob) => void;
26
20
  callbackTimeElapsed: () => void;
27
- callbackChangeTitle: (message: FacePose | IDPose) => void;
28
21
  callbackVideoStarted: () => void;
29
22
  callbackVerificationFinished: () => void;
30
23
  startStream(): void;
@@ -20,6 +20,6 @@ export declare class UserLiveness {
20
20
  uploadPhoto(photoFile: File, photoType: string): Promise<void>;
21
21
  uploadRecording(uploadRec: File, recType: string): Promise<boolean>;
22
22
  private triggerErrorFlow;
23
- endFlow(): Promise<void>;
23
+ endFlow(): void;
24
24
  render(): any;
25
25
  }
@@ -295,9 +295,6 @@ declare namespace LocalJSX {
295
295
  interface CameraComp {
296
296
  "captureMode"?: string;
297
297
  "modelPath"?: string;
298
- "onChangeTitle"?: (event: CameraCompCustomEvent<any>) => void;
299
- "onCloseCamera"?: (event: CameraCompCustomEvent<any>) => void;
300
- "onErrorCamera"?: (event: CameraCompCustomEvent<any>) => void;
301
298
  "onRecordingIdCapture"?: (event: CameraCompCustomEvent<any>) => void;
302
299
  "onRecordingSelfieCapture"?: (event: CameraCompCustomEvent<any>) => void;
303
300
  "onTakePhoto"?: (event: CameraCompCustomEvent<any>) => void;
@@ -1,5 +1,4 @@
1
1
  import { FacePose } from '../libs/FaceML5Detector/FacePose';
2
- import { IDPose } from '../libs/IDML5Detector/IDPose';
3
2
  import { VerificationMode } from '../models/IVerificationMode';
4
3
  export declare class Stream {
5
4
  static mp4MimeType: {
@@ -28,18 +27,14 @@ export declare class Stream {
28
27
  private verificationMode;
29
28
  private readonly idML5Detector;
30
29
  private readonly faceML5Detector;
31
- private callbackErrors;
32
30
  private callbackAutoCapturing;
33
31
  private callbackRecordingReady;
34
32
  private callbackTimeElapsed;
35
33
  private verificationFinished;
36
- private callbackChangeTitle;
37
34
  private callbackVideoStarted;
38
35
  setFaceDetection(val: boolean): void;
39
36
  setIdDetection(val: boolean): void;
40
- setCallbackChangeTitle(fun: (pose: FacePose | IDPose) => void): void;
41
37
  setCallbackVideoStarted(fun: () => void): void;
42
- setCallbackErrors(fun: (error: Error, isError: boolean) => void): void;
43
38
  setCallbackAutoCapturing(fun: () => void): void;
44
39
  setCallbackRecordingReady(fun: (recording: Blob) => void): void;
45
40
  setCallbackTimeElapsed(fun: () => void): void;
@@ -50,11 +45,8 @@ export declare class Stream {
50
45
  timeElapsed(): void;
51
46
  verificationReady(): void;
52
47
  updateHtmlElements(videoElement: HTMLVideoElement, canvasElement: HTMLCanvasElement, component: HTMLElement): void;
53
- static orientationChange(): void;
54
48
  startStream(stream: MediaStream): void;
55
49
  initStream(stream: MediaStream): Promise<void>;
56
- pauseStream: () => void;
57
- resumeStream(): Promise<void>;
58
50
  private recordStream;
59
51
  private updateCanvasSize;
60
52
  private updateVideoSize;
@@ -65,7 +57,4 @@ export declare class Stream {
65
57
  startIdDetection(): Promise<void>;
66
58
  startFaceDetection(): Promise<void>;
67
59
  initFacePose(): void;
68
- requestFacePose(): FacePose;
69
- changeFacePose(): void;
70
- changeIDPose(pose: IDPose): void;
71
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekyc_qoobiss/qbs-ect-cmp",
3
- "version": "3.6.38",
3
+ "version": "3.6.40",
4
4
  "description": "Person Identification Component",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.js",