@incodetech/core 2.5.0-rc.4 → 2.5.0-rc.6
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/{FaceDetectionProvider-klK6EFg6.esm.js → FaceDetectionProvider-CyJw0IsP.esm.js} +7 -7
- package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BGHyclUd.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-CE2Cxfqy.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-BpeuH5Wx.esm.js} +1 -1
- package/dist/{api-CZpuJuZl.esm.js → api-BMLJdwd_.esm.js} +0 -1
- package/dist/{apiError-DRsBE3CK.esm.js → apiError-DRTHDDhm.esm.js} +1 -1
- package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-Dp2xFl7A.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CyvlBPdd.esm.js → authenticationManager-9ONStCgT.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DlzoWoU4.esm.js → authenticationStateMachine-C5x183J5.esm.js} +3 -3
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-DaUklfNj.esm.js → certificateIssuanceManager-BQ74_sGE.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-_EQcjGE3.esm.js → certificateIssuanceStateMachine-Cm3b9OoM.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-Bx_osBME.d.ts} +9 -9
- package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DEC34vhb.esm.js} +2 -2
- package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-D0Nh_LD7.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BHRsIIYY.esm.js} +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-nIJpoMnT.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-4MAvdROS.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-BGCfq1Z3.esm.js} +2 -2
- package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-B5rEcjyh.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-5DmmGqzB.esm.js} +1 -1
- package/dist/{deepsightLoader-JqZ_BHU4.esm.js → deepsightLoader-RG59l8ri.esm.js} +3 -3
- package/dist/{desktopCameraElection-q3cVTQ6a.esm.js → desktopCameraElection-h7SmDXmW.esm.js} +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-D5oiXpwG.esm.js → documentCaptureManager-DODC4eUX.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-zyJcTCBx.esm.js → documentCaptureStateMachine-B4CPAJrT.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CrQe8JpB.esm.js → dynamicFormsManager-8zrLS2Ck.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-BbQk7qGH.esm.js → dynamicFormsStateMachine-CK3zL3iS.esm.js} +2 -2
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CMr6x_1w.esm.js → ekybManager-DDP5IaHY.esm.js} +2 -2
- package/dist/{ekybStateMachine-CmrEOQpf.esm.js → ekybStateMachine-BD0CIuRz.esm.js} +3 -3
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-DWuONuie.esm.js} +2 -2
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BQ_KKUv5.d.ts} +29 -29
- package/dist/{ekycPrefillManager-D4e5zKJO.esm.js → ekycPrefillManager-CTWhBVoN.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-C5lP7aBp.esm.js → ekycPrefillStateMachine-r8bL9KfD.esm.js} +2 -2
- package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-BsclGsmE.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BP-va382.esm.js → electronicSignatureManager-B3-sH5IC.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Co4jarT1.esm.js → emailManager-DJfqy42G.esm.js} +2 -2
- package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-Ba4dmk3l.esm.js} +2 -2
- package/dist/{events-CP3yOzAl.esm.js → events-C2lGiIT1.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +35 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-kFzpFeWi.esm.js → faceCaptureManagerFactory-BJS2Tnx-.esm.js} +2 -2
- package/dist/{faceCaptureSetup-CpnjQFgi.esm.js → faceCaptureSetup-Bhz8lwW7.esm.js} +9 -9
- package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-BFLHLTGE.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Bjjv_w-a.esm.js} +2 -2
- package/dist/{feature-management-CxMEynqK.esm.js → feature-management-C3QneguW.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-CPQEHk24.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-2ZBUw08-.esm.js → fiscalQrManager-Ej11Z_Qk.esm.js} +2 -2
- package/dist/flow.d.ts +0 -2
- package/dist/flow.esm.js +8 -31
- package/dist/{flowCompletionService-HyLrcPyI.esm.js → flowCompletionService-BlZf2S4D.esm.js} +3 -24
- package/dist/{flowServices-DB-8bIC3.esm.js → flowServices-ebGF4q88.esm.js} +8 -10
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bg_D9126.esm.js → geolocationManager-BiT8y5PE.esm.js} +2 -2
- package/dist/{geolocationStateMachine-DYwyH9H5.esm.js → geolocationStateMachine-DgXn12M8.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-Dr5zg44a.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-BmgcBddx.esm.js} +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-B-r13aBN.esm.js → idCaptureManager-kdke1gtm.esm.js} +5 -5
- package/dist/{idCaptureServices-BUtcpwTU.esm.js → idCaptureServices-D-agq_ax.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-qK87MsJV.esm.js → idCaptureStateMachine-B0AxoQow.esm.js} +13 -13
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
- package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-CUqaGVGx.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-8PmK-51A.esm.js} +1 -1
- package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-BCJSTVib.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-XRiYohGp.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +1 -1
- package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-BX6Xwekg.esm.js} +2 -2
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-X1jzn8C5.esm.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-C-tMl9v-.esm.js → kybChecksManager-DjrU0M3B.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B8HBo4Sr.esm.js → kybChecksStateMachine-DYphplJy.esm.js} +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-FKRF94TQ.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-CCkV4Cm3.d.ts → mandatoryConsentManager-H7bI8hDD.d.ts} +9 -9
- package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-CSF03QyH.esm.js} +1 -1
- package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-UQ06vyEa.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-xOrux05n.esm.js} +2 -2
- package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-3DueJr0O.esm.js} +1 -1
- package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-Bn9WlZnH.esm.js} +2 -2
- package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-BwjIWIbi.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-yptkVJTO.esm.js → recordingService-DE9YedlD.esm.js} +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DjsEtWLq.esm.js → redirectToMobileManager-PWuwwVbb.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-CMjjUXSu.esm.js → redirectToMobileStateMachine-DHpg32uO.esm.js} +1 -1
- package/dist/{runChildModule-BfKUYITn.esm.js → runChildModule-BH_gn9m0.esm.js} +1 -1
- package/dist/{sdkVersion-WUghPvAM.esm.js → sdkVersion-CF6EnSdD.esm.js} +1 -1
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-CDEXv09U.esm.js → selfieErrorUtils-XE4MAZtM.esm.js} +1 -1
- package/dist/{selfieManager-CESXppTr.esm.js → selfieManager-DYsXvWXe.esm.js} +4 -4
- package/dist/{selfieStateMachine-DTgmC86l.esm.js → selfieStateMachine-sA0CAdEh.esm.js} +3 -3
- package/dist/{session-BsnIw7oQ.esm.js → session-BlQhABCI.esm.js} +4 -4
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-6OS932zX.esm.js → sessionInitializer-CyNOMKjP.esm.js} +17 -63
- package/dist/{setup-DpNKrn3K.esm.js → setup-Dn7aLuAf.esm.js} +8 -8
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-DIXqYmUN.esm.js} +2 -2
- package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-B7yC0mK9.esm.js} +1 -1
- package/dist/{stats-DoByUnTa.esm.js → stats-ummJank2.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-N_y4mTc3.esm.js → trueSightService-CGd9xhHT.esm.js} +3 -3
- package/dist/trust-graph.esm.js +1 -1
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-CsIqHijy.esm.js → videoSelfieCameraWarmer-B7HwT-tE.esm.js} +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-CCzx7A5X.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-DPS6rkl6.esm.js} +1 -1
- package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-DDMrwI-3.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-BuJHQJ_p.esm.js} +1 -1
- package/dist/workflow.d.ts +40 -225
- package/dist/workflow.esm.js +57 -141
- package/package.json +3 -3
package/dist/{flowCompletionService-HyLrcPyI.esm.js → flowCompletionService-BlZf2S4D.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-DRTHDDhm.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -13,27 +13,6 @@ const getFinishStatus = async (flowId, signal) => {
|
|
|
13
13
|
toIncodeApiError(endpoints.finishStatus, error);
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
const HANDOFF_COMPLETION_TIMEOUT_MS = 1e4;
|
|
17
|
-
/** Mobile already finished the session; read its redirect without finishing again. */
|
|
18
|
-
async function getHandoffFinishStatus(signal) {
|
|
19
|
-
try {
|
|
20
|
-
const data = (await api.get(endpoints.redirectionUrl, {
|
|
21
|
-
signal,
|
|
22
|
-
timeout: HANDOFF_COMPLETION_TIMEOUT_MS
|
|
23
|
-
})).data;
|
|
24
|
-
let redirectionUrl = "";
|
|
25
|
-
if (typeof data === "object" && data !== null && "redirectionUrl" in data && typeof data.redirectionUrl === "string") redirectionUrl = data.redirectionUrl;
|
|
26
|
-
return {
|
|
27
|
-
redirectionUrl,
|
|
28
|
-
action: "none",
|
|
29
|
-
scoreStatus: "UNKNOWN",
|
|
30
|
-
endScreenTitle: null,
|
|
31
|
-
endScreenText: null
|
|
32
|
-
};
|
|
33
|
-
} catch (error) {
|
|
34
|
-
toIncodeApiError(endpoints.redirectionUrl, error);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
16
|
const SCORE_VARIANTS = {
|
|
38
17
|
OK: "success",
|
|
39
18
|
WARN: "success",
|
|
@@ -57,4 +36,4 @@ async function getTotalScoreStatus(signal) {
|
|
|
57
36
|
}
|
|
58
37
|
}
|
|
59
38
|
//#endregion
|
|
60
|
-
export {
|
|
39
|
+
export { getFinishStatus as n, getTotalScoreStatus as r, classifyScoreStatus as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
3
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
4
|
-
import {
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
3
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
4
|
+
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CyNOMKjP.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-C3QneguW.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-DRTHDDhm.esm.js";
|
|
7
|
+
import "./session-BlQhABCI.esm.js";
|
|
8
8
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
9
|
-
import { a as prefetchStartInfo } from "./phoneServices-
|
|
9
|
+
import { a as prefetchStartInfo } from "./phoneServices-3DueJr0O.esm.js";
|
|
10
10
|
//#region src/modules/flow/dashboardConfig.ts
|
|
11
11
|
function isPlainObject(value) {
|
|
12
12
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
@@ -738,8 +738,8 @@ function toRegulationType(value) {
|
|
|
738
738
|
* The consent decision rides on the device-fingerprint response. A flow that
|
|
739
739
|
* never checks for consent doesn't read that response, so its first module
|
|
740
740
|
* doesn't wait for the post, and the post keeps waiting for the device hash in
|
|
741
|
-
* the background. A flow that checks waits for the post, so the
|
|
742
|
-
*
|
|
741
|
+
* the background. A flow that checks waits for the post, and so for the device
|
|
742
|
+
* hash: the hash must never be dropped to show the first screen sooner.
|
|
743
743
|
*/
|
|
744
744
|
function readsFingerprintResult(flow) {
|
|
745
745
|
return flow.mandatoryConsentCheck !== false;
|
|
@@ -768,7 +768,6 @@ function prependMandatoryConsent(flow) {
|
|
|
768
768
|
*/
|
|
769
769
|
async function completeDeferredActivation(flow, signal) {
|
|
770
770
|
const awaitFingerprint = readsFingerprintResult(flow);
|
|
771
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
772
771
|
await initializeSession({
|
|
773
772
|
signal,
|
|
774
773
|
awaitFingerprint
|
|
@@ -876,7 +875,6 @@ async function normalizeDashboardFlow(rawFlow, options, signal) {
|
|
|
876
875
|
let flow = rawFlow;
|
|
877
876
|
if (options.deferActivation !== true) {
|
|
878
877
|
const awaitFingerprint = readsFingerprintResult(rawFlow);
|
|
879
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
880
878
|
await initializeSession({
|
|
881
879
|
signal,
|
|
882
880
|
awaitFingerprint
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-BiT8y5PE.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DgXn12M8.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DgXn12M8.esm.js";
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
8
8
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-DYwyH9H5.esm.js → geolocationStateMachine-DgXn12M8.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-DRTHDDhm.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-Dp2xFl7A.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
9
9
|
const res = await api.post(endpoints.addGeolocation, {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
2
|
-
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-
|
|
1
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BmgcBddx.esm.js";
|
|
2
|
+
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-Dr5zg44a.esm.js";
|
|
3
3
|
export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
6
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BmgcBddx.esm.js";
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
8
8
|
function createGovernmentValidationActor(options) {
|
|
9
9
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/home.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
//#region src/modules/home/homeStateMachine.ts
|
package/dist/http.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getApi, t as api } from "./api-
|
|
1
|
+
import { n as getApi, t as api } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
export { api, getApi };
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-CNGVEZ7B.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
5
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as isValidCPF, t as formatCPF } from "./idOcrCpfUtils-D5Gwskxu.esm.js";
|
|
2
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-8PmK-51A.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CUqaGVGx.esm.js";
|
|
4
4
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Dn7aLuAf.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-ebGF4q88.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
8
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-CyJw0IsP.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
12
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
12
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-D-agq_ax.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
14
|
-
import {
|
|
15
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
14
|
+
import { n as getFinishStatus } from "./flowCompletionService-BlZf2S4D.esm.js";
|
|
15
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-B7HwT-tE.esm.js";
|
|
16
16
|
import { t as CameraCompositor } from "./CameraCompositor-BAP_KRUT.esm.js";
|
|
17
17
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
18
18
|
/** Default autocapture window for the selfie step. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-XRiYohGp.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BCJSTVib.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B0AxoQow.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-kdke1gtm.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-D-agq_ax.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Dn7aLuAf.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
4
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
3
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
4
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
5
5
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
@@ -11,8 +11,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
|
11
11
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
12
12
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BMQItC9y.esm.js";
|
|
13
13
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
14
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
15
|
-
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
14
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-B0AxoQow.esm.js";
|
|
15
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-D-agq_ax.esm.js";
|
|
16
16
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
|
|
17
17
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
18
18
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Dn7aLuAf.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-C3QneguW.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
@@ -436,7 +436,7 @@ async function startRecordingSession(params) {
|
|
|
436
436
|
const [compositorModule, recorderModule, serviceModule] = await Promise.all([
|
|
437
437
|
import("./CameraCompositor-BAP_KRUT.esm.js").then((n) => n.n),
|
|
438
438
|
import("./WorkerEncoderRecordingProvider-CsDED9UU.esm.js").then((n) => n.n),
|
|
439
|
-
import("./multipartRecordingService-
|
|
439
|
+
import("./multipartRecordingService-UQ06vyEa.esm.js").then((n) => n.n)
|
|
440
440
|
]);
|
|
441
441
|
const recordingSource = params.stream.clone();
|
|
442
442
|
const compositor = compositorModule.createRecordingCompositor();
|
package/dist/{idCaptureStateMachine-qK87MsJV.esm.js → idCaptureStateMachine-B0AxoQow.esm.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-Dn7aLuAf.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
|
|
5
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
6
|
-
import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-
|
|
7
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
8
|
-
import {
|
|
5
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
6
|
+
import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
7
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CGd9xhHT.esm.js";
|
|
8
|
+
import { t as getDisableIpify } from "./sessionInitializer-CyNOMKjP.esm.js";
|
|
9
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
10
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
11
|
-
import { t as addDeviceStats } from "./stats-
|
|
10
|
+
import { s as exposeExperimentOnce } from "./feature-management-C3QneguW.esm.js";
|
|
11
|
+
import { t as addDeviceStats } from "./stats-ummJank2.esm.js";
|
|
12
12
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-BlQhABCI.esm.js";
|
|
14
14
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
15
15
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
16
16
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
17
17
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
18
18
|
import { c as isCameraDenialErrorName } from "./camera-wzsqfd3B.esm.js";
|
|
19
19
|
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-BMQItC9y.esm.js";
|
|
20
|
-
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
20
|
+
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-h7SmDXmW.esm.js";
|
|
21
21
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
22
22
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CR0Z10rU.esm.js";
|
|
23
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
23
|
+
import { t as carryAttempts } from "./attemptCarry-Dp2xFl7A.esm.js";
|
|
24
24
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
25
25
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
26
26
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
@@ -28,7 +28,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
|
28
28
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
29
29
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
30
30
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
31
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
31
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-D-agq_ax.esm.js";
|
|
32
32
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
33
33
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
34
34
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -2046,7 +2046,7 @@ fromPromise(async ({ input }) => {
|
|
|
2046
2046
|
});
|
|
2047
2047
|
fromPromise(async ({ input }) => {
|
|
2048
2048
|
if (!input.dependencies) return;
|
|
2049
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2049
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-RG59l8ri.esm.js");
|
|
2050
2050
|
return loadDeepsightSession({
|
|
2051
2051
|
ds: input.ds,
|
|
2052
2052
|
storage: input.dependencies.storage,
|
|
@@ -2489,7 +2489,7 @@ function cleanup(service) {
|
|
|
2489
2489
|
service.cleanup();
|
|
2490
2490
|
} catch {}
|
|
2491
2491
|
}
|
|
2492
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2492
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-RG59l8ri.esm.js")).loadDeepsightSession(input)) {
|
|
2493
2493
|
let disposed = false;
|
|
2494
2494
|
let preparation;
|
|
2495
2495
|
let service;
|
|
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
110
110
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
111
111
|
params: unknown;
|
|
112
112
|
};
|
|
113
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
113
|
+
}>, never, "error" | "idle" | "success" | "finished" | "submitting" | "inputting" | "loading" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
114
114
|
readonly id: "idOcr";
|
|
115
115
|
readonly initial: "idle";
|
|
116
116
|
readonly context: ({ input }: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
5
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-8PmK-51A.esm.js";
|
|
6
6
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
7
7
|
function createIdOcrActor(options) {
|
|
8
8
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
|
package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-BCJSTVib.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-XRiYohGp.esm.js";
|
|
6
6
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
7
7
|
function createIdVerificationActor(options) {
|
|
8
8
|
return createActor(idVerificationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationServices.ts
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-D_jiHp1n.js";
|
|
2
2
|
export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-X1jzn8C5.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-BX6Xwekg.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
3
3
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
5
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-X1jzn8C5.esm.js";
|
|
6
6
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
7
7
|
/**
|
|
8
8
|
* Creates and starts an IdentityReuse actor.
|
|
@@ -138,14 +138,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
138
138
|
type: "setDocuments";
|
|
139
139
|
params: NonReducibleUnknown;
|
|
140
140
|
};
|
|
141
|
-
setError: {
|
|
142
|
-
type: "setError";
|
|
143
|
-
params: NonReducibleUnknown;
|
|
144
|
-
};
|
|
145
141
|
clearError: {
|
|
146
142
|
type: "clearError";
|
|
147
143
|
params: NonReducibleUnknown;
|
|
148
144
|
};
|
|
145
|
+
setError: {
|
|
146
|
+
type: "setError";
|
|
147
|
+
params: NonReducibleUnknown;
|
|
148
|
+
};
|
|
149
149
|
setSelectedDocument: {
|
|
150
150
|
type: "setSelectedDocument";
|
|
151
151
|
params: NonReducibleUnknown;
|
package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-X1jzn8C5.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-Dn7aLuAf.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DYphplJy.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-DjrU0M3B.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
3
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DYphplJy.esm.js";
|
|
4
4
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
5
5
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
6
6
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-B8HBo4Sr.esm.js → kybChecksStateMachine-DYphplJy.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-DRTHDDhm.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-DJPU3W2M.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-H7bI8hDD.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CSF03QyH.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-FKRF94TQ.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-FKRF94TQ.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
5
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CSF03QyH.esm.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
7
7
|
function createMandatoryConsentActor(options) {
|
|
8
8
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
package/dist/{mandatoryConsentManager-CCkV4Cm3.d.ts → mandatoryConsentManager-H7bI8hDD.d.ts}
RENAMED
|
@@ -54,26 +54,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
54
54
|
type: "setConsent";
|
|
55
55
|
params: NonReducibleUnknown;
|
|
56
56
|
};
|
|
57
|
-
setError: {
|
|
58
|
-
type: "setError";
|
|
59
|
-
params: NonReducibleUnknown;
|
|
60
|
-
};
|
|
61
57
|
clearError: {
|
|
62
58
|
type: "clearError";
|
|
63
59
|
params: NonReducibleUnknown;
|
|
64
60
|
};
|
|
65
|
-
|
|
66
|
-
type: "
|
|
61
|
+
setError: {
|
|
62
|
+
type: "setError";
|
|
67
63
|
params: NonReducibleUnknown;
|
|
68
64
|
};
|
|
69
|
-
|
|
70
|
-
type: "
|
|
65
|
+
setLoadError: {
|
|
66
|
+
type: "setLoadError";
|
|
71
67
|
params: NonReducibleUnknown;
|
|
72
68
|
};
|
|
73
69
|
toggleSigned: {
|
|
74
70
|
type: "toggleSigned";
|
|
75
71
|
params: NonReducibleUnknown;
|
|
76
72
|
};
|
|
73
|
+
resetContext: {
|
|
74
|
+
type: "resetContext";
|
|
75
|
+
params: NonReducibleUnknown;
|
|
76
|
+
};
|
|
77
77
|
}>, Values<{
|
|
78
78
|
canSubmit: {
|
|
79
79
|
type: "canSubmit";
|
|
@@ -83,7 +83,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
83
83
|
type: "hasConsent";
|
|
84
84
|
params: unknown;
|
|
85
85
|
};
|
|
86
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
86
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
87
87
|
readonly id: "mandatoryConsent";
|
|
88
88
|
readonly initial: "idle";
|
|
89
89
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-UQ06vyEa.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
|
|
5
5
|
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-CduV32Qa.esm.js";
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
2
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
1
|
+
import { t as phoneMachine } from "./phoneStateMachine-Bn9WlZnH.esm.js";
|
|
2
|
+
import { t as createPhoneManager } from "./phoneManager-xOrux05n.esm.js";
|
|
3
3
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
7
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
7
|
+
import { t as phoneMachine } from "./phoneStateMachine-Bn9WlZnH.esm.js";
|
|
8
8
|
//#region src/modules/phone/phoneActor.ts
|
|
9
9
|
function createPhoneActor(options) {
|
|
10
10
|
return createActor(phoneMachine, { input: { config: options.config } }).start();
|