@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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
4
|
-
import { n as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-CE4VkACt.esm.js";
|
|
4
|
+
import { n as toIncodeApiError } from "./apiError-C4NaqM8p.esm.js";
|
|
5
|
+
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-7M5vxKn-.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/flow/flowUtils.ts
|
|
7
8
|
const WASM_MODULE_PIPELINES = {
|
|
8
9
|
SELFIE: "selfie",
|
|
9
10
|
AUTHENTICATION: "selfie",
|
|
10
11
|
FACE_MATCH: "selfie",
|
|
11
|
-
VIDEO_ONBOARDING: "selfie",
|
|
12
12
|
ID: "idCapture",
|
|
13
13
|
TUTORIAL_ID: "idCapture",
|
|
14
14
|
SECOND_ID: "idCapture"
|
|
@@ -18,6 +18,9 @@ function isOnDeviceFaceModule(module) {
|
|
|
18
18
|
if (!FACE_MODULES_WITH_ON_DEVICE_VARIANT.has(module.key)) return false;
|
|
19
19
|
return module.configuration?.onDeviceFaceResultsSubmissionEnabled === true;
|
|
20
20
|
}
|
|
21
|
+
function isVideoOnboardingModule(module) {
|
|
22
|
+
return module.key === "VIDEO_ONBOARDING";
|
|
23
|
+
}
|
|
21
24
|
/**
|
|
22
25
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
23
26
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
@@ -44,6 +47,10 @@ function getRequiredWasmPipelines(flow) {
|
|
|
44
47
|
pipelines.add("onDeviceSelfie");
|
|
45
48
|
continue;
|
|
46
49
|
}
|
|
50
|
+
if (isVideoOnboardingModule(module)) {
|
|
51
|
+
for (const p of videoSelfieWasmPipelines(module.configuration)) pipelines.add(p);
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
47
54
|
const pipeline = WASM_MODULE_PIPELINES[module.key];
|
|
48
55
|
if (pipeline) pipelines.add(pipeline);
|
|
49
56
|
}
|
|
@@ -62,6 +69,7 @@ function normalizeFlowModules(flow, options = {}) {
|
|
|
62
69
|
let modules = normalizeIdModules(flow.flowModules);
|
|
63
70
|
modules = normalizeCpfModules(modules, options);
|
|
64
71
|
modules = dropWatchlistBusinessIfEkyb(modules);
|
|
72
|
+
modules = dropSelfieIfVideoSelfieUsesAsSelfie(modules);
|
|
65
73
|
if (shouldInjectRedirect(flow, modules, options)) modules = addRedirect(flow, modules, options);
|
|
66
74
|
return modules;
|
|
67
75
|
}
|
|
@@ -74,6 +82,17 @@ function dropWatchlistBusinessIfEkyb(modules) {
|
|
|
74
82
|
if (!hasModule(modules, "EKYB")) return modules;
|
|
75
83
|
return modules.filter((m) => m.key !== "WATCHLIST_BUSINESS");
|
|
76
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Drops standalone SELFIE modules when a VIDEO_ONBOARDING module has
|
|
87
|
+
* `useAsSelfie: true`. The video-selfie sequence captures the onboarding selfie
|
|
88
|
+
* itself (its own `selfie` step), so a separate SELFIE step would be redundant.
|
|
89
|
+
* Only SELFIE is removed (not AUTHENTICATION / FACE_MATCH). Mirrors legacy
|
|
90
|
+
* flowService `removeSelfie`.
|
|
91
|
+
*/
|
|
92
|
+
function dropSelfieIfVideoSelfieUsesAsSelfie(modules) {
|
|
93
|
+
if (!modules.some((m) => m.key === "VIDEO_ONBOARDING" && m.configuration.useAsSelfie === true)) return modules;
|
|
94
|
+
return modules.filter((m) => m.key !== "SELFIE");
|
|
95
|
+
}
|
|
77
96
|
function normalizeIdModules(modules) {
|
|
78
97
|
return modules.flatMap((module, idx, arr) => {
|
|
79
98
|
if (module.key === "TUTORIAL_ID") {
|
|
@@ -179,10 +198,6 @@ const getFlow = async (signal, options = {}) => {
|
|
|
179
198
|
if (data.mandatoryConsentCheck !== false) await sessionPromise;
|
|
180
199
|
const flow = prependMandatoryConsent(data);
|
|
181
200
|
const normalizedModules = normalizeFlowModules(flow, options);
|
|
182
|
-
console.log({
|
|
183
|
-
...flow,
|
|
184
|
-
flowModules: normalizedModules
|
|
185
|
-
});
|
|
186
201
|
return {
|
|
187
202
|
...flow,
|
|
188
203
|
flowModules: normalizedModules
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BylDhZIB.js";
|
|
2
|
+
import "./Actor-DYjXVMQm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { n as eventModuleNames } from "./types-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./platform-
|
|
6
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
7
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
|
+
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
+
import "./platform-uIVQUnJP.esm.js";
|
|
6
|
+
import { c as createManager, s as createActor } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
7
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DNwn-K0X.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
10
10
|
var BrowserGeolocationProvider = class {
|
package/dist/{geolocationStateMachine-D6afIT5B.esm.js → geolocationStateMachine-DNwn-K0X.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { r as isIOS, t as isAndroid } from "./platform-
|
|
4
|
-
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 { r as isIOS, t as isAndroid } from "./platform-uIVQUnJP.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
1
|
+
import { t as Manager } from "./Manager-BylDhZIB.js";
|
|
2
|
+
import "./Actor-DYjXVMQm.js";
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-DZSnImi6.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/government-validation/types.d.ts
|
|
6
6
|
type GovernmentValidationConfig = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./BrowserTimerProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-
|
|
4
|
-
import { n as eventModuleNames } from "./types-
|
|
5
|
-
import "./endpoints-
|
|
6
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
7
|
-
import { t as OTP_CODE_LENGTH } from "./otp-
|
|
8
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
1
|
+
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
4
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
5
|
+
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
|
+
import { c as createManager, s as createActor } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
7
|
+
import { t as OTP_CODE_LENGTH } from "./otp-Bfnzf7I3.esm.js";
|
|
8
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BrbwYVeb.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
11
11
|
function createGovernmentValidationActor(options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
5
|
+
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-Bfnzf7I3.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
8
8
|
async function processGovernmentValidation(signal) {
|
package/dist/home.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./canvas-
|
|
6
|
-
import "./createFaceAvatar-
|
|
7
|
-
import { t as EmptyConfig } from "./types-
|
|
8
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BylDhZIB.js";
|
|
2
|
+
import "./camera-CWO06Lu5.js";
|
|
3
|
+
import "./types-B_YCuHZx.js";
|
|
4
|
+
import "./types-CTnn7kUK.js";
|
|
5
|
+
import "./canvas-pLrXU1id.js";
|
|
6
|
+
import "./createFaceAvatar-DNMSIcRb.js";
|
|
7
|
+
import { t as EmptyConfig } from "./types-Cyi3gwPK.js";
|
|
8
|
+
import * as xstate960 from "xstate";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/home/types.d.ts
|
|
11
11
|
type HomeConfig = EmptyConfig;
|
|
@@ -37,41 +37,41 @@ type HomeContext = {
|
|
|
37
37
|
type HomeInput = {
|
|
38
38
|
config: EmptyConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const homeMachine:
|
|
40
|
+
declare const homeMachine: xstate960.StateMachine<HomeContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "COMPLETE";
|
|
44
44
|
} | {
|
|
45
45
|
type: "RESET";
|
|
46
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
46
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate960.NonReducibleUnknown, xstate960.EventObject, xstate960.MetaObject, {
|
|
47
47
|
readonly id: "home";
|
|
48
48
|
readonly initial: "idle";
|
|
49
49
|
readonly context: ({
|
|
50
50
|
input
|
|
51
51
|
}: {
|
|
52
52
|
spawn: {
|
|
53
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
54
|
-
<TLogic extends
|
|
53
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate960.ActorRefFromLogic<never>;
|
|
54
|
+
<TLogic extends xstate960.AnyActorLogic>(src: TLogic, ...[options]: xstate960.ConditionalRequired<[options?: ({
|
|
55
55
|
id?: never;
|
|
56
56
|
systemId?: string;
|
|
57
|
-
input?:
|
|
57
|
+
input?: xstate960.InputFrom<TLogic> | undefined;
|
|
58
58
|
syncSnapshot?: boolean;
|
|
59
|
-
} & { [K in
|
|
59
|
+
} & { [K in xstate960.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate960.IsNotNever<xstate960.RequiredLogicInput<TLogic>>>): xstate960.ActorRefFromLogic<TLogic>;
|
|
60
60
|
};
|
|
61
61
|
input: HomeInput;
|
|
62
|
-
self:
|
|
62
|
+
self: xstate960.ActorRef<xstate960.MachineSnapshot<HomeContext, {
|
|
63
63
|
type: "LOAD";
|
|
64
64
|
} | {
|
|
65
65
|
type: "COMPLETE";
|
|
66
66
|
} | {
|
|
67
67
|
type: "RESET";
|
|
68
|
-
}, Record<string,
|
|
68
|
+
}, Record<string, xstate960.AnyActorRef | undefined>, xstate960.StateValue, string, unknown, any, any>, {
|
|
69
69
|
type: "LOAD";
|
|
70
70
|
} | {
|
|
71
71
|
type: "COMPLETE";
|
|
72
72
|
} | {
|
|
73
73
|
type: "RESET";
|
|
74
|
-
},
|
|
74
|
+
}, xstate960.AnyEventObject>;
|
|
75
75
|
}) => {
|
|
76
76
|
config: EmptyConfig;
|
|
77
77
|
};
|
package/dist/home.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { n as eventModuleNames } from "./types-
|
|
4
|
-
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-
|
|
1
|
+
import "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/home/homeStateMachine.ts
|
|
7
7
|
const homeMachine = setup({ types: {
|
package/dist/http.esm.js
CHANGED
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BylDhZIB.js";
|
|
2
|
+
import "./Actor-DYjXVMQm.js";
|
|
3
|
+
import * as xstate63 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate63.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate63.EventObject>> | undefined;
|
|
200
|
+
}, xstate63.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate63.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate63.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate63.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate63.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate63.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate63.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate63.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate63.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate63.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate63.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate63.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate63.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate63.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate63.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate63.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate63.NonReducibleUnknown, xstate63.EventObject, xstate63.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate63.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate63.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate63.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate63.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate63.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate63.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate63.RequiredActorOptions<T>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate63.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate63.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate63.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate63.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate63.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate63.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate63.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_1>>> : never : never : never)): xstate63.ActorRefFromLogic<xstate63.GetConcreteByKey<xstate63.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate63.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate63.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate63.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate63.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate63.AnyActorLogic>(src: TLogic, ...[options]: xstate63.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate63.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate63.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredLogicInput<TLogic>>>): xstate63.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate63.ActorRef<xstate63.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate63.AnyActorRef | undefined>, xstate63.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate63.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate63.ActorRef<xstate63.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate63.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate63.ActorRef<xstate63.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate363.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate63.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { n as eventModuleNames } from "./types-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
6
|
-
import "./cpf-
|
|
7
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
1
|
+
import "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
|
+
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-h2zbOb-8.esm.js";
|
|
6
|
+
import "./cpf-Dv38bdsH.esm.js";
|
|
7
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-BrgpQWHm.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
10
10
|
function createIdOcrActor(options) {
|