@incodetech/core 2.4.1-agentic.10 → 2.4.1-agentic.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Actor-DqjOqDfU.d.ts +1 -0
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-BSLpXAGx.esm.js → FaceDetectionProvider-WtuJ6QBK.esm.js} +16 -11
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-BnBfA6fb.d.ts} +24 -2
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-C_puwvVn.esm.js → WasmUtilProvider-D5RMElzw.esm.js} +47 -4
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-B_4JYKa-.esm.js → addressSearch-BzAy6lhp.esm.js} +6 -7
- package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
- 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-BWCVkSu2.esm.js → antifraudManager-Bw5nw5fh.esm.js} +5 -3
- package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudStateMachine-CX9I2f3s.esm.js → antifraudStateMachine-kOfsaAuT.esm.js} +4 -6
- package/dist/{api-BSnbg4HO.esm.js → api-DSZSaaWr.esm.js} +3 -1
- package/dist/{apiError-Bmwy1Fa7.esm.js → apiError-BDuL1wTs.esm.js} +1 -1
- package/dist/{attemptCarry-zQH85Elh.esm.js → attemptCarry-QFQkA3na.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BoiOaB0m.esm.js → authenticationManager-B0SioAdd.esm.js} +7 -6
- package/dist/{authenticationManager-CISxaY6N.d.ts → authenticationManager-eYcurNiS.d.ts} +2 -2
- package/dist/{authenticationStateMachine-BMD1JLwr.esm.js → authenticationStateMachine-n1OrhPTv.esm.js} +50 -18
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-PIj2uGBm.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
- package/dist/calendarDate-DcqGuEht.esm.js +35 -0
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
- package/dist/camera-9yYDUOsO.d.ts +5 -0
- package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
- package/dist/camera.d.ts +2 -2
- 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-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
- package/dist/{certificateIssuanceManager-DzDuQTsK.esm.js → certificateIssuanceManager-DPT8E9zV.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-BAOYLACb.esm.js → certificateIssuanceStateMachine-BwDb3ezx.esm.js} +3 -3
- package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -8
- package/dist/{consentManager-DFSKQTcR.esm.js → consentManager-DRMJ3O4r.esm.js} +5 -3
- package/dist/{consentStateMachine-4nZIH2O8.esm.js → consentStateMachine-Br0JbW7k.esm.js} +6 -9
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +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-D7ka2qOC.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +6 -5
- package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
- package/dist/curp-DZGvefg3.esm.js +14 -0
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-BKUDQ55W.esm.js} +6 -4
- package/dist/{curpValidationManager-DEqTUWdu.d.ts → curpValidationManager-DgUZySoq.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-FB_MRbZQ.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +16 -17
- 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-gbsq53p6.esm.js → customFieldsManager-CPhONu5i.esm.js} +15 -17
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-50APwk4Z.esm.js → customWatchlistManager-cN57usIW.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-CpEVPzuT.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +4 -6
- package/dist/{deepsightLoader-BKCT8UT1.esm.js → deepsightLoader-ClCQCdeL.esm.js} +5 -5
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
- package/dist/{desktopCameraElection-Dvvw7PRY.esm.js → desktopCameraElection-btFONYx6.esm.js} +23 -11
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +15 -15
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.d.ts +123 -0
- package/dist/document-signature.esm.js +149 -0
- package/dist/{documentCaptureManager-BG5TuqJz.esm.js → documentCaptureManager-5I3lKDVW.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +6 -5
- package/dist/{documentCaptureStateMachine-C7PW_Ah9.esm.js → documentCaptureStateMachine-jtQHasPA.esm.js} +9 -12
- package/dist/documentSignatureStateMachine-DKtU0H-F.esm.js +218 -0
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-B0bpHhhJ.esm.js → dynamicFormsManager-B6Bv32wU.esm.js} +5 -3
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-2ZHyejBc.esm.js → dynamicFormsStateMachine-Kauq2oB-.esm.js} +12 -13
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybManager-P9mC7W9J.esm.js → ekybManager-wi135kG-.esm.js} +5 -3
- package/dist/{ekybStateMachine-C7HKaeVr.esm.js → ekybStateMachine-Vjb6_mFt.esm.js} +19 -23
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-q1fos6IY.d.ts → ekycManager-BKVQazAb.d.ts} +47 -6
- package/dist/{ekycManager-CeeJoRFY.esm.js → ekycManager-DWCL912J.esm.js} +39 -16
- package/dist/{ekycPrefillManager-PPGVZbWk.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -3
- package/dist/{ekycPrefillManager-C6BFFKxc.esm.js → ekycPrefillManager-C27Cu6rn.esm.js} +3 -2
- package/dist/{ekycPrefillStateMachine-Dku90kZL.esm.js → ekycPrefillStateMachine-DqXvupSw.esm.js} +12 -13
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-1hyjJ6bw.esm.js} +201 -38
- package/dist/{ekycStateMachine-DBTczgGE.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +478 -73
- package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-D9ui9Ztp.esm.js} +49 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
- package/dist/{electronicSignatureManager-BKQuhJm_.esm.js → electronicSignatureManager-BHnxFx7u.esm.js} +11 -17
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CGmKbsBL.esm.js → emailManager-CfvR6pQN.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CGY1UGs2.esm.js → emailStateMachine-C4FouMzc.esm.js} +5 -7
- package/dist/events-CsPmTidH.esm.js +299 -0
- package/dist/events.d.ts +4 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +41 -41
- package/dist/extensibility.esm.js +38 -38
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-ClFsByZc.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js} +17 -6
- package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts} +23 -10
- package/dist/{faceCaptureSetup-9hv5GC_H.esm.js → faceCaptureSetup-q33e6ah9.esm.js} +61 -42
- package/dist/{faceMatchManager-BZtEw6bB.d.ts → faceMatchManager-C5b5WtcY.d.ts} +3 -2
- package/dist/{faceMatchManager-CRe7Nvm6.esm.js → faceMatchManager-CsPFaja4.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js} +24 -23
- package/dist/{feature-management-CmKTG_T5.esm.js → feature-management-BhRKAG--.esm.js} +3 -2
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DuosZJso.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +7 -7
- package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-ji0qDaTW.esm.js → fiscalQrManager-CpX6MOy_.esm.js} +9 -8
- package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +48 -12
- package/dist/flow.esm.js +214 -58
- package/dist/{flowCompletionService-DvcH16XO.esm.js → flowCompletionService-E_6ChYsV.esm.js} +2 -2
- package/dist/{flowServices-Ca2vKNt2.esm.js → flowServices-C23o7MqO.esm.js} +375 -13
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
- package/dist/{geolocationManager-CiG32lIm.esm.js → geolocationManager-dgMVi0ed.esm.js} +5 -3
- package/dist/{geolocationStateMachine-5rnTEOuw.esm.js → geolocationStateMachine-CCVd9xGh.esm.js} +8 -10
- package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-BivVZNVe.esm.js → governmentValidationManager-D2KGYDws.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-CeSDNgha.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +4 -6
- package/dist/home.d.ts +4 -3
- package/dist/home.esm.js +4 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-selfie-flow.d.ts +5 -4
- package/dist/id-selfie-flow.esm.js +13 -12
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-DBnOC28H.esm.js → idCaptureDefaults-BivjtJka.esm.js} +1 -1
- package/dist/{idCaptureManager-B5xqok0L.esm.js → idCaptureManager-B_deOVCC.esm.js} +15 -15
- package/dist/{idCaptureManager-CG8zbAp0.d.ts → idCaptureManager-DzAMWmRO.d.ts} +17 -9
- package/dist/{idCaptureServices-BIF_7rub.esm.js → idCaptureServices-BFCsusKB.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-B5cfgKvn.esm.js → idCaptureStateMachine--CMATkG9.esm.js} +52 -57
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-DNbVTMIu.esm.js → idOcrManager-C-_bzBSX.esm.js} +5 -3
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-DflRx-_u.d.ts} +5 -4
- package/dist/{idOcrStateMachine-MAGnpWkb.esm.js → idOcrStateMachine-BNtBkAXC.esm.js} +13 -10
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationManager-BEAkamNm.esm.js → idVerificationManager-CdvGdtg2.esm.js} +5 -3
- package/dist/{idVerificationStateMachine-D5mBN2Ye.esm.js → idVerificationStateMachine-mozw0CIg.esm.js} +4 -6
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.d.ts +97 -0
- package/dist/identity-search.esm.js +96 -0
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
- package/dist/{identityReuseManager-M8-BTjar.esm.js → identityReuseManager-Z1Re4UGd.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-D5bXgw9h.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js} +24 -31
- package/dist/{index-CSPOoqah.d.ts → index-C0WIMlJE.d.ts} +2 -2
- package/dist/{index-Btj1EhiM.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/index-DHuAkTe0.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-C1-j4fsq.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
- package/dist/{kybChecksManager-CnqwgKoV.esm.js → kybChecksManager-D-mVF14T.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-Be41K_NS.esm.js → kybChecksStateMachine-BARZh9GN.esm.js} +11 -14
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-LFhUlLvO.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +5 -3
- package/dist/{mandatoryConsentManager-CYOJd_IZ.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +10 -9
- package/dist/{mandatoryConsentStateMachine-DTSyDqQs.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +6 -9
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
- package/dist/{multipartRecordingService-CCiRpByl.esm.js → multipartRecordingService-CEtaAPz4.esm.js} +2 -2
- package/dist/{permissionGuards-DjQUR1du.esm.js → permissionGuards-BJIaHxvI.esm.js} +1 -1
- package/dist/{permissionServices-CZpORUWY.esm.js → permissionServices-6Mdq1hDk.esm.js} +8 -5
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
- package/dist/{phoneManager-C-qD3p3N.esm.js → phoneManager-D8-l6-0y.esm.js} +5 -3
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneServices-BdR1nmSO.esm.js → phoneServices-C9lFIuCM.esm.js} +3 -7
- package/dist/{phoneStateMachine-2FMTdjtJ.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +4 -4
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-B1YnoBer.esm.js → processFaceMatch-B1Mhqkep.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BVSCo0ac.esm.js → recordingService-CLGnDCDl.esm.js} +7 -6
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CqyDfDxs.esm.js → redirectToMobileManager-Djb_daci.esm.js} +6 -4
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
- package/dist/{redirectToMobileStateMachine-CXqfo2Gd.esm.js → redirectToMobileStateMachine-BCyQFlpn.esm.js} +9 -19
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BmteMhR7.esm.js → runChildModule-DF2c6TxC.esm.js} +8 -6
- package/dist/{sdkVersion-KZROt6l3.esm.js → sdkVersion-B5_kVegT.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +13 -12
- package/dist/{selfieErrorUtils-fqxp645p.esm.js → selfieErrorUtils-BVuv5qO7.esm.js} +1 -1
- package/dist/{selfieManager-DREuBhXZ.d.ts → selfieManager-C5a6Fw6W.d.ts} +2 -2
- package/dist/{selfieManager-A-n3k9Tu.esm.js → selfieManager-Dnb5h3qV.esm.js} +7 -6
- package/dist/{selfieStateMachine-48PKdKrw.esm.js → selfieStateMachine-BT69FLFb.esm.js} +5 -5
- package/dist/{session-D0DWDKp9.esm.js → session-OCc4b-Iv.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-I92b2dmL.esm.js → sessionInitializer-BUUpdBy6.esm.js} +11 -12
- package/dist/{setup-CG6oLkAa.d.ts → setup-BpD7lYSf.d.ts} +5 -4
- package/dist/{setup-BpjzWqR1.esm.js → setup-CJMohzTE.esm.js} +10 -9
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-M9vQBj19.esm.js → signatureManager-B6dRieBV.esm.js} +5 -3
- package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
- package/dist/{signatureStateMachine-0_frzAN5.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +5 -7
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-C2sigf9p.esm.js → stats-VqHbD5rn.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +3 -2
- package/dist/step-up.esm.js +2 -1
- package/dist/{tri-DaUNvo-o.esm.js → tri-B5Yh5glk.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DHYTBCIn.esm.js → trueSightService-D9D2IdEj.esm.js} +8 -6
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +5 -3
- package/dist/{types-TisHEbBg.d.ts → types-B2DGXHe6.d.ts} +30 -1
- package/dist/{types-BqlZSoZ-.d.ts → types-BBHnkH6S.d.ts} +4 -4
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/{types-P9LzsfRo.d.ts → types-BkWUNheX.d.ts} +1 -1
- package/dist/types-C2uJrJrS.d.ts +6 -0
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/{events-C7h7oaTE.esm.js → types-CBQN04Rh.esm.js} +5 -299
- package/dist/{types-CyNndVAT.d.ts → types-CaVUb1DL.d.ts} +1 -1
- package/dist/{types-Cbm9J2yF.d.ts → types-Crg7oL-l.d.ts} +1 -1
- package/dist/{types-CgihAhT_.d.ts → types-x5MQKskR.d.ts} +4 -2
- package/dist/video-selfie.d.ts +6 -5
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-CTOpqhov.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js} +9 -9
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts} +18 -8
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-lRIgn5Ic.esm.js → wasmDsFlagSync-BNttW5Sm.esm.js} +1 -1
- 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-C1S5y5yj.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-Bj_hnoK5.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +12 -9
- package/dist/{watchlistManager-BpegtZbc.esm.js → watchlistManager-CGXbemnp.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-Bgkh1gra.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +4 -6
- package/dist/workflow.d.ts +6 -5
- package/dist/workflow.esm.js +53 -43
- package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
- package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
- package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
- package/package.json +11 -1
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/camera-9wWD-pwg.d.ts +0 -4
- package/dist/index-DpTj5PFb.d.ts +0 -1
- package/dist/nationalIds-B91f_RuB.esm.js +0 -99
- package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
- package/dist/tri.esm-Df5eKLsY.esm.js +0 -2165
- package/dist/types-kLsU6Jkt.d.ts +0 -6
|
@@ -90,9 +90,11 @@ const endpoints = {
|
|
|
90
90
|
qrValidateUuid: "/omni/qr/validate",
|
|
91
91
|
addSignature: "/omni/add/signature",
|
|
92
92
|
addSignatureV2: "/omni/add/signature/v2",
|
|
93
|
-
|
|
93
|
+
documentSignatureDocuments: "/omni/document-signature/documents",
|
|
94
|
+
documentSignatureSign: "/omni/document-signature/sign",
|
|
94
95
|
identityReuseDocuments: "/omni/identity-reuse/documents",
|
|
95
96
|
identityReuseSubmit: "/omni/identity-reuse/submit",
|
|
97
|
+
identitySearch: "/omni/identity-search",
|
|
96
98
|
processAntifraud: "/omni/process/antifraud",
|
|
97
99
|
processGlobalWatchlist: "/omni/process/global-watchlist",
|
|
98
100
|
processWatchlist: "/omni/process/watchlist",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DhDPxxp-.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-eYcurNiS.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-n1OrhPTv.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B0SioAdd.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-BoiOaB0m.esm.js → authenticationManager-B0SioAdd.esm.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { n as eventModuleNames } from "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CJMohzTE.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
|
+
import "./events-CsPmTidH.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BjVIUTMM.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-n1OrhPTv.esm.js";
|
|
7
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
9
|
function createAuthenticationActor(options) {
|
|
9
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DhDPxxp-.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as assign } from "./xstate.esm-
|
|
2
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
1
|
+
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-q33e6ah9.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-WtuJ6QBK.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-btFONYx6.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
|
@@ -26,14 +26,29 @@ const AUTH_ERROR_MAP = {
|
|
|
26
26
|
HINT_NOT_PROVIDED: FACE_ERROR_CODES.HINT_NOT_PROVIDED
|
|
27
27
|
};
|
|
28
28
|
const NON_RETRYABLE_AUTH_ERROR_CODES = [FACE_ERROR_CODES.NONEXISTENT_CUSTOMER, FACE_ERROR_CODES.HINT_NOT_PROVIDED];
|
|
29
|
+
const IDENTITY_REUSE_NON_RETRYABLE_AUTH_ERROR_CODES = [...NON_RETRYABLE_AUTH_ERROR_CODES, FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED];
|
|
30
|
+
/**
|
|
31
|
+
* The code an authentication ends with once its attempts run out. Today's
|
|
32
|
+
* `NO_MORE_ATTEMPTS`, which a flow advances past. With `identityReuseOutcomes`
|
|
33
|
+
* that code means "not recognized" only: if no attempt came back
|
|
34
|
+
* USER_IS_NOT_RECOGNIZED, the module ends with the last attempt's code, which
|
|
35
|
+
* fails the flow.
|
|
36
|
+
*
|
|
37
|
+
* @param lastAttemptCode - Why the last attempt failed, when known. After a
|
|
38
|
+
* reconnect that carried a spent budget it is lost, and SERVER_ERROR stands in.
|
|
39
|
+
*/
|
|
40
|
+
const getExhaustedAuthErrorCode = ({ identityReuseOutcomes, userNotRecognized, lastAttemptCode }) => {
|
|
41
|
+
if (!identityReuseOutcomes || userNotRecognized || lastAttemptCode === FACE_ERROR_CODES.USER_IS_NOT_RECOGNIZED) return FACE_ERROR_CODES.NO_MORE_ATTEMPTS;
|
|
42
|
+
return lastAttemptCode ?? FACE_ERROR_CODES.SERVER;
|
|
43
|
+
};
|
|
29
44
|
const validateAuthUploadResponse = (response) => {
|
|
30
45
|
if (!response) return FACE_ERROR_CODES.SERVER;
|
|
31
46
|
if (response.overallStatus !== "PASS") return AUTH_ERROR_MAP[response.error?.name] ?? FACE_ERROR_CODES.SERVER;
|
|
32
47
|
};
|
|
33
|
-
const isTerminalAuthError = (response, attemptsRemaining) => {
|
|
34
|
-
if (!response) return false;
|
|
48
|
+
const isTerminalAuthError = (response, attemptsRemaining, nonRetryableCodes = NON_RETRYABLE_AUTH_ERROR_CODES) => {
|
|
49
|
+
if (!response || response.overallStatus === "PASS") return false;
|
|
35
50
|
const mappedError = AUTH_ERROR_MAP[response.error?.name];
|
|
36
|
-
if (mappedError &&
|
|
51
|
+
if (mappedError && nonRetryableCodes.includes(mappedError)) return true;
|
|
37
52
|
if (attemptsRemaining <= 0) return true;
|
|
38
53
|
return false;
|
|
39
54
|
};
|
|
@@ -44,6 +59,11 @@ const isTerminalAuthError = (response, attemptsRemaining) => {
|
|
|
44
59
|
* to the auth response shape. Centralizes the one cast the auth variant needs.
|
|
45
60
|
*/
|
|
46
61
|
const authUploadResponse = (context) => context.uploadResponse;
|
|
62
|
+
/**
|
|
63
|
+
* The step runs in a Flow with identity reuse, whose preset sets this field
|
|
64
|
+
* (see `FlowModuleConfig['AUTHENTICATION'].identityReuseOutcomes`).
|
|
65
|
+
*/
|
|
66
|
+
const usesIdentityReuseOutcomes = (context) => context.config.identityReuseOutcomes === true;
|
|
47
67
|
const authenticationMachine = faceCaptureMachine.provide({
|
|
48
68
|
actors: {
|
|
49
69
|
protectedFaceController: createDefaultProtectedFaceControllerActor({
|
|
@@ -53,16 +73,28 @@ const authenticationMachine = faceCaptureMachine.provide({
|
|
|
53
73
|
processFace: fromPromise(async () => ({}))
|
|
54
74
|
},
|
|
55
75
|
actions: {
|
|
56
|
-
setUploadErrorFromUploadValidation: assign(
|
|
57
|
-
if (isOnDeviceMode(context.config)) return;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
type: "FACE_AUTH_ERROR",
|
|
63
|
-
message: "No more attempts remaining",
|
|
64
|
-
moduleErrorCode: FACE_ERROR_CODES.NO_MORE_ATTEMPTS
|
|
76
|
+
setUploadErrorFromUploadValidation: assign(({ context }) => {
|
|
77
|
+
if (isOnDeviceMode(context.config)) return { uploadError: void 0 };
|
|
78
|
+
const uploadError = validateAuthUploadResponse(authUploadResponse(context)) ?? FACE_ERROR_CODES.SERVER;
|
|
79
|
+
return {
|
|
80
|
+
uploadError,
|
|
81
|
+
userNotRecognized: context.userNotRecognized === true || uploadError === FACE_ERROR_CODES.USER_IS_NOT_RECOGNIZED
|
|
65
82
|
};
|
|
83
|
+
}),
|
|
84
|
+
setTerminalError: assign({ error: ({ context }) => {
|
|
85
|
+
if (context.attemptsRemaining <= 0) {
|
|
86
|
+
const resp = authUploadResponse(context);
|
|
87
|
+
const responseCode = resp?.error?.name ? AUTH_ERROR_MAP[resp.error.name] : void 0;
|
|
88
|
+
return {
|
|
89
|
+
type: "FACE_AUTH_ERROR",
|
|
90
|
+
message: "No more attempts remaining",
|
|
91
|
+
moduleErrorCode: getExhaustedAuthErrorCode({
|
|
92
|
+
identityReuseOutcomes: usesIdentityReuseOutcomes(context),
|
|
93
|
+
userNotRecognized: context.userNotRecognized === true,
|
|
94
|
+
lastAttemptCode: context.uploadError ?? responseCode
|
|
95
|
+
})
|
|
96
|
+
};
|
|
97
|
+
}
|
|
66
98
|
const resp = authUploadResponse(context);
|
|
67
99
|
return {
|
|
68
100
|
type: "FACE_AUTH_ERROR",
|
|
@@ -78,7 +110,7 @@ const authenticationMachine = faceCaptureMachine.provide({
|
|
|
78
110
|
},
|
|
79
111
|
isTerminalUploadError: ({ context }) => {
|
|
80
112
|
if (isOnDeviceMode(context.config)) return false;
|
|
81
|
-
return isTerminalAuthError(authUploadResponse(context), context.attemptsRemaining);
|
|
113
|
+
return isTerminalAuthError(authUploadResponse(context), context.attemptsRemaining, usesIdentityReuseOutcomes(context) ? IDENTITY_REUSE_NON_RETRYABLE_AUTH_ERROR_CODES : NON_RETRYABLE_AUTH_ERROR_CODES);
|
|
82
114
|
},
|
|
83
115
|
isNoAttemptsTerminal: () => true
|
|
84
116
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
2
|
+
import { i as isIOS, r as isDesktop, s as isIPhone14OrHigher, t as isAndroid, u as isSafari } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
+
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-CJKApt0x.esm.js";
|
|
4
4
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
5
5
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
6
6
|
import { n as isBackFacingTrack, r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261118130106-3b5181d76a540a606e9971dfbe3ea37052d775a9/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
|
|
2
2
|
var n = {};
|
|
3
3
|
var t = Uint8Array;
|
|
4
4
|
var i = Uint16Array;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region src/internal/forms/checks/calendarDate.ts
|
|
2
|
+
const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
3
|
+
const DAYS = [
|
|
4
|
+
31,
|
|
5
|
+
28,
|
|
6
|
+
31,
|
|
7
|
+
30,
|
|
8
|
+
31,
|
|
9
|
+
30,
|
|
10
|
+
31,
|
|
11
|
+
31,
|
|
12
|
+
30,
|
|
13
|
+
31,
|
|
14
|
+
30,
|
|
15
|
+
31
|
|
16
|
+
];
|
|
17
|
+
const INVALID_DATE_ERROR_KEY = "validation.invalidDate";
|
|
18
|
+
/** An ISO date that exists in the Gregorian calendar. */
|
|
19
|
+
function isCalendarDate(value) {
|
|
20
|
+
const match = ISO_DATE.exec(value);
|
|
21
|
+
if (!match) return false;
|
|
22
|
+
const year = Number(match[1]);
|
|
23
|
+
const month = Number(match[2]);
|
|
24
|
+
const day = Number(match[3]);
|
|
25
|
+
if (year < 1 || month < 1 || month > 12 || day < 1) return false;
|
|
26
|
+
const leap = year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
27
|
+
return day <= (month === 2 && leap ? 29 : DAYS[month - 1] ?? 0);
|
|
28
|
+
}
|
|
29
|
+
/** Leaves required checks and whitespace normalization to the caller. */
|
|
30
|
+
function calendarDateError(value) {
|
|
31
|
+
if (value === void 0 || value === "") return void 0;
|
|
32
|
+
return typeof value === "string" && isCalendarDate(value) ? void 0 : INVALID_DATE_ERROR_KEY;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { calendarDateError as n, INVALID_DATE_ERROR_KEY as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as Snapshot, M as AnyActorSystem, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, m as EventObject, n as ActorLogic } from "./spawn-COZKetCS.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/actors/callback.d.ts
|
|
3
3
|
type CallbackSnapshot<TInput> = Snapshot<undefined> & {
|
|
4
4
|
input: TInput;
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
* all, so nothing here can throw in hosts that delete or block the storage
|
|
14
14
|
* globals.
|
|
15
15
|
*
|
|
16
|
-
* Written by the acquisition helpers in `./camera
|
|
17
|
-
* `BrowserCameraProvider`, and by the WASM camera step through
|
|
16
|
+
* Written by the acquisition helpers in `./camera` and by the WASM camera step through
|
|
18
17
|
* `CameraCycleProvider.startCameraCycle` (the kit keeps no permission state).
|
|
19
18
|
* Read by Core's `checkPermission()`, which trusts it
|
|
20
19
|
* only on Android WebView — where the Permissions API structurally cannot
|
|
@@ -136,6 +135,14 @@ async function requestCameraWithFallback(baseConstraints, fallbacks = DEFAULT_RE
|
|
|
136
135
|
}
|
|
137
136
|
throw new Error("All camera resolution fallbacks failed");
|
|
138
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* The video tracks of `video` with the audio tracks of `audio`, as one stream.
|
|
140
|
+
* Returns `video` itself when `audio` has no audio track.
|
|
141
|
+
*/
|
|
142
|
+
function withAudioTracks(video, audio) {
|
|
143
|
+
const audioTracks = audio?.getAudioTracks() ?? [];
|
|
144
|
+
return audioTracks.length > 0 ? new MediaStream([...video.getVideoTracks(), ...audioTracks]) : video;
|
|
145
|
+
}
|
|
139
146
|
function stopCameraStream(stream) {
|
|
140
147
|
for (const track of stream.getTracks()) track.stop();
|
|
141
148
|
}
|
|
@@ -147,4 +154,4 @@ async function applyTrackConstraints(track, constraints) {
|
|
|
147
154
|
await track.applyConstraints(constraints);
|
|
148
155
|
}
|
|
149
156
|
//#endregion
|
|
150
|
-
export { stopCameraStream as a,
|
|
157
|
+
export { stopCameraStream as a, isCameraDenialErrorName as c, requestCameraWithFallback as i, isCameraGrantedInDocument as l, enumerateVideoDevices as n, withAudioTracks as o, requestCameraAccess as r, clearCameraGrantedInDocument as s, applyTrackConstraints as t, markCameraGrantedInDocument as u };
|
package/dist/camera.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ type RequestPermissionOptions = {
|
|
|
4
4
|
requestMotion?: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Also request microphone access in the same `getUserMedia` call. Used by
|
|
7
|
-
* Video Selfie,
|
|
8
|
-
*
|
|
7
|
+
* Video Selfie, and by ID and selfie when they record a merged session with
|
|
8
|
+
* sound. Defaults to `false`, so other flows keep `{ video: true }` exactly.
|
|
9
9
|
*/
|
|
10
10
|
requestAudio?: boolean;
|
|
11
11
|
};
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-6Mdq1hDk.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-BcYhxO63.js";
|
|
2
2
|
//#region src/modules/certificate-issuance/certificateIssuanceUtils.d.ts
|
|
3
3
|
declare function emptyPasswordValidations(): PasswordValidations;
|
|
4
4
|
declare function validatePassword(value: string): PasswordValidations;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BwDb3ezx.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-DPT8E9zV.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
5
|
//#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
|
|
5
6
|
declare const MIN_PASSWORD_LENGTH = 8;
|
|
6
7
|
declare const PASSWORD_VALIDATION_KEYS: readonly ["length", "uppercase", "lowercase", "number"];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BwDb3ezx.esm.js";
|
|
4
6
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
7
|
/**
|
|
6
8
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as getApi, r as getToken, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { n as getApi, r as getToken, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-cUjJYyXj.esm.js";
|
|
5
5
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
6
6
|
function buildIssueCertificateUrl(baseURL) {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
2
|
-
/** Countries whose tax ID is a CNPJ and must pass {@link validateCNPJ}. */
|
|
3
|
-
const COUNTRIES_WITH_CNPJ_VALIDATION = ["BR"];
|
|
1
|
+
//#region src/internal/forms/checks/cnpj.ts
|
|
4
2
|
const CNPJ_FORMATTED_LENGTH = 18;
|
|
5
3
|
const CNPJ_CLEAN_LENGTH = 14;
|
|
6
4
|
const INVALID_CNPJ_PATTERNS = [
|
|
@@ -69,6 +67,10 @@ function validateCNPJ(cnpjInput) {
|
|
|
69
67
|
if (cnpj.charAt(13) !== second) return false;
|
|
70
68
|
return true;
|
|
71
69
|
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/shared/validators/cnpj.ts
|
|
72
|
+
/** Countries whose tax ID is a CNPJ and must pass {@link validateCNPJ}. */
|
|
73
|
+
const COUNTRIES_WITH_CNPJ_VALIDATION = ["BR"];
|
|
72
74
|
/** Returns true when CNPJ validation applies for the given country. */
|
|
73
75
|
function requiresCnpjValidation(country) {
|
|
74
76
|
return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
|
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-B0YKqYtZ.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-Br0JbW7k.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DRMJ3O4r.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
5
|
//#region src/modules/consent/types.d.ts
|
|
5
6
|
type ConsentConfig = {
|
|
6
7
|
combinedConsents?: string;
|
|
@@ -86,6 +87,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
86
87
|
type: "setLoadError";
|
|
87
88
|
params: NonReducibleUnknown;
|
|
88
89
|
};
|
|
90
|
+
resetContext: {
|
|
91
|
+
type: "resetContext";
|
|
92
|
+
params: NonReducibleUnknown;
|
|
93
|
+
};
|
|
89
94
|
setConsentData: {
|
|
90
95
|
type: "setConsentData";
|
|
91
96
|
params: NonReducibleUnknown;
|
|
@@ -94,14 +99,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
99
|
type: "toggleCheckbox";
|
|
95
100
|
params: NonReducibleUnknown;
|
|
96
101
|
};
|
|
97
|
-
resetContext: {
|
|
98
|
-
type: "resetContext";
|
|
99
|
-
params: NonReducibleUnknown;
|
|
100
|
-
};
|
|
101
102
|
}>, {
|
|
102
103
|
type: "canSubmit";
|
|
103
104
|
params: unknown;
|
|
104
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
105
106
|
readonly id: "consent";
|
|
106
107
|
readonly initial: "idle";
|
|
107
108
|
readonly context: ({ input }: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
5
7
|
//#region src/modules/consent/consentActor.ts
|
|
6
8
|
function createConsentActor(options) {
|
|
7
9
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
5
5
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
6
6
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
7
|
-
|
|
7
|
+
return (await api.get(endpoints.getCombinedConsent, {
|
|
8
8
|
signal,
|
|
9
9
|
query: {
|
|
10
10
|
id: consentId,
|
|
11
11
|
language: language ?? "en"
|
|
12
12
|
}
|
|
13
|
-
});
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
})).data;
|
|
16
14
|
}
|
|
17
15
|
async function submitCombinedConsent(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.signCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
16
|
+
await api.post(endpoints.signCombinedConsent, params, { signal });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/modules/consent/consentStateMachine.ts
|
|
@@ -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-crZcIUSY.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-BIQ-SYcR.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
7
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
6
8
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
7
9
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
8
10
|
const MIN_DISPLAY_MS = 3e3;
|
|
9
11
|
async function processCrossDocumentDataMatch(signal) {
|
|
10
12
|
const [res] = await Promise.all([api.post(endpoints.processCrossDocumentDataMatch, {}, { signal }), sleep(MIN_DISPLAY_MS)]);
|
|
11
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processCrossDocumentDataMatch} failed: ${res.status} ${res.statusText}`);
|
|
12
13
|
return res.data;
|
|
13
14
|
}
|
|
14
15
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.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;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/internal/forms/checks/curp.ts
|
|
2
|
+
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)$/;
|
|
3
|
+
/**
|
|
4
|
+
* Mexican CURP layout: 4 letters (the second a vowel or X), a YYMMDD birth
|
|
5
|
+
* date, H, M or X for sex, a state code (NE for born abroad), 3 consonants, a
|
|
6
|
+
* letter or digit, and a final digit. Format only: the check digit isn't
|
|
7
|
+
* computed, as in SDK1 (see "Gaps" in the eKYC drafts README for how to add
|
|
8
|
+
* it). The CURP module checks the same layout.
|
|
9
|
+
*/
|
|
10
|
+
function isValidCurp(curp) {
|
|
11
|
+
return typeof curp === "string" && curp.length === 18 && CURP_PATTERN.test(curp.toUpperCase());
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { isValidCurp as t };
|
|
@@ -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-DgUZySoq.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 { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BKUDQ55W.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-BKUDQ55W.esm.js}
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
7
|
+
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
6
8
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
7
9
|
function createCurpValidationActor(options) {
|
|
8
10
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-B2DGXHe6.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 */
|