@incodetech/core 2.3.2 → 2.4.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +1243 -3
- package/dist/Actor-DpTj5PFb.d.ts +1 -0
- package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
- package/dist/{FaceDetectionProvider-DtmtCKa9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js} +126 -10
- package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
- package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +28 -5
- package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
- package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
- package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
- package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +2 -2
- package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +95 -46
- package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-BiYZjvp3.esm.js} +143 -4
- package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
- package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-HL08jeDX.esm.js} +3 -3
- package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DoJVzblM.esm.js} +3 -3
- package/dist/{apiError-CmGEmaGU.esm.js → apiError-DcSWedC6.esm.js} +2 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-CANv5-W5.d.ts} +2 -8
- package/dist/{authenticationManager-BFjSjtQ_.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
- package/dist/{authenticationStateMachine-Dfo34ZiI.esm.js → authenticationStateMachine-CHSxmV7z.esm.js} +5 -6
- package/dist/avatar.d.ts +1 -1
- package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.d.ts +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-CMg4SgL4.esm.js} +3 -3
- package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
- package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Cs64QmYH.esm.js} +4 -4
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CjrxY737.esm.js} +3 -3
- package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-DgzWQpAR.d.ts} +6 -7
- package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-BCj5Jb3g.esm.js} +3 -3
- package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-kdlhkmmY.esm.js} +71 -65
- package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-BHnGRsto.esm.js} +4 -4
- package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-B-1EZbP_.d.ts} +3 -3
- package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js} +15 -22
- package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-DAxImy8p.esm.js} +4 -4
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-BV6UyLFV.esm.js} +4 -4
- package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
- package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js} +3 -3
- package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
- package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-D9gI5uu7.esm.js} +3 -3
- package/dist/deepsightLoader-DvfAYnzg.esm.js +55 -0
- package/dist/{deepsightLoader-v-dLejS-.esm.js → deepsightService-DLGO9yv1.esm.js} +51 -56
- package/dist/device.esm.js +1 -1
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-C9XUnYU6.esm.js} +17 -18
- package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
- package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-BHDsCfhL.esm.js} +55 -58
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C-9Jhnd3.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
- package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-DGI_F2PP.esm.js → dynamicFormsStateMachine-DQmok084.esm.js} +4 -4
- package/dist/ekyb.d.ts +5 -5
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
- package/dist/{ekybManager-DeoMcZEz.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
- package/dist/{ekybStateMachine-D1IJ1Z72.esm.js → ekybStateMachine-hstiCNmW.esm.js} +338 -13
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BdJRUsz0.esm.js} +29 -36
- package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
- package/dist/ekycStateMachine-x6Klot8g.esm.js +1444 -0
- package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-yYUc30na.esm.js → electronicSignatureManager-Bc8spG8p.esm.js} +10 -10
- package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CtlKRRaR.esm.js} +20 -26
- package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
- package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-5Neq3rE5.esm.js} +4 -4
- package/dist/{endpoints-B-3Q-LUw.esm.js → endpoints-DHzlkQNe.esm.js} +2 -0
- package/dist/{events-ijlbX_Wx.esm.js → events-CAgFE-k3.esm.js} +19 -7
- package/dist/events.d.ts +3 -2
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +38 -38
- package/dist/extensibility.esm.js +36 -36
- package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +11 -51
- package/dist/{faceCaptureManagerFactory-B6i9QcAk.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
- package/dist/{faceCaptureSetup-DU1mjRr6.esm.js → faceCaptureSetup-Cu2wabzo.esm.js} +99 -395
- package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-9Nj9aPci.esm.js} +3 -3
- package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
- package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B9ZUnlyU.esm.js} +6 -4
- package/dist/{feature-management-C8CuN0os.esm.js → feature-management-BTbYruNe.esm.js} +3 -3
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
- package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-Dk38hXZP.esm.js} +35 -17
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
- package/dist/fiscalQrManager-DmBkQfs0.esm.js +6798 -0
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +14 -13
- package/dist/flow.esm.js +14 -14
- package/dist/{flowCompletionService-DccgtDnm.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
- package/dist/{flowServices-CdsWsppG.esm.js → flowServices-DA64AEZC.esm.js} +11 -7
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CGHBxtMb.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
- package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
- package/dist/{geolocationStateMachine-CdEb1Gn0.esm.js → geolocationStateMachine-D-cQi7ar.esm.js} +4 -4
- package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
- package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
- package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-CP0SiOOe.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-C3YQ8yCZ.esm.js} +3 -3
- package/dist/home.d.ts +3 -26
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +6 -9
- package/dist/id-selfie-flow.esm.js +23 -28
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +4 -4
- package/dist/id.esm.js +4 -205
- package/dist/{idCaptureDefaults-Dl64Trv5.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
- package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
- package/dist/{idCaptureManager-BNmVJQkd.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
- package/dist/{idCaptureServices-dtDG2HXS.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
- package/dist/{idCaptureStateMachine-BbiZD3uf.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
- package/dist/{idOcrManager-CFlDwUvN.d.ts → idOcrManager-BTdHlJ9D.d.ts} +2 -3
- package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-DxoCesYP.esm.js} +3 -3
- package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-kPn7DB2I.esm.js} +3 -3
- package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
- package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-CDhRUU5n.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-0HTVVxse.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-BleUi6TK.esm.js} +26 -13
- package/dist/{identityReuseManager-BXEBBI3N.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +164 -46
- package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-BrBUpfn5.esm.js} +89 -23
- package/dist/{index-CeaC32qI.d.ts → index-DfEuu-Ew.d.ts} +2 -2
- package/dist/index-DpTj5PFb.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-BW7V3vub.esm.js} +1 -1
- package/dist/lamejs-B6TzhU5q.esm.js +10 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-CX_Dyht7.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-DFVm_i2B.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +3 -4
- package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-CoaSB7P7.esm.js} +3 -3
- package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
- package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
- package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-d2UW0r_L.esm.js} +34 -3
- package/dist/phone-number.d.ts +24 -0
- package/dist/phone-number.esm.js +1922 -0
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-BGBcpqsk.esm.js} +31 -22
- package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
- package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-CEm2y7yG.esm.js} +39 -20
- package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-B1yQHFLu.esm.js} +4 -4
- package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine--Sr9NEVT.esm.js} +5 -5
- package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
- package/dist/{runChildModule-B2Y_hlix.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
- package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
- package/dist/{sdkVersion-N1UiyFiY.esm.js → sdkVersion-F5YZbjip.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +12 -12
- package/dist/selfieErrorUtils-D-tsgEuX.esm.js +21 -0
- package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-1J0IEyFq.d.ts} +2 -8
- package/dist/{selfieManager-AS6wfUvZ.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
- package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
- package/dist/{session-BESZc05k.esm.js → session-Bu7djCsj.esm.js} +5 -5
- package/dist/session.d.ts +15 -3
- package/dist/session.esm.js +30 -5
- package/dist/sessionInitializer-jxbfCnE-.esm.js +974 -0
- package/dist/{setup-BuPbxpwF.esm.js → setup-C38QkrSP.esm.js} +232 -112
- package/dist/{setup-Cyko6cAn.d.ts → setup-lgkQ8dJW.d.ts} +20 -11
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
- package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-qqXyH93e.esm.js} +7 -11
- package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js} +3 -3
- package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
- package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
- package/dist/{stats-CZcy2J53.esm.js → stats-DmG_tkGk.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{sessionInitializer-CnhAkMUN.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
- package/dist/{trueSightService-M5VpCo96.esm.js → trueSightService-BWgRVGIT.esm.js} +893 -900
- package/dist/trust-graph.d.ts +1 -2
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
- package/dist/{types-C1g9itHE.d.ts → types-BGXxRwQM.d.ts} +6 -7
- package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
- package/dist/{types-CxGdmzxa.d.ts → types-BvFmYX5c.d.ts} +1 -1
- package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
- package/dist/types-C71Zo6vl.d.ts +6 -0
- package/dist/{types-DEGVXwsk2.d.ts → types-CyPUIpzf.d.ts} +110 -62
- package/dist/{types-Bx-BWveD.d.ts → types-DTYr9pCB.d.ts} +1 -1
- package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
- package/dist/{types-ESdtnHtg.d.ts → types-zpO4fU6a.d.ts} +3 -4
- package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
- package/dist/video-selfie.d.ts +6 -9
- package/dist/video-selfie.esm.js +1386 -1344
- package/dist/{videoSelfieCameraWarmer-q9ZjvXu9.esm.js → videoSelfieCameraWarmer-C366RKqu.esm.js} +11 -11
- package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +4 -4
- package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
- package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
- package/dist/{warmup-ChDwHSel.esm.js → warmup-DMtbyb2l.esm.js} +27 -9
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +4 -4
- package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
- package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-kbYZ2sxw.esm.js} +259 -20
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
- package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-BvF4jK3S.esm.js} +7 -5
- package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-121XK-Et.esm.js} +3 -3
- package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-CNWEOYSq.esm.js} +3 -3
- package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
- package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-Dgfm42w2.esm.js} +3 -3
- package/dist/workflow.d.ts +34 -5
- package/dist/workflow.esm.js +64 -46
- package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
- package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
- package/package.json +13 -5
- package/dist/Actor-iTq7YY48.d.ts +0 -1
- package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
- package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
- package/dist/index-B8weJxmL.d.ts +0 -1
- package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
- package/dist/selfieStateMachine-DY7vJVNY.esm.js +0 -71
- package/dist/types-BN5RPPIZ.esm.js +0 -34
- package/dist/types-Bt9RuRqt.d.ts +0 -6
- package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
- /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
//#region ../form-definitions/generated/ekycIndex.ts
|
|
2
|
+
const EKYC_INDEX = [{
|
|
3
|
+
id: "ekyc/BR/BR_GOVT_1",
|
|
4
|
+
country: "BR",
|
|
5
|
+
source: "BR_GOVT_1"
|
|
6
|
+
}, {
|
|
7
|
+
id: "ekyc/US/US_CREDIT_TELCO",
|
|
8
|
+
country: "US",
|
|
9
|
+
source: "US_CREDIT_TELCO"
|
|
10
|
+
}];
|
|
11
|
+
//#endregion
|
|
1
12
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
2
13
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER", "US_CREDIT_TELCO"];
|
|
3
14
|
const STATE_CODE_HINTS = {
|
|
@@ -139,8 +150,16 @@ const MIDDLE_NAME_SOURCES = [
|
|
|
139
150
|
"CL_1",
|
|
140
151
|
"INDIA_PAN"
|
|
141
152
|
];
|
|
142
|
-
const PHONE_RISK_ADDONS = [
|
|
153
|
+
const PHONE_RISK_ADDONS = [
|
|
154
|
+
"phoneCheck",
|
|
155
|
+
"advancedPhoneCheck",
|
|
156
|
+
"phoneProfile"
|
|
157
|
+
];
|
|
143
158
|
const EMAIL_RISK_ADDONS = ["emailCheck"];
|
|
159
|
+
/** Risk addons that replace a `RISK_ADDONS_ONLY` source with their own. */
|
|
160
|
+
const RISK_ADDON_SOURCE_OVERRIDES = { phoneProfile: "PHONE_PROFILE" };
|
|
161
|
+
/** Sources whose submit payload must not carry `countryCode`. */
|
|
162
|
+
const COUNTRY_CODE_OMITTED_SOURCES = ["PHONE_PROFILE"];
|
|
144
163
|
//#endregion
|
|
145
164
|
//#region src/modules/ekyc/ekycUtils.ts
|
|
146
165
|
function mapToEKYCvalue(field) {
|
|
@@ -155,6 +174,15 @@ function mapToEKYCvalue(field) {
|
|
|
155
174
|
function hasRiskAddon(riskAddons, allowedAddons) {
|
|
156
175
|
return allowedAddons.some((addon) => riskAddons?.includes(addon));
|
|
157
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Resolves the source sent to the backend. A `RISK_ADDONS_ONLY` source is
|
|
179
|
+
* replaced by the first configured addon that defines its own source
|
|
180
|
+
* (e.g. `phoneProfile` → `PHONE_PROFILE`); any other source is kept.
|
|
181
|
+
*/
|
|
182
|
+
function resolveEkycSource(source, riskAddons) {
|
|
183
|
+
if (source !== "RISK_ADDONS_ONLY") return source;
|
|
184
|
+
return riskAddons?.map((addon) => RISK_ADDON_SOURCE_OVERRIDES[addon]).find(Boolean) ?? source;
|
|
185
|
+
}
|
|
158
186
|
/** Maps raw backend module config to a field-source mapping */
|
|
159
187
|
function getEKYCFields(config) {
|
|
160
188
|
const hasPhoneRiskAddon = hasRiskAddon(config.riskAddons, PHONE_RISK_ADDONS);
|
|
@@ -179,8 +207,30 @@ function getEKYCFields(config) {
|
|
|
179
207
|
panNumber: config.checkPanNumber ? mapToEKYCvalue(config.panNumberSource ?? "") : false
|
|
180
208
|
};
|
|
181
209
|
}
|
|
210
|
+
function indexCountries(entries) {
|
|
211
|
+
const countries = /* @__PURE__ */ new Map();
|
|
212
|
+
const ambiguous = /* @__PURE__ */ new Set();
|
|
213
|
+
for (const entry of entries) {
|
|
214
|
+
if (!entry.country) continue;
|
|
215
|
+
for (const id of [entry.source, ...entry.aliases ?? []]) {
|
|
216
|
+
if (!id || ambiguous.has(id)) continue;
|
|
217
|
+
const known = countries.get(id);
|
|
218
|
+
if (known === void 0) countries.set(id, entry.country);
|
|
219
|
+
else if (known !== entry.country) {
|
|
220
|
+
countries.delete(id);
|
|
221
|
+
ambiguous.add(id);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
return countries;
|
|
226
|
+
}
|
|
227
|
+
const INDEXED_COUNTRIES = indexCountries(EKYC_INDEX);
|
|
182
228
|
/** Maps a verification source string to a country code */
|
|
183
229
|
function getEKYCCountry(source) {
|
|
230
|
+
return INDEXED_COUNTRIES.get(source) ?? legacyEkycCountry(source);
|
|
231
|
+
}
|
|
232
|
+
/** Today's source → country switch, the fallback when the index has no entry. */
|
|
233
|
+
function legacyEkycCountry(source) {
|
|
184
234
|
switch (source) {
|
|
185
235
|
case "BR_GOVT_1":
|
|
186
236
|
case "SERPRO": return "BR";
|
|
@@ -225,7 +275,7 @@ function hasRawSignal(c) {
|
|
|
225
275
|
function toEkycConfig(config) {
|
|
226
276
|
if (config.flowId || config.verificationFields) return config;
|
|
227
277
|
if (!hasRawSignal(config)) return config;
|
|
228
|
-
const source = config.source ?? "";
|
|
278
|
+
const source = resolveEkycSource(config.source ?? "", config.riskAddons);
|
|
229
279
|
return {
|
|
230
280
|
verificationFields: getEKYCFields(config),
|
|
231
281
|
source,
|
|
@@ -247,4 +297,4 @@ function isFieldOptional(fieldName, configSource) {
|
|
|
247
297
|
return false;
|
|
248
298
|
}
|
|
249
299
|
//#endregion
|
|
250
|
-
export {
|
|
300
|
+
export { STATE_CODE_HINTS as _, toEkycConfig as a, CITY_SOURCES as c, EMAIL_SOURCES as d, HOUSE_NO_SOURCES as f, POSTAL_CODE_SOURCES as g, ONE_OF_REQUIRED_GROUPS as h, resolveEkycSource as i, COUNTRY_CODE_OMITTED_SOURCES as l, NAME_SOURCES as m, getEKYCFields as n, ADDRESS_STATE_SOURCES as o, MIDDLE_NAME_SOURCES as p, isFieldOptional as r, APARTMENT_SOURCES as s, getEKYCCountry as t, COUNTRY_SELECTOR_DISABLED_SOURCES as u, STREET_SOURCES as v, TAX_ID_SOURCES as y };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, f as NAMIRIAL_QES_CONSENT_KEYS, g as QeConsentKey, h as QE_CONSENT_KEYS, i as ConsentKey, m as NamirialQesConsentKey, n as AeConsentKey, p as NAMIRIAL_QES_PROVIDER_CODE, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS, u as ElectronicSignatureProviderTerms, x as getConsentKeys } from "./types-D0gekt4U.js";
|
|
2
|
-
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-
|
|
2
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
3
3
|
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureActor, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureProviderTerms, type ElectronicSignatureState, type ElectronicSignatureVariant, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, type NamirialQesConsentKey, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Bc8spG8p.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
1
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-
|
|
7
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
8
|
-
import { t as externalFetch } from "./externalFetch-
|
|
4
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DcSWedC6.esm.js";
|
|
6
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
7
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
8
|
+
import { t as externalFetch } from "./externalFetch-DrR9xshk.esm.js";
|
|
9
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
10
10
|
async function fetchUnsignedDocuments(signal) {
|
|
11
11
|
try {
|
|
@@ -672,8 +672,8 @@ function getAdSignatureScreenName(snapshot) {
|
|
|
672
672
|
case "processing":
|
|
673
673
|
case "fetchingSignedDocs": return "AdSign.AcceptSign.processing";
|
|
674
674
|
case "success":
|
|
675
|
-
case "successDownload":
|
|
676
|
-
case "finished": return "
|
|
675
|
+
case "successDownload": return "AdSign.success";
|
|
676
|
+
case "finished": return "";
|
|
677
677
|
case "error": return "AdSign.AcceptSign.error";
|
|
678
678
|
case "signError": return "AdSign.AcceptSign.error";
|
|
679
679
|
default: return;
|
|
@@ -717,8 +717,8 @@ function getQSignatureScreenName(snapshot) {
|
|
|
717
717
|
case "processing":
|
|
718
718
|
case "fetchingSignedDocs": return "QSign.AcceptSign.processing";
|
|
719
719
|
case "success":
|
|
720
|
-
case "successDownload":
|
|
721
|
-
case "finished": return "
|
|
720
|
+
case "successDownload": return "QSign.success";
|
|
721
|
+
case "finished": return "";
|
|
722
722
|
case "error": return "QSign.AcceptSign.error";
|
|
723
723
|
case "signError": return "QSign.AcceptSign.error";
|
|
724
724
|
default: return;
|
package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, d as DoneActorEvent, f as ErrorActorEvent, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./Actor-iTq7YY48.js";
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
5
4
|
import { _ as QesTermsResponse, a as ElectronicSignatureConfig, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, i as ConsentKey, l as ElectronicSignatureInput, o as ElectronicSignatureContext, r as ConsentChecks, s as ElectronicSignatureDocument, u as ElectronicSignatureProviderTerms, v as SignedDocument, y as UnsignedDocsResponse } from "./types-D0gekt4U.js";
|
|
6
5
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
|
|
7
6
|
declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContext, {
|
package/dist/email.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-
|
|
1
|
+
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
2
2
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
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-5Neq3rE5.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-CtlKRRaR.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
|
+
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-5Neq3rE5.esm.js";
|
|
4
|
+
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
4
5
|
//#region src/modules/email/emailActor.ts
|
|
5
6
|
function createEmailActor(options) {
|
|
6
7
|
return createActor(emailMachine, { input: { config: options.config } }).start();
|
|
@@ -95,38 +96,31 @@ function createEmailActor(options) {
|
|
|
95
96
|
* ```
|
|
96
97
|
*/
|
|
97
98
|
/**
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* Source of truth: Email Input Module Figma file → Tracked Events canvas
|
|
104
|
-
* (`https://www.figma.com/design/IovIhDAPjR7zxjC4NKZzfq/Email-Input-Module?node-id=3031-82920`).
|
|
105
|
-
*
|
|
106
|
-
* Figma screens that have no dedicated state-machine counterpart yet
|
|
107
|
-
* (intentionally not mapped here — they collapse into the section's primary
|
|
108
|
-
* screen until the SM surfaces them):
|
|
109
|
-
*
|
|
110
|
-
* - `email.verifyEmail.typing` / `email.verifyEmail.filled` — UI sub-states of `inputting`.
|
|
111
|
-
* - `email.verifyEmail.error` — UI surface of inline validation error on `inputting`.
|
|
112
|
-
* - `email.OTP.filled` — UI sub-state of `awaitingOtp`.
|
|
113
|
-
*
|
|
114
|
-
* Terminal SM `error` is mapped to `email.error.somethingWentWrong`, and
|
|
115
|
-
* `finished` is mapped to `email.success` so the adapter never falls back to
|
|
116
|
-
* the generic `<module>.finished` / `<module>.error` defaults.
|
|
99
|
+
* Email input instance names follow the ENG-45716 v4 baseline. Figma's
|
|
100
|
+
* containing sections still use the older verifyEmail prefix; the instances
|
|
101
|
+
* use verifyYourEmail. OTP retains its existing section names.
|
|
102
|
+
* https://www.figma.com/design/IovIhDAPjR7zxjC4NKZzfq?node-id=3031-82920
|
|
103
|
+
* Input and OTP screens also respond to context-only edits and validation.
|
|
117
104
|
*/
|
|
118
105
|
function getEmailScreenName(snapshot) {
|
|
119
106
|
const { value } = snapshot;
|
|
120
107
|
if (typeof value !== "string") return void 0;
|
|
121
108
|
switch (value) {
|
|
122
|
-
case "idle":
|
|
109
|
+
case "idle": return "email.verifyYourEmail.default";
|
|
123
110
|
case "inputting":
|
|
124
|
-
case "validatingSubmit":
|
|
111
|
+
case "validatingSubmit": {
|
|
112
|
+
const { email, isValid, validationErrors, emailError } = snapshot.context;
|
|
113
|
+
if (validationErrors?.email || emailError) return "email.verifyYourEmail.error";
|
|
114
|
+
if (!email.trim()) return "email.verifyYourEmail.default";
|
|
115
|
+
return isValid ? "email.verifyYourEmail.filled" : "email.verifyYourEmail.typing";
|
|
116
|
+
}
|
|
125
117
|
case "loadingPrefill":
|
|
126
|
-
case "submitting": return "email.
|
|
118
|
+
case "submitting": return "email.verifyYourEmail.loading";
|
|
127
119
|
case "sendingInitialOtp":
|
|
128
120
|
case "resendingOtp": return "email.OTP.loading";
|
|
129
|
-
case "awaitingOtp":
|
|
121
|
+
case "awaitingOtp":
|
|
122
|
+
if (snapshot.context.otpValidationErrors?.otp) return "email.OTP.error";
|
|
123
|
+
return isOtpComplete(snapshot.context.otpCode) ? "email.OTP.filled" : "email.OTP.typing";
|
|
130
124
|
case "verifyingOtp": return "email.OTP.processing";
|
|
131
125
|
case "otpError": return "email.OTP.error";
|
|
132
126
|
case "finished": return "email.success";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
|
|
5
5
|
//#region src/modules/email/types.d.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -48,6 +48,7 @@ const endpoints = {
|
|
|
48
48
|
deviceStats: "/omni/device/stats",
|
|
49
49
|
featureConfig: "/omni/feature-config",
|
|
50
50
|
deviceFingerprint: "/omni/add/device-fingerprint",
|
|
51
|
+
deviceFingerprintSignals: "/omni/add/device-fingerprint-signals",
|
|
51
52
|
onboardingStatus: "/omni/get/onboarding/status",
|
|
52
53
|
customFields: "/omni/get/custom-fields",
|
|
53
54
|
addCustomFields: "/omni/add/custom-fields",
|
|
@@ -83,6 +84,7 @@ const endpoints = {
|
|
|
83
84
|
qrValidateUuid: "/omni/qr/validate",
|
|
84
85
|
addSignature: "/omni/add/signature",
|
|
85
86
|
addSignatureV2: "/omni/add/signature/v2",
|
|
87
|
+
identityReuseCandidates: "/omni/identity-reuse/candidates",
|
|
86
88
|
identityReuseDocuments: "/omni/identity-reuse/documents",
|
|
87
89
|
identityReuseSubmit: "/omni/identity-reuse/submit",
|
|
88
90
|
processAntifraud: "/omni/process/antifraud",
|
|
@@ -117,8 +117,9 @@ function subscribeEvent(listener) {
|
|
|
117
117
|
* Fire-and-forget: never blocks, never throws.
|
|
118
118
|
* Subscribers always receive the event at emit time. When a batcher is
|
|
119
119
|
* registered, the event is enqueued for batched delivery. Before any batcher
|
|
120
|
-
* is registered (events fired pre-`setup()`),
|
|
120
|
+
* is registered (events fired pre-`setup()`), ordinary events are buffered in a
|
|
121
121
|
* one-shot pending queue and drained into the batcher when it's registered.
|
|
122
|
+
* State changes are dropped from transport until a session can own them.
|
|
122
123
|
*/
|
|
123
124
|
function addEvent(event) {
|
|
124
125
|
eventBus.emit(event);
|
|
@@ -130,6 +131,7 @@ function addEvent(event) {
|
|
|
130
131
|
payload: event.payload ?? {}
|
|
131
132
|
};
|
|
132
133
|
if (!analyticsBatcher) {
|
|
134
|
+
if (entry.code === "stateChanged") return;
|
|
133
135
|
pendingEvents.push(entry);
|
|
134
136
|
return;
|
|
135
137
|
}
|
|
@@ -206,7 +208,7 @@ function stateChanged(module, screen, payload) {
|
|
|
206
208
|
screenEvent({
|
|
207
209
|
module,
|
|
208
210
|
screen,
|
|
209
|
-
code: "
|
|
211
|
+
code: "stateChanged",
|
|
210
212
|
payload
|
|
211
213
|
});
|
|
212
214
|
}
|
|
@@ -318,7 +320,11 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
318
320
|
onModuleOpened: moduleOpened,
|
|
319
321
|
onModuleClosed: moduleClosed,
|
|
320
322
|
onScreenOpened: screenOpened,
|
|
321
|
-
onScreenClosed:
|
|
323
|
+
onScreenClosed: options?.getEventStateName ? (moduleName, screenName) => {
|
|
324
|
+
getAnalyticsBatcher()?.flushStateChanges?.();
|
|
325
|
+
screenClosed(moduleName, screenName);
|
|
326
|
+
} : screenClosed,
|
|
327
|
+
onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
|
|
322
328
|
onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
|
|
323
329
|
errorName,
|
|
324
330
|
...payload
|
|
@@ -333,6 +339,12 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
333
339
|
getEventScreenName: options?.getEventScreenName,
|
|
334
340
|
getScreenName: options?.getScreenName
|
|
335
341
|
}),
|
|
342
|
+
getStateName: (snapshot) => {
|
|
343
|
+
const stateName = options?.getEventStateName?.(snapshot);
|
|
344
|
+
if (stateName === void 0) return;
|
|
345
|
+
const trimmed = stateName.trim();
|
|
346
|
+
return trimmed.length > 0 ? trimmed : void 0;
|
|
347
|
+
},
|
|
336
348
|
getErrorName: (snapshot) => {
|
|
337
349
|
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
338
350
|
if (mappedError === void 0) return;
|
|
@@ -516,10 +528,10 @@ const videoSelfieEvents = {
|
|
|
516
528
|
videoSelfieReconnected: "videoSelfieReconnected"
|
|
517
529
|
};
|
|
518
530
|
const tutorialScreenNamesMapper = {
|
|
519
|
-
passport:
|
|
520
|
-
front:
|
|
521
|
-
back:
|
|
522
|
-
selfie:
|
|
531
|
+
passport: "TUTORIAL_PASSPORT",
|
|
532
|
+
front: "FRONT_ID_CAPTURE_TUTORIAL",
|
|
533
|
+
back: "BACK_ID_CAPTURE_TUTORIAL",
|
|
534
|
+
selfie: "SELFIE_CAPTURE_TUTORIAL"
|
|
523
535
|
};
|
|
524
536
|
const cameraScreenNamesMapper = {
|
|
525
537
|
front: "front",
|
package/dist/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-DpTj5PFb.js";
|
|
2
2
|
//#region src/internal/events/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Raw SDK analytics event used by dashboard tracking and custom analytics.
|
|
@@ -236,8 +236,9 @@ declare function subscribeEvent(listener: EventSubscriber): () => void;
|
|
|
236
236
|
* Fire-and-forget: never blocks, never throws.
|
|
237
237
|
* Subscribers always receive the event at emit time. When a batcher is
|
|
238
238
|
* registered, the event is enqueued for batched delivery. Before any batcher
|
|
239
|
-
* is registered (events fired pre-`setup()`),
|
|
239
|
+
* is registered (events fired pre-`setup()`), ordinary events are buffered in a
|
|
240
240
|
* one-shot pending queue and drained into the batcher when it's registered.
|
|
241
|
+
* State changes are dropped from transport until a session can own them.
|
|
241
242
|
*/
|
|
242
243
|
declare function addEvent(event: Event): void;
|
|
243
244
|
//#endregion
|
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-CAgFE-k3.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
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { E as createActor, O as fromPromise } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { n as fromCallback } from "./callback-645_omgz.js";
|
|
3
|
-
import "./
|
|
4
|
-
import "./Actor-
|
|
3
|
+
import "./Manager-C9T5amUN.js";
|
|
4
|
+
import "./Actor-DpTj5PFb.js";
|
|
5
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-
|
|
7
|
-
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-
|
|
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-
|
|
9
|
-
import "./createFaceAvatar-
|
|
10
|
-
import {
|
|
11
|
-
import "./StreamCanvasCapture-
|
|
12
|
-
import { i as
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
import { a as
|
|
16
|
-
import { a as
|
|
17
|
-
import { a as
|
|
18
|
-
import { a as
|
|
19
|
-
import { a as
|
|
20
|
-
import { a as
|
|
21
|
-
import { a as
|
|
22
|
-
import { a as
|
|
23
|
-
import { a as
|
|
24
|
-
import { i as
|
|
25
|
-
import { i as
|
|
26
|
-
import {
|
|
27
|
-
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-
|
|
28
|
-
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-
|
|
29
|
-
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
30
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
31
|
-
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
33
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
34
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
35
|
-
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-
|
|
36
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
-
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-
|
|
38
|
-
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-
|
|
39
|
-
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-
|
|
40
|
-
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-
|
|
41
|
-
import "./types-
|
|
6
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
7
|
+
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
|
|
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-jKQ2QtY-.js";
|
|
9
|
+
import "./createFaceAvatar-DXgmQmQy.js";
|
|
10
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-CPX0RGdQ.js";
|
|
11
|
+
import "./StreamCanvasCapture-DVmzJux5.js";
|
|
12
|
+
import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BY97SRCV.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CANv5-W5.js";
|
|
14
|
+
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DgzWQpAR.js";
|
|
16
|
+
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
17
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B-1EZbP_.js";
|
|
18
|
+
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
19
|
+
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DkyDtm3Y.js";
|
|
21
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
|
|
22
|
+
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BaZ_7CEu.js";
|
|
23
|
+
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DW-ynodd.js";
|
|
24
|
+
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
25
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-1J0IEyFq.js";
|
|
26
|
+
import { i as CaptureIdResponse } from "./types-CyPUIpzf.js";
|
|
27
|
+
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BO-LTih5.js";
|
|
28
|
+
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
|
|
29
|
+
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
|
|
31
|
+
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-TkX57U6f.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BTdHlJ9D.js";
|
|
34
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-CVsvpVbQ.js";
|
|
35
|
+
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
36
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Dn24g1fl.js";
|
|
37
|
+
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-B82zOut8.js";
|
|
38
|
+
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
|
|
39
|
+
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-DIgG-UFS.js";
|
|
40
|
+
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-D0Iy7EKR.js";
|
|
41
|
+
import "./types-DTYr9pCB.js";
|
|
42
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
43
43
|
type AuthenticationUploadResponse = {
|
|
44
44
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
4
|
-
import { s as createActor } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
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 createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-
|
|
11
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
12
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
13
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
14
|
-
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-
|
|
15
|
-
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
20
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import {
|
|
23
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
24
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
25
|
-
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-
|
|
26
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
27
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
28
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
29
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
30
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
31
|
-
import { n as createSignatureManagerFromActor } from "./signatureManager-
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
-
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-
|
|
34
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
35
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
36
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
2
|
+
import { u as BrowserStorageProvider } from "./setup-C38QkrSP.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-jxbfCnE-.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Bc8spG8p.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-HL08jeDX.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cu2wabzo.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-SaiAxqvS.esm.js";
|
|
10
|
+
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-CMg4SgL4.esm.js";
|
|
11
|
+
import { n as createConsentManagerFromActor } from "./consentManager-CjrxY737.esm.js";
|
|
12
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BHnGRsto.esm.js";
|
|
13
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DBNIn8BF.esm.js";
|
|
14
|
+
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BV6UyLFV.esm.js";
|
|
15
|
+
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DML0UPzf.esm.js";
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-C9XUnYU6.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-5uIXobxi.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CazShiQz.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-BdJRUsz0.esm.js";
|
|
20
|
+
import { n as createEmailManagerFromActor } from "./emailManager-CtlKRRaR.esm.js";
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-26pENXxw.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-D4V8vXtY.esm.js";
|
|
23
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-BGBcpqsk.esm.js";
|
|
24
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CNWEOYSq.esm.js";
|
|
25
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BvF4jK3S.esm.js";
|
|
26
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BleUi6TK.esm.js";
|
|
27
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-Dk38hXZP.esm.js";
|
|
28
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CX_Dyht7.esm.js";
|
|
29
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-DxoCesYP.esm.js";
|
|
30
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B1yQHFLu.esm.js";
|
|
31
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-qqXyH93e.esm.js";
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-CqNLY45e.esm.js";
|
|
33
|
+
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CP0SiOOe.esm.js";
|
|
34
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CDhRUU5n.esm.js";
|
|
35
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-9Nj9aPci.esm.js";
|
|
36
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DmBkQfs0.esm.js";
|
|
37
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 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
2
|
+
import { r as stripUrlQueryAndFragment, t as buildUrlWithSearchParams } from "./urlUtils-6jsE6rKp.esm.js";
|
|
2
3
|
//#region ../infra/src/http/externalFetch.ts
|
|
3
4
|
/**
|
|
4
5
|
* Lightweight fetch wrapper for requests to external URLs (e.g. presigned S3).
|
|
@@ -13,7 +14,7 @@ async function externalFetch(config) {
|
|
|
13
14
|
body: config.body,
|
|
14
15
|
signal: config.signal
|
|
15
16
|
});
|
|
16
|
-
if (!res.ok) throw new
|
|
17
|
+
if (!res.ok) throw reportHttpError(new HttpRequestError(res.status, res.statusText, stripUrlQueryAndFragment(url), config.method, Object.fromEntries(res.headers), null), config.headers);
|
|
17
18
|
return res;
|
|
18
19
|
}
|
|
19
20
|
//#endregion
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-DIgG-UFS.js";
|
|
2
2
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
3
3
|
declare const faceMatchMachine: any;
|
|
4
4
|
//#endregion
|
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-B9ZUnlyU.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-9Nj9aPci.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|