@incodetech/core 2.3.2-rc.4 → 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-B5Fxc_y9.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--p429c2X.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-CWmZMFJH.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
- package/dist/{authenticationStateMachine-BQ7ZW-8a.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-uhDPdU6i.d.ts → consentManager-DgzWQpAR.d.ts} +11 -12
- 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-BtYvACzG.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-66GzzBTx.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
- package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-DLnr2ZtX.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-CsQMgJDL.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
- package/dist/{ekybStateMachine-DBeQNOMo.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-Boj_xbGN.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-BKpeQIZu.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
- package/dist/{faceCaptureSetup-DOrt8-Sn.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-zY6FcYx_.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-CBa6YyI5.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
- package/dist/{flowServices-JW6uRaUt.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-DD5J1T_p.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
- package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
- package/dist/{geolocationStateMachine-DoelwBqs.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-Chne8cyb.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
- package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
- package/dist/{idCaptureManager-0504dfcD.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
- package/dist/{idCaptureServices-B-Ynn67N.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
- package/dist/{idCaptureStateMachine-B7ET-hfq.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
- package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-BTdHlJ9D.d.ts} +3 -4
- 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-v2TH5g7e.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +162 -44
- 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-BYRnWbIC.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +8 -9
- 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-CZU29-IV.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
- package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
- package/dist/{sdkVersion-DOhxIxQQ.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-CWhbwRdb.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
- package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
- package/dist/{session-CctUSSCx.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-DmB0JHAB.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-Ce9zO78j.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
- package/dist/{trueSightService-oMFESSSb.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-D_4NwYM-.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-CtMCi4KZ.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
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DgzWQpAR.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-BCj5Jb3g.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CjrxY737.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-BCj5Jb3g.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -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, 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, 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
|
//#region src/modules/consent/types.d.ts
|
|
6
5
|
type ConsentConfig = {
|
|
7
6
|
combinedConsents?: string;
|
|
@@ -78,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
78
77
|
type: "setError";
|
|
79
78
|
params: NonReducibleUnknown;
|
|
80
79
|
};
|
|
81
|
-
clearError: {
|
|
82
|
-
type: "clearError";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
|
-
resetContext: {
|
|
86
|
-
type: "resetContext";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
80
|
setConsentData: {
|
|
90
81
|
type: "setConsentData";
|
|
91
82
|
params: NonReducibleUnknown;
|
|
@@ -94,10 +85,18 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
85
|
type: "toggleCheckbox";
|
|
95
86
|
params: NonReducibleUnknown;
|
|
96
87
|
};
|
|
88
|
+
clearError: {
|
|
89
|
+
type: "clearError";
|
|
90
|
+
params: NonReducibleUnknown;
|
|
91
|
+
};
|
|
92
|
+
resetContext: {
|
|
93
|
+
type: "resetContext";
|
|
94
|
+
params: NonReducibleUnknown;
|
|
95
|
+
};
|
|
97
96
|
}>, {
|
|
98
97
|
type: "canSubmit";
|
|
99
98
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "
|
|
99
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
101
100
|
readonly id: "consent";
|
|
102
101
|
readonly initial: "idle";
|
|
103
102
|
readonly context: ({ input }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
7
7
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-
|
|
1
|
+
import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
-
import { t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
5
|
+
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
7
7
|
/**
|
|
8
8
|
* Fixed protected-endpoint identifiers owned by ml-wasm-kit.
|
|
@@ -31,60 +31,6 @@ async function flagIdManualReview() {
|
|
|
31
31
|
} catch {}
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region ../infra/src/media/imageFile.ts
|
|
35
|
-
const DEFAULT_IMAGE_MIME_TYPE = "image/jpeg";
|
|
36
|
-
const DEFAULT_IMAGE_QUALITY = .92;
|
|
37
|
-
const canNormalizeImageFile = (file) => file.type.startsWith("image/") && typeof document !== "undefined" && typeof Image !== "undefined" && typeof URL !== "undefined" && typeof URL.createObjectURL === "function";
|
|
38
|
-
const readFileAsDataUrl = (file) => new Promise((resolve, reject) => {
|
|
39
|
-
const reader = new FileReader();
|
|
40
|
-
reader.onload = () => {
|
|
41
|
-
const result = reader.result;
|
|
42
|
-
if (typeof result === "string") {
|
|
43
|
-
resolve(result);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
reject(/* @__PURE__ */ new Error("FileReader produced non-string result"));
|
|
47
|
-
};
|
|
48
|
-
reader.onerror = () => {
|
|
49
|
-
reject(reader.error ?? /* @__PURE__ */ new Error("FileReader failed"));
|
|
50
|
-
};
|
|
51
|
-
reader.readAsDataURL(file);
|
|
52
|
-
});
|
|
53
|
-
const loadImage = (url) => new Promise((resolve, reject) => {
|
|
54
|
-
const image = new Image();
|
|
55
|
-
image.onload = () => resolve(image);
|
|
56
|
-
image.onerror = () => reject(/* @__PURE__ */ new Error("Image decoding failed"));
|
|
57
|
-
image.src = url;
|
|
58
|
-
});
|
|
59
|
-
const fileToCanvasDataUrl = async (file, options) => {
|
|
60
|
-
const objectUrl = URL.createObjectURL(file);
|
|
61
|
-
try {
|
|
62
|
-
const image = await loadImage(objectUrl);
|
|
63
|
-
const width = image.naturalWidth || image.width;
|
|
64
|
-
const height = image.naturalHeight || image.height;
|
|
65
|
-
if (width <= 0 || height <= 0) return readFileAsDataUrl(file);
|
|
66
|
-
const canvas = document.createElement("canvas");
|
|
67
|
-
canvas.width = width;
|
|
68
|
-
canvas.height = height;
|
|
69
|
-
const context = canvas.getContext("2d");
|
|
70
|
-
if (!context) return readFileAsDataUrl(file);
|
|
71
|
-
context.fillStyle = "#fff";
|
|
72
|
-
context.fillRect(0, 0, width, height);
|
|
73
|
-
context.drawImage(image, 0, 0, width, height);
|
|
74
|
-
return canvas.toDataURL(options.mimeType ?? DEFAULT_IMAGE_MIME_TYPE, options.quality ?? DEFAULT_IMAGE_QUALITY);
|
|
75
|
-
} finally {
|
|
76
|
-
URL.revokeObjectURL(objectUrl);
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
const imageFileToDataUrl = async (file, options = {}) => {
|
|
80
|
-
if (!canNormalizeImageFile(file)) return readFileAsDataUrl(file);
|
|
81
|
-
try {
|
|
82
|
-
return await fileToCanvasDataUrl(file, options);
|
|
83
|
-
} catch {
|
|
84
|
-
return readFileAsDataUrl(file);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
//#endregion
|
|
88
34
|
//#region ../infra/src/providers/wasm/CameraCycleProvider.ts
|
|
89
35
|
function asRecord(value) {
|
|
90
36
|
return typeof value === "object" && value !== null ? value : null;
|
|
@@ -217,6 +163,21 @@ const cameraCycleProvider = new CameraCycleProvider();
|
|
|
217
163
|
//#endregion
|
|
218
164
|
//#region src/internal/cameraCycle/protectedAttemptActor.ts
|
|
219
165
|
/**
|
|
166
|
+
* Reads the HTTP status and the body's numeric `status` from a rejected
|
|
167
|
+
* protected upload, so the face flow can show why the backend rejected the
|
|
168
|
+
* capture. Only these two numbers leave the actor, never the response itself.
|
|
169
|
+
*/
|
|
170
|
+
const getHttpFailureDetails = (error) => {
|
|
171
|
+
if (typeof error !== "object" || error === null) return {};
|
|
172
|
+
const { status, data } = error;
|
|
173
|
+
if (typeof status !== "number") return {};
|
|
174
|
+
const responseStatus = typeof data === "object" && data !== null ? data.status : void 0;
|
|
175
|
+
return typeof responseStatus === "number" ? {
|
|
176
|
+
httpStatus: status,
|
|
177
|
+
responseStatus
|
|
178
|
+
} : { httpStatus: status };
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
220
181
|
* Runs the protected lifecycle inside an owning callback actor. Keeping the
|
|
221
182
|
* implementation callable lets domain controllers compose the exact same
|
|
222
183
|
* lifecycle without placing its capability-bearing input in machine context.
|
|
@@ -231,6 +192,9 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
231
192
|
let deliveryInFlight = false;
|
|
232
193
|
let delivered = false;
|
|
233
194
|
let consuming = false;
|
|
195
|
+
let detectionPaused = false;
|
|
196
|
+
let detectionGeneration = 0;
|
|
197
|
+
let pendingDetectionReset;
|
|
234
198
|
let recorderStarted = false;
|
|
235
199
|
let recorderOperationInFlight = false;
|
|
236
200
|
let recorderPrepared = false;
|
|
@@ -279,14 +243,15 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
279
243
|
input.releaseUnadoptedStream(stream);
|
|
280
244
|
} catch {}
|
|
281
245
|
};
|
|
282
|
-
const reportFailure = (stage, code) => {
|
|
246
|
+
const reportFailure = (stage, code, http = {}) => {
|
|
283
247
|
if (!active) return;
|
|
284
248
|
sendParent({
|
|
285
249
|
type: "PROTECTED_ATTEMPT_FAILED",
|
|
286
250
|
attemptId: input.attemptId,
|
|
287
251
|
failure: {
|
|
288
252
|
stage,
|
|
289
|
-
code
|
|
253
|
+
code,
|
|
254
|
+
...http
|
|
290
255
|
}
|
|
291
256
|
});
|
|
292
257
|
};
|
|
@@ -343,6 +308,16 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
343
308
|
reportFailure("recorder", "protected-attempt-background-pause-failed");
|
|
344
309
|
}
|
|
345
310
|
};
|
|
311
|
+
const resumeDetection = () => {
|
|
312
|
+
if (!active || !ready || committed || backgrounded || detectionPaused || pendingDetectionReset === void 0) return;
|
|
313
|
+
input.resumeDetection?.(pendingDetectionReset);
|
|
314
|
+
pendingDetectionReset = void 0;
|
|
315
|
+
if (!input.cycle.setWorkflowConsuming(input.workflow, true)) {
|
|
316
|
+
failClosed("consume", "protected-attempt-consume-failed");
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
consuming = true;
|
|
320
|
+
};
|
|
346
321
|
const startConsumingAndAnnounceReady = (displayStream) => {
|
|
347
322
|
const consume = measure(() => input.cycle.setWorkflowConsuming(input.workflow, true));
|
|
348
323
|
if (!consume.value) {
|
|
@@ -435,7 +410,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
435
410
|
}
|
|
436
411
|
};
|
|
437
412
|
const commitAutoCapture = (preview) => {
|
|
438
|
-
if (!active || !ready || backgrounded || committed) return;
|
|
413
|
+
if (!active || !ready || backgrounded || detectionPaused || committed) return;
|
|
439
414
|
if (!stopConsuming()) {
|
|
440
415
|
failClosed("consume", "protected-attempt-stop-consuming-failed");
|
|
441
416
|
return;
|
|
@@ -454,7 +429,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
454
429
|
});
|
|
455
430
|
};
|
|
456
431
|
const commitManualCapture = () => {
|
|
457
|
-
if (!active || !ready || backgrounded || committed) return;
|
|
432
|
+
if (!active || !ready || backgrounded || detectionPaused || committed) return;
|
|
458
433
|
let preview;
|
|
459
434
|
try {
|
|
460
435
|
preview = input.cycle.captureProtectedFrame(input.target);
|
|
@@ -604,16 +579,18 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
604
579
|
if (backgrounded) pendingDeliveryEvent = event;
|
|
605
580
|
else sendParent(event);
|
|
606
581
|
}
|
|
607
|
-
} catch {
|
|
582
|
+
} catch (error) {
|
|
583
|
+
const http = getHttpFailureDetails(error);
|
|
608
584
|
if (backgrounded) pendingDeliveryEvent = {
|
|
609
585
|
type: "PROTECTED_ATTEMPT_FAILED",
|
|
610
586
|
attemptId: input.attemptId,
|
|
611
587
|
failure: {
|
|
612
588
|
stage: "upload",
|
|
613
|
-
code: "protected-attempt-upload-failed"
|
|
589
|
+
code: "protected-attempt-upload-failed",
|
|
590
|
+
...http
|
|
614
591
|
}
|
|
615
592
|
};
|
|
616
|
-
else reportFailure("upload", "protected-attempt-upload-failed");
|
|
593
|
+
else reportFailure("upload", "protected-attempt-upload-failed", http);
|
|
617
594
|
} finally {
|
|
618
595
|
deliveryInFlight = false;
|
|
619
596
|
}
|
|
@@ -700,6 +677,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
700
677
|
await uploadFaceResults(command);
|
|
701
678
|
return;
|
|
702
679
|
case "BACKGROUND": return;
|
|
680
|
+
case "PAUSE_DETECTION": return;
|
|
681
|
+
case "RESUME_DETECTION": return;
|
|
703
682
|
case "FOREGROUND": {
|
|
704
683
|
if (!backgrounded) return;
|
|
705
684
|
if (receivedVisibilityGeneration !== visibilityGeneration) return;
|
|
@@ -729,6 +708,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
729
708
|
}
|
|
730
709
|
}
|
|
731
710
|
backgrounded = false;
|
|
711
|
+
resumeDetection();
|
|
732
712
|
if (pendingReadyStream) {
|
|
733
713
|
const readyStream = resumedStream ?? pendingReadyStream;
|
|
734
714
|
try {
|
|
@@ -775,6 +755,32 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
775
755
|
return;
|
|
776
756
|
}
|
|
777
757
|
if (!active) return;
|
|
758
|
+
if (command.type === "PAUSE_DETECTION") {
|
|
759
|
+
if (!ready || committed) return;
|
|
760
|
+
detectionPaused = true;
|
|
761
|
+
detectionGeneration += 1;
|
|
762
|
+
pendingDetectionReset = void 0;
|
|
763
|
+
try {
|
|
764
|
+
input.pauseDetection?.();
|
|
765
|
+
if (!stopConsuming()) failClosed("consume", "protected-attempt-stop-consuming-failed");
|
|
766
|
+
} catch {
|
|
767
|
+
failClosed("consume", "protected-attempt-pause-detection-failed");
|
|
768
|
+
}
|
|
769
|
+
return;
|
|
770
|
+
}
|
|
771
|
+
if (command.type === "RESUME_DETECTION") {
|
|
772
|
+
if (!detectionPaused) return;
|
|
773
|
+
const generation = detectionGeneration;
|
|
774
|
+
commandQueue = commandQueue.then(() => {
|
|
775
|
+
if (!active || generation !== detectionGeneration || !detectionPaused) return;
|
|
776
|
+
detectionPaused = false;
|
|
777
|
+
pendingDetectionReset = command.reset;
|
|
778
|
+
resumeDetection();
|
|
779
|
+
}).catch(() => {
|
|
780
|
+
failClosed("consume", "protected-attempt-resume-detection-failed");
|
|
781
|
+
});
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
778
784
|
const receivedVisibilityGeneration = command.type === "FOREGROUND" ? visibilityGeneration : void 0;
|
|
779
785
|
if (command.type === "FOREGROUND" && startup === null) {
|
|
780
786
|
if (receivedVisibilityGeneration !== visibilityGeneration) return;
|
|
@@ -828,4 +834,4 @@ function createCameraCycleOwnership(cycle) {
|
|
|
828
834
|
};
|
|
829
835
|
}
|
|
830
836
|
//#endregion
|
|
831
|
-
export {
|
|
837
|
+
export { flagIdManualReview as a, flagFaceManualReview as i, runProtectedAttempt as n, PROTECTED_CAPTURE_TARGET as o, cameraCycleProvider as r, createCameraCycleOwnership as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-
|
|
1
|
+
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-BUPPRAA1.js";
|
|
2
2
|
//#region ../infra/src/media/canvas.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Class representing a canvas element for image capture and manipulation.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
2
2
|
//#region src/modules/cross-document-data-match/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for the cross-document data match module.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BHnGRsto.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
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 {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
4
|
+
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
7
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
8
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -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
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchStateMachine.d.ts
|
|
5
5
|
declare const crossDocumentDataMatchMachine: any;
|
|
6
6
|
type CrossDocumentDataMatchMachine = typeof crossDocumentDataMatchMachine;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-B-1EZbP_.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { a as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DAxImy8p.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DBNIn8BF.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-BGXxRwQM.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { i as isValidCurp, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DAxImy8p.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
6
6
|
function createCurpValidationActor(options) {
|
|
7
7
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -21,34 +21,27 @@ const hasNoErrors = (errors) => Object.keys(errors ?? {}).length === 0;
|
|
|
21
21
|
* The Figma sections name the analytics family as `CURP.EnterCURP.*` (verify
|
|
22
22
|
* path) and `CURP.Gene.*` (generate path), with `CURP` as the module token.
|
|
23
23
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* screen until the SM surfaces them):
|
|
24
|
+
* Input completeness and visible validation errors are derived from context.
|
|
25
|
+
* `CURP.Gene.dropdwon` remains UI-only; the manager has no picker-open state.
|
|
27
26
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* - `CURP.Gene.dropdwon` (sic — Figma typo for "dropdown") and
|
|
32
|
-
* `CURP.Gene.filled` — UI sub-states of `generateCurp.inputting`.
|
|
33
|
-
*
|
|
34
|
-
* `finished` is mapped to `CURP.EnterCURP.Verified` to keep the user on the
|
|
35
|
-
* last visible Figma success screen (the happy-path destination), preventing
|
|
36
|
-
* the adapter from falling back to the generic `<module>.finished` default.
|
|
37
|
-
* `closed` is intentionally left unmapped (terminal user-dismissed state —
|
|
38
|
-
* handled by `moduleClosed`).
|
|
27
|
+
* `finished` has no visible screen: verification failures, exhausted
|
|
28
|
+
* generation attempts and deferred results can all finish the module. Only
|
|
29
|
+
* the `success` state reports verified.
|
|
39
30
|
*/
|
|
40
31
|
function getCurpValidationScreenName(snapshot) {
|
|
41
32
|
const stateName = topLevelStateName(snapshot.value);
|
|
42
33
|
if (stateName === void 0) return void 0;
|
|
43
34
|
switch (stateName) {
|
|
44
|
-
case "idle":
|
|
45
|
-
case "enterCurp":
|
|
35
|
+
case "idle": return "CURP.EnterCURP.default";
|
|
36
|
+
case "enterCurp":
|
|
37
|
+
if (!hasNoErrors(snapshot.context.enterCurpValidationErrors)) return "CURP.EnterCURP.error";
|
|
38
|
+
return isValidCurp(snapshot.context.curp) ? "CURP.EnterCURP.filled" : "CURP.EnterCURP.default";
|
|
46
39
|
case "loading": return "CURP.EnterCURP.processing";
|
|
47
40
|
case "verifying": return "CURP.EnterCURP.verifying";
|
|
48
|
-
case "success":
|
|
49
|
-
case "finished": return "
|
|
41
|
+
case "success": return "CURP.EnterCURP.Verified";
|
|
42
|
+
case "finished": return "";
|
|
50
43
|
case "failure": return "CURP.EnterCURP.notVerify";
|
|
51
|
-
case "generateCurp": return "CURP.Gene.default";
|
|
44
|
+
case "generateCurp": return GENERATE_CURP_FIELDS.filter((field) => field.required).every((field) => snapshot.context.generateForm[field.key].trim().length > 0) ? "CURP.Gene.filled" : "CURP.Gene.default";
|
|
52
45
|
case "generating": return "CURP.Gene.generating";
|
|
53
46
|
case "confirmCurp": return "CURP.Gene.confirm";
|
|
54
47
|
case "generateError": return "CURP.Gene.error";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
7
7
|
function isValidCurp(curp) {
|
|
@@ -607,4 +607,4 @@ const curpValidationMachine = setup({
|
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
//#endregion
|
|
610
|
-
export { mexicanStates as i, ENTER_CURP_FIELD as n, GENERATE_CURP_FIELDS as r, curpValidationMachine as t };
|
|
610
|
+
export { mexicanStates as a, isValidCurp as i, ENTER_CURP_FIELD as n, GENERATE_CURP_FIELDS as r, curpValidationMachine as t };
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createCustomFieldsManagerFromActor, c as customFieldsMachine, d as CustomFieldsConfig, i as createCustomFieldsManager, l as CustomField, n as CustomFieldsState, o as CustomFieldsActor, r as MappedCustomField, s as CustomFieldsValidationErrors, t as CustomFieldsManager, u as CustomFieldType } from "./customFieldsManager-
|
|
1
|
+
import { a as createCustomFieldsManagerFromActor, c as customFieldsMachine, d as CustomFieldsConfig, i as createCustomFieldsManager, l as CustomField, n as CustomFieldsState, o as CustomFieldsActor, r as MappedCustomField, s as CustomFieldsValidationErrors, t as CustomFieldsManager, u as CustomFieldType } from "./customFieldsManager-CF-cO8ap.js";
|
|
2
2
|
export { type CustomField, type CustomFieldType, type CustomFieldsActor, type CustomFieldsConfig, type CustomFieldsManager, type CustomFieldsState, type CustomFieldsValidationErrors, type MappedCustomField, createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BV6UyLFV.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, o as customWatchlistMachine, r as createCustomWatchlistManager, t as CustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, o as customWatchlistMachine, r as createCustomWatchlistManager, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
2
2
|
//#region src/modules/custom-watchlist/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for the custom watchlist module (INCODE_WATCHLIST flow key).
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D9gI5uu7.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-DML0UPzf.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
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 assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
5
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
8
8
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
9
9
|
async function submitCustomFields(params, signal) {
|
|
@@ -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
|
//#region src/modules/custom-fields/types.d.ts
|
|
5
5
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
6
6
|
type CustomField = {
|
package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D9gI5uu7.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
6
6
|
function createCustomWatchlistActor() {
|
|
7
7
|
return createActor(customWatchlistMachine).start();
|
|
@@ -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
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
|
|
5
5
|
type CustomWatchlistResult = 'success' | 'skipped';
|
|
6
6
|
declare const customWatchlistMachine: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
6
6
|
async function processWatchlist(signal) {
|
|
7
7
|
const res = await api.post(endpoints.processWatchlist, {}, { signal });
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-BWgRVGIT.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-F5YZbjip.esm.js";
|
|
4
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-jxbfCnE-.esm.js";
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
|
|
6
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-DLGO9yv1.esm.js";
|
|
8
|
+
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
9
|
+
var VisibilityProvider = class {
|
|
10
|
+
constructor() {
|
|
11
|
+
this._wasBackgrounded = false;
|
|
12
|
+
this.visibilityChangeHandler = this.onVisibilityChange.bind(this);
|
|
13
|
+
document.addEventListener("visibilitychange", this.visibilityChangeHandler);
|
|
14
|
+
}
|
|
15
|
+
get wasBackgrounded() {
|
|
16
|
+
return this._wasBackgrounded;
|
|
17
|
+
}
|
|
18
|
+
reset() {
|
|
19
|
+
this._wasBackgrounded = false;
|
|
20
|
+
}
|
|
21
|
+
cleanup() {
|
|
22
|
+
document.removeEventListener("visibilitychange", this.visibilityChangeHandler);
|
|
23
|
+
}
|
|
24
|
+
onVisibilityChange() {
|
|
25
|
+
if (document.hidden) this._wasBackgrounded = true;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/internal/deepsight/deepsightLoader.ts
|
|
30
|
+
async function loadDeepsightSession(options) {
|
|
31
|
+
try {
|
|
32
|
+
return await loadDeepsightSessionInternal(options);
|
|
33
|
+
} catch (error) {
|
|
34
|
+
trueSightLog("warning", "deepsight", "other", `deepsight load failed error=${String(error)}`);
|
|
35
|
+
throw error;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
async function loadDeepsightSessionInternal(options) {
|
|
39
|
+
setWasmDsFlagSync(options.ds === true);
|
|
40
|
+
const service = createDeepsightService({
|
|
41
|
+
sdkVersion: SDK_VERSION,
|
|
42
|
+
wasmUtil: await WasmUtilProvider.getInstance(),
|
|
43
|
+
visibility: new VisibilityProvider(),
|
|
44
|
+
browserEnv: new BrowserEnvironmentProvider(),
|
|
45
|
+
motionSensor: new MotionSensorProvider(),
|
|
46
|
+
ipLookup: new IpifyProvider()
|
|
47
|
+
});
|
|
48
|
+
const disableIpify = options.disableIpify ?? getDisableIpify();
|
|
49
|
+
const disableFingerprint = options.disableFingerprint ?? !getFingerprintEnabled();
|
|
50
|
+
await service.initialize(disableIpify, disableFingerprint);
|
|
51
|
+
await service.startMotionSensors();
|
|
52
|
+
return service;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { loadDeepsightSession };
|