@incodetech/core 0.0.0-dev-20260629-bd5fa5af → 0.0.0-dev-20260630-d195eb29
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-fTdHcYRZ.esm.js → 3dAvatarProvider-g_5khIgq.esm.js} +2 -2
- package/dist/{Face2DProvider-B6fcPUZn.esm.js → Face2DProvider-BciFOpqp.esm.js} +2 -2
- package/dist/FaceDetectionProvider-C723Vh4J.d.ts +119 -0
- package/dist/{deepsightService-2AJMEilg.d.ts → IWasmUtilCapability-DCe8akKn.d.ts} +3 -70
- package/dist/{OpenViduRecordingProvider-NzFiqaEU.esm.js → OpenViduRecordingProvider-CK6A5kiU.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-DSgQUHtW.esm.js → PrivacyLensProvider-BZsWqkv9.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-opC6JnBb.d.ts → StreamCanvasCapture-DHDxv6hH.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-Koi0Xc6f.esm.js → StreamCanvasCapture-DNcWK2xu.esm.js} +1 -1
- package/dist/{WasmUtilProvider-CMHQB61Z.esm.js → WasmUtilProvider-ADG54T6M.esm.js} +10 -1
- package/dist/{addressSearch-Cmf1l1zD.esm.js → addressSearch-BhjurwQo.esm.js} +4 -4
- package/dist/{ae-signature-Kjug39_Z.esm.js → ae-signature-CPKOMQX7.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +10 -10
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +7 -7
- package/dist/{antifraudManager-B26zslni.d.ts → antifraudManager-0tq22vID.d.ts} +2 -2
- package/dist/{antifraudManager-CSREEbtK.esm.js → antifraudManager-CMJCjGu9.esm.js} +4 -4
- package/dist/{antifraudStateMachine-BLZzwvJY.esm.js → antifraudStateMachine-CwsNI6mD.esm.js} +3 -3
- package/dist/authentication.d.ts +18 -16
- package/dist/authentication.esm.js +33 -32
- package/dist/{authenticationManager-DFEOJMIb.esm.js → authenticationManager-B_iOhBuD.esm.js} +6 -6
- package/dist/{authenticationManager-BEYy6HBV.d.ts → authenticationManager-DYeRtXSb.d.ts} +3 -3
- package/dist/{authenticationStateMachine-ClAzlt7B.esm.js → authenticationStateMachine-BJFMX_d6.esm.js} +8 -8
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-6nEEESaK.esm.js → backCameraStream-cH8Ctfrg.esm.js} +3 -3
- package/dist/{browserSimulation-BaRUkqo0.esm.js → browserSimulation-CUgn29iJ.esm.js} +2 -2
- package/dist/camera-3BoIlw6r.esm.js +79 -0
- package/dist/camera.d.ts +7 -1
- package/dist/camera.esm.js +4 -4
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +8 -8
- package/dist/{certificateIssuanceStateMachine-DVX0JsVJ.esm.js → certificateIssuanceStateMachine-B0zUpVxm.esm.js} +4 -4
- package/dist/{clientLifecycle-2YDYcFDL.esm.js → clientLifecycle-Ct7h9uxx.esm.js} +2 -2
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +7 -7
- package/dist/{consentManager-BJmYmw_6.esm.js → consentManager-D71Ar-I7.esm.js} +4 -4
- package/dist/{consentManager-mbbmOknL.d.ts → consentManager-vQ-mMpd4.d.ts} +49 -49
- package/dist/{consentStateMachine-DgSJ1ayL.esm.js → consentStateMachine-enfdBshh.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +7 -7
- package/dist/{cpfOcrManager-Dui-hl3s.d.ts → cpfOcrManager-CMc0MvGD.d.ts} +19 -19
- package/dist/{cpfOcrManager-Dpj_HlZe.esm.js → cpfOcrManager-DkkrkErG.esm.js} +6 -6
- package/dist/{createFaceAvatar-D94d2jjL.esm.js → createFaceAvatar-BXYFc_kA.esm.js} +3 -3
- package/dist/{createFaceAvatar-CCD0HA4W.d.ts → createFaceAvatar-DNMSIcRb.d.ts} +8 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +6 -6
- package/dist/curp-validation.d.ts +9 -9
- package/dist/curp-validation.esm.js +7 -7
- package/dist/{curpValidationManager-IqH8rIei.esm.js → curpValidationManager-DKh_9ckM.esm.js} +4 -4
- package/dist/{curpValidationManager-5xtZ6QlA.d.ts → curpValidationManager-DcnaKhq7.d.ts} +3 -3
- package/dist/{curpValidationStateMachine-Cr2o6gEl.esm.js → curpValidationStateMachine-DzXb57MU.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +6 -6
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +6 -6
- package/dist/{customWatchlistStateMachine-CTczBFAU.esm.js → customWatchlistStateMachine-Cl2gXi_b.esm.js} +3 -3
- package/dist/{deepsightLoader-CK6AgVMy.esm.js → deepsightLoader-DIUgvW9k.esm.js} +15 -15
- package/dist/deepsightService-6J67NoN9.d.ts +69 -0
- package/dist/{deepsightService-Bx9Yq13u.esm.js → deepsightService-lLD3G31S.esm.js} +8 -8
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +248 -248
- package/dist/document-capture.esm.js +14 -14
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +9 -9
- package/dist/{documentCaptureStateMachine-C4RJx338.esm.js → documentCaptureStateMachine-JAnvcB0V.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +7 -7
- package/dist/{dynamicFormsStateMachine-DXYYYnqM.esm.js → dynamicFormsStateMachine-DdU0Y5OL.esm.js} +4 -4
- package/dist/ekyb.d.ts +8 -8
- package/dist/ekyb.esm.js +21 -20
- package/dist/{ekybStateMachine-B8qkpmJU.esm.js → ekybStateMachine-C7SeI8uX.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +9 -9
- package/dist/{ekycStateMachine-M8Z7G5x4.esm.js → ekycStateMachine-DajcBUqD.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +9 -9
- package/dist/{electronicSignatureManager--IIqwxf3.esm.js → electronicSignatureManager-Dz-CglxP.esm.js} +7 -7
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +9 -9
- package/dist/{emailManager-BzeQI0Vo.esm.js → emailManager-Bf8HT0py.esm.js} +5 -5
- package/dist/{emailManager-hmA0Elfn.d.ts → emailManager-D5kHN_Zj.d.ts} +3 -3
- package/dist/{emailStateMachine-BuoiLQJF.esm.js → emailStateMachine-DBtggNGB.esm.js} +5 -5
- package/dist/{endpoints-CJH8R79Q.esm.js → endpoints-BzMJFAPV.esm.js} +9 -0
- package/dist/{events-C5GpmPbS.esm.js → events-CqGY1yMq.esm.js} +1 -1
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +3 -3
- package/dist/extensibility.d.ts +31 -29
- package/dist/extensibility.esm.js +67 -65
- package/dist/{externalFetch-DHzmXTlR.esm.js → externalFetch-Sh2H5VZA.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-VzPdcqEH.d.ts → faceCaptureManagerFactory-D6uM60D6.d.ts} +12 -11
- package/dist/{faceCaptureManagerFactory-x5MVIR9m.esm.js → faceCaptureManagerFactory-DWZ4fnkS.esm.js} +6 -6
- package/dist/{faceCaptureSetup-BwhVPh3B.esm.js → faceCaptureSetup-BX9vTP8-.esm.js} +9 -9
- package/dist/{faceMatchStateMachine-CrODY2X6.esm.js → faceMatchStateMachine-C-ioayCI.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +6 -6
- package/dist/{fieldComparisonManager-n9Rz0az-.esm.js → fieldComparisonManager-Dvx8pH8s.esm.js} +5 -5
- package/dist/{fieldComparisonManager-CvaG1tq6.d.ts → fieldComparisonManager-brjMzIRO.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +4 -4
- package/dist/fiscal-qr.esm.js +13 -13
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +13 -13
- package/dist/flow.esm.js +22 -21
- package/dist/{flowCompletionService-CbGOzDDc.esm.js → flowCompletionService-BfjCIg8B.esm.js} +3 -3
- package/dist/{flowServices-bPOYOymJ.esm.js → flowServices-C98Yy_Gp.esm.js} +24 -9
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +7 -7
- package/dist/{geolocationStateMachine-D6afIT5B.esm.js → geolocationStateMachine-DNwn-K0X.esm.js} +4 -4
- package/dist/{getDeviceClass-DF3rXlUY.esm.js → getDeviceClass-CKbolkq0.esm.js} +1 -1
- package/dist/{getDeviceData-CxHuJqz9.esm.js → getDeviceData-cRiZDfyj.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +8 -8
- package/dist/{governmentValidationStateMachine-Cl_w7lDx.esm.js → governmentValidationStateMachine-BrbwYVeb.esm.js} +5 -5
- package/dist/home.d.ts +17 -17
- package/dist/home.esm.js +4 -4
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +7 -7
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +6 -6
- package/dist/id.d.ts +15 -14
- package/dist/id.esm.js +40 -38
- package/dist/idCaptureDefaults-Dtu-M3av.esm.js +188 -0
- package/dist/{idCaptureManager-DfwBlIzj.d.ts → idCaptureManager-D8vun2iW.d.ts} +19 -11
- package/dist/{idCaptureManager-1ibNrMn5.esm.js → idCaptureManager-IEa7x3cX.esm.js} +7 -7
- package/dist/{idCaptureStateMachine-BT3pAC0s.esm.js → idCaptureStateMachine-BwJ4Oja2.esm.js} +20 -187
- package/dist/{idOcrStateMachine-CSnVfav-.esm.js → idOcrStateMachine-BrgpQWHm.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-BYrQ6Ism.esm.js → idVerificationStateMachine-CVfNJ9c4.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +7 -7
- package/dist/{identityReuseManager-BTBb6dNP.esm.js → identityReuseManager-BdtFLG5j.esm.js} +4 -4
- package/dist/{identityReuseManager-_lnzJh2v.d.ts → identityReuseManager-D23g53js.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-B-DkkQQG.esm.js → identityReuseStateMachine-CJn-Eaqd.esm.js} +3 -3
- package/dist/{index-CC-2VtlL.d.ts → index-B7RboxdU.d.ts} +169 -169
- package/dist/{index-DCAqU5Gu.d.ts → index-Oj_Fvhsa.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +17 -17
- package/dist/{invokeOnCaptureCallback-BuIOnlDE.esm.js → invokeOnCaptureCallback-D5rcHH57.esm.js} +1 -1
- package/dist/{lib-BToFFxxd.esm.js → lib-Bjd6nOLG.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +9 -9
- package/dist/mandatory-consent.esm.js +7 -7
- package/dist/{mandatoryConsentManager-CJy55IWn.d.ts → mandatoryConsentManager-C_Av-opK.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-DOzIV_FJ.esm.js → mandatoryConsentManager-DMQBfOP7.esm.js} +4 -4
- package/dist/{mandatoryConsentStateMachine-_-BhToZb.esm.js → mandatoryConsentStateMachine-A0_KwmZK.esm.js} +3 -3
- package/dist/mediaRecorderOptions-WW6P1KjB.esm.js +42 -0
- package/dist/{onDeviceFaceResults-Bdtdz4jd.esm.js → onDeviceFaceResults-u-0o4u8K.esm.js} +21 -17
- package/dist/openviduLazy-jPgABwrt.esm.js +3 -0
- package/dist/{openviduLazy-BudLG7F2.esm.js → openviduLazy-wEojM41w.esm.js} +2 -2
- package/dist/{permissionGuards-DZGK8phT.esm.js → permissionGuards-pJ0BBI8s.esm.js} +1 -1
- package/dist/{permissionServices-BDlTL4JT.esm.js → permissionServices-DylQrLrh.esm.js} +7 -4
- package/dist/personhood.d.ts +15 -13
- package/dist/personhood.esm.js +27 -27
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +9 -9
- package/dist/{phoneManager-Ss4F2DsU.esm.js → phoneManager-DI_wCv7R.esm.js} +5 -5
- package/dist/{phoneManager-C6Go0zbQ.d.ts → phoneManager-DPDc0FVX.d.ts} +3 -3
- package/dist/{phoneStateMachine-DTP4bnzW.esm.js → phoneStateMachine-DBFRhm__.esm.js} +5 -5
- package/dist/{qe-signature-0orRwkzA.esm.js → qe-signature-DBH54XrQ.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +10 -10
- package/dist/{recordingService-BlcyNkhH.esm.js → recordingService-Bu2ksN82.esm.js} +7 -34
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +9 -9
- package/dist/{redirectToMobileManager-BNyb1Snt.d.ts → redirectToMobileManager-Ck3mOj_a.d.ts} +2 -2
- package/dist/{redirectToMobileManager-CivoSWZq.esm.js → redirectToMobileManager-DMecrpfp.esm.js} +5 -5
- package/dist/{redirectToMobileStateMachine-DHUqKZFf.esm.js → redirectToMobileStateMachine-BDbLXubh.esm.js} +5 -5
- package/dist/{runChildModule-C1mLru0r.esm.js → runChildModule-B3dFXzju.esm.js} +3 -3
- package/dist/selfie.d.ts +18 -16
- package/dist/selfie.esm.js +34 -33
- package/dist/{selfieManager-CSV6OSnm.d.ts → selfieManager-CQuIQApd.d.ts} +3 -3
- package/dist/{selfieManager-Bdpwfgqz.esm.js → selfieManager-dj_tGmCf.esm.js} +6 -6
- package/dist/{selfieStateMachine-CwBMovGA.esm.js → selfieStateMachine-DE5bvZIY.esm.js} +4 -4
- package/dist/{session-CSjmHjvS.esm.js → session-ACyn7yHq.esm.js} +3 -3
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +17 -17
- package/dist/{sessionInitializer-DFzS1tGJ.esm.js → sessionInitializer-CE4VkACt.esm.js} +10 -10
- package/dist/{setup-D0n186fR.esm.js → setup-BrJz_4MY.esm.js} +33 -10
- package/dist/{setup-CBG8_-sJ.d.ts → setup-Da51UnII.d.ts} +16 -3
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +6 -6
- package/dist/{signatureStateMachine-3spNUdNE.esm.js → signatureStateMachine-FeZrImMZ.esm.js} +3 -3
- package/dist/{stats-s3hq1r1j.esm.js → stats-CYcScXcO.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/{tri-ByBCC5y2.esm.js → tri-CvoIihYm.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-DKh4PZHK.esm.js → tri.esm-B47NPJjh.esm.js} +1 -1
- package/dist/tri.esm.js +2 -2
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +4 -4
- package/dist/{FaceDetectionProvider-BHFXkqW_.d.ts → types-BBSIY1G3.d.ts} +4 -120
- package/dist/{types-DiIMjgm2.d.ts → types-BCcaoWwg.d.ts} +1 -1
- package/dist/{types-CzQBFW6W.d.ts → types-B_YCuHZx.d.ts} +1 -1
- package/dist/{types-B5wtXkOy.d.ts → types-Cyi3gwPK.d.ts} +6 -2
- package/dist/{types-BmLWSDdq.esm.js → types-ElOJAGaM.esm.js} +1 -0
- package/dist/video-selfie.d.ts +348 -0
- package/dist/video-selfie.esm.js +1472 -0
- package/dist/videoSelfieSteps-7M5vxKn-.esm.js +58 -0
- package/dist/{warmup-BPFiCw6Z.d.ts → warmup-CZ80odyW.d.ts} +5 -1
- package/dist/wasm.d.ts +4 -4
- package/dist/wasm.esm.js +18 -18
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +6 -6
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +6 -6
- package/dist/{watchlistForBusinessStateMachine-DUnGwscI.esm.js → watchlistForBusinessStateMachine-Dpx2tEHF.esm.js} +3 -3
- package/dist/{watchlistStateMachine-D6x4BABN.esm.js → watchlistStateMachine-z7-X0tWf.esm.js} +3 -3
- package/dist/workflow.d.ts +115 -115
- package/dist/workflow.esm.js +75 -72
- package/package.json +8 -3
- package/dist/camera-Kk9gT8I8.esm.js +0 -22
- package/dist/openviduLazy-DRlOk6Fa.esm.js +0 -3
- /package/dist/{Actor-D0X2YV92.d.ts → Actor-DYjXVMQm.d.ts} +0 -0
- /package/dist/{BrowserEnvironmentProvider--Rda18RB.esm.js → BrowserEnvironmentProvider-CrBAYw20.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-BsoYOG0O.esm.js → BrowserStorageProvider-C2pRHzF2.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-Dp6Dvq18.esm.js → BrowserTimerProvider-CHloo0eQ.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-EZ_rxOqV.esm.js → BrowserVisibilityObserverProvider-CwxgeRE5.esm.js} +0 -0
- /package/dist/{ITimerCapability-Cqq9AIfp.esm.js → ITimerCapability-C2fjikpS.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-DIWWAmF2.d.ts → IVisibilityObserverCapability-BxPj7hsu.d.ts} +0 -0
- /package/dist/{IpifyProvider-CN96dlWf.esm.js → IpifyProvider-BRW14_uo.esm.js} +0 -0
- /package/dist/{Manager-BV5ZkaGs.d.ts → Manager-BylDhZIB.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DIBb_60H.esm.js → MotionSensorProvider-BtOFKz9L.esm.js} +0 -0
- /package/dist/{api-KOw05L_i.esm.js → api-DsbUi7TO.esm.js} +0 -0
- /package/dist/{apiError-CFVRvReX.esm.js → apiError-C4NaqM8p.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-CTDo0MZI.esm.js → browser-DlFgHpoC-BieMg30k.esm.js} +0 -0
- /package/dist/{camera-CE_iClyf.d.ts → camera-CWO06Lu5.d.ts} +0 -0
- /package/dist/{canvas-CYuviOmq.esm.js → canvas-BhqSuIuO.esm.js} +0 -0
- /package/dist/{canvas-BFl4HMZy.d.ts → canvas-pLrXU1id.d.ts} +0 -0
- /package/dist/{chunk-DWboWZWR.esm.js → chunk-CIKcdghV.esm.js} +0 -0
- /package/dist/{cpf-DxC8njkD.esm.js → cpf-Dv38bdsH.esm.js} +0 -0
- /package/dist/{dateUtils-GSUTCu5W.esm.js → dateUtils-CmsPWQ3R.esm.js} +0 -0
- /package/dist/{flowCompletionService-CYN44D74.d.ts → flowCompletionService-9TuYMrhu.d.ts} +0 -0
- /package/dist/{getBrowser-THrm1MWD.esm.js → getBrowser-BKXPso_u.esm.js} +0 -0
- /package/dist/{getDeviceClass-BsWQ9mVm.esm.js → getDeviceClass-DYWA0flM.esm.js} +0 -0
- /package/dist/{http-BnPz8fHx.esm.js → http-BbZ696Pj.esm.js} +0 -0
- /package/dist/{index-B0ZPExIF.d.ts → index-BAyZ8_iI.d.ts} +0 -0
- /package/dist/{mediapipeShared-COY8pwRa.esm.js → mediapipeShared-Bcmkzs3x.esm.js} +0 -0
- /package/dist/{otp-DoLw7vGV.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
- /package/dist/{otp-D3JAuulv.d.ts → otp-DZSnImi6.d.ts} +0 -0
- /package/dist/{platform-CwFB3DeY.esm.js → platform-uIVQUnJP.esm.js} +0 -0
- /package/dist/{types-BYdJ3Mc2.esm.js → types--nHSBKJP.esm.js} +0 -0
- /package/dist/{types-Dzi_YW-0.d.ts → types-BOiKESZY.d.ts} +0 -0
- /package/dist/{types-CoMD38x7.d.ts → types-CTnn7kUK.d.ts} +0 -0
- /package/dist/{urlUtils-i6O-S_Eb.esm.js → urlUtils-D8J2Zta7.esm.js} +0 -0
- /package/dist/{video-CSEulBxm.esm.js → video-Dy6zy_yl.esm.js} +0 -0
- /package/dist/{xstate.esm-MXSDq4yW.esm.js → xstate.esm-h2zbOb-8.esm.js} +0 -0
package/dist/{idCaptureStateMachine-BT3pAC0s.esm.js → idCaptureStateMachine-BwJ4Oja2.esm.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import { n as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { n as
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import { i as
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import { v as revokeObjectURL } from "./events-CqGY1yMq.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
+
import { t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-CE4VkACt.esm.js";
|
|
7
|
+
import { n as isDesktop } from "./platform-uIVQUnJP.esm.js";
|
|
8
|
+
import { a as fromPromise, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
9
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DylQrLrh.esm.js";
|
|
10
|
+
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-u-0o4u8K.esm.js";
|
|
11
|
+
import { t as IncodeCanvas } from "./canvas-BhqSuIuO.esm.js";
|
|
12
|
+
import { n as getBackCameraStream } from "./backCameraStream-cH8Ctfrg.esm.js";
|
|
13
|
+
import { n as getWindowDimensions } from "./getDeviceClass-DYWA0flM.esm.js";
|
|
14
|
+
import { t as getDeviceClass } from "./getDeviceClass-CKbolkq0.esm.js";
|
|
15
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DNcWK2xu.esm.js";
|
|
16
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-pJ0BBI8s.esm.js";
|
|
17
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-Bu2ksN82.esm.js";
|
|
18
|
+
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-Dtu-M3av.esm.js";
|
|
19
19
|
|
|
20
20
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
21
21
|
const TERMINAL_FAIL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -390,151 +390,6 @@ function mapFailReasonToErrorKey(response, expectedTab) {
|
|
|
390
390
|
return null;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region ../infra/src/providers/wasm/IdCaptureProvider.ts
|
|
395
|
-
var IdCaptureProvider = class extends BaseWasmProvider {
|
|
396
|
-
constructor() {
|
|
397
|
-
super(WasmPipelineType.IdBlurGlarePipeline);
|
|
398
|
-
this.lastProcessResult = null;
|
|
399
|
-
this.capturedCanvas = null;
|
|
400
|
-
this.originalCapturedCanvas = null;
|
|
401
|
-
}
|
|
402
|
-
async initialize(config) {
|
|
403
|
-
await this.initializeBase(config, "idCapture");
|
|
404
|
-
}
|
|
405
|
-
setCallbacks(callbacks) {
|
|
406
|
-
this.ensureInitialized();
|
|
407
|
-
const onCaptureWrapper = () => {
|
|
408
|
-
callbacks.onCapture?.();
|
|
409
|
-
};
|
|
410
|
-
mlWasmJSApi_default.setIdCaptureCallbacks(this.getPipelineType(), callbacks.onFarAway ?? (() => {}), callbacks.onDetectionStarted ?? (() => {}), callbacks.onMaskChange ? (show, mask, top, orientation) => callbacks.onMaskChange?.(show, mask, top, orientation) : () => {}, callbacks.onBlur ?? (() => {}), callbacks.onGlare ?? (() => {}), callbacks.onCapturing ?? (() => {}), callbacks.onCapture ? onCaptureWrapper : () => {}, callbacks.onBestFrame ? (blur, glare, orientation) => callbacks.onBestFrame?.(blur, glare, orientation) : () => {}, callbacks.onIdNotDetected ?? (() => {}), callbacks.onSwitchToManualCapture ?? (() => {}), callbacks.onIdTypeChange ? (idType) => callbacks.onIdTypeChange?.(idType) : () => {}, callbacks.onIdSideChange ? (side) => callbacks.onIdSideChange?.(side) : () => {}, callbacks.onCapturingCounterValueChange ? (value) => callbacks.onCapturingCounterValueChange?.(value) : () => {});
|
|
411
|
-
}
|
|
412
|
-
setThresholds(thresholds) {
|
|
413
|
-
this.ensureInitialized();
|
|
414
|
-
mlWasmJSApi_default.setIdCaptureThresholds(this.getPipelineType(), thresholds.blurThreshold, thresholds.blurChangeThreshold, thresholds.glareThreshold, thresholds.clsThreshold, thresholds.sideThreshold, thresholds.iouThreshold, thresholds.idDetectedTimeout, thresholds.autocaptureTimeout, thresholds.framesAggregationInterval);
|
|
415
|
-
}
|
|
416
|
-
setGeometry(geometry) {
|
|
417
|
-
this.ensureInitialized();
|
|
418
|
-
mlWasmJSApi_default.setIdCaptureGeometryParams(this.getPipelineType(), geometry.areaDown, geometry.areaUp, geometry.areaIOSPassportUp, geometry.areaIOSPassportDown, geometry.widthIOSUp, geometry.widthIOSDown, geometry.widthDown, geometry.widthUp, geometry.windowOuterWidth, geometry.windowOuterHeight, geometry.windowInnerWidth, geometry.windowInnerHeight);
|
|
419
|
-
}
|
|
420
|
-
setSettings(settings) {
|
|
421
|
-
this.ensureInitialized();
|
|
422
|
-
mlWasmJSApi_default.setIdCaptureConfigParams(this.getPipelineType(), settings.isFixedMask, settings.isIPhone14OrHigher, settings.idType, settings.blurCheckEnabled, settings.glareCheckEnabled, settings.faceQualityCheckEnabled, settings.iouCheckEnabled, settings.fpsLimitEnabled);
|
|
423
|
-
}
|
|
424
|
-
setModelType(modelType) {
|
|
425
|
-
this.ensureInitialized();
|
|
426
|
-
let wasmModelType;
|
|
427
|
-
switch (modelType) {
|
|
428
|
-
case "v1":
|
|
429
|
-
wasmModelType = IdCaptureModelType.IdCaptureV1x;
|
|
430
|
-
break;
|
|
431
|
-
case "v2":
|
|
432
|
-
wasmModelType = IdCaptureModelType.IdCaptureV2x;
|
|
433
|
-
break;
|
|
434
|
-
case "v3":
|
|
435
|
-
wasmModelType = IdCaptureModelType.IdCaptureV3x;
|
|
436
|
-
break;
|
|
437
|
-
default: throw new Error(`Unknown model type: ${modelType}`);
|
|
438
|
-
}
|
|
439
|
-
mlWasmJSApi_default.setIdCaptureModelType(this.getPipelineType(), wasmModelType);
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Processes a frame through the WASM pipeline and stores the result.
|
|
443
|
-
*/
|
|
444
|
-
async processFrame(image) {
|
|
445
|
-
const result = await this.processFrameWasm(image);
|
|
446
|
-
const pipelineType = this.getPipelineType();
|
|
447
|
-
if (result && pipelineType === WasmPipelineType.IdBlurGlarePipeline) this.lastProcessResult = result;
|
|
448
|
-
else this.lastProcessResult = null;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* Gets the last process result from the most recent frame processing.
|
|
452
|
-
* @returns The last process result with quad coordinates, or null if not available
|
|
453
|
-
*/
|
|
454
|
-
getLastProcessResult() {
|
|
455
|
-
return this.lastProcessResult;
|
|
456
|
-
}
|
|
457
|
-
transformPerspective(canvas, frameRect) {
|
|
458
|
-
this.ensureInitialized();
|
|
459
|
-
const originalWidth = canvas.width();
|
|
460
|
-
const originalHeight = canvas.height();
|
|
461
|
-
try {
|
|
462
|
-
const imageData = canvas.getImageData();
|
|
463
|
-
if (!imageData) return canvas;
|
|
464
|
-
const transformedCanvas = mlWasmJSApi_default.IdPerspectiveTransform(imageData, frameRect);
|
|
465
|
-
if (transformedCanvas) {
|
|
466
|
-
const wrappedCanvas = new IncodeCanvas(transformedCanvas);
|
|
467
|
-
const wrappedWidth = wrappedCanvas.width();
|
|
468
|
-
const wrappedHeight = wrappedCanvas.height();
|
|
469
|
-
if (wrappedWidth === originalWidth && wrappedHeight === originalHeight) {
|
|
470
|
-
const croppedCanvas = this.cropCanvasToRect(wrappedCanvas, {
|
|
471
|
-
x: Math.round(frameRect.x),
|
|
472
|
-
y: Math.round(frameRect.y),
|
|
473
|
-
w: Math.round(frameRect.w),
|
|
474
|
-
h: Math.round(frameRect.h)
|
|
475
|
-
});
|
|
476
|
-
if (croppedCanvas) return croppedCanvas;
|
|
477
|
-
}
|
|
478
|
-
return wrappedCanvas;
|
|
479
|
-
}
|
|
480
|
-
return canvas;
|
|
481
|
-
} catch (_error) {
|
|
482
|
-
return canvas;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* Crops a canvas to the specified rectangle region.
|
|
487
|
-
* @param canvas - The canvas to crop
|
|
488
|
-
* @param rect - The rectangle to crop to (x, y, w, h)
|
|
489
|
-
* @returns A new IncodeCanvas with the cropped region, or null if cropping fails
|
|
490
|
-
*/
|
|
491
|
-
cropCanvasToRect(canvas, rect) {
|
|
492
|
-
const canvasWidth = canvas.width();
|
|
493
|
-
const canvasHeight = canvas.height();
|
|
494
|
-
if (!canvasWidth || !canvasHeight) return null;
|
|
495
|
-
const x = Math.max(0, Math.min(rect.x, canvasWidth));
|
|
496
|
-
const y = Math.max(0, Math.min(rect.y, canvasHeight));
|
|
497
|
-
const w = Math.max(1, Math.min(rect.w, canvasWidth - x));
|
|
498
|
-
const h = Math.max(1, Math.min(rect.h, canvasHeight - y));
|
|
499
|
-
const croppedCanvasElement = document.createElement("canvas");
|
|
500
|
-
croppedCanvasElement.width = w;
|
|
501
|
-
croppedCanvasElement.height = h;
|
|
502
|
-
const ctx = croppedCanvasElement.getContext("2d");
|
|
503
|
-
if (!ctx) return null;
|
|
504
|
-
ctx.drawImage(canvas.canvas, x, y, w, h, 0, 0, w, h);
|
|
505
|
-
return new IncodeCanvas(croppedCanvasElement);
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* Gets the captured canvas (transformed for preview).
|
|
509
|
-
* @returns The captured canvas, or null if not available
|
|
510
|
-
*/
|
|
511
|
-
getCapturedCanvas() {
|
|
512
|
-
return this.capturedCanvas;
|
|
513
|
-
}
|
|
514
|
-
/**
|
|
515
|
-
* Gets the original captured canvas (full frame for upload).
|
|
516
|
-
* @returns The original captured canvas, or null if not available
|
|
517
|
-
*/
|
|
518
|
-
getOriginalCapturedCanvas() {
|
|
519
|
-
return this.originalCapturedCanvas;
|
|
520
|
-
}
|
|
521
|
-
/**
|
|
522
|
-
* Sets the captured canvases (original and transformed).
|
|
523
|
-
* @param original - The original full-frame canvas (for upload)
|
|
524
|
-
* @param transformed - The transformed canvas (for preview)
|
|
525
|
-
*/
|
|
526
|
-
setCapturedCanvases(original, transformed) {
|
|
527
|
-
this.originalCapturedCanvas = original;
|
|
528
|
-
this.capturedCanvas = transformed;
|
|
529
|
-
}
|
|
530
|
-
reset() {
|
|
531
|
-
super.reset();
|
|
532
|
-
this.lastProcessResult = null;
|
|
533
|
-
this.capturedCanvas = null;
|
|
534
|
-
this.originalCapturedCanvas = null;
|
|
535
|
-
}
|
|
536
|
-
};
|
|
537
|
-
|
|
538
393
|
//#endregion
|
|
539
394
|
//#region src/modules/id/idCameraStream.ts
|
|
540
395
|
async function getIdCameraStream(deviceId) {
|
|
@@ -770,7 +625,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
770
625
|
preloadOpenViduProvider();
|
|
771
626
|
}
|
|
772
627
|
async function createOpenViduRecordingProvider() {
|
|
773
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
628
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-CK6A5kiU.esm.js");
|
|
774
629
|
return new OpenViduRecordingProvider();
|
|
775
630
|
}
|
|
776
631
|
async function startRecordingSession(params) {
|
|
@@ -1257,28 +1112,6 @@ function getAvailableDocumentTypes(config) {
|
|
|
1257
1112
|
return adjustedDocumentTypes;
|
|
1258
1113
|
}
|
|
1259
1114
|
|
|
1260
|
-
//#endregion
|
|
1261
|
-
//#region ../infra/src/wasm/idCaptureDefaults.ts
|
|
1262
|
-
/**
|
|
1263
|
-
* Default WASM thresholds for ID capture quality checks.
|
|
1264
|
-
* Based on legacy pipelinesConfig.ts values.
|
|
1265
|
-
*/
|
|
1266
|
-
const DEFAULT_ID_CAPTURE_THRESHOLDS = {
|
|
1267
|
-
blurThreshold: .2,
|
|
1268
|
-
blurChangeThreshold: .2,
|
|
1269
|
-
glareThreshold: .3,
|
|
1270
|
-
clsThreshold: .98,
|
|
1271
|
-
sideThreshold: .8,
|
|
1272
|
-
iouThreshold: .8,
|
|
1273
|
-
idDetectedTimeout: 1e4,
|
|
1274
|
-
autocaptureTimeout: 5e3,
|
|
1275
|
-
framesAggregationInterval: 3e3
|
|
1276
|
-
};
|
|
1277
|
-
/**
|
|
1278
|
-
* Default model version for ID capture.
|
|
1279
|
-
*/
|
|
1280
|
-
const DEFAULT_ID_CAPTURE_MODEL_VERSION = "v2";
|
|
1281
|
-
|
|
1282
1115
|
//#endregion
|
|
1283
1116
|
//#region src/modules/id/idCaptureActors.ts
|
|
1284
1117
|
const checkPermissionActor = fromPromise(async () => {
|
|
@@ -1581,7 +1414,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1581
1414
|
});
|
|
1582
1415
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1583
1416
|
if (!input.dependencies) return;
|
|
1584
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1417
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DIUgvW9k.esm.js");
|
|
1585
1418
|
return loadDeepsightSession({
|
|
1586
1419
|
ds: input.ds,
|
|
1587
1420
|
storage: input.dependencies.storage,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as getTimestamp } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { _ as getTimestamp } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-Dv38bdsH.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
8
8
|
var DateFormattingProvider = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
6
6
|
/**
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import "./Manager-BylDhZIB.js";
|
|
2
|
+
import "./Actor-DYjXVMQm.js";
|
|
3
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D23g53js.js";
|
|
4
4
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
7
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import "./types-ElOJAGaM.esm.js";
|
|
4
|
+
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
+
import "./xstate.esm-h2zbOb-8.esm.js";
|
|
6
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-CJn-Eaqd.esm.js";
|
|
7
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-BdtFLG5j.esm.js";
|
|
8
8
|
|
|
9
9
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { n as eventModuleNames } from "./types-
|
|
3
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
1
|
+
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
+
import { c as createManager, s as createActor } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
4
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-CJn-Eaqd.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BylDhZIB.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
3
|
+
import * as xstate821 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/types.d.ts
|
|
6
6
|
|
|
@@ -76,7 +76,7 @@ type IdentityReuseContext = {
|
|
|
76
76
|
type IdentityReuseInput = {
|
|
77
77
|
config: IdentityReuseConfig;
|
|
78
78
|
};
|
|
79
|
-
declare const identityReuseMachine:
|
|
79
|
+
declare const identityReuseMachine: xstate821.StateMachine<IdentityReuseContext, {
|
|
80
80
|
type: "LOAD";
|
|
81
81
|
} | {
|
|
82
82
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -88,36 +88,36 @@ declare const identityReuseMachine: xstate198.StateMachine<IdentityReuseContext,
|
|
|
88
88
|
} | {
|
|
89
89
|
type: "RETRY";
|
|
90
90
|
}, {
|
|
91
|
-
[x: string]:
|
|
92
|
-
},
|
|
91
|
+
[x: string]: xstate821.ActorRefFromLogic<xstate821.PromiseActorLogic<FetchDocumentsResponse, void, xstate821.EventObject>> | xstate821.ActorRefFromLogic<xstate821.PromiseActorLogic<SubmitResponse, SubmitParams, xstate821.EventObject>> | undefined;
|
|
92
|
+
}, xstate821.Values<{
|
|
93
93
|
fetchDocuments: {
|
|
94
94
|
src: "fetchDocuments";
|
|
95
|
-
logic:
|
|
95
|
+
logic: xstate821.PromiseActorLogic<FetchDocumentsResponse, void, xstate821.EventObject>;
|
|
96
96
|
id: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
submitDocument: {
|
|
99
99
|
src: "submitDocument";
|
|
100
|
-
logic:
|
|
100
|
+
logic: xstate821.PromiseActorLogic<SubmitResponse, SubmitParams, xstate821.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
};
|
|
103
|
-
}>,
|
|
103
|
+
}>, xstate821.Values<{
|
|
104
104
|
setDocuments: {
|
|
105
105
|
type: "setDocuments";
|
|
106
|
-
params:
|
|
106
|
+
params: xstate821.NonReducibleUnknown;
|
|
107
107
|
};
|
|
108
108
|
setError: {
|
|
109
109
|
type: "setError";
|
|
110
|
-
params:
|
|
111
|
-
};
|
|
112
|
-
setSelectedDocument: {
|
|
113
|
-
type: "setSelectedDocument";
|
|
114
|
-
params: xstate198.NonReducibleUnknown;
|
|
110
|
+
params: xstate821.NonReducibleUnknown;
|
|
115
111
|
};
|
|
116
112
|
clearError: {
|
|
117
113
|
type: "clearError";
|
|
118
|
-
params:
|
|
114
|
+
params: xstate821.NonReducibleUnknown;
|
|
115
|
+
};
|
|
116
|
+
setSelectedDocument: {
|
|
117
|
+
type: "setSelectedDocument";
|
|
118
|
+
params: xstate821.NonReducibleUnknown;
|
|
119
119
|
};
|
|
120
|
-
}>,
|
|
120
|
+
}>, xstate821.Values<{
|
|
121
121
|
hasDocuments: {
|
|
122
122
|
type: "hasDocuments";
|
|
123
123
|
params: unknown;
|
|
@@ -126,7 +126,7 @@ declare const identityReuseMachine: xstate198.StateMachine<IdentityReuseContext,
|
|
|
126
126
|
type: "hasSelection";
|
|
127
127
|
params: unknown;
|
|
128
128
|
};
|
|
129
|
-
}>, never, "error" | "idle" | "finished" | "loading" | "
|
|
129
|
+
}>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, xstate821.NonReducibleUnknown, xstate821.EventObject, xstate821.MetaObject, {
|
|
130
130
|
readonly id: "identityReuse";
|
|
131
131
|
readonly initial: "idle";
|
|
132
132
|
readonly context: ({
|
|
@@ -135,55 +135,55 @@ declare const identityReuseMachine: xstate198.StateMachine<IdentityReuseContext,
|
|
|
135
135
|
spawn: {
|
|
136
136
|
<TSrc extends "fetchDocuments" | "submitDocument">(logic: TSrc, ...[options]: ({
|
|
137
137
|
src: "fetchDocuments";
|
|
138
|
-
logic:
|
|
138
|
+
logic: xstate821.PromiseActorLogic<FetchDocumentsResponse, void, xstate821.EventObject>;
|
|
139
139
|
id: string | undefined;
|
|
140
140
|
} extends infer T ? T extends {
|
|
141
141
|
src: "fetchDocuments";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate821.PromiseActorLogic<FetchDocumentsResponse, void, xstate821.EventObject>;
|
|
143
143
|
id: string | undefined;
|
|
144
144
|
} ? T extends {
|
|
145
145
|
src: TSrc;
|
|
146
|
-
} ?
|
|
146
|
+
} ? xstate821.ConditionalRequired<[options?: ({
|
|
147
147
|
id?: T["id"] | undefined;
|
|
148
148
|
systemId?: string;
|
|
149
|
-
input?:
|
|
149
|
+
input?: xstate821.InputFrom<T["logic"]> | undefined;
|
|
150
150
|
syncSnapshot?: boolean;
|
|
151
|
-
} & { [K in
|
|
151
|
+
} & { [K in xstate821.RequiredActorOptions<T>]: unknown }) | undefined], xstate821.IsNotNever<xstate821.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
152
152
|
src: "submitDocument";
|
|
153
|
-
logic:
|
|
153
|
+
logic: xstate821.PromiseActorLogic<SubmitResponse, SubmitParams, xstate821.EventObject>;
|
|
154
154
|
id: string | undefined;
|
|
155
155
|
} extends infer T_1 ? T_1 extends {
|
|
156
156
|
src: "submitDocument";
|
|
157
|
-
logic:
|
|
157
|
+
logic: xstate821.PromiseActorLogic<SubmitResponse, SubmitParams, xstate821.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
} ? T_1 extends {
|
|
160
160
|
src: TSrc;
|
|
161
|
-
} ?
|
|
161
|
+
} ? xstate821.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: T_1["id"] | undefined;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate821.InputFrom<T_1["logic"]> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K_1 in
|
|
166
|
+
} & { [K_1 in xstate821.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate821.IsNotNever<xstate821.RequiredActorOptions<T_1>>> : never : never : never)): xstate821.ActorRefFromLogic<xstate821.GetConcreteByKey<xstate821.Values<{
|
|
167
167
|
fetchDocuments: {
|
|
168
168
|
src: "fetchDocuments";
|
|
169
|
-
logic:
|
|
169
|
+
logic: xstate821.PromiseActorLogic<FetchDocumentsResponse, void, xstate821.EventObject>;
|
|
170
170
|
id: string | undefined;
|
|
171
171
|
};
|
|
172
172
|
submitDocument: {
|
|
173
173
|
src: "submitDocument";
|
|
174
|
-
logic:
|
|
174
|
+
logic: xstate821.PromiseActorLogic<SubmitResponse, SubmitParams, xstate821.EventObject>;
|
|
175
175
|
id: string | undefined;
|
|
176
176
|
};
|
|
177
177
|
}>, "src", TSrc>["logic"]>;
|
|
178
|
-
<TLogic extends
|
|
178
|
+
<TLogic extends xstate821.AnyActorLogic>(src: TLogic, ...[options]: xstate821.ConditionalRequired<[options?: ({
|
|
179
179
|
id?: never;
|
|
180
180
|
systemId?: string;
|
|
181
|
-
input?:
|
|
181
|
+
input?: xstate821.InputFrom<TLogic> | undefined;
|
|
182
182
|
syncSnapshot?: boolean;
|
|
183
|
-
} & { [K in
|
|
183
|
+
} & { [K in xstate821.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate821.IsNotNever<xstate821.RequiredLogicInput<TLogic>>>): xstate821.ActorRefFromLogic<TLogic>;
|
|
184
184
|
};
|
|
185
185
|
input: IdentityReuseInput;
|
|
186
|
-
self:
|
|
186
|
+
self: xstate821.ActorRef<xstate821.MachineSnapshot<IdentityReuseContext, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -194,7 +194,7 @@ declare const identityReuseMachine: xstate198.StateMachine<IdentityReuseContext,
|
|
|
194
194
|
type: "SKIP";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RETRY";
|
|
197
|
-
}, Record<string,
|
|
197
|
+
}, Record<string, xstate821.AnyActorRef | undefined>, xstate821.StateValue, string, unknown, any, any>, {
|
|
198
198
|
type: "LOAD";
|
|
199
199
|
} | {
|
|
200
200
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -205,7 +205,7 @@ declare const identityReuseMachine: xstate198.StateMachine<IdentityReuseContext,
|
|
|
205
205
|
type: "SKIP";
|
|
206
206
|
} | {
|
|
207
207
|
type: "RETRY";
|
|
208
|
-
},
|
|
208
|
+
}, xstate821.AnyEventObject>;
|
|
209
209
|
}) => {
|
|
210
210
|
config: IdentityReuseConfig;
|
|
211
211
|
documents: never[];
|
package/dist/{identityReuseStateMachine-B-DkkQQG.esm.js → identityReuseStateMachine-CJn-Eaqd.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
|
6
6
|
function lowerFirstLetter(value) {
|