@incodetech/core 2.2.0 → 2.3.0-rc.1
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/THIRD_PARTY_NOTICES.txt +281 -0
- package/dist/BaseWasmProvider-Dyi6dKp1.d.ts +65 -0
- package/dist/{BrowserDiagnosticsCryptoProvider-B8vorxN5.esm.js → BrowserDiagnosticsCryptoProvider-CU6kBvqv.esm.js} +1 -1
- package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
- package/dist/FaceDetectionProvider-BfhWkK90.esm.js +431 -0
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +36 -0
- package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-RNiFhvXR.d.ts} +7 -33
- package/dist/IWasmUtilCapability-CNWRl7jr.d.ts +117 -0
- package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-BgTYwg9L.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
- package/dist/{deepsightService-DLVQS_RH.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +54 -41
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{addressSearch-D1XpBdUS.esm.js → addressSearch-DyHGgeX8.esm.js} +1 -1
- package/dist/advanceableErrors-CpF2cBy6.esm.js +21 -0
- package/dist/ae-signature.d.ts +4 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQFNgSPt.esm.js → antifraudManager-DNkw66oW.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Bf_JVNwn.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
- package/dist/{apiError-BA1d_au0.esm.js → apiError-Budb6m6w.esm.js} +14 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BBMGTcwW.d.ts → authenticationManager-CjXBjC-c.d.ts} +7 -1
- package/dist/{authenticationManager-zh9TC62P.esm.js → authenticationManager-cMXhG70r.esm.js} +5 -5
- package/dist/{authenticationStateMachine-xzi-vnvE.esm.js → authenticationStateMachine-MOYz4HCf.esm.js} +6 -62
- package/dist/avatar.d.ts +1 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-CUeYm5eu.esm.js → backCameraStream-BOtyQowf.esm.js} +83 -22
- package/dist/{camera-_2sXMXiF.esm.js → camera-sIa9ceW2.esm.js} +19 -1
- package/dist/camera.esm.js +1 -1
- package/dist/{canvas-E1zGkel4.esm.js → canvas-BxFzWTt-.esm.js} +19 -0
- package/dist/certificate-issuance.d.ts +2 -302
- package/dist/certificate-issuance.esm.js +3 -66
- package/dist/certificateIssuanceManager-C3-CI0_s.esm.js +69 -0
- package/dist/certificateIssuanceManager-DCgEidHz.d.ts +312 -0
- package/dist/{certificateIssuanceStateMachine-D_R92TYu.esm.js → certificateIssuanceStateMachine-CxqS_nD-.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BxjpLZAG.esm.js → consentManager-B6E1XJDw.esm.js} +2 -2
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-BhYFeKiG.d.ts} +4 -4
- package/dist/{consentStateMachine-D9D4ON8Z.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
- package/dist/createCameraCycleOwnership-CX3hJGKc.esm.js +826 -0
- package/dist/{createFaceAvatar-DQKaRise.esm.js → createFaceAvatar-BNHdeFj8.esm.js} +2 -2
- package/dist/createFaceAvatar-BlcTYgJv.d.ts +497 -0
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-CGT0V6RV.esm.js → crossDocumentDataMatchManager-9XhFVZ5S.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-6Nmkn5u1.esm.js → curpValidationManager-DbIMYFcJ.esm.js} +2 -2
- package/dist/{curpValidationManager-DVGr7Fq7.d.ts → curpValidationManager-SSKNrm5Z.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Ds7KMacK.esm.js → curpValidationStateMachine-g5kMfuLj.esm.js} +1 -1
- package/dist/custom-fields.d.ts +2 -114
- package/dist/custom-fields.esm.js +2 -232
- package/dist/custom-watchlist.d.ts +2 -51
- package/dist/custom-watchlist.esm.js +3 -70
- package/dist/customFieldsManager-8-W2KY4n.d.ts +141 -0
- package/dist/customFieldsManager-CzWZTkW-.esm.js +264 -0
- package/dist/customWatchlistManager-DWTED5Ur.esm.js +73 -0
- package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
- package/dist/{customWatchlistStateMachine-YWSgKLbF.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
- package/dist/{deepsightLoader--wMKWECS.esm.js → deepsightLoader-DDv3vhXU.esm.js} +27 -71
- package/dist/device.d.ts +25 -2
- package/dist/device.esm.js +69 -7
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DsQQhWry.esm.js → documentCaptureManager-CwAiM9WY.esm.js} +2 -2
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DensIj5F.d.ts} +83 -83
- package/dist/{documentCaptureStateMachine-BM4Ex_5x.esm.js → documentCaptureStateMachine-DfGOBapD.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-fFVIRBNv.esm.js → dynamicFormsManager-BbS-XMFc.esm.js} +16 -5
- package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-D5R_uxLQ.d.ts} +25 -3
- package/dist/{dynamicFormsStateMachine-D6D7oEYk.esm.js → dynamicFormsStateMachine-D8zHBCh4.esm.js} +35 -3
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Y3MkoXpC.esm.js → ekybManager-5aiac8wL.esm.js} +2 -2
- package/dist/{ekybStateMachine-3nlnqdlr.esm.js → ekybStateMachine-Bn2IE9rx.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DgT48ky6.esm.js → ekycManager-BlQ-Qj4E.esm.js} +2 -2
- package/dist/{ekycStateMachine-CQwqiR-R.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-DGbAJ00W.esm.js → electronicSignatureManager-BJJH0Tvi.esm.js} +357 -51
- package/dist/electronicSignatureManager-Ds-KEVTq.d.ts +2786 -0
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BY0jeYwR.esm.js → emailManager-bR1N5rV_.esm.js} +2 -2
- package/dist/{emailStateMachine-Crw8QVmc.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
- package/dist/{endpoints-CCzL3XD_.esm.js → endpoints-B-3Q-LUw.esm.js} +24 -10
- package/dist/{events-DYiyoSlx.esm.js → events-ijlbX_Wx.esm.js} +2 -2
- package/dist/events.d.ts +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +24 -64
- package/dist/extensibility.esm.js +35 -29
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CVnZ0fa5.esm.js → faceCaptureManagerFactory-B7Ms6pSs.esm.js} +68 -7
- package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts} +86 -54
- package/dist/faceCaptureSetup-bkAlr5d8.esm.js +2067 -0
- package/dist/{faceMatchManager-Ri4UbNz0.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-20DdZ3jg.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
- package/dist/{feature-management-CPQ4qv3F.esm.js → feature-management-E0mq0pMs.esm.js} +32 -7
- package/dist/feature-management.d.ts +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Cg6kPQQx.esm.js → fieldComparisonManager-CC-klG0h.esm.js} +2 -2
- package/dist/fiscal-qr.d.ts +2 -56
- package/dist/fiscal-qr.esm.js +2 -308
- package/dist/fiscalQrManager-B1STmT6z.d.ts +71 -0
- package/dist/fiscalQrManager-BunLVFbd.esm.js +34143 -0
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +212 -185
- package/dist/flow.esm.js +119 -30
- package/dist/{flowCompletionService-tfeoGre9.esm.js → flowCompletionService-DJp1odGN.esm.js} +2 -2
- package/dist/{flowServices-f5Ruz7R9.esm.js → flowServices-DjPFGs_D.esm.js} +91 -26
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CH6RfqFH.esm.js → geolocationManager-D5906YXx.esm.js} +2 -2
- package/dist/{geolocationStateMachine-DmbWFely.esm.js → geolocationStateMachine-BVOduc3y.esm.js} +3 -3
- package/dist/getBrowser-CBiibsL-.esm.js +19 -0
- package/dist/{getBrowser-DNrQeL4T.esm.js → getBrowser-Cbe1C4Tn.esm.js} +2 -1
- package/dist/{getDeviceClass-9y-kbVDw.esm.js → getDeviceClass-5NYZg9s6.esm.js} +2 -2
- package/dist/getParsedUserAgent-B2iFDql1.esm.js +1278 -0
- package/dist/government-validation.d.ts +2 -85
- package/dist/government-validation.esm.js +3 -120
- package/dist/governmentValidationManager-CacFOtKO.esm.js +79 -0
- package/dist/governmentValidationManager-D02vT4yY.d.ts +63 -0
- package/dist/governmentValidationStateMachine-CoaZOSTP.esm.js +54 -0
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +3 -2
- package/dist/id-selfie-flow.esm.js +11 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +29 -5
- package/dist/id.esm.js +48 -46
- package/dist/idCaptureDefaults-CbPA-Auz.esm.js +727 -0
- package/dist/{idCaptureManager-CqrqSjJV.d.ts → idCaptureManager-DKESug0R.d.ts} +230 -43
- package/dist/{idCaptureManager-BYwTZ2H8.esm.js → idCaptureManager-rfV9dIXy.esm.js} +259 -46
- package/dist/{idCaptureServices-44kwQItl.esm.js → idCaptureServices-i1KxugN7.esm.js} +285 -72
- package/dist/idCaptureStateMachine-Ne_PXth_.esm.js +5333 -0
- package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
- package/dist/{idOcrManager-BIQYQXXj.esm.js → idOcrManager-r46XfZGE.esm.js} +2 -2
- package/dist/{idOcrStateMachine-cSxzHpHt.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
- package/dist/{idVerificationManager-JpV_SAsl.esm.js → idVerificationManager-DT42c77H.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-nPeUNyFq.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-kNCg9AbD.esm.js → identityReuseManager-yG3acUrQ.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DyulxDjP.esm.js → identityReuseStateMachine-BhAkuIra.esm.js} +1 -1
- package/dist/{index-CLMF0QLQ.d.ts → index-DLcJT5YP.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-GpvMuz9o.esm.js → invokeOnCaptureCallback-BjzPjJ_p.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-B4Niyg_u.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +1 -1
- package/dist/{mandatoryConsentStateMachine-B4-1u-L8.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
- package/dist/multipartRecordingService-OEgIRvqC.esm.js +605 -0
- package/dist/{permissionGuards-KINpmKtI.esm.js → permissionGuards-uYZYFu4J.esm.js} +1 -1
- package/dist/{permissionServices-UvUcOSRb.esm.js → permissionServices-Bj_fyWtv.esm.js} +5 -5
- package/dist/personhood.d.ts +6 -5
- package/dist/personhood.esm.js +10 -10
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-FsJ0W2Ei.esm.js → phoneManager-IjhSv5XS.esm.js} +2 -2
- package/dist/{phoneStateMachine-Ba0wKHyX.esm.js → phoneStateMachine-CXdXufKg.esm.js} +1 -1
- package/dist/{platform-BJrm5nzZ.esm.js → platform-DkcRc9JV.esm.js} +29 -1
- package/dist/qe-signature.d.ts +5 -3
- package/dist/qe-signature.esm.js +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-y4VQB11M.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-Cyv2x0PP.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
- package/dist/{rolldown-runtime-FZ4Itg2g.esm.js → rolldown-runtime-FDOR9p9I.esm.js} +1 -19
- package/dist/{runChildModule-Dukuw23X.esm.js → runChildModule-CI1gGWN1.esm.js} +3 -21
- package/dist/safeStorage-B-trhxg6.esm.js +423 -0
- package/dist/{sdkVersion-D1Bm59g6.esm.js → sdkVersion-BZh6dj53.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +14 -76
- package/dist/{selfieErrorUtils-C2PYBVsp.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +30 -4
- package/dist/{selfieManager-DwlCppg0.d.ts → selfieManager-4RRLi21P.d.ts} +8 -11
- package/dist/{selfieManager-Bj6B2ZVy.esm.js → selfieManager-B-2c1n_x.esm.js} +5 -5
- package/dist/selfieStateMachine-Bzx41R8d.esm.js +69 -0
- package/dist/{session-BFdLgN4i.esm.js → session-3LmvAU4S.esm.js} +4 -5
- package/dist/session.d.ts +21 -11
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-dlfDehHk.esm.js → sessionInitializer-BFk33E67.esm.js} +187 -68
- package/dist/{setup-BIAtLa8k.esm.js → setup-BWG-hivt.esm.js} +226 -100
- package/dist/{setup-BgoWtvIS.d.ts → setup-Cv-JM9QC.d.ts} +63 -69
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-Ca43yhwk.esm.js → signatureManager-B72np4ZO.esm.js} +2 -2
- package/dist/{signatureStateMachine-K1LMRrxG.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
- package/dist/{src-0Jurt29N.esm.js → src-35ekGRzK.esm.js} +1 -1
- package/dist/{stats-B0nFKawG.esm.js → stats-CZcy2J53.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService---iW2KKJ.esm.js → trueSightService-BN-Hzw82.esm.js} +7 -7
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BX_XkMsQ2.d.ts → types-9_esGTPj.d.ts} +1 -1
- package/dist/types-BT_Oalip.d.ts +1 -0
- package/dist/{types-DelMqZLe.d.ts → types-BjSly8cp.d.ts} +1 -1
- package/dist/{types-Hmd7U0JA.d.ts → types-Bnl58jUQ.d.ts} +6 -85
- package/dist/types-ChAowIxT.d.ts +6 -0
- package/dist/{types-DVmXIdzW.d.ts → types-D0gekt4U.d.ts} +38 -5
- package/dist/types-DgDvvzg0.d.ts +10 -0
- package/dist/{types-KPvmag_B.d.ts → types-Do5rEXij.d.ts} +7 -4
- package/dist/{types-Bdf8_LYB2.d.ts → types-byBHOzCG2.d.ts} +305 -25
- package/dist/video-selfie.d.ts +59 -35
- package/dist/video-selfie.esm.js +510 -601
- package/dist/{videoSelfieCameraWarmer-NEhFZvWx.esm.js → videoSelfieCameraWarmer-B8PcYqmz.esm.js} +14 -153
- package/dist/videoSelfieFlowModuleMachine-BUe2uACW.esm.js +32 -0
- package/dist/{videoSelfieStepDetector-D3oo2ofo.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +59 -13
- package/dist/virtualCameraCheck-Cjab7FTI.esm.js +48 -0
- package/dist/warmup-CUUnwYxe.esm.js +714 -0
- package/dist/warmup-Cis2p6O0.d.ts +128 -0
- package/dist/wasm.d.ts +30 -6
- package/dist/wasm.esm.js +36 -4
- package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-B2e8p268.esm.js} +2 -2
- package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-B7baE-Wf.esm.js} +358 -28
- package/dist/watchlist-for-business.d.ts +2 -78
- package/dist/watchlist-for-business.esm.js +3 -102
- package/dist/watchlist.esm.js +2 -2
- package/dist/watchlistForBusinessManager-CIMkpEhu.esm.js +107 -0
- package/dist/watchlistForBusinessManager-CsnJnG-C.d.ts +99 -0
- package/dist/{watchlistForBusinessStateMachine-CxFnlshm.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +13 -6
- package/dist/{watchlistManager-LoNZH9qm.esm.js → watchlistManager-CixcLNDT.esm.js} +2 -2
- package/dist/{watchlistStateMachine-DIKQDoUT.esm.js → watchlistStateMachine-CBqk2w-h.esm.js} +1 -1
- package/dist/workflow.d.ts +12 -8
- package/dist/workflow.esm.js +48 -39
- package/package.json +4 -10
- package/dist/BrowserStorageProvider-k-FDkC4W.esm.js +0 -67
- package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
- package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
- package/dist/OpenViduRecordingProvider-Du98qevC.esm.js +0 -85
- package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
- package/dist/document-upload.d.ts +0 -325
- package/dist/document-upload.esm.js +0 -197
- package/dist/electronicSignatureManager-CcUXQZS7.d.ts +0 -1300
- package/dist/faceCaptureSetup-Cd-04W_X.esm.js +0 -863
- package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
- package/dist/getParsedUserAgent-pJjATANs.esm.js +0 -1622
- package/dist/governmentValidationStateMachine-CK9DrZXX.esm.js +0 -226
- package/dist/idCaptureDefaults-WeHbQM7W.esm.js +0 -225
- package/dist/idCaptureStateMachine-kZ5OpdfM.esm.js +0 -3342
- package/dist/lib-DAyUtOTj.esm.js +0 -12420
- package/dist/manualReviewService-D4IkipnN.esm.js +0 -15
- package/dist/mediaRecorderOptions-dALSV8af.esm.js +0 -40
- package/dist/onDeviceFaceResults-CUHwyZT4.esm.js +0 -646
- package/dist/openviduLazy-CCDpFWg1.esm.js +0 -10
- package/dist/recordingService-3NSENVwp.esm.js +0 -329
- package/dist/safeStorage-Ep56I-f_.esm.js +0 -982
- package/dist/selfieStateMachine-CHV_WNst.esm.js +0 -55
- package/dist/trueSight-B_icM8r2.esm.js +0 -1
- package/dist/types-EELWyWpd.d.ts +0 -6
- package/dist/types-Vb4P9ovf.d.ts +0 -22
- package/dist/warmup-Dv2alr2-.d.ts +0 -82
- package/dist/wasmDefaults-DTUrftxR.esm.js +0 -125
- package/dist/{Face2DProvider-UUQt_vRC.esm.js → Face2DProvider-BF48sz5c.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-D8PS7AJa.esm.js → PrivacyLensProvider-EwnC_C5n.esm.js} +1 -1
- /package/dist/{types-BfgmV7s72.d.ts → types-BfgmV7s7.d.ts} +0 -0
- /package/dist/{types-CJ7Yl9K-2.d.ts → types-CJ7Yl9K-.d.ts} +0 -0
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-bR1N5rV_.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
|
|
4
4
|
//#region src/modules/email/emailActor.ts
|
|
5
5
|
function createEmailActor(options) {
|
|
6
6
|
return createActor(emailMachine, { 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-B-3Q-LUw.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
@@ -5,18 +5,13 @@ const endpoints = {
|
|
|
5
5
|
events: "/omni/interview-events",
|
|
6
6
|
selfie: "/omni/add/face",
|
|
7
7
|
authenticate: "/omni/onboarding-authentications/authenticate",
|
|
8
|
-
recordingCreateSessionV2: "/omni/recordings/create-session/v2",
|
|
9
|
-
recordingStartV2: "/omni/recordings/record-start/v2",
|
|
10
|
-
recordingStopV2: "/omni/recordings/record-stop/v2",
|
|
11
8
|
deepsightVideoImport: "/omni/recordings/import",
|
|
12
9
|
/**
|
|
13
10
|
* Video-selfie multipart upload — served by the dedicated
|
|
14
|
-
* video-selfie-service.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* stage). Auth is the regular session token (`X-Incode-Hardware-Id`);
|
|
19
|
-
* no x-api-key.
|
|
11
|
+
* video-selfie-service. These paths resolve against the main `apiURL` like
|
|
12
|
+
* every other endpoint, and the service mesh (Istio) routes them to the
|
|
13
|
+
* service. Auth is the regular session token
|
|
14
|
+
* (`X-Incode-Hardware-Id`); no x-api-key.
|
|
20
15
|
*/
|
|
21
16
|
videoSelfieUploadInitiate: "/v1/video-upload/initiate",
|
|
22
17
|
videoSelfieUploadPart: "/v1/video-upload/part",
|
|
@@ -95,8 +90,10 @@ const endpoints = {
|
|
|
95
90
|
processWatchlist: "/omni/process/watchlist",
|
|
96
91
|
watchlistForBusinessSubmit: "/omni/businessWatchlist-result",
|
|
97
92
|
aesUnsignedDocuments: "/omni/es/documents/unsigned",
|
|
93
|
+
esSignedDocuments: "/omni/es/documents/signed",
|
|
98
94
|
aesSignDocument: "/omni/es/process/sign",
|
|
99
95
|
qesSignDocument: "/omni/es/process/signQes",
|
|
96
|
+
qesTerms: "/omni/es/qes/terms",
|
|
100
97
|
aesGenerateUploadUrl: "/omni/es/generateDocumentUploadUrl",
|
|
101
98
|
workflowCurrentNode: "/omni/workflow/current/node",
|
|
102
99
|
workflowProcessNode: "/omni/workflow/process/node",
|
|
@@ -148,7 +145,24 @@ const endpoints = {
|
|
|
148
145
|
* forwards the sealed envelope to the diagnostics backend. The request body
|
|
149
146
|
* is the bare envelope JSON; trailing slash is part of the contract.
|
|
150
147
|
*/
|
|
151
|
-
diagnosticsData: "/omni/add/diagnostics-data/"
|
|
148
|
+
diagnosticsData: "/omni/add/diagnostics-data/",
|
|
149
|
+
/**
|
|
150
|
+
* Trinsic digital-ID web-redirect (iDIN/FTN). Auth is `X-Api-Key` + the
|
|
151
|
+
* session token. The parameterized legs (`/{id}/response|status|refresh`)
|
|
152
|
+
* are built from `digitalIdVerifications` in `digitalIdRedirectServices`.
|
|
153
|
+
*/
|
|
154
|
+
digitalIdProviders: "/omni/v2/digital-id/providers",
|
|
155
|
+
digitalIdVerifications: "/omni/v2/digital-id/verifications",
|
|
156
|
+
/**
|
|
157
|
+
* Device-wallet (mDL) handshake — Apple Wallet (web) and Google Wallet via
|
|
158
|
+
* the W3C Digital Credentials API. Auth is the session token
|
|
159
|
+
* (X-Incode-Hardware-Id, auto-injected) plus an explicit `api-version: '1.0'`
|
|
160
|
+
* header. The request/decrypt payloads are opaque to the SDK.
|
|
161
|
+
*/
|
|
162
|
+
deviceWalletAppleRequest: "/omni/v1/device/wallet/apple/web/request",
|
|
163
|
+
deviceWalletAppleDecrypt: "/omni/v1/device/wallet/apple/web/decrypt",
|
|
164
|
+
deviceWalletGoogleRequest: "/omni/v1/device/wallet/google/request",
|
|
165
|
+
deviceWalletGoogleDecrypt: "/omni/v1/device/wallet/google/decrypt"
|
|
152
166
|
};
|
|
153
167
|
//#endregion
|
|
154
168
|
export { endpoints as t };
|
|
@@ -230,7 +230,7 @@ function experimentAssigned(module, payload, screen) {
|
|
|
230
230
|
screenEvent({
|
|
231
231
|
module,
|
|
232
232
|
screen,
|
|
233
|
-
code: "
|
|
233
|
+
code: "experimentAssigned",
|
|
234
234
|
payload: {
|
|
235
235
|
...payload,
|
|
236
236
|
module
|
|
@@ -241,7 +241,7 @@ function experimentAssigned(module, payload, screen) {
|
|
|
241
241
|
//#region src/internal/events/experimentAssignment.ts
|
|
242
242
|
const assignedExperiments = /* @__PURE__ */ new Set();
|
|
243
243
|
/**
|
|
244
|
-
* Records an `
|
|
244
|
+
* Records an `experimentAssigned` interview-event, but only the first time
|
|
245
245
|
* for a given `dedupeKey` (pass the experiment's `storeParam`) since the
|
|
246
246
|
* last `resetExperimentAssignments()` call.
|
|
247
247
|
*/
|
package/dist/events.d.ts
CHANGED
|
@@ -285,7 +285,7 @@ declare function experimentAssigned(module: EventModule | string, payload: Exper
|
|
|
285
285
|
//#endregion
|
|
286
286
|
//#region src/internal/events/experimentAssignment.d.ts
|
|
287
287
|
/**
|
|
288
|
-
* Records an `
|
|
288
|
+
* Records an `experimentAssigned` interview-event, but only the first time
|
|
289
289
|
* for a given `dedupeKey` (pass the experiment's `storeParam`) since the
|
|
290
290
|
* last `resetExperimentAssignments()` call.
|
|
291
291
|
*/
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-
|
|
1
|
+
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -2,36 +2,43 @@ import { E as createActor, O as fromPromise } from "./spawn-D9jgw9pW.js";
|
|
|
2
2
|
import { n as fromCallback } from "./callback-645_omgz.js";
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { c as ElectronicSignatureFileDataHolder } from "./types-
|
|
6
|
-
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-
|
|
5
|
+
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import { i as
|
|
14
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-BeUl8fl1.js";
|
|
9
|
+
import "./createFaceAvatar-BlcTYgJv.js";
|
|
10
|
+
import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
11
|
+
import "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
|
|
13
|
+
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
|
|
14
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
|
|
15
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
16
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
17
|
-
import { a as
|
|
18
|
-
import { a as
|
|
16
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-SSKNrm5Z.js";
|
|
17
|
+
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
18
|
+
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
|
|
19
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
|
|
20
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
|
|
19
21
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
20
22
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
21
23
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
22
|
-
import { n as
|
|
23
|
-
import { i as
|
|
24
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-4RRLi21P.js";
|
|
25
|
+
import { i as CaptureIdResponse } from "./types-byBHOzCG2.js";
|
|
26
|
+
import { R as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DKESug0R.js";
|
|
24
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
25
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
29
|
+
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
|
|
26
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
27
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
28
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
29
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
30
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
31
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
32
36
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
|
|
37
|
+
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-D02vT4yY.js";
|
|
33
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
34
39
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
40
|
+
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-B1STmT6z.js";
|
|
41
|
+
import "./types-DgDvvzg0.js";
|
|
35
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
36
43
|
type AuthenticationUploadResponse = {
|
|
37
44
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -84,53 +91,6 @@ declare class BrowserStorageProvider implements IStorageCapability {
|
|
|
84
91
|
clear(): Promise<void>;
|
|
85
92
|
}
|
|
86
93
|
//#endregion
|
|
87
|
-
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
88
|
-
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
89
|
-
private static instance;
|
|
90
|
-
private static initPromise;
|
|
91
|
-
static getInstance(): Promise<WasmUtilProvider>;
|
|
92
|
-
static resetInstance(): void;
|
|
93
|
-
constructor();
|
|
94
|
-
initialize(config: WasmUtilConfig): Promise<void>;
|
|
95
|
-
processFrame(_image: ImageData): Promise<void>;
|
|
96
|
-
encryptImage(image: string): string;
|
|
97
|
-
setSdkVersion(version: string): void;
|
|
98
|
-
setSdkPlatform(platform: string): void;
|
|
99
|
-
setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void;
|
|
100
|
-
setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void;
|
|
101
|
-
setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
|
|
102
|
-
setMotionStatus(status: string): void;
|
|
103
|
-
setBackgroundMode(backgroundMode: boolean): void;
|
|
104
|
-
setOnDeviceMode(enabled: boolean): void;
|
|
105
|
-
setZc(zc: string): void;
|
|
106
|
-
setInspectorOpened(opened: boolean): void;
|
|
107
|
-
getInspectorOpened(): boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Toggles the WASM module's production mode. When `true`, the native module
|
|
110
|
-
* suppresses its verbose debug logging/console output; when `false`, those
|
|
111
|
-
* logs are emitted. The SDK forces this to `true` by default and only flips
|
|
112
|
-
* it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
|
|
113
|
-
*
|
|
114
|
-
* @param productionMode - `true` to silence WASM logs, `false` to emit them.
|
|
115
|
-
*/
|
|
116
|
-
setProductionMode(productionMode: boolean): Promise<void>;
|
|
117
|
-
getMetadata(): string;
|
|
118
|
-
analyzeFrame(image: ImageData): Promise<void>;
|
|
119
|
-
getCheck(): string;
|
|
120
|
-
getPipelineState(): string;
|
|
121
|
-
estimatePerformance(): string;
|
|
122
|
-
isVirtualCamera(label: string | null): boolean;
|
|
123
|
-
prc(): Promise<void>;
|
|
124
|
-
poc(output: VirtualCameraCheckOutput): Promise<void>;
|
|
125
|
-
rsp(): Promise<void>;
|
|
126
|
-
ssl(): void;
|
|
127
|
-
stl(): void;
|
|
128
|
-
osv(): void;
|
|
129
|
-
oev(): void;
|
|
130
|
-
ckvcks(data: ArrayBuffer): void;
|
|
131
|
-
getVersions(): Promise<unknown>;
|
|
132
|
-
}
|
|
133
|
-
//#endregion
|
|
134
94
|
//#region ../infra/src/capabilities/IFingerprintCapability.d.ts
|
|
135
95
|
type DeviceFingerprintInfo = {
|
|
136
96
|
device: {
|
|
@@ -159,4 +119,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
|
|
|
159
119
|
//#region src/internal/fingerprint/fingerprintApi.d.ts
|
|
160
120
|
declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
|
|
161
121
|
//#endregion
|
|
162
|
-
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
122
|
+
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type CertificateIssuanceActor, type CertificateIssuanceManager, type CertificateIssuanceState, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type CustomFieldsActor, type CustomFieldsManager, type CustomFieldsState, type CustomWatchlistActor, type CustomWatchlistManager, type CustomWatchlistState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type FiscalQrActor, type FiscalQrManager, type FiscalQrState, type GeolocationActor, type GeolocationManager, type GeolocationState, type GovernmentValidationActor, type GovernmentValidationManager, type GovernmentValidationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistForBusinessActor, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
@@ -1,31 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BWG-hivt.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BFk33E67.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
7
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
import {
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import { n as
|
|
27
|
-
import { n as
|
|
28
|
-
import { n as
|
|
29
|
-
import { n as
|
|
30
|
-
import { n as
|
|
31
|
-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BJJH0Tvi.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-bkAlr5d8.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-cMXhG70r.esm.js";
|
|
10
|
+
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
|
|
11
|
+
import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
|
|
12
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
|
|
13
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DbIMYFcJ.esm.js";
|
|
14
|
+
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
|
|
15
|
+
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CwAiM9WY.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BbS-XMFc.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-5aiac8wL.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-BlQ-Qj4E.esm.js";
|
|
20
|
+
import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-B-2c1n_x.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-rfV9dIXy.esm.js";
|
|
23
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
|
|
24
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
|
|
25
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
|
|
26
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-yG3acUrQ.esm.js";
|
|
27
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-CC-klG0h.esm.js";
|
|
28
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-7dI0D08q.esm.js";
|
|
29
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
|
|
30
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
|
|
31
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-D5906YXx.esm.js";
|
|
33
|
+
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
|
|
34
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
|
|
35
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
|
|
36
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-BunLVFbd.esm.js";
|
|
37
|
+
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, 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-mRIHQ3dA.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Bmv0HzuY.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-CVnZ0fa5.esm.js → faceCaptureManagerFactory-B7Ms6pSs.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
6
|
-
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-
|
|
7
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
4
|
+
import { i as concealmentToAvatar } from "./faceCaptureSetup-bkAlr5d8.esm.js";
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
|
|
6
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
|
|
8
8
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
9
9
|
function getPermissionStatus(snapshot) {
|
|
10
10
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -26,14 +26,30 @@ function getCaptureStatus(snapshot) {
|
|
|
26
26
|
if (snapshot.matches({ capture: "uploadError" })) return "uploadError";
|
|
27
27
|
if (snapshot.matches({ capture: "success" })) return "success";
|
|
28
28
|
}
|
|
29
|
+
function mapManualUploadState(snapshot) {
|
|
30
|
+
const childSnapshot = snapshot.children["manualUpload"]?.getSnapshot();
|
|
31
|
+
const childContext = childSnapshot?.context;
|
|
32
|
+
const childValue = childSnapshot?.value;
|
|
33
|
+
const uploaded = childContext?.uploaded ?? false;
|
|
34
|
+
return {
|
|
35
|
+
status: "manualUpload",
|
|
36
|
+
phase: childValue === "preparing" || childValue === "uploading" ? "uploading" : "selecting",
|
|
37
|
+
uploaded,
|
|
38
|
+
canContinue: uploaded,
|
|
39
|
+
errorKey: childContext?.errorKey ?? null,
|
|
40
|
+
attemptsRemaining: childContext?.retriesLeft ?? 0
|
|
41
|
+
};
|
|
42
|
+
}
|
|
29
43
|
function mapState(snapshot) {
|
|
30
44
|
const { context } = snapshot;
|
|
31
45
|
if (snapshot.matches("idle")) return { status: "idle" };
|
|
32
46
|
if (snapshot.matches("loading")) return { status: "loading" };
|
|
33
47
|
if (snapshot.matches("tutorial")) return {
|
|
34
48
|
status: "tutorial",
|
|
35
|
-
ageAssurance: context.config?.ageAssurance === true
|
|
49
|
+
ageAssurance: context.config?.ageAssurance === true,
|
|
50
|
+
showManualUploadLink: context.config?.manualUploadSelfieCapture === true
|
|
36
51
|
};
|
|
52
|
+
if (snapshot.matches("manualUpload")) return mapManualUploadState(snapshot);
|
|
37
53
|
if (snapshot.matches("closed")) return { status: "closed" };
|
|
38
54
|
if (snapshot.matches("permissions")) {
|
|
39
55
|
const permissionStatus = getPermissionStatus(snapshot);
|
|
@@ -221,7 +237,9 @@ function getFaceCaptureScreenName(snapshot, moduleName) {
|
|
|
221
237
|
case "tutorial": return getFaceCaptureTutorialScreen(snapshot);
|
|
222
238
|
case "permissions": return "faceCapture.tutorial.default";
|
|
223
239
|
case "capture": return getCaptureSubstateScreen(snapshot);
|
|
240
|
+
case "manualUpload": return "faceCapture.manualUpload.default";
|
|
224
241
|
case "processing": return "faceCapture.loading.processing";
|
|
242
|
+
case "terminalProcessing": return "faceCapture.loading.processing";
|
|
225
243
|
case "finished": return "faceCapture.resultSuccess.default";
|
|
226
244
|
case "closed": return "faceCapture.closed";
|
|
227
245
|
case "error": return "faceCapture.resultError.processingFailed";
|
|
@@ -314,6 +332,34 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
314
332
|
capture() {
|
|
315
333
|
trackElementClicked?.("capture");
|
|
316
334
|
actor.send({ type: "MANUAL_CAPTURE" });
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* Leaves the tutorial for the manual file-upload screen.
|
|
338
|
+
* Only effective from `tutorial` and only when the module enables it, so a
|
|
339
|
+
* call from anywhere else — including the console — is a no-op.
|
|
340
|
+
*/
|
|
341
|
+
goToManualUpload() {
|
|
342
|
+
trackElementClicked?.("goToManualUpload");
|
|
343
|
+
actor.send({ type: "GO_TO_MANUAL_UPLOAD" });
|
|
344
|
+
},
|
|
345
|
+
/**
|
|
346
|
+
* Submits a file the user picked from device storage.
|
|
347
|
+
* Only effective when in `manualUpload`.
|
|
348
|
+
*/
|
|
349
|
+
manualUploadSelectFile(file) {
|
|
350
|
+
trackElementClicked?.("manualUploadSelectFile");
|
|
351
|
+
actor.send({
|
|
352
|
+
type: "MANUAL_UPLOAD_FILE_SELECTED",
|
|
353
|
+
file
|
|
354
|
+
});
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Accepts the uploaded photo and moves on to processing.
|
|
358
|
+
* Only effective when in `manualUpload` and an upload has succeeded.
|
|
359
|
+
*/
|
|
360
|
+
manualUploadContinue() {
|
|
361
|
+
trackElementClicked?.("manualUploadContinue");
|
|
362
|
+
actor.send({ type: "MANUAL_UPLOAD_CONTINUE" });
|
|
317
363
|
}
|
|
318
364
|
};
|
|
319
365
|
}
|
|
@@ -401,6 +447,12 @@ function getFaceCaptureErrorPayload(snapshot) {
|
|
|
401
447
|
* `docs/patterns/CAPABILITY.md`). Pass a fake/no-op to override (tests do).
|
|
402
448
|
*/
|
|
403
449
|
function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver = new BrowserVisibilityObserverProvider()) {
|
|
450
|
+
const protectedVisibilityActor = actor;
|
|
451
|
+
const initialVisible = visibilityObserver.isVisible();
|
|
452
|
+
protectedVisibilityActor.send({
|
|
453
|
+
type: "PROTECTED_VISIBILITY",
|
|
454
|
+
visible: initialVisible
|
|
455
|
+
});
|
|
404
456
|
return createManager({
|
|
405
457
|
actor,
|
|
406
458
|
mapState,
|
|
@@ -409,7 +461,16 @@ function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver
|
|
|
409
461
|
getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
|
|
410
462
|
getErrorName: getFaceCaptureErrorName,
|
|
411
463
|
getErrorPayload: getFaceCaptureErrorPayload,
|
|
412
|
-
visibilityObserver
|
|
464
|
+
visibilityObserver: {
|
|
465
|
+
isVisible: () => visibilityObserver.isVisible(),
|
|
466
|
+
onVisibilityChange: (listener) => visibilityObserver.onVisibilityChange((visible) => {
|
|
467
|
+
protectedVisibilityActor.send({
|
|
468
|
+
type: "PROTECTED_VISIBILITY",
|
|
469
|
+
visible
|
|
470
|
+
});
|
|
471
|
+
listener(visible);
|
|
472
|
+
})
|
|
473
|
+
}
|
|
413
474
|
})
|
|
414
475
|
});
|
|
415
476
|
}
|