@incodetech/core 0.0.0-dev-20260729-ac6e7017 → 0.0.0-dev-20260730-736ce582
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/LICENSE +15 -0
- package/dist/{BrowserStorageProvider-P6aUarE9.esm.js → BrowserStorageProvider-k-FDkC4W.esm.js} +21 -8
- package/dist/{BrowserVisibilityObserverProvider-sJclps4C.esm.js → BrowserVisibilityObserverProvider-BX1BiLDK.esm.js} +1 -7
- package/dist/{MotionSensorProvider-DYvM90IX.esm.js → MotionSensorProvider-DGiV77J_.esm.js} +13 -9
- package/dist/{addressSearch-D_0t2Wdn.esm.js → addressSearch-DQyrvDQj.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-Cj_80kXY.esm.js → antifraudManager-C4_d-1a0.esm.js} +1 -1
- package/dist/{antifraudStateMachine-NuzlVVte.esm.js → antifraudStateMachine-r4VxSBS4.esm.js} +1 -1
- package/dist/{apiError-BGaSrCTT.esm.js → apiError-B_0_EzO3.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B4NsEnv7.esm.js → authenticationManager-6yroYg0F.esm.js} +4 -4
- package/dist/{authenticationStateMachine-4pm5PROL.esm.js → authenticationStateMachine-CFq2MNDs.esm.js} +4 -4
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +1 -1
- package/dist/{certificateIssuanceStateMachine-N__sTAgu.esm.js → certificateIssuanceStateMachine-COd7_l2T.esm.js} +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CbYlnsM-.esm.js → consentManager-lG6fCXOk.esm.js} +1 -1
- package/dist/{consentStateMachine-DWL-X0Jb.esm.js → consentStateMachine-WD-S-Yhs.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-D4w4_crz.esm.js → crossDocumentDataMatchManager-B5bnUpSo.esm.js} +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-KjzGK3MT.esm.js → curpValidationManager-CYkSBXCF.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-42RbYcam.esm.js → curpValidationStateMachine-9KwnqeoB.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{customWatchlistStateMachine-BbDtH5kk.esm.js → customWatchlistStateMachine-B_ey3TFj.esm.js} +1 -1
- package/dist/{deepsightLoader-BHNb-lz0.esm.js → deepsightLoader-qP-QfKV2.esm.js} +8 -12
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureManager-DiZWStP_.esm.js → documentCaptureManager-5shMxTaf.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-DAR7pkTk.esm.js → documentCaptureStateMachine-LFVoDSmH.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BJOHlSVo.esm.js → dynamicFormsManager-DLA5Tiwm.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-KFis3y39.esm.js → dynamicFormsStateMachine-C_VgTw7Q.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BgU21PZy.esm.js → ekybManager-CdKKow2d.esm.js} +1 -1
- package/dist/{ekybStateMachine-BvL39ZuX.esm.js → ekybStateMachine-Bxy2xGs-.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-JibqQLH-.esm.js → ekycManager-BnPKaiV_.esm.js} +1 -1
- package/dist/{ekycStateMachine-Yl3sQmhm.esm.js → ekycStateMachine-DHvksnrr.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C3B6QjKW.esm.js → electronicSignatureManager-DaIkBEGU.esm.js} +2 -2
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-DRBVGjai.esm.js → emailManager-D-3pYOas.esm.js} +1 -1
- package/dist/{emailStateMachine-CLtrh2Ot.esm.js → emailStateMachine-Bm894MHB.esm.js} +1 -1
- package/dist/{endpoints-DOfmJylF.esm.js → endpoints-CCzL3XD_.esm.js} +13 -3
- package/dist/extensibility.d.ts +8 -4
- package/dist/extensibility.esm.js +26 -26
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BqjFdPRN.esm.js → faceCaptureManagerFactory-FWAbakgf.esm.js} +4 -3
- package/dist/{faceCaptureSetup-Cyn66A5q.esm.js → faceCaptureSetup-B5NQz4rP.esm.js} +5 -5
- package/dist/{faceMatchManager-ZlPuKqfF.esm.js → faceMatchManager-Dnp-edw5.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-ubds4WlI.esm.js → faceMatchStateMachine-CJiO2yLO.esm.js} +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-C4eefgNT.esm.js → fieldComparisonManager-CU1JQDG4.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.esm.js +19 -6
- package/dist/{flowCompletionService-BcvEfVin.esm.js → flowCompletionService-BlbJd0p_.esm.js} +2 -2
- package/dist/{flowServices-CSozwL5K.esm.js → flowServices-CPqzhq7k.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C2IV2og3.esm.js → geolocationManager-0Nlh4v3P.esm.js} +1 -1
- package/dist/{geolocationStateMachine-B9WKUYut.esm.js → geolocationStateMachine-BnCvmNA0.esm.js} +2 -2
- package/dist/government-validation.esm.js +1 -1
- package/dist/{governmentValidationStateMachine-CtG3bIdM.esm.js → governmentValidationStateMachine-BYKYUdza.esm.js} +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-BDS43fFL.esm.js → idCaptureDefaults-DrQe0hWr.esm.js} +2 -2
- package/dist/{idCaptureManager-tTbq8P3b.esm.js → idCaptureManager-zqT1SpiL.esm.js} +5 -4
- package/dist/{idCaptureServices-DhJiLtLv.esm.js → idCaptureServices-DM3R1Go6.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-IGYOUwE1.esm.js → idCaptureStateMachine-BWPpgMYZ.esm.js} +12 -12
- package/dist/{idOcrManager-HuMeVQrh.esm.js → idOcrManager-DWGed-91.esm.js} +1 -1
- package/dist/{idOcrStateMachine-s08FLvEh.esm.js → idOcrStateMachine-Bq_e3l4E.esm.js} +1 -1
- package/dist/{idVerificationManager-6R_G7Y-3.esm.js → idVerificationManager-W8v-boCx.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-tAF7pvC8.esm.js → idVerificationStateMachine-GEQWUPU2.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CNbGch_H.esm.js → identityReuseManager-CUVKNTFa.esm.js} +1 -1
- package/dist/{identityReuseStateMachine-DG8kbKuy.esm.js → identityReuseStateMachine-AubRPhIi.esm.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-D7C9v5sI.esm.js → mandatoryConsentManager-CFd276xc.esm.js} +1 -1
- package/dist/{mandatoryConsentStateMachine-CjKpOQXU.esm.js → mandatoryConsentStateMachine-zroQGzwb.esm.js} +1 -1
- package/dist/{manualReviewService-BnFXpAg9.esm.js → manualReviewService-D4IkipnN.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-D4hkjsjx.esm.js → onDeviceFaceResults-nTfxNMi0.esm.js} +6 -6
- package/dist/{permissionGuards-D0cdQjk6.esm.js → permissionGuards-KNkc71eN.esm.js} +1 -1
- package/dist/{permissionServices-GFikEK6S.esm.js → permissionServices-3UAjhmjw.esm.js} +2 -2
- package/dist/personhood.d.ts +10 -0
- package/dist/personhood.esm.js +16 -10
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-Dus4Ddb9.esm.js → phoneManager-SONkmpec.esm.js} +1 -1
- package/dist/{phoneStateMachine-FJ-_x1G4.esm.js → phoneStateMachine-E1fUUcNM.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-D0lcCiBi.esm.js → recordingService-DveFYqw-.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-D1WymLy1.esm.js → redirectToMobileManager-B7EYFwY_.esm.js} +1 -1
- package/dist/{redirectToMobileStateMachine-jI5XPtZJ.esm.js → redirectToMobileStateMachine-C9SYCJcH.esm.js} +1 -1
- package/dist/{runChildModule-BhecR2uN.esm.js → runChildModule-D4abJYf4.esm.js} +1 -1
- package/dist/{WasmUtilProvider-D13sxEmA.esm.js → safeStorage-Ep56I-f_.esm.js} +43 -5
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-DCRRRj38.esm.js → selfieErrorUtils-DggLa9pg.esm.js} +2 -2
- package/dist/{selfieManager-DkKrPj3p.esm.js → selfieManager-DCkM0ke3.esm.js} +4 -4
- package/dist/{selfieStateMachine-Bmbmr5CT.esm.js → selfieStateMachine-DPZEiQ1u.esm.js} +3 -3
- package/dist/{session-DQcuqKgn.esm.js → session-C6tzttgZ.esm.js} +5 -5
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BL3-IOqN.esm.js → sessionInitializer-Ct7kxkvH.esm.js} +18 -5
- package/dist/{setup-SoDT1T3q.esm.js → setup-ChdRXKRI.esm.js} +83 -10
- package/dist/{setup-Dj8n_YLP.d.ts → setup-DMFac2Ms.d.ts} +32 -0
- package/dist/signature.esm.js +1 -1
- package/dist/{signatureStateMachine-Dx92l8pR.esm.js → signatureStateMachine-Cf73DGWO.esm.js} +1 -1
- package/dist/{stats-6sK3f5pc.esm.js → stats-B0nFKawG.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/trueSight-CTJr7npu.esm.js +1 -0
- package/dist/{trueSightService-CUkBhjXi.esm.js → trueSightService-Bx5X8T-y.esm.js} +2 -2
- package/dist/video-selfie.d.ts +8 -2
- package/dist/video-selfie.esm.js +29 -46
- package/dist/{videoSelfieCameraWarmer-CUVw3G7y.esm.js → videoSelfieCameraWarmer-BKR8mkxq.esm.js} +6 -6
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDefaults-DJiEvV7f.esm.js → wasmDefaults-DTUrftxR.esm.js} +2 -2
- package/dist/wasmDsFlagSync-BqUCwLY8.esm.js +12 -0
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-Eo-WEYha.esm.js → watchlistForBusinessStateMachine-BcBMkMvV.esm.js} +1 -1
- package/dist/{watchlistManager-BLf37wLN.esm.js → watchlistManager-QakKGrF0.esm.js} +1 -1
- package/dist/{watchlistStateMachine-DZSOauwp.esm.js → watchlistStateMachine-Bl7Wy9Cm.esm.js} +1 -1
- package/dist/workflow.esm.js +34 -34
- package/package.json +4 -3
- package/dist/trueSight-w9Pt93aY.esm.js +0 -1
|
@@ -9,9 +9,19 @@ const endpoints = {
|
|
|
9
9
|
recordingStartV2: "/omni/recordings/record-start/v2",
|
|
10
10
|
recordingStopV2: "/omni/recordings/record-stop/v2",
|
|
11
11
|
deepsightVideoImport: "/omni/recordings/import",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Video-selfie multipart upload — served by the dedicated
|
|
14
|
+
* video-selfie-service. In production these paths resolve against the main
|
|
15
|
+
* `apiURL` like every other endpoint and the service mesh (Istio) routes
|
|
16
|
+
* them to the service; `setup({ videoSelfie: { apiURL } })` overrides the
|
|
17
|
+
* origin for testing/special envs where that routing doesn't exist (e.g.
|
|
18
|
+
* stage). Auth is the regular session token (`X-Incode-Hardware-Id`);
|
|
19
|
+
* no x-api-key.
|
|
20
|
+
*/
|
|
21
|
+
videoSelfieUploadInitiate: "/v1/video-upload/initiate",
|
|
22
|
+
videoSelfieUploadPart: "/v1/video-upload/part",
|
|
23
|
+
videoSelfieUploadComplete: "/v1/video-upload/complete",
|
|
24
|
+
videoSelfieUploadAbort: "/v1/video-upload/abort",
|
|
15
25
|
videoSelfieCompareId: "/omni/videoselfie/compare-id/v2",
|
|
16
26
|
videoSelfieCompareOcr: "/omni/videoselfie/compare-ocr/v2",
|
|
17
27
|
videoSelfieCompareBackId: "/omni/videoselfie/compare-back-id/v2",
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -50,29 +50,33 @@ type AuthenticationUploadResponse = {
|
|
|
50
50
|
/**
|
|
51
51
|
* Browser-based storage provider wrapping localStorage.
|
|
52
52
|
* Handles JSON serialization/deserialization automatically.
|
|
53
|
+
*
|
|
54
|
+
* Degrades silently when the host makes localStorage unreachable: reads return
|
|
55
|
+
* `null` and writes are no-ops. Deliberately quiet — hosts that harden against
|
|
56
|
+
* self-XSS by deleting the global would otherwise see a warning on every call.
|
|
53
57
|
*/
|
|
54
58
|
declare class BrowserStorageProvider implements IStorageCapability {
|
|
55
59
|
/**
|
|
56
60
|
* Retrieves a value from localStorage.
|
|
57
61
|
* @param key - The storage key
|
|
58
|
-
* @returns The stored value or null if not found
|
|
62
|
+
* @returns The stored value, or null if not found or storage is unavailable
|
|
59
63
|
* @throws Error if stored value is invalid JSON
|
|
60
64
|
*/
|
|
61
65
|
get<T>(key: string): Promise<T | null>;
|
|
62
66
|
/**
|
|
63
|
-
* Stores a value in localStorage.
|
|
67
|
+
* Stores a value in localStorage. No-op when storage is unavailable.
|
|
64
68
|
* @param key - The storage key
|
|
65
69
|
* @param value - The value to store (will be serialized as JSON)
|
|
66
70
|
* @throws Error if value cannot be serialized or quota is exceeded
|
|
67
71
|
*/
|
|
68
72
|
set<T>(key: string, value: T): Promise<void>;
|
|
69
73
|
/**
|
|
70
|
-
* Removes a value from localStorage.
|
|
74
|
+
* Removes a value from localStorage. No-op when storage is unavailable.
|
|
71
75
|
* @param key - The storage key to remove
|
|
72
76
|
*/
|
|
73
77
|
remove(key: string): Promise<void>;
|
|
74
78
|
/**
|
|
75
|
-
* Clears all values from localStorage.
|
|
79
|
+
* Clears all values from localStorage. No-op when storage is unavailable.
|
|
76
80
|
*/
|
|
77
81
|
clear(): Promise<void>;
|
|
78
82
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-Ct7kxkvH.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
7
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
9
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
10
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
11
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
12
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
13
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
14
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
16
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
17
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
18
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
19
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
20
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
21
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
22
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
23
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
24
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
25
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
26
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
27
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
28
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
6
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-C4_d-1a0.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B5NQz4rP.esm.js";
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-6yroYg0F.esm.js";
|
|
9
|
+
import { n as createConsentManagerFromActor } from "./consentManager-lG6fCXOk.esm.js";
|
|
10
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
|
|
11
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CYkSBXCF.esm.js";
|
|
12
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-5shMxTaf.esm.js";
|
|
13
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DLA5Tiwm.esm.js";
|
|
14
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CdKKow2d.esm.js";
|
|
15
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-BnPKaiV_.esm.js";
|
|
16
|
+
import { n as createEmailManagerFromActor } from "./emailManager-D-3pYOas.esm.js";
|
|
17
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DCkM0ke3.esm.js";
|
|
18
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-zqT1SpiL.esm.js";
|
|
19
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-SONkmpec.esm.js";
|
|
20
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-QakKGrF0.esm.js";
|
|
21
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CUVKNTFa.esm.js";
|
|
22
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-CU1JQDG4.esm.js";
|
|
23
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CFd276xc.esm.js";
|
|
24
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-DWGed-91.esm.js";
|
|
25
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B7EYFwY_.esm.js";
|
|
26
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-0Nlh4v3P.esm.js";
|
|
27
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-W8v-boCx.esm.js";
|
|
28
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Dnp-edw5.esm.js";
|
|
29
29
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-CJiO2yLO.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Dnp-edw5.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-BqjFdPRN.esm.js → faceCaptureManagerFactory-FWAbakgf.esm.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-B5NQz4rP.esm.js";
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
|
|
6
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
|
|
7
8
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
8
9
|
function getPermissionStatus(snapshot) {
|
|
9
10
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
10
|
-
import { t as flagFaceManualReview } from "./manualReviewService-
|
|
11
|
-
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-
|
|
9
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
|
|
10
|
+
import { t as flagFaceManualReview } from "./manualReviewService-D4IkipnN.esm.js";
|
|
11
|
+
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-DveFYqw-.esm.js";
|
|
12
12
|
//#region src/internal/avatar/concealment.ts
|
|
13
13
|
/**
|
|
14
14
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
3
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-CJiO2yLO.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
5
|
function createFaceMatchActor(options) {
|
|
6
6
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
package/dist/{faceMatchStateMachine-ubds4WlI.esm.js → faceMatchStateMachine-CJiO2yLO.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-CU1JQDG4.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-C4eefgNT.esm.js → fieldComparisonManager-CU1JQDG4.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ethtfu2b.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
5
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-ethtfu2b.esm.js";
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-CPqzhq7k.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BlbJd0p_.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D4abJYf4.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
|
@@ -12,6 +12,19 @@ const noOpFlowModuleMachine = setup({}).createMachine({
|
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/modules/flow/flowStateMachine.ts
|
|
15
|
+
/**
|
|
16
|
+
* Flow-level `ds` (Deepsight) lives on the flow, not on the module, so it has
|
|
17
|
+
* to be merged into every module config this machine hands out — otherwise the
|
|
18
|
+
* flag never reaches `loadDeepsightSession` and Deepsight is silently disabled
|
|
19
|
+
* for the whole flow. Mirrors `getModuleConfig` in
|
|
20
|
+
* `orchestratedFlowStateMachine`.
|
|
21
|
+
*/
|
|
22
|
+
function withFlowDsFlag(module, flow) {
|
|
23
|
+
return {
|
|
24
|
+
...module?.configuration,
|
|
25
|
+
ds: flow?.ds
|
|
26
|
+
};
|
|
27
|
+
}
|
|
15
28
|
const flowMachine = setup({
|
|
16
29
|
types: {
|
|
17
30
|
context: {},
|
|
@@ -38,7 +51,7 @@ const flowMachine = setup({
|
|
|
38
51
|
steps: (flow.flowModules ?? []).map((m) => m.key),
|
|
39
52
|
currentStepIndex: (flow.flowModules ?? []).length > 0 ? 0 : -1,
|
|
40
53
|
currentStep: flow.flowModules?.[0]?.key,
|
|
41
|
-
config: flow.flowModules?.[0]
|
|
54
|
+
config: withFlowDsFlag(flow.flowModules?.[0], flow)
|
|
42
55
|
};
|
|
43
56
|
}),
|
|
44
57
|
setError: assign(({ event }) => ({ error: String(event.error) })),
|
|
@@ -48,7 +61,7 @@ const flowMachine = setup({
|
|
|
48
61
|
return {
|
|
49
62
|
currentStepIndex: nextIndex,
|
|
50
63
|
currentStep: module?.key,
|
|
51
|
-
config: module
|
|
64
|
+
config: withFlowDsFlag(module, context.flow)
|
|
52
65
|
};
|
|
53
66
|
}),
|
|
54
67
|
decrementStep: assign(({ context }) => {
|
|
@@ -57,7 +70,7 @@ const flowMachine = setup({
|
|
|
57
70
|
return {
|
|
58
71
|
currentStepIndex: prevIndex,
|
|
59
72
|
currentStep: module?.key,
|
|
60
|
-
config: module
|
|
73
|
+
config: withFlowDsFlag(module, context.flow)
|
|
61
74
|
};
|
|
62
75
|
})
|
|
63
76
|
},
|
package/dist/{flowCompletionService-BcvEfVin.esm.js → flowCompletionService-BlbJd0p_.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-B_0_EzO3.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
3
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Ct7kxkvH.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-B_0_EzO3.esm.js";
|
|
6
|
+
import "./session-C6tzttgZ.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
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-0Nlh4v3P.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BnCvmNA0.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BnCvmNA0.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-B9WKUYut.esm.js → geolocationStateMachine-BnCvmNA0.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-B_0_EzO3.esm.js";
|
|
5
5
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BYKYUdza.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as validateCPF } from "./cpf-BIADjddF.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-Bq_e3l4E.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-DWGed-91.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
5
|
function formatCPF(value) {
|
|
6
6
|
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-ChdRXKRI.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-CPqzhq7k.esm.js";
|
|
5
5
|
import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
7
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
|
|
8
8
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
9
|
-
import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-
|
|
9
|
+
import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
|
|
10
10
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
-
import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-
|
|
13
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
14
|
-
import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DrQe0hWr.esm.js";
|
|
12
|
+
import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DM3R1Go6.esm.js";
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-BlbJd0p_.esm.js";
|
|
14
|
+
import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BKR8mkxq.esm.js";
|
|
15
15
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
16
16
|
/** Default autocapture window for the selfie step. */
|
|
17
17
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
|
@@ -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-GEQWUPU2.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-W8v-boCx.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
1
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
7
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-
|
|
5
|
+
import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-BWPpgMYZ.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-zqT1SpiL.esm.js";
|
|
7
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DM3R1Go6.esm.js";
|
|
8
8
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
|
|
9
9
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
10
10
|
function buildSubImage(canvas) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-
|
|
2
|
-
import {
|
|
1
|
+
import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-DTUrftxR.esm.js";
|
|
2
|
+
import { a as getResolvedModelsBasePath, c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
3
3
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/wasm/IdCaptureProvider.ts
|
|
5
5
|
var IdCaptureProvider = class extends BaseWasmProvider {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
1
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
|
|
6
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
|
|
8
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-BWPpgMYZ.esm.js";
|
|
8
9
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
10
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
11
|
function isHoldingState(value) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
|
|
5
5
|
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
7
|
-
import { n as preloadOpenViduProvider } from "./recordingService-
|
|
8
|
-
import { r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
7
|
+
import { n as preloadOpenViduProvider } from "./recordingService-DveFYqw-.esm.js";
|
|
8
|
+
import { r as IdCaptureProvider } from "./idCaptureDefaults-DrQe0hWr.esm.js";
|
|
9
9
|
//#region src/modules/id/idCameraStream.ts
|
|
10
10
|
async function getIdCameraStream(deviceId) {
|
|
11
11
|
return getBackCameraStream(deviceId);
|
package/dist/{idCaptureStateMachine-IGYOUwE1.esm.js → idCaptureStateMachine-BWPpgMYZ.esm.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
5
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
-
import "./trueSight-
|
|
7
|
-
import { t as addDeviceStats } from "./stats-
|
|
4
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Bx5X8T-y.esm.js";
|
|
5
|
+
import { t as getDisableIpify } from "./sessionInitializer-Ct7kxkvH.esm.js";
|
|
6
|
+
import "./trueSight-CTJr7npu.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
8
8
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
9
|
-
import "./session-
|
|
9
|
+
import "./session-C6tzttgZ.esm.js";
|
|
10
10
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
11
11
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
12
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
13
|
-
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
12
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
|
|
13
|
+
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
16
16
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
17
17
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
18
18
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
19
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
20
|
-
import { n as flagIdManualReview } from "./manualReviewService-
|
|
21
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-
|
|
22
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-
|
|
19
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
|
|
20
|
+
import { n as flagIdManualReview } from "./manualReviewService-D4IkipnN.esm.js";
|
|
21
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-DrQe0hWr.esm.js";
|
|
22
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DM3R1Go6.esm.js";
|
|
23
23
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
24
24
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
25
25
|
function isKnownFailReason(reason) {
|
|
@@ -1316,7 +1316,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1316
1316
|
});
|
|
1317
1317
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1318
1318
|
if (!input.dependencies) return;
|
|
1319
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1319
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-qP-QfKV2.esm.js");
|
|
1320
1320
|
return loadDeepsightSession({
|
|
1321
1321
|
ds: input.ds,
|
|
1322
1322
|
storage: input.dependencies.storage,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-Bq_e3l4E.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
5
5
|
function createIdOcrActor(options) {
|
|
6
6
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
package/dist/{idVerificationManager-6R_G7Y-3.esm.js → idVerificationManager-W8v-boCx.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
5
5
|
function createIdVerificationActor(options) {
|
|
6
6
|
return createActor(idVerificationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
@@ -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-AubRPhIi.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CUVKNTFa.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-AubRPhIi.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts an IdentityReuse actor.
|
package/dist/{identityReuseStateMachine-DG8kbKuy.esm.js → identityReuseStateMachine-AubRPhIi.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-DMFac2Ms.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-ChdRXKRI.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -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-zroQGzwb.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CFd276xc.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-D7C9v5sI.esm.js → mandatoryConsentManager-CFd276xc.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
3
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zroQGzwb.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
5
5
|
function createMandatoryConsentActor(options) {
|
|
6
6
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|