@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd
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/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
- package/dist/Actor-iTq7YY48.d.ts +1 -0
- package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
- package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
- package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
- package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
- package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
- package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
- package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
- package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
- package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
- package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
- package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
- package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
- package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
- package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
- package/dist/ae-signature.d.ts +2 -6
- package/dist/ae-signature.esm.js +10 -11
- package/dist/antifraud.d.ts +1 -6
- package/dist/antifraud.esm.js +3 -8
- package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
- package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
- package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
- package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
- package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
- package/dist/authentication.d.ts +2 -19
- package/dist/authentication.esm.js +3 -34
- package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
- package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
- package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +2 -3
- package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
- package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
- package/dist/callback-645_omgz.d.ts +133 -0
- package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
- package/dist/camera.d.ts +1 -2
- package/dist/camera.esm.js +2 -6
- package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
- package/dist/certificate-issuance.d.ts +34 -39
- package/dist/certificate-issuance.esm.js +4 -11
- package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
- package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
- package/dist/consent.d.ts +1 -4
- package/dist/consent.esm.js +3 -8
- package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
- package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
- package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
- package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
- package/dist/cpf-ocr.d.ts +1 -5
- package/dist/cpf-ocr.esm.js +2 -8
- package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
- package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
- package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
- package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
- package/dist/cross-document-data-match.d.ts +1 -5
- package/dist/cross-document-data-match.esm.js +2 -8
- package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
- package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
- package/dist/curp-validation.d.ts +1 -11
- package/dist/curp-validation.esm.js +3 -8
- package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
- package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
- package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
- package/dist/custom-fields.d.ts +2 -5
- package/dist/custom-fields.esm.js +24 -11
- package/dist/custom-watchlist.d.ts +1 -3
- package/dist/custom-watchlist.esm.js +11 -10
- package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
- package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
- package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
- package/dist/deepsightService-CR-CYdka.d.ts +218 -0
- package/dist/device.d.ts +0 -1
- package/dist/device.esm.js +5 -10
- package/dist/document-capture.d.ts +1 -6
- package/dist/document-capture.esm.js +3 -16
- package/dist/document-upload.d.ts +48 -55
- package/dist/document-upload.esm.js +8 -14
- package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
- package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
- package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
- package/dist/dynamic-forms.d.ts +1 -4
- package/dist/dynamic-forms.esm.js +3 -10
- package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
- package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
- package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
- package/dist/ekyb.d.ts +4 -11
- package/dist/ekyb.esm.js +3 -20
- package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
- package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
- package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
- package/dist/ekyc.d.ts +2 -7
- package/dist/ekyc.esm.js +3 -11
- package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
- package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
- package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
- package/dist/electronic-signature.d.ts +2 -5
- package/dist/electronic-signature.esm.js +2 -10
- package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
- package/dist/email.d.ts +1 -5
- package/dist/email.esm.js +3 -10
- package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
- package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
- package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
- package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
- package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
- package/dist/events.d.ts +1 -9
- package/dist/events.esm.js +2 -4
- package/dist/extensibility.d.ts +30 -42
- package/dist/extensibility.esm.js +29 -87
- package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
- package/dist/face-match.d.ts +1 -5
- package/dist/face-match.esm.js +3 -8
- package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
- package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
- package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
- package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
- package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
- package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
- package/dist/field-comparison.d.ts +1 -4
- package/dist/field-comparison.esm.js +2 -7
- package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
- package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
- package/dist/fiscal-qr.d.ts +1 -6
- package/dist/fiscal-qr.esm.js +14 -29
- package/dist/flow-events.d.ts +2 -9
- package/dist/flow.d.ts +13 -19
- package/dist/flow.esm.js +109 -34
- package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
- package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
- package/dist/geolocation.d.ts +1 -4
- package/dist/geolocation.esm.js +3 -9
- package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
- package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
- package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
- package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
- package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
- package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
- package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
- package/dist/government-validation.d.ts +3 -6
- package/dist/government-validation.esm.js +7 -13
- package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
- package/dist/home.d.ts +14 -22
- package/dist/home.esm.js +3 -8
- package/dist/http.d.ts +0 -1
- package/dist/http.esm.js +2 -4
- package/dist/id-ocr.d.ts +1 -5
- package/dist/id-ocr.esm.js +3 -9
- package/dist/id-verification.d.ts +1 -4
- package/dist/id-verification.esm.js +3 -8
- package/dist/id.d.ts +105 -18
- package/dist/id.esm.js +40 -50
- package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
- package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
- package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
- package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
- package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
- package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
- package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
- package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
- package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
- package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
- package/dist/identity-reuse.d.ts +1 -4
- package/dist/identity-reuse.esm.js +3 -8
- package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
- package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
- package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
- package/dist/index-B8weJxmL.d.ts +1 -0
- package/dist/index-BKOWUhxG.d.ts +258 -0
- package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
- package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -15
- package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
- package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
- package/dist/mandatory-consent.d.ts +1 -10
- package/dist/mandatory-consent.esm.js +3 -8
- package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
- package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
- package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
- package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
- package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
- package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
- package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
- package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
- package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
- package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
- package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
- package/dist/personhood.d.ts +13 -20
- package/dist/personhood.esm.js +153 -72
- package/dist/phone.d.ts +1 -5
- package/dist/phone.esm.js +3 -10
- package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
- package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
- package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
- package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
- package/dist/qe-signature.d.ts +2 -6
- package/dist/qe-signature.esm.js +10 -11
- package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
- package/dist/redirect-to-mobile.d.ts +1 -6
- package/dist/redirect-to-mobile.esm.js +3 -10
- package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
- package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
- package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
- package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
- package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
- package/dist/selfie.d.ts +7 -20
- package/dist/selfie.esm.js +40 -46
- package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
- package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
- package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
- package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
- package/dist/session-CQ2x2aLl.esm.js +1 -0
- package/dist/session.d.ts +2 -9
- package/dist/session.esm.js +153 -15
- package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
- package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
- package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
- package/dist/signature.d.ts +2 -6
- package/dist/signature.esm.js +6 -9
- package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
- package/dist/spawn-D9jgw9pW.d.ts +1441 -0
- package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
- package/dist/stats.esm.js +2 -5
- package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
- package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -4
- package/dist/trust-graph.d.ts +4 -5
- package/dist/trust-graph.esm.js +13 -9
- package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
- package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
- package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
- package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
- package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
- package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
- package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
- package/dist/video-selfie.d.ts +10 -15
- package/dist/video-selfie.esm.js +114 -106
- package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
- package/dist/wasm.d.ts +2 -4
- package/dist/wasm.esm.js +3 -15
- package/dist/watchlist-for-business.d.ts +1 -3
- package/dist/watchlist-for-business.esm.js +9 -9
- package/dist/watchlist.d.ts +1 -3
- package/dist/watchlist.esm.js +11 -10
- package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
- package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
- package/dist/workflow.d.ts +124 -146
- package/dist/workflow.esm.js +75 -80
- package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
- package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
- package/package.json +2 -2
- package/dist/Actor-CdjYVucI.d.ts +0 -2
- package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
- package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
- package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
- package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
- package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
- package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
- package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
- package/dist/canvas-COIxuirO.d.ts +0 -112
- package/dist/chunk-CIKcdghV.esm.js +0 -49
- package/dist/deepsightLoader-BppeThau.esm.js +0 -67
- package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
- package/dist/http-C3Pq6njG.esm.js +0 -0
- package/dist/index-BD6ZVw2f.d.ts +0 -93
- package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
- package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
- package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
- package/dist/session--C2lbjK5.esm.js +0 -152
- package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
- package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
- /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
- /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
- /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
- /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
- /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
- /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import "./StateMachine-EDpYWy0i.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
+
import "./Actor-iTq7YY48.js";
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
7
7
|
combinedConsents?: string;
|
|
@@ -37,7 +37,7 @@ type ConsentContext = {
|
|
|
37
37
|
type ConsentInput = {
|
|
38
38
|
config: ConsentConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const consentMachine:
|
|
40
|
+
declare const consentMachine: StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,130 +49,128 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, EventObject>> | undefined;
|
|
59
|
+
}, Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: NonReducibleUnknown;
|
|
84
|
+
};
|
|
85
|
+
resetContext: {
|
|
86
|
+
type: "resetContext";
|
|
87
|
+
params: NonReducibleUnknown;
|
|
84
88
|
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
|
-
params:
|
|
91
|
+
params: NonReducibleUnknown;
|
|
88
92
|
};
|
|
89
93
|
toggleCheckbox: {
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
|
-
params:
|
|
92
|
-
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: xstate1216.NonReducibleUnknown;
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
|
-
readonly context: ({
|
|
104
|
-
input
|
|
105
|
-
}: {
|
|
103
|
+
readonly context: ({ input }: {
|
|
106
104
|
spawn: {
|
|
107
105
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
106
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
107
|
+
logic: PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
108
|
consentId: string;
|
|
111
109
|
language?: string;
|
|
112
|
-
},
|
|
110
|
+
}, EventObject>;
|
|
113
111
|
id: string | undefined;
|
|
114
|
-
} extends infer T ? T extends {
|
|
112
|
+
} extends (infer T) ? T extends {
|
|
115
113
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
114
|
+
logic: PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
115
|
consentId: string;
|
|
118
116
|
language?: string;
|
|
119
|
-
},
|
|
117
|
+
}, EventObject>;
|
|
120
118
|
id: string | undefined;
|
|
121
119
|
} ? T extends {
|
|
122
120
|
src: TSrc;
|
|
123
|
-
} ?
|
|
121
|
+
} ? ConditionalRequired<[options?: ({
|
|
124
122
|
id?: T["id"] | undefined;
|
|
125
123
|
systemId?: string;
|
|
126
|
-
input?:
|
|
124
|
+
input?: InputFrom<T["logic"]> | undefined;
|
|
127
125
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
126
|
+
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
127
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
128
|
+
logic: PromiseActorLogic<void, {
|
|
131
129
|
languageConsentId: string;
|
|
132
130
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
131
|
+
}, EventObject>;
|
|
134
132
|
id: string | undefined;
|
|
135
|
-
} extends infer T_1 ? T_1 extends {
|
|
133
|
+
} extends (infer T_1) ? T_1 extends {
|
|
136
134
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
135
|
+
logic: PromiseActorLogic<void, {
|
|
138
136
|
languageConsentId: string;
|
|
139
137
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
138
|
+
}, EventObject>;
|
|
141
139
|
id: string | undefined;
|
|
142
140
|
} ? T_1 extends {
|
|
143
141
|
src: TSrc;
|
|
144
|
-
} ?
|
|
142
|
+
} ? ConditionalRequired<[options?: ({
|
|
145
143
|
id?: T_1["id"] | undefined;
|
|
146
144
|
systemId?: string;
|
|
147
|
-
input?:
|
|
145
|
+
input?: InputFrom<T_1["logic"]> | undefined;
|
|
148
146
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
147
|
+
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
150
148
|
fetchConsent: {
|
|
151
149
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
150
|
+
logic: PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
151
|
consentId: string;
|
|
154
152
|
language?: string;
|
|
155
|
-
},
|
|
153
|
+
}, EventObject>;
|
|
156
154
|
id: string | undefined;
|
|
157
155
|
};
|
|
158
156
|
submitConsent: {
|
|
159
157
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
158
|
+
logic: PromiseActorLogic<void, {
|
|
161
159
|
languageConsentId: string;
|
|
162
160
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
161
|
+
}, EventObject>;
|
|
164
162
|
id: string | undefined;
|
|
165
163
|
};
|
|
166
164
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
165
|
+
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
168
166
|
id?: never;
|
|
169
167
|
systemId?: string;
|
|
170
|
-
input?:
|
|
168
|
+
input?: InputFrom<TLogic> | undefined;
|
|
171
169
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
170
|
+
} & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
173
171
|
};
|
|
174
172
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
173
|
+
self: ActorRef<MachineSnapshot<ConsentContext, {
|
|
176
174
|
type: "LOAD";
|
|
177
175
|
} | {
|
|
178
176
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +181,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
183
181
|
type: "RETRY";
|
|
184
182
|
} | {
|
|
185
183
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
184
|
+
}, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
|
|
187
185
|
type: "LOAD";
|
|
188
186
|
} | {
|
|
189
187
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +192,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
194
192
|
type: "RETRY";
|
|
195
193
|
} | {
|
|
196
194
|
type: "RESET";
|
|
197
|
-
},
|
|
195
|
+
}, AnyEventObject>;
|
|
198
196
|
}) => {
|
|
199
197
|
config: ConsentConfig;
|
|
200
198
|
title: string;
|
|
@@ -216,9 +214,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
216
214
|
readonly invoke: {
|
|
217
215
|
readonly id: "fetchConsent";
|
|
218
216
|
readonly src: "fetchConsent";
|
|
219
|
-
readonly input: ({
|
|
220
|
-
context
|
|
221
|
-
}: {
|
|
217
|
+
readonly input: ({ context }: {
|
|
222
218
|
context: ConsentContext;
|
|
223
219
|
event: {
|
|
224
220
|
type: "LOAD";
|
|
@@ -232,7 +228,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
232
228
|
} | {
|
|
233
229
|
type: "RESET";
|
|
234
230
|
};
|
|
235
|
-
self:
|
|
231
|
+
self: ActorRef<MachineSnapshot<ConsentContext, {
|
|
236
232
|
type: "LOAD";
|
|
237
233
|
} | {
|
|
238
234
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +239,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
243
239
|
type: "RETRY";
|
|
244
240
|
} | {
|
|
245
241
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
242
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
247
243
|
type: "LOAD";
|
|
248
244
|
} | {
|
|
249
245
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +250,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
254
250
|
type: "RETRY";
|
|
255
251
|
} | {
|
|
256
252
|
type: "RESET";
|
|
257
|
-
},
|
|
253
|
+
}, AnyEventObject>;
|
|
258
254
|
}) => {
|
|
259
255
|
consentId: string;
|
|
260
256
|
language: string | undefined;
|
|
@@ -288,9 +284,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
288
284
|
readonly invoke: {
|
|
289
285
|
readonly id: "submitConsent";
|
|
290
286
|
readonly src: "submitConsent";
|
|
291
|
-
readonly input: ({
|
|
292
|
-
context
|
|
293
|
-
}: {
|
|
287
|
+
readonly input: ({ context }: {
|
|
294
288
|
context: ConsentContext;
|
|
295
289
|
event: {
|
|
296
290
|
type: "LOAD";
|
|
@@ -304,7 +298,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
304
298
|
} | {
|
|
305
299
|
type: "RESET";
|
|
306
300
|
};
|
|
307
|
-
self:
|
|
301
|
+
self: ActorRef<MachineSnapshot<ConsentContext, {
|
|
308
302
|
type: "LOAD";
|
|
309
303
|
} | {
|
|
310
304
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +309,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
315
309
|
type: "RETRY";
|
|
316
310
|
} | {
|
|
317
311
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
312
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
319
313
|
type: "LOAD";
|
|
320
314
|
} | {
|
|
321
315
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +320,7 @@ declare const consentMachine: xstate1216.StateMachine<ConsentContext, {
|
|
|
326
320
|
type: "RETRY";
|
|
327
321
|
} | {
|
|
328
322
|
type: "RESET";
|
|
329
|
-
},
|
|
323
|
+
}, AnyEventObject>;
|
|
330
324
|
}) => {
|
|
331
325
|
languageConsentId: string;
|
|
332
326
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
7
7
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
@@ -19,7 +19,6 @@ async function submitCombinedConsent(params, signal) {
|
|
|
19
19
|
const res = await api.post(endpoints.signCombinedConsent, params, { signal });
|
|
20
20
|
if (!res.ok) throw new Error(`POST ${endpoints.signCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
21
21
|
}
|
|
22
|
-
|
|
23
22
|
//#endregion
|
|
24
23
|
//#region src/modules/consent/consentStateMachine.ts
|
|
25
24
|
function toCheckboxRecord(checkboxes) {
|
|
@@ -149,6 +148,5 @@ const consentMachine = setup({
|
|
|
149
148
|
finished: { type: "final" }
|
|
150
149
|
}
|
|
151
150
|
});
|
|
152
|
-
|
|
153
151
|
//#endregion
|
|
154
|
-
export { consentMachine as t };
|
|
152
|
+
export { consentMachine as t };
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./Manager-DE5DydXZ.js";
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-RkeZCqSz.js";
|
|
5
|
-
|
|
1
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-CQkUAeWO.js";
|
|
6
2
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
7
3
|
declare function formatCPF(value: string): string;
|
|
8
4
|
declare function isValidCPF(value: string): boolean;
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
3
|
-
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
-
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-D6ZQ9kkv.esm.js";
|
|
6
|
-
import "./cpf-B9htWzDt.esm.js";
|
|
7
|
-
|
|
8
|
-
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
1
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-Cwm0MesJ.esm.js";
|
|
2
|
+
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, c as AnyEventObject, i as ActorRefFrom, k as MachineSnapshot, p as EventObject, r as ActorRef, s as AnyActorRef, v as MetaObject, w as Values, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import "./StateMachine-EDpYWy0i.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
+
import "./Actor-iTq7YY48.js";
|
|
5
5
|
//#region src/modules/cpf-ocr/types.d.ts
|
|
6
6
|
type CpfOcrDataResponse = {
|
|
7
7
|
documentNumber?: string;
|
|
@@ -17,7 +17,7 @@ type CpfOcrContext = {
|
|
|
17
17
|
error: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
type CpfOcrInput = Record<string, never>;
|
|
20
|
-
declare const cpfOcrMachine:
|
|
20
|
+
declare const cpfOcrMachine: StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate1191.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<CpfOcrDataResponse, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, EventObject>> | undefined;
|
|
33
|
+
}, Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: PromiseActorLogic<CpfOcrDataResponse, void, EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
46
|
+
}>, Values<{
|
|
47
47
|
setError: {
|
|
48
48
|
type: "setError";
|
|
49
|
-
params:
|
|
49
|
+
params: NonReducibleUnknown;
|
|
50
50
|
};
|
|
51
51
|
clearError: {
|
|
52
52
|
type: "clearError";
|
|
53
|
-
params:
|
|
53
|
+
params: NonReducibleUnknown;
|
|
54
54
|
};
|
|
55
55
|
setPrefill: {
|
|
56
56
|
type: "setPrefill";
|
|
57
|
-
params:
|
|
57
|
+
params: NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
setCpf: {
|
|
60
60
|
type: "setCpf";
|
|
61
|
-
params:
|
|
61
|
+
params: NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput,
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -104,9 +104,7 @@ declare const cpfOcrMachine: xstate1191.StateMachine<CpfOcrContext, {
|
|
|
104
104
|
readonly submitting: {
|
|
105
105
|
readonly invoke: {
|
|
106
106
|
readonly src: "submitCpfOcr";
|
|
107
|
-
readonly input: ({
|
|
108
|
-
context
|
|
109
|
-
}: {
|
|
107
|
+
readonly input: ({ context }: {
|
|
110
108
|
context: CpfOcrContext;
|
|
111
109
|
event: {
|
|
112
110
|
type: "LOAD";
|
|
@@ -118,7 +116,7 @@ declare const cpfOcrMachine: xstate1191.StateMachine<CpfOcrContext, {
|
|
|
118
116
|
} | {
|
|
119
117
|
type: "RETRY";
|
|
120
118
|
};
|
|
121
|
-
self:
|
|
119
|
+
self: ActorRef<MachineSnapshot<CpfOcrContext, {
|
|
122
120
|
type: "LOAD";
|
|
123
121
|
} | {
|
|
124
122
|
type: "SET_CPF";
|
|
@@ -127,7 +125,7 @@ declare const cpfOcrMachine: xstate1191.StateMachine<CpfOcrContext, {
|
|
|
127
125
|
type: "SUBMIT";
|
|
128
126
|
} | {
|
|
129
127
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
128
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
131
129
|
type: "LOAD";
|
|
132
130
|
} | {
|
|
133
131
|
type: "SET_CPF";
|
|
@@ -136,7 +134,7 @@ declare const cpfOcrMachine: xstate1191.StateMachine<CpfOcrContext, {
|
|
|
136
134
|
type: "SUBMIT";
|
|
137
135
|
} | {
|
|
138
136
|
type: "RETRY";
|
|
139
|
-
},
|
|
137
|
+
}, AnyEventObject>;
|
|
140
138
|
}) => {
|
|
141
139
|
cpf: string;
|
|
142
140
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames,
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
+
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|
|
9
9
|
const res = await api.get(endpoints.ocrData, { signal });
|
|
@@ -15,7 +15,6 @@ async function submitCpfOcr(documentNumber, signal) {
|
|
|
15
15
|
if (!res.ok) throw new Error(`PUT ${endpoints.updateSession} failed: ${res.status} ${res.statusText}`);
|
|
16
16
|
return res.data;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region src/modules/cpf-ocr/cpfOcrUtils.ts
|
|
21
20
|
function formatCPF(value) {
|
|
@@ -32,7 +31,6 @@ function formatCPF(value) {
|
|
|
32
31
|
function isValidCPF(value) {
|
|
33
32
|
return validateCPF(value);
|
|
34
33
|
}
|
|
35
|
-
|
|
36
34
|
//#endregion
|
|
37
35
|
//#region src/modules/cpf-ocr/cpfOcrStateMachine.ts
|
|
38
36
|
const cpfOcrMachine = setup({
|
|
@@ -117,13 +115,11 @@ const cpfOcrMachine = setup({
|
|
|
117
115
|
finished: { type: "final" }
|
|
118
116
|
}
|
|
119
117
|
});
|
|
120
|
-
|
|
121
118
|
//#endregion
|
|
122
119
|
//#region src/modules/cpf-ocr/cpfOcrActor.ts
|
|
123
120
|
function createCpfOcrActor() {
|
|
124
121
|
return createActor(cpfOcrMachine, { input: {} }).start();
|
|
125
122
|
}
|
|
126
|
-
|
|
127
123
|
//#endregion
|
|
128
124
|
//#region src/modules/cpf-ocr/cpfOcrManager.ts
|
|
129
125
|
function mapState(snapshot) {
|
|
@@ -185,6 +181,5 @@ function createCpfOcrManagerFromActor(actor) {
|
|
|
185
181
|
instrumentation: createManagerInstrumentation(eventModuleNames.idOcr)
|
|
186
182
|
});
|
|
187
183
|
}
|
|
188
|
-
|
|
189
184
|
//#endregion
|
|
190
|
-
export { isValidCPF as a, formatCPF as i, createCpfOcrManagerFromActor as n, cpfOcrMachine as r, createCpfOcrManager as t };
|
|
185
|
+
export { isValidCPF as a, formatCPF as i, createCpfOcrManagerFromActor as n, cpfOcrMachine as r, createCpfOcrManager as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { n as AvatarFaceState, t as AvatarAssetsOverrides } from "./IFaceAvatarCapability-BrL19G0s.js";
|
|
2
|
+
//#region src/internal/avatar/createFaceAvatar.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Shared face-avatar dispatch — the single code path BOTH the selfie module
|
|
5
|
+
* (`faceCapture` runAvatar actor) and the public `@incodetech/core/avatar` facade
|
|
6
|
+
* use, so every camera module mounts avatars the same way. Lives in `internal/`
|
|
7
|
+
* (not `modules/`) because `internal/` may not import from `modules/`; the public
|
|
8
|
+
* `modules/avatar` entry is a thin re-export of this. See
|
|
9
|
+
* docs/features/FACE_AVATAR.md.
|
|
10
|
+
*
|
|
11
|
+
* Public catalog of shippable face avatars. Each id maps to a lazily-loaded
|
|
12
|
+
* provider, so a module only pays the bundle cost of the avatar it picks:
|
|
13
|
+
* - `avatar-3d` → 3D VRM character, MediaPipe-tracked (premium look).
|
|
14
|
+
* - `avatar-2d` → stylized 2D "satin" face, MediaPipe-tracked. Also the
|
|
15
|
+
* personhood avatar.
|
|
16
|
+
* - `privacy-lens` → WebGL frosted-glass lens over the real video (no tracking).
|
|
17
|
+
*
|
|
18
|
+
* (The Incode-data 2D avatar is parked — kept in infra, not in the public
|
|
19
|
+
* catalog. See docs/features/FACE_AVATAR.md → Parked: the Incode-data avatar.)
|
|
20
|
+
*/
|
|
21
|
+
type AvatarId = 'avatar-3d' | 'avatar-2d' | 'privacy-lens';
|
|
22
|
+
interface FaceAvatarOptions {
|
|
23
|
+
/** Which avatar to render. */
|
|
24
|
+
variant: AvatarId;
|
|
25
|
+
/** The already-acquired camera stream (the host module owns it). */
|
|
26
|
+
stream: MediaStream;
|
|
27
|
+
/** Runtime asset overrides (MediaPipe wasm/model, VRM); defaults to the CDN layout. */
|
|
28
|
+
assets?: AvatarAssetsOverrides;
|
|
29
|
+
/** Upper bound on the avatar's internal detect/render loop (default 30). */
|
|
30
|
+
maxFps?: number;
|
|
31
|
+
/** Initial verdict cue; defaults to `detecting`. */
|
|
32
|
+
initialState?: AvatarFaceState;
|
|
33
|
+
}
|
|
34
|
+
interface FaceAvatarHandle {
|
|
35
|
+
/** The canvas to mount in place of the live video. */
|
|
36
|
+
readonly canvas: HTMLCanvasElement;
|
|
37
|
+
/** Push a verdict cue (no-op for avatars without a verdict visual). */
|
|
38
|
+
setState(state: AvatarFaceState): void;
|
|
39
|
+
/** Tear down the loop, model and hidden decode video. */
|
|
40
|
+
stop(): void;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Mounts a cosmetic face avatar: lazy-loads the chosen provider, starts it on the
|
|
44
|
+
* given stream, and returns a handle to mount the canvas + push verdict cues. The
|
|
45
|
+
* avatar is **cosmetic-only** — it never feeds the authoritative
|
|
46
|
+
* detection/quality/liveness/upload pipeline.
|
|
47
|
+
*/
|
|
48
|
+
declare function createFaceAvatar(options: FaceAvatarOptions): Promise<FaceAvatarHandle>;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { createFaceAvatar as i, FaceAvatarHandle as n, FaceAvatarOptions as r, AvatarId as t };
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
/** Lazy-load the provider for an avatar id (each lands in its own chunk). */
|
|
3
3
|
async function loadProvider(variant) {
|
|
4
4
|
switch (variant) {
|
|
5
|
-
case "avatar-3d": return (await import("./3dAvatarProvider-
|
|
6
|
-
case "avatar-2d": return (await import("./Face2DProvider-
|
|
7
|
-
case "privacy-lens": return (await import("./PrivacyLensProvider-
|
|
8
|
-
default: {
|
|
9
|
-
const exhaustive = variant;
|
|
10
|
-
throw new Error(`Unknown avatar variant: ${String(exhaustive)}`);
|
|
11
|
-
}
|
|
5
|
+
case "avatar-3d": return (await import("./3dAvatarProvider-D9H4rR6_.esm.js")).createProvider();
|
|
6
|
+
case "avatar-2d": return (await import("./Face2DProvider-xWUeSJZI.esm.js")).createProvider();
|
|
7
|
+
case "privacy-lens": return (await import("./PrivacyLensProvider-BrYSd1dr.esm.js")).createProvider();
|
|
8
|
+
default: throw new Error(`Unknown avatar variant: ${String(variant)}`);
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
@@ -41,6 +38,5 @@ async function createFaceAvatar(options) {
|
|
|
41
38
|
}
|
|
42
39
|
};
|
|
43
40
|
}
|
|
44
|
-
|
|
45
41
|
//#endregion
|
|
46
|
-
export { createFaceAvatar as t };
|
|
42
|
+
export { createFaceAvatar as t };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./Manager-DE5DydXZ.js";
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-CdiqxhJm.js";
|
|
5
|
-
|
|
1
|
+
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
6
2
|
//#region src/modules/cross-document-data-match/types.d.ts
|
|
7
3
|
/**
|
|
8
4
|
* Configuration for the cross-document data match module.
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
3
|
-
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
-
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
6
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-DoFG_S91.esm.js";
|
|
7
|
-
|
|
8
|
-
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-9rdIO8Qk.esm.js";
|
|
2
|
+
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|