@ekyc_qoobiss/qbs-ect-cmp 3.6.34 → 3.6.35
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/agreement-check_19.cjs.entry.js +47 -17
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +23 -3
- package/dist/collection/components/common/id-capture/id-capture.js +22 -2
- package/dist/collection/components/common/id-tilt/id-tilt.js +22 -2
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +23 -3
- package/dist/collection/components/common/selfie-tilt/selfie-tilt.js +23 -3
- package/dist/collection/helpers/Cameras.js +3 -3
- package/dist/esm/agreement-check_19.entry.js +47 -17
- package/dist/qbs-ect-cmp/{p-c50db7e7.entry.js → p-b7c5b575.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/id-back-capture/id-back-capture.d.ts +2 -1
- package/dist/types/components/common/id-capture/id-capture.d.ts +1 -0
- package/dist/types/components/common/id-tilt/id-tilt.d.ts +1 -0
- package/dist/types/components/common/selfie-capture/selfie-capture.d.ts +2 -1
- package/dist/types/components/common/selfie-tilt/selfie-tilt.d.ts +2 -1
- package/dist/types/components.d.ts +5 -0
- package/dist/types/helpers/Cameras.d.ts +1 -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,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-
|
|
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-b7c5b575",[[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)));
|
|
@@ -10,6 +10,7 @@ export declare class IdBackCapture {
|
|
|
10
10
|
private titleMesage;
|
|
11
11
|
eventPhotoCapture: EventEmitter;
|
|
12
12
|
apiErrorEvent: EventEmitter<any>;
|
|
13
|
+
eventTimeElapsed: EventEmitter;
|
|
13
14
|
private cameras;
|
|
14
15
|
private showDemo;
|
|
15
16
|
private demoVideo;
|
|
@@ -20,7 +21,7 @@ export declare class IdBackCapture {
|
|
|
20
21
|
openCamera(): Promise<void>;
|
|
21
22
|
closeCamera(): void;
|
|
22
23
|
disconnectedCallback(): void;
|
|
23
|
-
verificationFinished(): void
|
|
24
|
+
verificationFinished(): Promise<void>;
|
|
24
25
|
takePhoto(): Promise<void>;
|
|
25
26
|
photoIsReady: (photos: any) => void;
|
|
26
27
|
render(): any;
|
|
@@ -14,6 +14,7 @@ export declare class SelfieCapture {
|
|
|
14
14
|
private captureWidth;
|
|
15
15
|
eventPhotoCapture: EventEmitter;
|
|
16
16
|
apiErrorEvent: EventEmitter<any>;
|
|
17
|
+
eventTimeElapsed: EventEmitter;
|
|
17
18
|
private cameras;
|
|
18
19
|
constructor();
|
|
19
20
|
eventVideoStarted(event: any): void;
|
|
@@ -23,7 +24,7 @@ export declare class SelfieCapture {
|
|
|
23
24
|
closeCamera(): void;
|
|
24
25
|
disconnectedCallback(): void;
|
|
25
26
|
takePhoto(): Promise<void>;
|
|
26
|
-
verificationFinished(): void
|
|
27
|
+
verificationFinished(): Promise<void>;
|
|
27
28
|
photoIsReady: (photos: any) => void;
|
|
28
29
|
render(): any;
|
|
29
30
|
}
|
|
@@ -14,6 +14,7 @@ export declare class SelfieTilt {
|
|
|
14
14
|
private captureWidth;
|
|
15
15
|
eventPhotoCapture: EventEmitter;
|
|
16
16
|
apiErrorEvent: EventEmitter<any>;
|
|
17
|
+
eventTimeElapsed: EventEmitter;
|
|
17
18
|
private cameras;
|
|
18
19
|
private mainStream;
|
|
19
20
|
constructor();
|
|
@@ -24,7 +25,7 @@ export declare class SelfieTilt {
|
|
|
24
25
|
closeCamera(): void;
|
|
25
26
|
disconnectedCallback(): void;
|
|
26
27
|
takePhoto(): Promise<void>;
|
|
27
|
-
verificationFinished(): void
|
|
28
|
+
verificationFinished(): Promise<void>;
|
|
28
29
|
photoIsReady: (photos: any) => void;
|
|
29
30
|
render(): any;
|
|
30
31
|
}
|
|
@@ -328,14 +328,17 @@ declare namespace LocalJSX {
|
|
|
328
328
|
interface IdBackCapture {
|
|
329
329
|
"onApiError"?: (event: IdBackCaptureCustomEvent<any>) => void;
|
|
330
330
|
"onPhotoIdBackCapture"?: (event: IdBackCaptureCustomEvent<any>) => void;
|
|
331
|
+
"onTimeElapsed"?: (event: IdBackCaptureCustomEvent<any>) => void;
|
|
331
332
|
}
|
|
332
333
|
interface IdCapture {
|
|
333
334
|
"onApiError"?: (event: IdCaptureCustomEvent<any>) => void;
|
|
334
335
|
"onPhotoIdCapture"?: (event: IdCaptureCustomEvent<any>) => void;
|
|
336
|
+
"onTimeElapsed"?: (event: IdCaptureCustomEvent<any>) => void;
|
|
335
337
|
}
|
|
336
338
|
interface IdTilt {
|
|
337
339
|
"onApiError"?: (event: IdTiltCustomEvent<any>) => void;
|
|
338
340
|
"onPhotoTiltCapture"?: (event: IdTiltCustomEvent<any>) => void;
|
|
341
|
+
"onTimeElapsed"?: (event: IdTiltCustomEvent<any>) => void;
|
|
339
342
|
}
|
|
340
343
|
interface IdentificationComponent {
|
|
341
344
|
"api_url"?: string;
|
|
@@ -362,10 +365,12 @@ declare namespace LocalJSX {
|
|
|
362
365
|
interface SelfieCapture {
|
|
363
366
|
"onApiError"?: (event: SelfieCaptureCustomEvent<any>) => void;
|
|
364
367
|
"onPhotoSelfieCapture"?: (event: SelfieCaptureCustomEvent<any>) => void;
|
|
368
|
+
"onTimeElapsed"?: (event: SelfieCaptureCustomEvent<any>) => void;
|
|
365
369
|
}
|
|
366
370
|
interface SelfieTilt {
|
|
367
371
|
"onApiError"?: (event: SelfieTiltCustomEvent<any>) => void;
|
|
368
372
|
"onPhotoSelfieTiltCapture"?: (event: SelfieTiltCustomEvent<any>) => void;
|
|
373
|
+
"onTimeElapsed"?: (event: SelfieTiltCustomEvent<any>) => void;
|
|
369
374
|
}
|
|
370
375
|
interface SmsCodeValidation {
|
|
371
376
|
"onApiError"?: (event: SmsCodeValidationCustomEvent<any>) => void;
|
|
@@ -2,7 +2,7 @@ import { Camera } from '../models/ICamera';
|
|
|
2
2
|
import { DeviceState } from '../models/IDevice';
|
|
3
3
|
export declare class Cameras {
|
|
4
4
|
GetCameras(deviceInfo: DeviceState): Promise<Camera[]>;
|
|
5
|
-
GetConstraints(selectedDeviceId: string, device: DeviceState, portrait?: boolean): MediaStreamConstraints | any;
|
|
5
|
+
GetConstraints(selectedDeviceId: string, device: DeviceState, portrait?: boolean, audio?: boolean): MediaStreamConstraints | any;
|
|
6
6
|
GetRecommendedCamera(cameras: any): any;
|
|
7
7
|
static InitCameras(device: DeviceState): Promise<boolean>;
|
|
8
8
|
}
|