@incodetech/welcome 1.85.0-20251204093848.0 → 1.85.0-20251204162036.0
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/incode-welcome/src/ID/IDV2/capture/uploadDigitalId.d.ts +6 -1
- package/dist/incode-welcome/src/ID/IDV2/components/DigitalIdFileReview.d.ts +1 -0
- package/dist/incode-welcome/src/create.d.ts +8 -0
- package/dist/incode-welcome/src/hooks/useModuleEvents.d.ts +8 -0
- package/dist/onBoarding.mjs +17695 -13081
- package/dist/onBoarding.umd.js +187 -173
- package/package.json +2 -1
|
@@ -12,5 +12,10 @@ type UploadDigitalIdResponse = {
|
|
|
12
12
|
countryCode?: string;
|
|
13
13
|
acceptedDocuments?: string[];
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type UploadDigitalIdWithTimingResponse = UploadDigitalIdResponse & {
|
|
16
|
+
uploadDurationMs: number;
|
|
17
|
+
uploadStartTime: number;
|
|
18
|
+
uploadEndTime: number;
|
|
19
|
+
};
|
|
20
|
+
export declare const uploadDigitalId: ({ token, file, onProgress, }: UploadDigitalIdParams) => Promise<UploadDigitalIdWithTimingResponse>;
|
|
16
21
|
export default uploadDigitalId;
|
|
@@ -481,6 +481,14 @@ tokboxApiKey, darkMode, hostingApp, unsafeMode, customHeaders, fingerprintApiKey
|
|
|
481
481
|
readonly authFaceUploadFailed: "AUTH_FACE_UPLOAD_FAILED";
|
|
482
482
|
readonly customModuleCallback: "CUSTOM_MODULE_CALLBACK";
|
|
483
483
|
readonly customModuleProcessing: "CUSTOM_MODULE_PROCESSING";
|
|
484
|
+
readonly digitalIdFileSelection: "DIGITAL_ID_FILE_SELECTION";
|
|
485
|
+
readonly digitalIdFileReview: "DIGITAL_ID_FILE_REVIEW";
|
|
486
|
+
readonly digitalIdUploadProgress: "DIGITAL_ID_UPLOAD_PROGRESS";
|
|
487
|
+
readonly digitalIdUploadSuccess: "DIGITAL_ID_UPLOAD_SUCCEEDED";
|
|
488
|
+
readonly digitalIdUploadFailed: "DIGITAL_ID_UPLOAD_FAILED";
|
|
489
|
+
readonly digitalIdAnalysisProgress: "DIGITAL_ID_ANALYSIS_PROGRESS";
|
|
490
|
+
readonly digitalIdVerificationSuccess: "DIGITAL_ID_VERIFICATION_SUCCESS";
|
|
491
|
+
readonly digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED";
|
|
484
492
|
};
|
|
485
493
|
addScreenEvent: ({ module, token, screen, payload, shouldOpen, }: {
|
|
486
494
|
module: string;
|
|
@@ -112,6 +112,14 @@ export declare const eventScreenNames: {
|
|
|
112
112
|
readonly authFaceUploadFailed: "AUTH_FACE_UPLOAD_FAILED";
|
|
113
113
|
readonly customModuleCallback: "CUSTOM_MODULE_CALLBACK";
|
|
114
114
|
readonly customModuleProcessing: "CUSTOM_MODULE_PROCESSING";
|
|
115
|
+
readonly digitalIdFileSelection: "DIGITAL_ID_FILE_SELECTION";
|
|
116
|
+
readonly digitalIdFileReview: "DIGITAL_ID_FILE_REVIEW";
|
|
117
|
+
readonly digitalIdUploadProgress: "DIGITAL_ID_UPLOAD_PROGRESS";
|
|
118
|
+
readonly digitalIdUploadSuccess: "DIGITAL_ID_UPLOAD_SUCCEEDED";
|
|
119
|
+
readonly digitalIdUploadFailed: "DIGITAL_ID_UPLOAD_FAILED";
|
|
120
|
+
readonly digitalIdAnalysisProgress: "DIGITAL_ID_ANALYSIS_PROGRESS";
|
|
121
|
+
readonly digitalIdVerificationSuccess: "DIGITAL_ID_VERIFICATION_SUCCESS";
|
|
122
|
+
readonly digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED";
|
|
115
123
|
};
|
|
116
124
|
export declare const streamingEvents: {
|
|
117
125
|
readonly strSessionDidConnect: "strSessionDidConnect";
|