@incodetech/core 2.4.1-agentic.9 → 2.5.0-agentic
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/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-Dv9iXub0.esm.js} +21 -13
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +7 -6
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +25 -3
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DVFDFlIL.esm.js} +63 -6
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-BKlynuBr.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-CbIwM35x.esm.js → antifraudManager-BI2zr7YX.esm.js} +5 -3
- package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-TWUu8wLN.esm.js} +4 -6
- package/dist/{api-C_P9YXbL.esm.js → api-BNxrW8xK.esm.js} +4 -1
- package/dist/{apiError-BeWqIYu8.esm.js → apiError-BAfdBGxH.esm.js} +1 -1
- package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-DWM8lV9V.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-BJElkTsj.d.ts} +2 -2
- package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-DFzByAYo.esm.js} +7 -6
- package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-CKTOhwwc.esm.js} +50 -18
- package/dist/avatar.d.ts +1 -1
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-DJEJnmCd.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 +7 -3
- 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-CrF3wjCH.esm.js → certificateIssuanceManager-P44yBRop.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-BPBrILt6.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-BD7wwgat.esm.js → consentManager-D43w2ms-.esm.js} +5 -3
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-Duzd8paN.d.ts} +4 -3
- package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-CLK8PfM4.esm.js} +6 -9
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-Ct9QrQ66.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-CUc1uACE.esm.js → crossDocumentDataMatchManager-Cag_bcyW.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-DBfZSQbu.esm.js → curpValidationManager-C6WmQToS.esm.js} +6 -4
- package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-CmL52FU8.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BbJ4YAzE.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-BZhIPyaY.esm.js → customFieldsManager-BBy6X9nh.esm.js} +15 -17
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-CtBMy2EF.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-SS2ssNCg.esm.js} +4 -6
- package/dist/deepsightCaptureConfig-Nm_K8twx.esm.js +70 -0
- package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-BInnND1H.esm.js} +7 -6
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-B-Z2EgJJ.esm.js} +51 -1
- package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-JNBOXqvK.esm.js} +110 -13
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +16 -16
- 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-v57klTso.esm.js → documentCaptureManager-CGDtkfWj.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +7 -6
- package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-flAt9D4q.esm.js} +11 -13
- package/dist/documentSignatureStateMachine-DrRyICFT.esm.js +219 -0
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-CxLq2KzT.esm.js} +5 -3
- package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-By-maT_4.esm.js} +12 -13
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-CE19Pcdb.esm.js} +5 -3
- package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-q7JQ-x9l.esm.js} +1214 -91
- package/dist/{ekybUtils-Cw8Ta9Qi.esm.js → ekybUtils-Z9MhFAer.esm.js} +11 -1
- package/dist/ekyc-prefill.d.ts +3 -3
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
- package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-p3uenUEi.esm.js} +39 -16
- package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +10 -9
- package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-gPX3XE7u.esm.js} +3 -2
- package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-SBnBKPGA.esm.js} +12 -13
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-BH_Ll_0A.esm.js} +201 -38
- package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-D0NAHzS7.esm.js} +1031 -132
- package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-DEvtEyBI.esm.js} +55 -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-u3UBhWw_.esm.js → electronicSignatureManager-C1M-Yxf2.esm.js} +11 -17
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-DWnhEsUf.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine--T9PHflK.esm.js} +5 -7
- package/dist/events-ChMS-UzR.esm.js +299 -0
- package/dist/events.d.ts +4 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +42 -42
- 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-DKJUjsV2.esm.js → faceCaptureManagerFactory-18QW0lmV.esm.js} +29 -12
- package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CHqmyOjM.d.ts} +35 -16
- package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-CFToXwHy.esm.js} +115 -74
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
- package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-DIStK4qi.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-DagrRdo2.esm.js} +49 -34
- package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-BlscKbeV.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-BLLj_Ey1.esm.js → fieldComparisonManager-BnWBtMN7.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-Bh3rxb7Y.esm.js → fiscalQrManager-BxXaLhin.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 +50 -14
- package/dist/flow.esm.js +214 -58
- package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-DNLssMAg.esm.js} +2 -2
- package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-Bzq3piUR.esm.js} +378 -18
- 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-BA57nCxj.esm.js → geolocationManager-DoLbpx5e.esm.js} +5 -3
- package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-d5_E7gAm.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-D5HkBqfr.esm.js → governmentValidationManager-CaZxyEOO.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-DeHHhlcf.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 +7 -6
- package/dist/id-selfie-flow.esm.js +14 -13
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +5 -5
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-R3rHuTOE.esm.js} +4 -4
- package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-CgkQW3Xc.d.ts} +24 -13
- package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-D_YGMeCW.esm.js} +30 -22
- package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-CP6AxsFW.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BdBtGQZP.esm.js} +114 -96
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
- package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-XTbpfHoF.esm.js} +5 -3
- package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B-00PgPh.esm.js} +13 -10
- package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-B4NYLlUl.esm.js} +5 -3
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-B48Ikl-7.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-B1birg5X.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +84 -17
- package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-tFeYm_So.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-Ckf39qFu.esm.js} +24 -31
- package/dist/{index-DlVDVTcf.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/{index-BGnYn_4J.d.ts → index-CoePktWH.d.ts} +2 -2
- 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-BkvXSZfa.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-x2nBdasv.esm.js → kybChecksManager-DP76y-Qz.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-OKLT8Zoc.esm.js} +11 -14
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-NX1lz6nk.esm.js} +5 -3
- package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-kzr5kdc_.d.ts} +5 -4
- package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-D1J2NQSI.esm.js} +6 -9
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
- package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-Cz-cWrpV.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-Cyh71hOt.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-BrtDMB0Z.esm.js} +23 -9
- 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-BylOWecM.esm.js → phoneManager-D1QPNbu0.esm.js} +5 -3
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-DC7AuUed.esm.js} +3 -7
- package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-CxCPxTIy.esm.js} +4 -4
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-BQoiqLVh.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-CSCvD2tB.esm.js} +17 -10
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +4 -3
- package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-Dcpg5GfP.esm.js} +7 -4
- package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-BMehrtVP.esm.js} +18 -21
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-DNEmc7of.esm.js} +8 -6
- package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-etdZfyCR.esm.js} +1 -1
- package/dist/selfie.d.ts +6 -6
- package/dist/selfie.esm.js +15 -13
- package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DT-uhK20.esm.js} +1 -1
- package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-CdS6a7Q8.esm.js} +7 -6
- package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DrBYj5kA.d.ts} +2 -2
- package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-ChCl3nyf.esm.js} +5 -5
- package/dist/{session-CswNE2eZ.esm.js → session-VXYuRYzb.esm.js} +5 -4
- package/dist/session.d.ts +3 -13
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-BT_CmYcX.esm.js} +54 -79
- package/dist/{setup-Bl3CRduw.esm.js → setup-BXrgDdfx.esm.js} +14 -12
- package/dist/{setup-prV5HQCQ.d.ts → setup-rcXgYUcY.d.ts} +6 -5
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-B737Gkvk.esm.js} +5 -3
- package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
- package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-B-QG7fk0.esm.js} +5 -7
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-Bv5PiWvo.esm.js → stats-CrqhpKkP.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-BUFivnaE.esm.js → tri-BD9z6z0w.esm.js} +6 -3
- 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/trueSight-BymJD5cW.esm.js +1 -0
- package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BwyLhIAo.esm.js} +10 -8
- package/dist/trust-graph.d.ts +87 -27
- package/dist/trust-graph.esm.js +6 -25
- package/dist/trustGraphStateMachine-BxvReuo1.esm.js +58 -0
- package/dist/{types-CquDWYfv.d.ts → types-4Re9FSOw.d.ts} +68 -6
- package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/types-BtrJ5fkm.d.ts +6 -0
- package/dist/{types-LA74KylV.d.ts → types-C1056-J1.d.ts} +1 -1
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/{events-kU5WJU4B.esm.js → types-CBQN04Rh.esm.js} +5 -299
- package/dist/{types-BD9sV5oG.d.ts → types-CEGG70FK.d.ts} +16 -3
- package/dist/types-CXTDuzUJ.d.ts +16 -0
- package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
- package/dist/{types-CyNndVAT.d.ts → types-Cy6Lx3L6.d.ts} +2 -2
- package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
- package/dist/{types-0Rr7etmf.d.ts → types-DHpz4Y37.d.ts} +1 -1
- package/dist/{types-BpJ21a4T.d.ts → types-b0l9b83G.d.ts} +14 -7
- package/dist/video-selfie.d.ts +8 -7
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-DgRlU_8q.esm.js} +10 -10
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DC_Qh7qI.d.ts} +19 -9
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-BN8dG2KX.esm.js} +192 -42
- package/dist/{warmup-BO57syF6.d.ts → warmup-SWu5L7cW.d.ts} +19 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDeepsightConfigSync-DukEcrU8.esm.js +77 -0
- package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DwBfTlgB.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-B2P6Vlvv.esm.js} +32 -13
- 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-DOYmIiaj.esm.js → watchlistForBusinessManager-DxeSH80T.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BC9UWLuZ.esm.js} +12 -9
- package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BHzmC9OC.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Bxzn16iJ.esm.js} +4 -6
- package/dist/workflow.d.ts +6 -5
- package/dist/workflow.esm.js +68 -49
- 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 +13 -3
- 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-DgtAka_v.esm.js +0 -2145
- package/dist/types-B2M1IPZn.d.ts +0 -6
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
|
@@ -96,6 +96,11 @@ const EKYC_INDEX = [
|
|
|
96
96
|
country: "GT",
|
|
97
97
|
source: "GT_1"
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
id: "ekyc/HK/HK_RESIDENT_REGISTER",
|
|
101
|
+
country: "HK",
|
|
102
|
+
source: "HK_RESIDENT_REGISTER"
|
|
103
|
+
},
|
|
99
104
|
{
|
|
100
105
|
id: "ekyc/IN/IN_DMV",
|
|
101
106
|
country: "IN",
|
|
@@ -156,6 +161,11 @@ const EKYC_INDEX = [
|
|
|
156
161
|
country: "PT",
|
|
157
162
|
source: "PT_CIVIL_REG_CREDIT_TELCO"
|
|
158
163
|
},
|
|
164
|
+
{
|
|
165
|
+
id: "ekyc/PT/PT_PHONE_REGISTER",
|
|
166
|
+
country: "PT",
|
|
167
|
+
source: "PT_PHONE_REGISTER"
|
|
168
|
+
},
|
|
159
169
|
{
|
|
160
170
|
id: "ekyc/RO/RO_VOTER_REGISTER",
|
|
161
171
|
country: "RO",
|
|
@@ -166,6 +176,11 @@ const EKYC_INDEX = [
|
|
|
166
176
|
country: "SG",
|
|
167
177
|
source: "SG_PHONE_REGISTER"
|
|
168
178
|
},
|
|
179
|
+
{
|
|
180
|
+
id: "ekyc/TR/TR_VOTER_REGISTER",
|
|
181
|
+
country: "TR",
|
|
182
|
+
source: "TR_VOTER_REGISTER"
|
|
183
|
+
},
|
|
169
184
|
{
|
|
170
185
|
id: "ekyc/US/US_CREDIT_BUREAU_1",
|
|
171
186
|
country: "US",
|
|
@@ -1281,12 +1296,6 @@ const MIDDLE_NAME_SOURCES = [
|
|
|
1281
1296
|
"CL_1",
|
|
1282
1297
|
"INDIA_PAN"
|
|
1283
1298
|
];
|
|
1284
|
-
const PHONE_RISK_ADDONS = [
|
|
1285
|
-
"phoneCheck",
|
|
1286
|
-
"advancedPhoneCheck",
|
|
1287
|
-
"phoneProfile"
|
|
1288
|
-
];
|
|
1289
|
-
const EMAIL_RISK_ADDONS = ["emailCheck"];
|
|
1290
1299
|
/** Risk addons that replace a `RISK_ADDONS_ONLY` source with their own. */
|
|
1291
1300
|
const RISK_ADDON_SOURCE_OVERRIDES = { phoneProfile: "PHONE_PROFILE" };
|
|
1292
1301
|
/** Sources whose submit payload must not carry `countryCode`. */
|
|
@@ -1315,9 +1324,6 @@ function mapToEKYCvalue(field) {
|
|
|
1315
1324
|
default: return "user_input";
|
|
1316
1325
|
}
|
|
1317
1326
|
}
|
|
1318
|
-
function hasRiskAddon(riskAddons, allowedAddons) {
|
|
1319
|
-
return allowedAddons.some((addon) => riskAddons?.includes(addon));
|
|
1320
|
-
}
|
|
1321
1327
|
/**
|
|
1322
1328
|
* Resolves the source sent to the backend. A `RISK_ADDONS_ONLY` source is
|
|
1323
1329
|
* replaced by the first configured addon that defines its own source
|
|
@@ -1327,54 +1333,59 @@ function resolveEkycSource(source, riskAddons) {
|
|
|
1327
1333
|
if (source !== "RISK_ADDONS_ONLY") return source;
|
|
1328
1334
|
return riskAddons?.map((addon) => RISK_ADDON_SOURCE_OVERRIDES[addon]).find(Boolean) ?? source;
|
|
1329
1335
|
}
|
|
1330
|
-
/**
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
const shouldRenderEmail = config.checkEmail || hasEmailRiskAddon;
|
|
1335
|
-
const shouldRenderPhone = config.checkPhone || hasPhoneRiskAddon;
|
|
1336
|
-
return {
|
|
1337
|
-
name: config.checkName ? mapToEKYCvalue(config.nameSource ?? "") : false,
|
|
1338
|
-
SSN: config.checkSsn ? mapToEKYCvalue(config.ssnSource ?? "") : false,
|
|
1339
|
-
address: config.checkAddress ? mapToEKYCvalue(config.addressSource ?? "") : false,
|
|
1340
|
-
"date of birth": config.checkDob ? mapToEKYCvalue(config.dobSource ?? "") : false,
|
|
1341
|
-
email: shouldRenderEmail ? mapToEKYCvalue(config.emailSource ?? "") : false,
|
|
1342
|
-
phone: shouldRenderPhone ? mapToEKYCvalue(config.phoneSource ?? "") : false,
|
|
1343
|
-
nationality: config.checkNationality ? mapToEKYCvalue(config.nationalitySource ?? "") : false,
|
|
1344
|
-
dlNumber: config.checkDlNumber ? mapToEKYCvalue(config.dlNumberSource ?? "") : false,
|
|
1345
|
-
dlState: config.checkDlState ? mapToEKYCvalue(config.dlStateSource ?? "") : false,
|
|
1346
|
-
dlExpireAt: config.checkDlExpireAt ? mapToEKYCvalue(config.dlExpireAtSource ?? "") : false,
|
|
1347
|
-
last4SSN: config.checkLast4SSN ? mapToEKYCvalue(config.last4SSNSource ?? "") : false,
|
|
1348
|
-
idNum: config.checkIdNum ? mapToEKYCvalue(config.idNumSource ?? "") : false,
|
|
1349
|
-
idNum1: config.checkIdNum1 ? mapToEKYCvalue(config.idNum1Source ?? "") : false,
|
|
1350
|
-
gender: config.checkGender ? mapToEKYCvalue(config.genderSource ?? "") : false,
|
|
1351
|
-
panNumber: config.checkPanNumber ? mapToEKYCvalue(config.panNumberSource ?? "") : false,
|
|
1352
|
-
idType: config.checkIdType ? mapToEKYCvalue(config.idTypeSource ?? "") : false,
|
|
1353
|
-
issueDate: config.checkIssueDate ? mapToEKYCvalue(config.issueDateSource ?? "") : false,
|
|
1354
|
-
fileNumber: config.checkFileNumber ? mapToEKYCvalue(config.fileNumberSource ?? "") : false
|
|
1355
|
-
};
|
|
1356
|
-
}
|
|
1357
|
-
/** eKYC group id → the key `getEKYCFields` sets in `EkycVerificationFields`. */
|
|
1336
|
+
/**
|
|
1337
|
+
* eKYC group id → the key `getEKYCFields` sets in `EkycVerificationFields`, in
|
|
1338
|
+
* the order `getEKYCFields` has always written them.
|
|
1339
|
+
*/
|
|
1358
1340
|
const EKYC_GROUP_KEYS = {
|
|
1359
1341
|
name: "name",
|
|
1342
|
+
ssn: "SSN",
|
|
1343
|
+
address: "address",
|
|
1360
1344
|
dateOfBirth: "date of birth",
|
|
1361
1345
|
email: "email",
|
|
1362
1346
|
phone: "phone",
|
|
1363
|
-
|
|
1364
|
-
|
|
1347
|
+
nationality: "nationality",
|
|
1348
|
+
dlNumber: "dlNumber",
|
|
1349
|
+
dlState: "dlState",
|
|
1350
|
+
dlExpireAt: "dlExpireAt",
|
|
1365
1351
|
last4SSN: "last4SSN",
|
|
1366
1352
|
idNumber: "idNum",
|
|
1367
1353
|
idNumber1: "idNum1",
|
|
1368
|
-
nationality: "nationality",
|
|
1369
1354
|
gender: "gender",
|
|
1370
1355
|
panNumber: "panNumber",
|
|
1371
|
-
dlNumber: "dlNumber",
|
|
1372
|
-
dlState: "dlState",
|
|
1373
|
-
dlExpireAt: "dlExpireAt",
|
|
1374
1356
|
idType: "idType",
|
|
1375
1357
|
issueDate: "issueDate",
|
|
1376
1358
|
fileNumber: "fileNumber"
|
|
1377
1359
|
};
|
|
1360
|
+
const RISK_ADDON_PREFIX = "riskAddon:";
|
|
1361
|
+
/**
|
|
1362
|
+
* Each verification field's switches, from its vocabulary group: the config
|
|
1363
|
+
* flags and risk add-ons that turn it on (`enabledBy`, where a risk add-on is
|
|
1364
|
+
* `riskAddon:<id>`), and the config key that names its source (`sourceKey`).
|
|
1365
|
+
*/
|
|
1366
|
+
const FIELD_SWITCHES = Object.entries(EKYC_GROUP_KEYS).flatMap(([id, field]) => {
|
|
1367
|
+
const group = VOCABULARY.entries.find((entry) => entry.type === "group" && entry.id === id);
|
|
1368
|
+
if (!group?.enabledBy?.length || !group.sourceKey) throw new Error(`eKYC group "${id}" has no enabledBy or sourceKey in the vocabulary`);
|
|
1369
|
+
const enabledBy = group.enabledBy;
|
|
1370
|
+
return [{
|
|
1371
|
+
field,
|
|
1372
|
+
flags: enabledBy.filter((flag) => !flag.startsWith(RISK_ADDON_PREFIX)),
|
|
1373
|
+
riskAddons: enabledBy.filter((flag) => flag.startsWith(RISK_ADDON_PREFIX)).map((flag) => flag.slice(10)),
|
|
1374
|
+
sourceKey: group.sourceKey
|
|
1375
|
+
}];
|
|
1376
|
+
});
|
|
1377
|
+
/** Maps raw backend module config to a field-source mapping */
|
|
1378
|
+
function getEKYCFields(config) {
|
|
1379
|
+
const values = config;
|
|
1380
|
+
const riskAddons = config.riskAddons;
|
|
1381
|
+
const fields = {};
|
|
1382
|
+
for (const switches of FIELD_SWITCHES) {
|
|
1383
|
+
const on = switches.flags.some((flag) => values[flag]) || switches.riskAddons.some((addon) => riskAddons?.includes(addon));
|
|
1384
|
+
const source = values[switches.sourceKey];
|
|
1385
|
+
fields[switches.field] = on ? mapToEKYCvalue(typeof source === "string" ? source : "") : false;
|
|
1386
|
+
}
|
|
1387
|
+
return fields;
|
|
1388
|
+
}
|
|
1378
1389
|
/**
|
|
1379
1390
|
* Each verification field's display-mode key in module configuration, from
|
|
1380
1391
|
* the vocabulary's `displayModeKey` on its group.
|
|
@@ -1469,6 +1480,7 @@ function toEkycConfig(config) {
|
|
|
1469
1480
|
source,
|
|
1470
1481
|
fieldsCountry: getEKYCCountry(source),
|
|
1471
1482
|
enablePhoneRisk: config.enablePhoneRisk,
|
|
1483
|
+
...config.autoExecution === true && { autoExecution: true },
|
|
1472
1484
|
...Object.keys(displayModes).length > 0 && { displayModes }
|
|
1473
1485
|
};
|
|
1474
1486
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, f as NAMIRIAL_QES_CONSENT_KEYS, g as QeConsentKey, h as QE_CONSENT_KEYS, i as ConsentKey, m as NamirialQesConsentKey, n as AeConsentKey, p as NAMIRIAL_QES_PROVIDER_CODE, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS, u as ElectronicSignatureProviderTerms, x as getConsentKeys } from "./types-D0gekt4U.js";
|
|
2
|
-
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-
|
|
2
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
3
3
|
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureActor, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureProviderTerms, type ElectronicSignatureState, type ElectronicSignatureVariant, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, type NamirialQesConsentKey, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C1M-Yxf2.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.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, d as DoneActorEvent, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, p as ErrorActorEvent, r as ActorRef, s as AnyActorRef, t as ActionFunction, 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
|
import { _ as QesTermsResponse, a as ElectronicSignatureConfig, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, i as ConsentKey, l as ElectronicSignatureInput, o as ElectronicSignatureContext, r as ConsentChecks, s as ElectronicSignatureDocument, u as ElectronicSignatureProviderTerms, v as SignedDocument, y as UnsignedDocsResponse } from "./types-D0gekt4U.js";
|
|
5
6
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
|
|
6
7
|
declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContext, {
|
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
|
|
3
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BAfdBGxH.esm.js";
|
|
6
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
|
+
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
9
|
import { t as externalFetch } from "./externalFetch-cUjJYyXj.esm.js";
|
|
8
10
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
9
11
|
async function fetchUnsignedDocuments(signal) {
|
|
10
12
|
try {
|
|
11
|
-
|
|
12
|
-
if (!res.ok) throw res;
|
|
13
|
-
return res.data;
|
|
13
|
+
return (await api.get(endpoints.aesUnsignedDocuments, { signal })).data;
|
|
14
14
|
} catch (error) {
|
|
15
15
|
toIncodeApiError(endpoints.aesUnsignedDocuments, error);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
async function fetchSignedDocuments(signal) {
|
|
19
19
|
try {
|
|
20
|
-
|
|
21
|
-
if (!res.ok) throw res;
|
|
22
|
-
return res.data;
|
|
20
|
+
return (await api.get(endpoints.esSignedDocuments, { signal })).data;
|
|
23
21
|
} catch (error) {
|
|
24
22
|
toIncodeApiError(endpoints.esSignedDocuments, error);
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
25
|
async function fetchQesTerms(languageCode, signal) {
|
|
28
26
|
try {
|
|
29
|
-
|
|
30
|
-
if (!res.ok) throw res;
|
|
31
|
-
return res.data;
|
|
27
|
+
return (await api.post(endpoints.qesTerms, { languageCode }, { signal })).data;
|
|
32
28
|
} catch (error) {
|
|
33
29
|
toIncodeApiError(endpoints.qesTerms, error);
|
|
34
30
|
}
|
|
@@ -48,9 +44,7 @@ async function signDocument(documentRef, variant, signal) {
|
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
async function generateUploadUrl(signal) {
|
|
51
|
-
|
|
52
|
-
if (!res.ok) throw new Error(`POST ${endpoints.aesGenerateUploadUrl} failed: ${res.status} ${res.statusText}`);
|
|
53
|
-
return res.data;
|
|
47
|
+
return (await api.post(endpoints.aesGenerateUploadUrl, {}, { signal })).data;
|
|
54
48
|
}
|
|
55
49
|
async function uploadDocumentFile(presignedUrl, data, signal) {
|
|
56
50
|
await externalFetch({
|
package/dist/email.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-
|
|
1
|
+
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
2
2
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine--T9PHflK.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-DWnhEsUf.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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 { t as emailMachine } from "./emailStateMachine--T9PHflK.esm.js";
|
|
4
6
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
5
7
|
//#region src/modules/email/emailActor.ts
|
|
6
8
|
function createEmailActor(options) {
|
|
@@ -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
|
import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
|
|
5
5
|
//#region src/modules/email/types.d.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
5
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
+
import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -10,9 +10,7 @@ function getEmailServerFailureReason(error, invalidStatus) {
|
|
|
10
10
|
return "serverError";
|
|
11
11
|
}
|
|
12
12
|
async function fetchEmail(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getEmail} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
return (await api.get(endpoints.getEmail, { signal })).data;
|
|
16
14
|
}
|
|
17
15
|
async function addEmail(params, signal) {
|
|
18
16
|
try {
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { _ as stateChanged, c as elementClicked, d as foreground, f as moduleClosed, g as screenOpened, l as errorTriggered, m as screenClosed, o as background, p as moduleOpened, s as captureAttemptFinished, u as experimentAssigned, y as getAnalyticsBatcher } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api } from "./api-BNxrW8xK.esm.js";
|
|
3
|
+
//#region src/internal/events/AnalyticsBatchingService.ts
|
|
4
|
+
const DEFAULT_MAX_BATCH_SIZE = 50;
|
|
5
|
+
const MAX_STATE_BATCH_SIZE = 50;
|
|
6
|
+
const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
|
|
7
|
+
const DEFAULT_MAX_RETRIES = 2;
|
|
8
|
+
const RETRY_BASE_DELAY_MS = 250;
|
|
9
|
+
function isTransientStatus(status) {
|
|
10
|
+
return status === 0 || status >= 500 || status === 408 || status === 429;
|
|
11
|
+
}
|
|
12
|
+
function createAnalyticsBatchingService(options) {
|
|
13
|
+
const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
|
|
14
|
+
let buffer = [];
|
|
15
|
+
let stateBuffer = [];
|
|
16
|
+
let stateToken = null;
|
|
17
|
+
let stateBatches = [];
|
|
18
|
+
let stateRequestInFlight = false;
|
|
19
|
+
let started = false;
|
|
20
|
+
let disposed = false;
|
|
21
|
+
let ageTimerHandle = null;
|
|
22
|
+
let unsubscribeLifecycle = null;
|
|
23
|
+
let warnedNullToken = false;
|
|
24
|
+
function clearAgeTimer() {
|
|
25
|
+
if (ageTimerHandle !== null) {
|
|
26
|
+
timer.clearTimeout(ageTimerHandle);
|
|
27
|
+
ageTimerHandle = null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function armAgeTimerIfNeeded() {
|
|
31
|
+
if (ageTimerHandle === null) ageTimerHandle = timer.setTimeout(() => {
|
|
32
|
+
ageTimerHandle = null;
|
|
33
|
+
flush();
|
|
34
|
+
}, maxBatchAgeMs);
|
|
35
|
+
}
|
|
36
|
+
function dropTokenless() {
|
|
37
|
+
if (!warnedNullToken) {
|
|
38
|
+
warnedNullToken = true;
|
|
39
|
+
console.warn("[AnalyticsBatchingService] Dropping batch: no auth token at flush time.");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function sendBatch(batch, attempt) {
|
|
43
|
+
let promise;
|
|
44
|
+
try {
|
|
45
|
+
promise = apiClient.post(endpoint, batch, { keepalive: true });
|
|
46
|
+
} catch (error) {
|
|
47
|
+
handleSendError(batch, error, attempt);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
promise.catch((error) => handleSendError(batch, error, attempt));
|
|
51
|
+
}
|
|
52
|
+
function handleSendError(batch, error, attempt) {
|
|
53
|
+
if (disposed) return;
|
|
54
|
+
if (!isTransientStatus(error && typeof error === "object" && "status" in error ? Number(error.status) || 0 : 0)) return;
|
|
55
|
+
if (attempt >= maxRetries) return;
|
|
56
|
+
const delay = RETRY_BASE_DELAY_MS * 2 ** attempt;
|
|
57
|
+
timer.setTimeout(() => {
|
|
58
|
+
if (disposed) return;
|
|
59
|
+
sendBatch(batch, attempt + 1);
|
|
60
|
+
}, delay);
|
|
61
|
+
}
|
|
62
|
+
function flush() {
|
|
63
|
+
if (disposed || buffer.length === 0) return;
|
|
64
|
+
const batch = buffer;
|
|
65
|
+
buffer = [];
|
|
66
|
+
clearAgeTimer();
|
|
67
|
+
if (!authToken()) {
|
|
68
|
+
dropTokenless();
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
sendBatch(batch, 0);
|
|
72
|
+
}
|
|
73
|
+
function syncStateToken() {
|
|
74
|
+
const token = authToken();
|
|
75
|
+
if (token !== stateToken) {
|
|
76
|
+
stateBuffer = [];
|
|
77
|
+
stateBatches = [];
|
|
78
|
+
stateToken = token;
|
|
79
|
+
}
|
|
80
|
+
return token;
|
|
81
|
+
}
|
|
82
|
+
function sendNextStateBatch() {
|
|
83
|
+
if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
|
|
84
|
+
const token = syncStateToken();
|
|
85
|
+
const batch = stateBatches.shift();
|
|
86
|
+
if (!batch || !token) return;
|
|
87
|
+
stateRequestInFlight = true;
|
|
88
|
+
const onSettled = () => {
|
|
89
|
+
stateRequestInFlight = false;
|
|
90
|
+
sendNextStateBatch();
|
|
91
|
+
};
|
|
92
|
+
try {
|
|
93
|
+
apiClient.post(endpoint, batch.events, {
|
|
94
|
+
keepalive: true,
|
|
95
|
+
headers: { "X-Incode-Hardware-Id": batch.token }
|
|
96
|
+
}).then(onSettled, onSettled);
|
|
97
|
+
} catch {
|
|
98
|
+
Promise.resolve().then(onSettled);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function flushStateChanges() {
|
|
102
|
+
if (disposed) return;
|
|
103
|
+
const token = syncStateToken();
|
|
104
|
+
if (!token || stateBuffer.length === 0) return;
|
|
105
|
+
stateBatches.push({
|
|
106
|
+
events: stateBuffer,
|
|
107
|
+
token
|
|
108
|
+
});
|
|
109
|
+
stateBuffer = [];
|
|
110
|
+
sendNextStateBatch();
|
|
111
|
+
}
|
|
112
|
+
function sendBeacon(batch, token) {
|
|
113
|
+
const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
|
|
114
|
+
const body = JSON.stringify({
|
|
115
|
+
token,
|
|
116
|
+
events: batch
|
|
117
|
+
});
|
|
118
|
+
pageLifecycle.sendBeacon(url, body);
|
|
119
|
+
}
|
|
120
|
+
function handlePageHide() {
|
|
121
|
+
if (disposed) return;
|
|
122
|
+
const token = syncStateToken();
|
|
123
|
+
const pendingStates = stateBatches;
|
|
124
|
+
stateBatches = [];
|
|
125
|
+
if (token && stateBuffer.length > 0) pendingStates.push({
|
|
126
|
+
events: stateBuffer,
|
|
127
|
+
token
|
|
128
|
+
});
|
|
129
|
+
stateBuffer = [];
|
|
130
|
+
for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
|
|
131
|
+
if (buffer.length === 0) return;
|
|
132
|
+
const batch = buffer;
|
|
133
|
+
buffer = [];
|
|
134
|
+
clearAgeTimer();
|
|
135
|
+
if (!token) {
|
|
136
|
+
dropTokenless();
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
sendBeacon(batch, token);
|
|
140
|
+
}
|
|
141
|
+
function enqueue(entry) {
|
|
142
|
+
if (disposed) return;
|
|
143
|
+
if (entry.code === "stateChanged") {
|
|
144
|
+
if (!syncStateToken()) return;
|
|
145
|
+
stateBuffer.push(entry);
|
|
146
|
+
if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
buffer.push(entry);
|
|
150
|
+
if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
|
|
151
|
+
if (!started) return;
|
|
152
|
+
if (buffer.length >= maxBatchSize) {
|
|
153
|
+
flush();
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
armAgeTimerIfNeeded();
|
|
157
|
+
}
|
|
158
|
+
function start() {
|
|
159
|
+
if (started || disposed) return;
|
|
160
|
+
started = true;
|
|
161
|
+
unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
|
|
162
|
+
if (buffer.length > 0) flush();
|
|
163
|
+
sendNextStateBatch();
|
|
164
|
+
}
|
|
165
|
+
function dispose() {
|
|
166
|
+
if (disposed) return;
|
|
167
|
+
disposed = true;
|
|
168
|
+
clearAgeTimer();
|
|
169
|
+
unsubscribeLifecycle?.();
|
|
170
|
+
unsubscribeLifecycle = null;
|
|
171
|
+
buffer = [];
|
|
172
|
+
stateBuffer = [];
|
|
173
|
+
stateBatches = [];
|
|
174
|
+
stateToken = null;
|
|
175
|
+
}
|
|
176
|
+
return {
|
|
177
|
+
enqueue,
|
|
178
|
+
start,
|
|
179
|
+
flush,
|
|
180
|
+
flushStateChanges,
|
|
181
|
+
dispose
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/internal/events/experimentAssignment.ts
|
|
186
|
+
const assignedExperiments = /* @__PURE__ */ new Set();
|
|
187
|
+
/**
|
|
188
|
+
* Records an `experimentAssigned` interview-event, but only the first time
|
|
189
|
+
* for a given `dedupeKey` (pass the experiment's `storeParam`) since the
|
|
190
|
+
* last `resetExperimentAssignments()` call.
|
|
191
|
+
*/
|
|
192
|
+
function recordExperimentAssignmentOnce(module, dedupeKey, payload, screenName) {
|
|
193
|
+
if (assignedExperiments.has(dedupeKey)) return;
|
|
194
|
+
assignedExperiments.add(dedupeKey);
|
|
195
|
+
experimentAssigned(module, payload, screenName);
|
|
196
|
+
}
|
|
197
|
+
/** Clears the assignment dedup guard. Called from `reset()`. */
|
|
198
|
+
function resetExperimentAssignments() {
|
|
199
|
+
assignedExperiments.clear();
|
|
200
|
+
}
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region src/internal/events/managerInstrumentation.ts
|
|
203
|
+
function stateValueToScreenSegment(value) {
|
|
204
|
+
if (typeof value === "string" || typeof value === "number") {
|
|
205
|
+
const segment = String(value).trim();
|
|
206
|
+
return segment.length > 0 ? segment : void 0;
|
|
207
|
+
}
|
|
208
|
+
if (typeof value !== "object" || value === null) return;
|
|
209
|
+
const entries = Object.entries(value).sort(([left], [right]) => {
|
|
210
|
+
if (left < right) return -1;
|
|
211
|
+
if (left > right) return 1;
|
|
212
|
+
return 0;
|
|
213
|
+
});
|
|
214
|
+
if (entries.length === 0) return;
|
|
215
|
+
const branches = entries.map(([key, nestedValue]) => {
|
|
216
|
+
const trimmedKey = key.trim();
|
|
217
|
+
const nestedSegment = stateValueToScreenSegment(nestedValue);
|
|
218
|
+
if (trimmedKey.length === 0) return nestedSegment;
|
|
219
|
+
if (nestedSegment === void 0) return trimmedKey;
|
|
220
|
+
return `${trimmedKey}.${nestedSegment}`;
|
|
221
|
+
}).filter((branch) => branch !== void 0 && branch.length > 0);
|
|
222
|
+
if (branches.length === 0) return;
|
|
223
|
+
return branches.join("+");
|
|
224
|
+
}
|
|
225
|
+
function buildScreenName(moduleName, screenName) {
|
|
226
|
+
const trimmedModuleName = typeof moduleName === "string" ? moduleName.trim() : "";
|
|
227
|
+
const trimmedScreen = screenName.trim();
|
|
228
|
+
if (trimmedModuleName.length === 0) return trimmedScreen;
|
|
229
|
+
if (trimmedScreen.length === 0) return trimmedModuleName;
|
|
230
|
+
return `${trimmedModuleName}.${trimmedScreen}`;
|
|
231
|
+
}
|
|
232
|
+
function getDefaultManagerScreenName(snapshot) {
|
|
233
|
+
return stateValueToScreenSegment(snapshot.value);
|
|
234
|
+
}
|
|
235
|
+
function getManagerScreenName(moduleName, snapshot, options) {
|
|
236
|
+
const eventScreen = options?.getEventScreenName?.(snapshot);
|
|
237
|
+
if (eventScreen !== void 0) {
|
|
238
|
+
const trimmed = eventScreen.trim();
|
|
239
|
+
return trimmed.length > 0 ? trimmed : void 0;
|
|
240
|
+
}
|
|
241
|
+
const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
|
|
242
|
+
if (mappedScreen === void 0) return;
|
|
243
|
+
return buildScreenName(moduleName, mappedScreen);
|
|
244
|
+
}
|
|
245
|
+
function isErrorLikeSegment(segment) {
|
|
246
|
+
const lower = segment.toLowerCase();
|
|
247
|
+
return lower === "error" || lower.includes("error") || lower.includes("failed") || lower.includes("failure");
|
|
248
|
+
}
|
|
249
|
+
function getDefaultManagerErrorName(snapshot) {
|
|
250
|
+
const screenSegment = stateValueToScreenSegment(snapshot.value);
|
|
251
|
+
if (screenSegment === void 0) return;
|
|
252
|
+
const trimmedSegment = screenSegment.trim();
|
|
253
|
+
if (trimmedSegment.length === 0) return;
|
|
254
|
+
if (trimmedSegment.toLowerCase() === "error") return "error.unknown";
|
|
255
|
+
if (!isErrorLikeSegment(trimmedSegment)) return;
|
|
256
|
+
return `error.${trimmedSegment}`;
|
|
257
|
+
}
|
|
258
|
+
function createManagerInstrumentation(moduleName, options) {
|
|
259
|
+
const visibilityObserver = options?.visibilityObserver;
|
|
260
|
+
return {
|
|
261
|
+
moduleName,
|
|
262
|
+
onModuleOpened: moduleOpened,
|
|
263
|
+
onModuleClosed: moduleClosed,
|
|
264
|
+
onScreenOpened: screenOpened,
|
|
265
|
+
onScreenClosed: options?.getEventStateName ? (moduleName, screenName) => {
|
|
266
|
+
getAnalyticsBatcher()?.flushStateChanges?.();
|
|
267
|
+
screenClosed(moduleName, screenName);
|
|
268
|
+
} : screenClosed,
|
|
269
|
+
onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
|
|
270
|
+
onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
|
|
271
|
+
errorName,
|
|
272
|
+
...payload
|
|
273
|
+
}),
|
|
274
|
+
subscribeVisibility: visibilityObserver ? (onChange) => visibilityObserver.onVisibilityChange(onChange) : void 0,
|
|
275
|
+
getInitialVisibility: visibilityObserver ? () => visibilityObserver.isVisible() : void 0,
|
|
276
|
+
onBackground: visibilityObserver ? background : void 0,
|
|
277
|
+
onForeground: visibilityObserver ? foreground : void 0,
|
|
278
|
+
onElementClicked: (moduleName, screenName, payload) => elementClicked(moduleName, screenName, payload),
|
|
279
|
+
onCaptureAttemptFinished: (moduleName, screenName, payload) => captureAttemptFinished(moduleName, screenName, payload),
|
|
280
|
+
getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, {
|
|
281
|
+
getEventScreenName: options?.getEventScreenName,
|
|
282
|
+
getScreenName: options?.getScreenName
|
|
283
|
+
}),
|
|
284
|
+
getStateName: (snapshot) => {
|
|
285
|
+
const stateName = options?.getEventStateName?.(snapshot);
|
|
286
|
+
if (stateName === void 0) return;
|
|
287
|
+
const trimmed = stateName.trim();
|
|
288
|
+
return trimmed.length > 0 ? trimmed : void 0;
|
|
289
|
+
},
|
|
290
|
+
getErrorName: (snapshot) => {
|
|
291
|
+
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
292
|
+
if (mappedError === void 0) return;
|
|
293
|
+
return buildScreenName(moduleName, mappedError);
|
|
294
|
+
},
|
|
295
|
+
getErrorPayload: (snapshot) => options?.getErrorPayload?.(snapshot)
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
//#endregion
|
|
299
|
+
export { createAnalyticsBatchingService as i, recordExperimentAssignmentOnce as n, resetExperimentAssignments as r, createManagerInstrumentation as t };
|
package/dist/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-DHuAkTe0.js";
|
|
2
2
|
//#region src/internal/events/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Raw SDK analytics event used by dashboard tracking and custom analytics.
|
|
@@ -51,6 +51,8 @@ declare const eventModuleNames: {
|
|
|
51
51
|
readonly geolocation: "Geolocation";
|
|
52
52
|
readonly ekyb: "eKYB";
|
|
53
53
|
readonly identityReuse: "IDENTITY_REUSE";
|
|
54
|
+
readonly identitySearch: "IDENTITY_SEARCH";
|
|
55
|
+
readonly identityReusePath: "IDENTITY_REUSE_PATH";
|
|
54
56
|
readonly antifraud: "antifraud";
|
|
55
57
|
readonly aeSignature: "AdSign";
|
|
56
58
|
readonly qeSignature: "QSign";
|
|
@@ -66,6 +68,7 @@ declare const eventModuleNames: {
|
|
|
66
68
|
readonly home: "home";
|
|
67
69
|
readonly workflow: "workflow";
|
|
68
70
|
readonly fiscalQr: "FISCAL_QR";
|
|
71
|
+
readonly documentSignature: "DOCUMENT_SIGNATURE";
|
|
69
72
|
};
|
|
70
73
|
declare const eventScreenNames: {
|
|
71
74
|
readonly faceMatch: "FACE_MATCH";
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, c as elementClicked, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as experimentAssigned, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { n as recordExperimentAssignmentOnce } from "./events-ChMS-UzR.esm.js";
|
|
2
3
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|