@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
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-CJMohzTE.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-C23o7MqO.esm.js";
|
|
7
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
|
+
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
11
|
-
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
-
import { r as createRecordingCompositor } from "./CameraCompositor-
|
|
14
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
15
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
16
|
-
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-
|
|
11
|
+
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
12
|
+
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CYEHPKK6.esm.js";
|
|
14
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-CEtaAPz4.esm.js";
|
|
17
|
+
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
17
18
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
18
19
|
var wave_encoder_default = () => {
|
|
19
20
|
let BYTES_PER_SAMPLE = 2;
|
package/dist/{videoSelfieCameraWarmer-CTOpqhov.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-C23o7MqO.esm.js";
|
|
4
|
+
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-6Mdq1hDk.esm.js";
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-WtuJ6QBK.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BVuv5qO7.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BivjtJka.esm.js";
|
|
12
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
|
15
15
|
return (await api.post(endpoint, { base64Image })).data;
|
package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
|
|
2
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-x5MQKskR.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
7
7
|
/**
|
|
@@ -28,9 +28,6 @@ type VideoSelfieConfig = FlowModuleConfig['VIDEO_ONBOARDING'] & {
|
|
|
28
28
|
steps?: VideoSelfieStep[];
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../infra/src/capabilities/ICameraCapability.d.ts
|
|
32
|
-
type FacingMode = 'user' | 'environment';
|
|
33
|
-
//#endregion
|
|
34
31
|
//#region ../infra/src/media/CameraCompositor.d.ts
|
|
35
32
|
type CameraCompositorOptions = {
|
|
36
33
|
fps?: number;
|
|
@@ -120,6 +117,19 @@ declare class CameraCompositor {
|
|
|
120
117
|
* video track is stopped.
|
|
121
118
|
*/
|
|
122
119
|
switchVideo(stream: CameraStream): void;
|
|
120
|
+
/**
|
|
121
|
+
* Stops the microphone while no attempt records, so it is not held between
|
|
122
|
+
* attempts. Only the in-worker encoder can take a new microphone later
|
|
123
|
+
* (`switchAudio`); a `MediaRecorder` must keep its tracks, so there the
|
|
124
|
+
* microphone stays until `stop()`.
|
|
125
|
+
*/
|
|
126
|
+
releaseAudio(): void;
|
|
127
|
+
/**
|
|
128
|
+
* Gives the in-worker encoder the microphone of `stream` after
|
|
129
|
+
* `releaseAudio`. Otherwise the composite keeps its microphone and the audio
|
|
130
|
+
* tracks of `stream` are stopped, because nothing else would end them.
|
|
131
|
+
*/
|
|
132
|
+
switchAudio(stream: CameraStream): void;
|
|
123
133
|
/**
|
|
124
134
|
* True when this compositor records by itself: the worker transport started
|
|
125
135
|
* with `encodeInWorker` and the browser has `VideoEncoder`. Use the
|
|
@@ -220,4 +230,4 @@ type StepDetector = (params: {
|
|
|
220
230
|
registerManualCapture?: (trigger: () => void) => void;
|
|
221
231
|
}) => Promise<StepDetectionResult>;
|
|
222
232
|
//#endregion
|
|
223
|
-
export {
|
|
233
|
+
export { VideoSelfieConfig as a, CameraCompositor as i, VideoSelfieDetectionStatus as n, VideoSelfieSpeechResult as o, VideoSelfieValidationFailure as r, VideoSelfieStep as s, StepDetector as t };
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BNhIuURi.js";
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-BpD7lYSf.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
5
|
declare const DEFAULT_WASM_VERSION = "v2.14.54-post1";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as WASM_PIPELINE_MODEL_NAMES, C as buildWasmConfigFromBasePath, D as WASM_MODEL_FILES, E as resolveWasmConfig, O as WASM_PIPELINE_LAZY_MODEL_NAMES, S as buildDefaultWasmConfig, x as DEFAULT_WASM_VERSION } from "./wasmWebClient-C3v3s_4H.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-9iKKNNuW.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CJMohzTE.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
1
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
2
2
|
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
3
3
|
/**
|
|
4
4
|
* Sets the Deepsight (ds) flag that the WASM utility API receives on every
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as WatchlistForBusinessValidationErrors, t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
2
|
-
import { a as createWatchlistForBusinessManager, c as watchlistForBusinessMachine, i as WatchlistForBusinessState, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor, t as WatchlistForBusinessFinishedState } from "./watchlistForBusinessManager-
|
|
2
|
+
import { a as createWatchlistForBusinessManager, c as watchlistForBusinessMachine, i as WatchlistForBusinessState, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor, t as WatchlistForBusinessFinishedState } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
3
3
|
export { type WatchlistForBusinessActor, type WatchlistForBusinessConfig, type WatchlistForBusinessFinishedState, type WatchlistForBusinessFormState, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistForBusinessValidationErrors, createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CfLnsL8p.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
package/dist/watchlist.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as WatchlistState, o as watchlistMachine, r as createWatchlistManager, t as WatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { n as WatchlistState, o as watchlistMachine, r as createWatchlistManager, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
|
|
2
2
|
//#region src/modules/watchlist/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for the global watchlist module.
|
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
2
|
-
import { t as createWatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-CGXbemnp.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -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 { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
5
7
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
6
8
|
function createWatchlistForBusinessActor(options = {}) {
|
|
7
9
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts}
RENAMED
|
@@ -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 { n as WatchlistForBusinessValidationErrors, t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.d.ts
|
|
6
6
|
declare const watchlistForBusinessMachine: any;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
-
import {
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
+
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
6
|
+
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-Bl_olpdX.esm.js";
|
|
6
7
|
//#region ../infra/src/time/epochMsToLocalIsoDate.ts
|
|
7
8
|
/**
|
|
8
9
|
* Converts an epoch-milliseconds timestamp to the user's local calendar date
|
|
@@ -22,16 +23,14 @@ function epochMsToLocalIsoDate(epochMs) {
|
|
|
22
23
|
//#endregion
|
|
23
24
|
//#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
|
|
24
25
|
async function submitWatchlistForBusiness(data, signal) {
|
|
25
|
-
|
|
26
|
-
if (!res.ok) throw new Error(`POST ${endpoints.watchlistForBusinessSubmit} failed: ${res.status} ${res.statusText}`);
|
|
27
|
-
return res.data;
|
|
26
|
+
return (await api.post(endpoints.watchlistForBusinessSubmit, data, { signal })).data;
|
|
28
27
|
}
|
|
29
28
|
//#endregion
|
|
30
29
|
//#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.ts
|
|
31
30
|
const DEFAULT_COUNTRY = "US";
|
|
32
31
|
const BUSINESS_NAME_REQUIRED_ERROR = "dynamicForms.fieldRequired";
|
|
33
32
|
const INVALID_TAX_ID_ERROR = "ekyb.error.invalidTaxId";
|
|
34
|
-
const FUTURE_DATE_OF_INCORPORATION_ERROR = "
|
|
33
|
+
const FUTURE_DATE_OF_INCORPORATION_ERROR = "verification.errors.futureDate";
|
|
35
34
|
/**
|
|
36
35
|
* Country-specific Tax ID format checks, applied only to a filled Tax ID.
|
|
37
36
|
* Countries without an entry accept any value. The CNPJ countries come from
|
|
@@ -71,7 +70,11 @@ function computeValidationErrors(context) {
|
|
|
71
70
|
const validateTaxId = TAX_ID_VALIDATORS[context.country];
|
|
72
71
|
if (taxId && validateTaxId && !validateTaxId(taxId)) errors.taxId = INVALID_TAX_ID_ERROR;
|
|
73
72
|
const dateOfIncorporation = getDateOfIncorporation(context);
|
|
74
|
-
if (dateOfIncorporation
|
|
73
|
+
if (dateOfIncorporation) {
|
|
74
|
+
const dateError = calendarDateError(dateOfIncorporation);
|
|
75
|
+
if (dateError) errors.dateOfIncorporation = dateError;
|
|
76
|
+
else if (dateOfIncorporation > getMaxDateOfIncorporation()) errors.dateOfIncorporation = FUTURE_DATE_OF_INCORPORATION_ERROR;
|
|
77
|
+
}
|
|
75
78
|
return Object.keys(errors).length > 0 ? errors : void 0;
|
|
76
79
|
}
|
|
77
80
|
function buildSubmitRequest(context) {
|
|
@@ -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 watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
5
7
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
6
8
|
function createWatchlistActor() {
|
|
7
9
|
return createActor(watchlistMachine).start();
|
|
@@ -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/watchlist/watchlistStateMachine.d.ts
|
|
5
5
|
type WatchlistResult = 'success' | 'skipped';
|
|
6
6
|
declare const watchlistMachine: any;
|
package/dist/{watchlistStateMachine-Bgkh1gra.esm.js → watchlistStateMachine-CsNEmiXL.esm.js}
RENAMED
|
@@ -1,11 +1,9 @@
|
|
|
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/watchlist/watchlistServices.ts
|
|
5
5
|
async function processWatchlist(signal) {
|
|
6
|
-
|
|
7
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processGlobalWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
8
|
-
return res.data;
|
|
6
|
+
return (await api.post(endpoints.processGlobalWatchlist, {}, { signal })).data;
|
|
9
7
|
}
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/watchlist/watchlistStateMachine.ts
|
package/dist/workflow.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { t as CallbackActorLogic } from "./callback-
|
|
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, j as StateMachine, l as AnyStateMachine, m as EventObject, o as AnyActorLogic, 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 { t as CallbackActorLogic } from "./callback-BmjJ1G-5.js";
|
|
3
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
5
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
6
|
-
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-
|
|
6
|
+
import { o as FlowEventSubscribable } from "./index-C0WIMlJE.js";
|
|
7
|
+
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-C3rfDzgE.js";
|
|
7
8
|
//#region src/modules/workflow/types.d.ts
|
|
8
9
|
/** Possible node types returned by the workflow server. */
|
|
9
10
|
type WorkflowNodeType = 'MODULE' | 'FINISH' | 'ASYNC_RESOLUTION';
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { n as eventModuleNames, v as addEvent } 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 { u as trueSightLog } from "./trueSightService-D9D2IdEj.esm.js";
|
|
5
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-BUUpdBy6.esm.js";
|
|
6
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BhRKAG--.esm.js";
|
|
6
7
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { i as toIncodeApiError } from "./apiError-BDuL1wTs.esm.js";
|
|
9
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
10
|
+
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
11
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BHnxFx7u.esm.js";
|
|
11
13
|
import "./ae-signature.esm.js";
|
|
12
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
13
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
14
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
15
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
16
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
17
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
18
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
19
|
-
import {
|
|
14
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-kOfsaAuT.esm.js";
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-n1OrhPTv.esm.js";
|
|
16
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BwDb3ezx.esm.js";
|
|
17
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
18
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
19
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-jtQHasPA.esm.js";
|
|
21
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-DKtU0H-F.esm.js";
|
|
22
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Kauq2oB-.esm.js";
|
|
20
23
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
22
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
23
|
-
import { l as toEkycConfig } from "./ekycUtils-
|
|
24
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
25
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
26
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
27
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine
|
|
28
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
29
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
30
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
31
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
32
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
33
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
34
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
35
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
36
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
37
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
38
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
39
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
40
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
41
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
42
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
43
|
-
import { n as isAdvanceableError } from "./advanceableErrors-
|
|
24
|
+
import { t as ekybMachine } from "./ekybStateMachine-Vjb6_mFt.esm.js";
|
|
25
|
+
import { t as ekycMachine } from "./ekycStateMachine-DjiGyQtm.esm.js";
|
|
26
|
+
import { l as toEkycConfig } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
27
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DqXvupSw.esm.js";
|
|
28
|
+
import { t as emailMachine } from "./emailStateMachine-C4FouMzc.esm.js";
|
|
29
|
+
import { t as selfieMachine } from "./selfieStateMachine-BT69FLFb.esm.js";
|
|
30
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine--CMATkG9.esm.js";
|
|
31
|
+
import { t as phoneMachine } from "./phoneStateMachine-CGLBgJJR.esm.js";
|
|
32
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
33
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
34
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-C_3fSFCw.esm.js";
|
|
35
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DpK7fg3E.esm.js";
|
|
36
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-BNtBkAXC.esm.js";
|
|
37
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BCyQFlpn.esm.js";
|
|
38
|
+
import { t as signatureMachine } from "./signatureStateMachine-DSW5-ZO0.esm.js";
|
|
39
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CCVd9xGh.esm.js";
|
|
40
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DRG-5jwQ.esm.js";
|
|
41
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-mozw0CIg.esm.js";
|
|
42
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-Co2S7iN8.esm.js";
|
|
43
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-BARZh9GN.esm.js";
|
|
44
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-E_6ChYsV.esm.js";
|
|
45
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DF2c6TxC.esm.js";
|
|
46
|
+
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
44
47
|
import "./qe-signature.esm.js";
|
|
45
|
-
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-
|
|
48
|
+
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
46
49
|
//#region src/internal/orchestration/defaultModules.ts
|
|
47
50
|
/**
|
|
48
51
|
* Shared default module registry — single source of truth for module key → machine mappings.
|
|
@@ -77,6 +80,7 @@ const DEFAULT_MODULE_REGISTRY = {
|
|
|
77
80
|
MANDATORY_CONSENT: mandatoryConsentMachine,
|
|
78
81
|
ML_CONSENT: mandatoryConsentMachine,
|
|
79
82
|
SIGNATURE: signatureMachine,
|
|
83
|
+
DOCUMENT_SIGNATURE: documentSignatureMachine,
|
|
80
84
|
ANTIFRAUD: antifraudMachine,
|
|
81
85
|
ID_OCR: idOcrStateMachine,
|
|
82
86
|
AE_SIGNATURE: electronicSignatureMachine,
|
|
@@ -807,7 +811,13 @@ function createWorkflowActor(options) {
|
|
|
807
811
|
}
|
|
808
812
|
//#endregion
|
|
809
813
|
//#region src/internal/orchestration/identity-search/identitySearchStateMachine.ts
|
|
810
|
-
|
|
814
|
+
/**
|
|
815
|
+
* The Workflow's IDENTITY_SEARCH node does nothing in the SDK: the backend
|
|
816
|
+
* runs the search when the node is reported done on `process/node`. Flows run
|
|
817
|
+
* the search themselves, with the machine in `modules/identity-search/` —
|
|
818
|
+
* registering this one in a Flow would skip the search.
|
|
819
|
+
*/
|
|
820
|
+
const workflowIdentitySearchMachine = setup({ types: {
|
|
811
821
|
context: {},
|
|
812
822
|
input: {}
|
|
813
823
|
} }).createMachine({
|
|
@@ -820,7 +830,7 @@ const identitySearchMachine = setup({ types: {
|
|
|
820
830
|
//#region src/modules/workflow/workflowManager.ts
|
|
821
831
|
const WORKFLOW_DEFAULT_MODULES = {
|
|
822
832
|
...DEFAULT_MODULE_REGISTRY,
|
|
823
|
-
IDENTITY_SEARCH:
|
|
833
|
+
IDENTITY_SEARCH: workflowIdentitySearchMachine,
|
|
824
834
|
ID_CAPTURE: idCaptureMachine,
|
|
825
835
|
ID: idVerificationMachine,
|
|
826
836
|
REDIRECT_TO_MOBILE: redirectToMobileMachine
|
|
@@ -1,127 +1,3 @@
|
|
|
1
|
-
//#region ../infra/src/manager/Manager.ts
|
|
2
|
-
/**
|
|
3
|
-
* Creates a manager that wraps a state machine actor with a clean public API.
|
|
4
|
-
*
|
|
5
|
-
* The manager provides:
|
|
6
|
-
* - `getState()` - Returns the mapped public state
|
|
7
|
-
* - `subscribe()` - Listen to state changes
|
|
8
|
-
* - `stop()` - Stop the actor
|
|
9
|
-
* - Plus any custom API methods from `createApi`
|
|
10
|
-
*
|
|
11
|
-
* @template TMachine - The state machine type
|
|
12
|
-
* @template TMapState - Function type that maps raw snapshot to public state
|
|
13
|
-
* @template TCreateApi - Function type that creates the custom API
|
|
14
|
-
*
|
|
15
|
-
* @param options - Configuration options
|
|
16
|
-
* @param options.actor - The started actor instance
|
|
17
|
-
* @param options.mapState - Function to transform raw snapshot into public state
|
|
18
|
-
* @param options.createApi - Factory function to create custom API methods
|
|
19
|
-
*
|
|
20
|
-
* @returns Combined manager with base methods and custom API
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```ts
|
|
24
|
-
* const manager = createManager({
|
|
25
|
-
* actor: createActor(myMachine).start(),
|
|
26
|
-
* mapState: (snapshot) => ({ status: snapshot.value }),
|
|
27
|
-
* createApi: ({ actor }) => ({
|
|
28
|
-
* doSomething() { actor.send({ type: 'DO_IT' }); }
|
|
29
|
-
* }),
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
function createManager(options) {
|
|
34
|
-
const { actor, mapState, createApi, instrumentation } = options;
|
|
35
|
-
function getSnapshot() {
|
|
36
|
-
return actor.getSnapshot();
|
|
37
|
-
}
|
|
38
|
-
function getState() {
|
|
39
|
-
return mapState(getSnapshot());
|
|
40
|
-
}
|
|
41
|
-
function subscribe(listener) {
|
|
42
|
-
const subscription = actor.subscribe(() => {
|
|
43
|
-
listener(getState());
|
|
44
|
-
});
|
|
45
|
-
return () => subscription.unsubscribe();
|
|
46
|
-
}
|
|
47
|
-
let currentScreenName = instrumentation?.getScreenName(getSnapshot());
|
|
48
|
-
let currentStateName = instrumentation?.getStateName?.(getSnapshot());
|
|
49
|
-
let currentErrorName = instrumentation?.getErrorName(getSnapshot());
|
|
50
|
-
let currentErrorPayload = instrumentation?.getErrorPayload(getSnapshot());
|
|
51
|
-
const api = createApi({
|
|
52
|
-
actor,
|
|
53
|
-
getSnapshot,
|
|
54
|
-
trackElementClicked: instrumentation ? (elementName, payload) => {
|
|
55
|
-
instrumentation.onElementClicked?.(instrumentation.moduleName, currentStateName ?? currentScreenName, {
|
|
56
|
-
element: elementName,
|
|
57
|
-
action: payload?.action,
|
|
58
|
-
metadata: payload?.metadata
|
|
59
|
-
});
|
|
60
|
-
} : void 0,
|
|
61
|
-
trackCaptureAttemptFinished: instrumentation ? (payload) => {
|
|
62
|
-
instrumentation.onCaptureAttemptFinished?.(instrumentation.moduleName, currentStateName ?? currentScreenName, { logs: payload.logs });
|
|
63
|
-
} : void 0
|
|
64
|
-
});
|
|
65
|
-
instrumentation?.onModuleOpened(instrumentation.moduleName);
|
|
66
|
-
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, currentScreenName);
|
|
67
|
-
if (instrumentation && currentErrorName !== void 0) instrumentation.onErrorTriggered(instrumentation.moduleName, currentErrorName, currentScreenName, currentErrorPayload);
|
|
68
|
-
let lastVisible = instrumentation?.getInitialVisibility?.();
|
|
69
|
-
if (instrumentation && lastVisible === false) instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
|
|
70
|
-
const stopVisibility = instrumentation?.subscribeVisibility?.((visible) => {
|
|
71
|
-
if (visible === lastVisible) return;
|
|
72
|
-
lastVisible = visible;
|
|
73
|
-
if (visible) instrumentation.onForeground?.(instrumentation.moduleName, currentScreenName);
|
|
74
|
-
else instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
|
|
75
|
-
});
|
|
76
|
-
const actorSubscription = instrumentation ? actor.subscribe((snapshot) => {
|
|
77
|
-
const nextScreenName = instrumentation.getScreenName(snapshot);
|
|
78
|
-
const nextErrorName = instrumentation.getErrorName(snapshot);
|
|
79
|
-
const nextErrorPayload = instrumentation.getErrorPayload(snapshot);
|
|
80
|
-
const nextStateName = instrumentation.getStateName?.(snapshot);
|
|
81
|
-
if (currentScreenName === nextScreenName) {
|
|
82
|
-
const previousStateName = currentStateName;
|
|
83
|
-
currentStateName = nextStateName;
|
|
84
|
-
if (currentScreenName !== void 0 && nextStateName !== void 0 && nextStateName !== previousStateName) instrumentation.onStateChanged?.(instrumentation.moduleName, currentScreenName, nextStateName);
|
|
85
|
-
if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, currentScreenName, nextErrorPayload);
|
|
86
|
-
currentErrorName = nextErrorName;
|
|
87
|
-
currentErrorPayload = nextErrorPayload;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
if (currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
91
|
-
if (nextScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, nextScreenName);
|
|
92
|
-
currentScreenName = nextScreenName;
|
|
93
|
-
currentStateName = nextStateName;
|
|
94
|
-
if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, nextScreenName, nextErrorPayload);
|
|
95
|
-
currentErrorName = nextErrorName;
|
|
96
|
-
currentErrorPayload = nextErrorPayload;
|
|
97
|
-
}) : void 0;
|
|
98
|
-
let isStopped = false;
|
|
99
|
-
return Object.defineProperties({
|
|
100
|
-
getState,
|
|
101
|
-
subscribe,
|
|
102
|
-
stop() {
|
|
103
|
-
if (isStopped) return;
|
|
104
|
-
isStopped = true;
|
|
105
|
-
try {
|
|
106
|
-
if (actor.getSnapshot().status === "active") options.beforeStop?.();
|
|
107
|
-
} finally {
|
|
108
|
-
try {
|
|
109
|
-
actorSubscription?.unsubscribe();
|
|
110
|
-
stopVisibility?.();
|
|
111
|
-
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
112
|
-
currentScreenName = void 0;
|
|
113
|
-
currentStateName = void 0;
|
|
114
|
-
currentErrorName = void 0;
|
|
115
|
-
currentErrorPayload = void 0;
|
|
116
|
-
instrumentation?.onModuleClosed(instrumentation.moduleName);
|
|
117
|
-
} finally {
|
|
118
|
-
actor.stop();
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}, Object.getOwnPropertyDescriptors(api));
|
|
123
|
-
}
|
|
124
|
-
//#endregion
|
|
125
1
|
//#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dev/dist/xstate-dev.esm.js
|
|
126
2
|
function getGlobal() {
|
|
127
3
|
if (typeof globalThis !== "undefined") return globalThis;
|
|
@@ -2990,4 +2866,4 @@ function setup({ schemas, actors, actions, guards, delays }) {
|
|
|
2990
2866
|
};
|
|
2991
2867
|
}
|
|
2992
2868
|
//#endregion
|
|
2993
|
-
export { XSTATE_STOP as a, not as c, assign as i, raise as l, enqueueActions as n, and as o, sendTo as r, createActor as s, setup as t
|
|
2869
|
+
export { XSTATE_STOP as a, not as c, assign as i, raise as l, enqueueActions as n, and as o, sendTo as r, createActor as s, setup as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.4.1-agentic.
|
|
3
|
+
"version": "2.4.1-agentic.12",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -125,6 +125,11 @@
|
|
|
125
125
|
"types": "./dist/identity-reuse.d.ts",
|
|
126
126
|
"import": "./dist/identity-reuse.esm.js"
|
|
127
127
|
},
|
|
128
|
+
"./identity-search": {
|
|
129
|
+
"source": "./src/modules/identity-search/index.ts",
|
|
130
|
+
"types": "./dist/identity-search.d.ts",
|
|
131
|
+
"import": "./dist/identity-search.esm.js"
|
|
132
|
+
},
|
|
128
133
|
"./ekyc": {
|
|
129
134
|
"source": "./src/modules/ekyc/index.ts",
|
|
130
135
|
"types": "./dist/ekyc.d.ts",
|
|
@@ -195,6 +200,11 @@
|
|
|
195
200
|
"types": "./dist/signature.d.ts",
|
|
196
201
|
"import": "./dist/signature.esm.js"
|
|
197
202
|
},
|
|
203
|
+
"./document-signature": {
|
|
204
|
+
"source": "./src/modules/document-signature/index.ts",
|
|
205
|
+
"types": "./dist/document-signature.d.ts",
|
|
206
|
+
"import": "./dist/document-signature.esm.js"
|
|
207
|
+
},
|
|
198
208
|
"./antifraud": {
|
|
199
209
|
"source": "./src/modules/antifraud/index.ts",
|
|
200
210
|
"types": "./dist/antifraud.d.ts",
|