@ekyc_qoobiss/qbs-ect-cmp 3.6.82 → 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.
- package/dist/cjs/{TranslationUtils-6fdf7b55.js → TranslationUtils-48d56242.js} +2 -8
- package/dist/cjs/agreement-check_18.cjs.entry.js +34 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
- package/dist/cjs/random-actions.cjs.entry.js +1 -1
- package/dist/collection/components/common/capture-error/capture-error.js +19 -2
- package/dist/collection/components/flow/process-id/process-id.js +15 -5
- package/dist/collection/components/flow/user-liveness/user-liveness.js +13 -5
- package/dist/collection/helpers/ApiCall.js +2 -8
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/{TranslationUtils-57159270.js → TranslationUtils-ecf807c7.js} +2 -8
- package/dist/esm/agreement-check_18.entry.js +34 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qbs-ect-cmp.js +1 -1
- package/dist/esm/random-actions.entry.js +1 -1
- package/dist/qbs-ect-cmp/{p-952ea10c.entry.js → p-8339bc81.entry.js} +1 -1
- package/dist/qbs-ect-cmp/{p-8552ab44.js → p-8a9ec85f.js} +1 -1
- package/dist/qbs-ect-cmp/{p-9c1b41d1.entry.js → p-9bd43e2c.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/capture-error/capture-error.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/helpers/ApiCall.d.ts +1 -2
- package/dist/types/models/CaptureFlow.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +2 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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)));
|
|
@@ -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,
|
|
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
|
}
|
|
@@ -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: {
|