@ekyc_qoobiss/qbs-ect-cmp 3.6.83 → 3.6.84

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-952ea10c",[[0,"random-actions"]]],["p-4b40acc5",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],phone_number:[1537],lang_iso:[1537],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{mode:[1],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{mode:[1],showError:[32],showTimeout:[32],flow:[32]},[[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],buttonDisabled:[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,"how-to-info",{showVideo:[32],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32],buttonEnabled:[32],demoVideo:[32],image:[32],imageLoaded:[32]}],[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],code:[32],canSend:[32]}],[0,"sms-send",{buttonText:[32],title:[32],details:[32],phoneNumber:[32],prefilledPhone:[32],canSend:[32]}],[0,"state-transition"],[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,"selfie-capture",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[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],reason:[1],buttonEnabled:[32],buttonText:[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,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-054dc5b3",[[1,"loader-dots"]]],["p-8339bc81",[[0,"random-actions"]]],["p-9bd43e2c",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],phone_number:[1537],lang_iso:[1537],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{mode:[1],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{mode:[1],showError:[32],showTimeout:[32],flow:[32]},[[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],buttonDisabled:[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,"how-to-info",{showVideo:[32],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32],buttonEnabled:[32],demoVideo:[32],image:[32],imageLoaded:[32]}],[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],code:[32],canSend:[32]}],[0,"sms-send",{buttonText:[32],title:[32],details:[32],phoneNumber:[32],prefilledPhone:[32],canSend:[32]}],[0,"state-transition"],[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,"selfie-capture",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[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],reason:[1],error:[1],buttonEnabled:[32],buttonText:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class CaptureError {
3
3
  type: string;
4
4
  reason: string;
5
+ error: string;
5
6
  private buttonEnabled;
6
7
  private buttonText;
7
8
  private titleR1;
@@ -19,6 +19,7 @@ export namespace Components {
19
19
  interface CameraError {
20
20
  }
21
21
  interface CaptureError {
22
+ "error": string;
22
23
  "reason": string;
23
24
  "type": string;
24
25
  }
@@ -292,6 +293,7 @@ declare namespace LocalJSX {
292
293
  "onApiError"?: (event: CameraErrorCustomEvent<any>) => void;
293
294
  }
294
295
  interface CaptureError {
296
+ "error"?: string;
295
297
  "onCaptureErrorDone"?: (event: CaptureErrorCustomEvent<any>) => void;
296
298
  "reason"?: string;
297
299
  "type"?: string;
@@ -19,7 +19,7 @@ export declare class ApiCall {
19
19
  SendOTPCode(requestId: string, phoneNumber: string): Promise<OtpSend>;
20
20
  CheckOTPCode(requestId: string, otpCode: string): Promise<OtpCheck>;
21
21
  AddIdentificationRequest(deviceInfo: DeviceState, version: string): Promise<any | Error>;
22
- UploadFileForRequestB64(requestId: string, type: string, file: File): Promise<UploadFile>;
22
+ UploadFileForRequestB64(requestId: string, type: string, b64Data: string): Promise<UploadFile>;
23
23
  GetAgreement(agreementType: string): Promise<string>;
24
24
  GenerateAgreement(agreementType: string): Promise<boolean>;
25
25
  GetStatus(requestId: string): Promise<OrderStatuses>;
@@ -32,5 +32,4 @@ export declare class ApiCall {
32
32
  GetNextFlowState(): Promise<FlowStatus>;
33
33
  GetFlowState(): Promise<FlowStatus>;
34
34
  GetNextStateForCaptureError(): Promise<FlowStatus>;
35
- toBase64: (file: File) => Promise<unknown>;
36
35
  }
@@ -6,6 +6,8 @@ export interface CaptureSide {
6
6
  recName: string;
7
7
  photoType: CaptureUploadTypes;
8
8
  recType: CaptureUploadTypes;
9
+ imageSize: number;
10
+ videoSize: number;
9
11
  }
10
12
  export declare enum CaptureUploadTypes {
11
13
  IdFront = "IdFront",
@@ -1,5 +1,6 @@
1
1
  export declare function format(first: string, middle: string, last: string): string;
2
- export declare const blobToBase64: (blob: Blob) => Promise<string>;
2
+ export declare const blobToBase64: (blob: Blob | File) => Promise<string>;
3
+ export declare const base64Size: (base64Data: string) => number;
3
4
  export declare const delay: (ms: any) => Promise<unknown>;
4
5
  export declare const getLogMessage: (param_req_id?: string, param_redirect_id?: string, param_token?: string) => {
5
6
  store_values: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekyc_qoobiss/qbs-ect-cmp",
3
- "version": "3.6.83",
3
+ "version": "3.6.84",
4
4
  "description": "Person Identification Component",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.js",