@incodetech/core 0.0.0-dev-20260630-ecf25d01 → 0.0.0-dev-20260701-bdeaa221
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-g_5khIgq.esm.js → 3dAvatarProvider-3yqmC0fd.esm.js} +2 -2
- package/dist/{Face2DProvider-BciFOpqp.esm.js → Face2DProvider-C-fAuV-p.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-C723Vh4J.d.ts → FaceDetectionProvider-B4SVWfK7.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-DCe8akKn.d.ts → IWasmUtilCapability-Dpg64Qr2.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-BZsWqkv9.esm.js → PrivacyLensProvider-D3KyqFh7.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHDxv6hH.d.ts → StreamCanvasCapture-BqaiJxNa.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-DNcWK2xu.esm.js → StreamCanvasCapture-Bz17q4FP.esm.js} +1 -1
- package/dist/{addressSearch-BhjurwQo.esm.js → addressSearch-BGuQejtl.esm.js} +1 -1
- package/dist/{ae-signature-CPKOMQX7.esm.js → ae-signature-G5MZoOKy.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +6 -6
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudManager-CMJCjGu9.esm.js → antifraudManager-BwWxvE5A.esm.js} +2 -2
- package/dist/{antifraudManager-0tq22vID.d.ts → antifraudManager-DcraYd6r.d.ts} +2 -2
- package/dist/{antifraudStateMachine-CwsNI6mD.esm.js → antifraudStateMachine-DLKtOiwd.esm.js} +1 -1
- package/dist/authentication.d.ts +18 -18
- package/dist/authentication.esm.js +26 -26
- package/dist/{authenticationManager-DYeRtXSb.d.ts → authenticationManager-BwUutUMI.d.ts} +3 -3
- package/dist/{authenticationManager-B_iOhBuD.esm.js → authenticationManager-Mk-k_cwG.esm.js} +4 -4
- package/dist/{authenticationStateMachine-BJFMX_d6.esm.js → authenticationStateMachine-BMnMVLy-.esm.js} +5 -5
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-cH8Ctfrg.esm.js → backCameraStream-ZyqrFyjO.esm.js} +2 -2
- package/dist/{browserSimulation-CUgn29iJ.esm.js → browserSimulation-TsSoavQv.esm.js} +152 -1215
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +4 -4
- package/dist/{certificateIssuanceStateMachine-B0zUpVxm.esm.js → certificateIssuanceStateMachine-x9HFaxKK.esm.js} +2 -2
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +3 -3
- package/dist/{consentManager-jU_9tYGg.d.ts → consentManager-B--Uv8aw.d.ts} +55 -55
- package/dist/{consentManager-D71Ar-I7.esm.js → consentManager-Cj83yok8.esm.js} +2 -2
- package/dist/{consentStateMachine-enfdBshh.esm.js → consentStateMachine-YtU_4jUt.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +3 -3
- package/dist/{cpfOcrManager-9Ubp2TpO.d.ts → cpfOcrManager-C0BUpDyT.d.ts} +22 -22
- package/dist/{cpfOcrManager-DkkrkErG.esm.js → cpfOcrManager-D8H0HGKj.esm.js} +2 -2
- package/dist/{createFaceAvatar-BXYFc_kA.esm.js → createFaceAvatar-CiNyvRNO.esm.js} +3 -3
- package/dist/{createFaceAvatar-DNMSIcRb.d.ts → createFaceAvatar-tloe__L_.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.d.ts +9 -9
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationManager-DcnaKhq7.d.ts → curpValidationManager-Bd_J27C3.d.ts} +3 -3
- package/dist/{curpValidationManager-DKh_9ckM.esm.js → curpValidationManager-DRHOME_q.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-DzXb57MU.esm.js → curpValidationStateMachine-B68HEUSO.esm.js} +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-Cl2gXi_b.esm.js → customWatchlistStateMachine-ji778XCE.esm.js} +1 -1
- package/dist/{deepsightLoader-DIUgvW9k.esm.js → deepsightLoader-C2P7w1dA.esm.js} +8 -9
- package/dist/{deepsightService-lLD3G31S.esm.js → deepsightService-CDahSjGP.esm.js} +6 -6
- package/dist/device.d.ts +9 -1
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +229 -229
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +4 -4
- package/dist/{documentCaptureStateMachine-JAnvcB0V.esm.js → documentCaptureStateMachine-BKXzGfAp.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsStateMachine-DdU0Y5OL.esm.js → dynamicFormsStateMachine-BZSn4t1z.esm.js} +2 -2
- package/dist/ekyb.d.ts +8 -8
- package/dist/ekyb.esm.js +12 -13
- package/dist/{ekybStateMachine-CdA_Btr0.esm.js → ekybStateMachine-DiyeD-bn.esm.js} +3 -3
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +4 -4
- package/dist/{ekycStateMachine-DajcBUqD.esm.js → ekycStateMachine-C9681Yzd.esm.js} +3 -3
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -5
- package/dist/{electronicSignatureManager-Dz-CglxP.esm.js → electronicSignatureManager-DTX6Pccb.esm.js} +3 -3
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +4 -4
- package/dist/{emailManager-Bf8HT0py.esm.js → emailManager-CyJ3OwB0.esm.js} +3 -3
- package/dist/{emailManager-D5kHN_Zj.d.ts → emailManager-DB7-HTVr.d.ts} +3 -3
- package/dist/{emailStateMachine-DBtggNGB.esm.js → emailStateMachine-DlZr3jep.esm.js} +2 -2
- package/dist/extensibility.d.ts +31 -31
- package/dist/extensibility.esm.js +57 -58
- package/dist/{externalFetch-Sh2H5VZA.esm.js → externalFetch-D_eLLNOS.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DWZ4fnkS.esm.js → faceCaptureManagerFactory-C6K2AbsU.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-D6uM60D6.d.ts → faceCaptureManagerFactory-CyZP_Q9V.d.ts} +12 -12
- package/dist/{faceCaptureSetup-BX9vTP8-.esm.js → faceCaptureSetup-Bq_wPGhK.esm.js} +8 -8
- package/dist/{faceMatchStateMachine-C-ioayCI.esm.js → faceMatchStateMachine-v8z7PvvD.esm.js} +1 -1
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +2 -2
- package/dist/{fieldComparisonManager-brjMzIRO.d.ts → fieldComparisonManager-CjIY3Y1d.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Dvx8pH8s.esm.js → fieldComparisonManager-D0RJA6Qx.esm.js} +1 -1
- package/dist/fiscal-qr.d.ts +4 -4
- package/dist/fiscal-qr.esm.js +7 -7
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +13 -13
- package/dist/flow.esm.js +13 -14
- package/dist/{flowCompletionService-BfjCIg8B.esm.js → flowCompletionService-BqDrPtNh.esm.js} +1 -1
- package/dist/{flowServices-Cs7Wm9ah.esm.js → flowServices-nx81re-L.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-DNwn-K0X.esm.js → geolocationStateMachine-5NOAiXiW.esm.js} +1 -1
- package/dist/{getDeviceClass-CKbolkq0.esm.js → getDeviceClass-DGGzzfqm.esm.js} +1 -1
- package/dist/{getDeviceData-cRiZDfyj.esm.js → getDeviceData-TrKM8NPh.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-BrbwYVeb.esm.js → governmentValidationStateMachine-DK1YeRDr.esm.js} +2 -2
- package/dist/home.d.ts +17 -17
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +15 -15
- package/dist/id.esm.js +30 -31
- package/dist/{idCaptureDefaults-Dtu-M3av.esm.js → idCaptureDefaults-GTCesE6K.esm.js} +1 -1
- package/dist/{idCaptureManager-CUsOoSYY.esm.js → idCaptureManager-CeaNK-Ve.esm.js} +5 -5
- package/dist/{idCaptureManager-D8vun2iW.d.ts → idCaptureManager-DDkfMlsm.d.ts} +11 -11
- package/dist/{idCaptureStateMachine-Z2FqIvHr.esm.js → idCaptureStateMachine-DdlLGjwa.esm.js} +14 -14
- package/dist/{idOcrStateMachine-BrgpQWHm.esm.js → idOcrStateMachine-Tr48722s.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-CVfNJ9c4.esm.js → idVerificationStateMachine-DwjJiKun.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{identityReuseManager-BdtFLG5j.esm.js → identityReuseManager-DjhuypVV.esm.js} +2 -2
- package/dist/{identityReuseManager-CCeMUbEv.d.ts → identityReuseManager-piMy-REi.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-CJn-Eaqd.esm.js → identityReuseStateMachine-CE7CiLs9.esm.js} +1 -1
- package/dist/{index-CY0AZlu3.d.ts → index-B75DQgX_.d.ts} +169 -169
- package/dist/{index-Oj_Fvhsa.d.ts → index-CpQYJA2K.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +6 -7
- package/dist/mandatory-consent.d.ts +9 -9
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentManager-Bys5puZC.d.ts → mandatoryConsentManager-BT8eEhPZ.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-DMQBfOP7.esm.js → mandatoryConsentManager-CwQSmcyl.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-A0_KwmZK.esm.js → mandatoryConsentStateMachine-DMHuQ9p6.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-u-0o4u8K.esm.js → onDeviceFaceResults-DlErdHcT.esm.js} +8 -8
- package/dist/{openviduLazy-wEojM41w.esm.js → openviduLazy-BXDnVFe2.esm.js} +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
- package/dist/{permissionGuards-pJ0BBI8s.esm.js → permissionGuards-BR2oN573.esm.js} +1 -1
- package/dist/{permissionServices-DylQrLrh.esm.js → permissionServices-BJhGL13R.esm.js} +2 -2
- package/dist/personhood.d.ts +15 -15
- package/dist/personhood.esm.js +18 -19
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +4 -4
- package/dist/{phoneManager-DPDc0FVX.d.ts → phoneManager-DWBrSRZq.d.ts} +3 -3
- package/dist/{phoneManager-DI_wCv7R.esm.js → phoneManager-DoREHm5q.esm.js} +3 -3
- package/dist/{phoneStateMachine-DBFRhm__.esm.js → phoneStateMachine-DBCFyMqD.esm.js} +2 -2
- package/dist/{qe-signature-DBH54XrQ.esm.js → qe-signature-CvRT6Nr8.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -6
- package/dist/{recordingService-Bu2ksN82.esm.js → recordingService-D8zRQbVb.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +4 -4
- package/dist/{redirectToMobileManager-CBbNZj35.esm.js → redirectToMobileManager-BlK4U22c.esm.js} +2 -2
- package/dist/{redirectToMobileManager-Ck3mOj_a.d.ts → redirectToMobileManager-slUK-Ttt.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-CswwJZgS.esm.js → redirectToMobileStateMachine-DbHl-Hnq.esm.js} +2 -2
- package/dist/{runChildModule-B3dFXzju.esm.js → runChildModule-Cm4q5mtc.esm.js} +2 -2
- package/dist/selfie.d.ts +18 -18
- package/dist/selfie.esm.js +27 -27
- package/dist/{selfieManager-CQuIQApd.d.ts → selfieManager-CARwc0rJ.d.ts} +3 -3
- package/dist/{selfieManager-dj_tGmCf.esm.js → selfieManager-mMYgwONo.esm.js} +4 -4
- package/dist/{selfieStateMachine-DE5bvZIY.esm.js → selfieStateMachine-j8QNgRSM.esm.js} +4 -4
- package/dist/{session-ACyn7yHq.esm.js → session-D4m9r-7U.esm.js} +1 -1
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +8 -9
- package/dist/{sessionInitializer-DjzgA8H9.esm.js → sessionInitializer-BPoQYSR2.esm.js} +5 -5
- package/dist/{setup-Da51UnII.d.ts → setup-B0dyRJVg.d.ts} +2 -2
- package/dist/{setup-C6-abnQA.esm.js → setup-DttzrMgn.esm.js} +2 -2
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-FeZrImMZ.esm.js → signatureStateMachine-Ds7LOonk.esm.js} +1 -1
- package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +1194 -0
- package/dist/{tri-CvoIihYm.esm.js → tri-RHgg98ap.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-B47NPJjh.esm.js → tri.esm-Q8X11Udu.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BBSIY1G3.d.ts → types-B4nBoeCd.d.ts} +3 -3
- package/dist/{types-B_YCuHZx.d.ts → types-Bl8JJxqM.d.ts} +1 -1
- package/dist/{types-Cyi3gwPK.d.ts → types-BoOrY6Kj.d.ts} +2 -2
- package/dist/{types-BCcaoWwg.d.ts → types-DHIl-AtE.d.ts} +1 -1
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +23 -24
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +6 -7
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-Dpx2tEHF.esm.js → watchlistForBusinessStateMachine-DXpbE4Sx.esm.js} +1 -1
- package/dist/{watchlistStateMachine-z7-X0tWf.esm.js → watchlistStateMachine-ByxT83kR.esm.js} +1 -1
- package/dist/workflow.d.ts +166 -166
- package/dist/workflow.esm.js +65 -66
- package/package.json +1 -1
- package/dist/BrowserEnvironmentProvider-CrBAYw20.esm.js +0 -117
- package/dist/getBrowser-BKXPso_u.esm.js +0 -8
- package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
- /package/dist/{Actor-DYjXVMQm.d.ts → Actor-Du_LU0S4.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-C2pRHzF2.esm.js → BrowserStorageProvider-CrrN540a.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-CwxgeRE5.esm.js → BrowserVisibilityObserverProvider-rim9Jrz-.esm.js} +0 -0
- /package/dist/{ITimerCapability-C2fjikpS.esm.js → ITimerCapability-pltuG1E8.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BxPj7hsu.d.ts → IVisibilityObserverCapability-D8EjWdOj.d.ts} +0 -0
- /package/dist/{Manager-BylDhZIB.d.ts → Manager-BUc6OqO5.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BtOFKz9L.esm.js → MotionSensorProvider-DCbId4De.esm.js} +0 -0
- /package/dist/{apiError-C4NaqM8p.esm.js → apiError-C7SFQTB2.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-BieMg30k.esm.js → browser-DlFgHpoC-D0saHs_w.esm.js} +0 -0
- /package/dist/{camera-3BoIlw6r.esm.js → camera-DUkgmYMo.esm.js} +0 -0
- /package/dist/{camera-CWO06Lu5.d.ts → camera-DtXTDZWt.d.ts} +0 -0
- /package/dist/{canvas-pLrXU1id.d.ts → canvas-Dcq7XIdx.d.ts} +0 -0
- /package/dist/{canvas-BhqSuIuO.esm.js → canvas-_I95hkPg.esm.js} +0 -0
- /package/dist/{cpf-Dv38bdsH.esm.js → cpf-BKaho0j_.esm.js} +0 -0
- /package/dist/{dateUtils-CmsPWQ3R.esm.js → dateUtils-7-tQYRNN.esm.js} +0 -0
- /package/dist/{deepsightService-6J67NoN9.d.ts → deepsightService-DMGqYUMO.d.ts} +0 -0
- /package/dist/{flowCompletionService-9TuYMrhu.d.ts → flowCompletionService-CY9Cb5V1.d.ts} +0 -0
- /package/dist/{getDeviceClass-DYWA0flM.esm.js → getDeviceClass-DavNdcxh.esm.js} +0 -0
- /package/dist/{http-BbZ696Pj.esm.js → http-C6s60xSe.esm.js} +0 -0
- /package/dist/{index-BAyZ8_iI.d.ts → index-CCG6MnCO.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-D5rcHH57.esm.js → invokeOnCaptureCallback-DrpXOwkG.esm.js} +0 -0
- /package/dist/{lib-Bjd6nOLG.esm.js → lib-TRTXfron.esm.js} +0 -0
- /package/dist/{mediaRecorderOptions-WW6P1KjB.esm.js → mediaRecorderOptions-C3NAkVgK.esm.js} +0 -0
- /package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-yKDdOf_V.esm.js} +0 -0
- /package/dist/{otp-DZSnImi6.d.ts → otp-DyNGp0Po.d.ts} +0 -0
- /package/dist/{otp-Bfnzf7I3.esm.js → otp-nhnnp9FM.esm.js} +0 -0
- /package/dist/{types-CTnn7kUK.d.ts → types-BXkFotpx.d.ts} +0 -0
- /package/dist/{types--nHSBKJP.esm.js → types-CMcxlSmH.esm.js} +0 -0
- /package/dist/{types-BOiKESZY.d.ts → types-CYK29a4w.d.ts} +0 -0
- /package/dist/{urlUtils-D8J2Zta7.esm.js → urlUtils-CwKgB7_U.esm.js} +0 -0
- /package/dist/{video-Dy6zy_yl.esm.js → video-C2WIj6TS.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-7M5vxKn-.esm.js → videoSelfieSteps-DAky5sq5.esm.js} +0 -0
- /package/dist/{warmup-CZ80odyW.d.ts → warmup-DzJ0I4Kv.d.ts} +0 -0
- /package/dist/{xstate.esm-h2zbOb-8.esm.js → xstate.esm-r0zHjE2E.esm.js} +0 -0
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-BUc6OqO5.js";
|
|
2
|
+
import "./Actor-Du_LU0S4.js";
|
|
3
|
+
import * as xstate822 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: xstate822.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate822.ActorRefFromLogic<xstate822.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate822.EventObject>> | xstate822.ActorRefFromLogic<xstate822.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate822.EventObject>> | undefined;
|
|
200
|
+
}, xstate822.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate822.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate822.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate822.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate822.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate822.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate822.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate822.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate822.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate822.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate822.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate822.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate822.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate822.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate822.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate822.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput,
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate822.NonReducibleUnknown, xstate822.EventObject, xstate822.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate822.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate822.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate822.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate822.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate822.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate822.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate822.RequiredActorOptions<T>]: unknown }) | undefined], xstate822.IsNotNever<xstate822.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate822.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate822.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate822.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate822.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate822.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate822.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate822.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate822.IsNotNever<xstate822.RequiredActorOptions<T_1>>> : never : never : never)): xstate822.ActorRefFromLogic<xstate822.GetConcreteByKey<xstate822.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate822.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate822.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate822.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate822.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate822.AnyActorLogic>(src: TLogic, ...[options]: xstate822.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate822.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate822.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate822.IsNotNever<xstate822.RequiredLogicInput<TLogic>>>): xstate822.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate822.ActorRef<xstate822.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate822.AnyActorRef | undefined>, xstate822.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate822.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate822.ActorRef<xstate822.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate822.AnyActorRef>, xstate822.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate822.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate822.ActorRef<xstate822.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate822.AnyActorRef>, xstate822.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate759.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate822.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -2,9 +2,9 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
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-
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import "./cpf-BKaho0j_.esm.js";
|
|
7
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-Tr48722s.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
10
10
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
|
+
import "./Actor-Du_LU0S4.js";
|
|
3
|
+
import * as xstate783 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/types.d.ts
|
|
6
6
|
type IdVerificationConfig = {
|
|
@@ -32,26 +32,26 @@ type IdVerificationContext = {
|
|
|
32
32
|
type IdVerificationInput = {
|
|
33
33
|
config: IdVerificationConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const idVerificationMachine:
|
|
35
|
+
declare const idVerificationMachine: xstate783.StateMachine<IdVerificationContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "CONTINUE";
|
|
39
39
|
}, {
|
|
40
|
-
[x: string]:
|
|
40
|
+
[x: string]: xstate783.ActorRefFromLogic<xstate783.PromiseActorLogic<ProcessIdResponse, {
|
|
41
41
|
isSecondId: boolean;
|
|
42
42
|
queueName: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate783.EventObject>> | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
src: "processId";
|
|
46
|
-
logic:
|
|
46
|
+
logic: xstate783.PromiseActorLogic<ProcessIdResponse, {
|
|
47
47
|
isSecondId: boolean;
|
|
48
48
|
queueName: string;
|
|
49
|
-
},
|
|
49
|
+
}, xstate783.EventObject>;
|
|
50
50
|
id: string | undefined;
|
|
51
51
|
}, never, {
|
|
52
52
|
type: "isDocumentExpired";
|
|
53
53
|
params: unknown;
|
|
54
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
54
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate783.NonReducibleUnknown, xstate783.EventObject, xstate783.MetaObject, {
|
|
55
55
|
readonly id: "idVerification";
|
|
56
56
|
readonly initial: "idle";
|
|
57
57
|
readonly context: ({
|
|
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate0.StateMachine<IdVerificationContext,
|
|
|
60
60
|
spawn: {
|
|
61
61
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
62
62
|
src: "processId";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate783.PromiseActorLogic<ProcessIdResponse, {
|
|
64
64
|
isSecondId: boolean;
|
|
65
65
|
queueName: string;
|
|
66
|
-
},
|
|
66
|
+
}, xstate783.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
} extends infer T ? T extends {
|
|
69
69
|
src: "processId";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate783.PromiseActorLogic<ProcessIdResponse, {
|
|
71
71
|
isSecondId: boolean;
|
|
72
72
|
queueName: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate783.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} ? T extends {
|
|
76
76
|
src: TSrc;
|
|
77
|
-
} ?
|
|
77
|
+
} ? xstate783.ConditionalRequired<[options?: ({
|
|
78
78
|
id?: T["id"] | undefined;
|
|
79
79
|
systemId?: string;
|
|
80
|
-
input?:
|
|
80
|
+
input?: xstate783.InputFrom<T["logic"]> | undefined;
|
|
81
81
|
syncSnapshot?: boolean;
|
|
82
|
-
} & { [K in
|
|
82
|
+
} & { [K in xstate783.RequiredActorOptions<T>]: unknown }) | undefined], xstate783.IsNotNever<xstate783.RequiredActorOptions<T>>> : never : never : never): xstate783.ActorRefFromLogic<xstate783.GetConcreteByKey<{
|
|
83
83
|
src: "processId";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate783.PromiseActorLogic<ProcessIdResponse, {
|
|
85
85
|
isSecondId: boolean;
|
|
86
86
|
queueName: string;
|
|
87
|
-
},
|
|
87
|
+
}, xstate783.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
}, "src", TSrc>["logic"]>;
|
|
90
|
-
<TLogic extends
|
|
90
|
+
<TLogic extends xstate783.AnyActorLogic>(src: TLogic, ...[options]: xstate783.ConditionalRequired<[options?: ({
|
|
91
91
|
id?: never;
|
|
92
92
|
systemId?: string;
|
|
93
|
-
input?:
|
|
93
|
+
input?: xstate783.InputFrom<TLogic> | undefined;
|
|
94
94
|
syncSnapshot?: boolean;
|
|
95
|
-
} & { [K in
|
|
95
|
+
} & { [K in xstate783.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate783.IsNotNever<xstate783.RequiredLogicInput<TLogic>>>): xstate783.ActorRefFromLogic<TLogic>;
|
|
96
96
|
};
|
|
97
97
|
input: IdVerificationInput;
|
|
98
|
-
self:
|
|
98
|
+
self: xstate783.ActorRef<xstate783.MachineSnapshot<IdVerificationContext, {
|
|
99
99
|
type: "LOAD";
|
|
100
100
|
} | {
|
|
101
101
|
type: "CONTINUE";
|
|
102
|
-
}, Record<string,
|
|
102
|
+
}, Record<string, xstate783.AnyActorRef | undefined>, xstate783.StateValue, string, unknown, any, any>, {
|
|
103
103
|
type: "LOAD";
|
|
104
104
|
} | {
|
|
105
105
|
type: "CONTINUE";
|
|
106
|
-
},
|
|
106
|
+
}, xstate783.AnyEventObject>;
|
|
107
107
|
}) => {
|
|
108
108
|
config: IdVerificationConfig;
|
|
109
109
|
isSecondId: boolean;
|
|
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate0.StateMachine<IdVerificationContext,
|
|
|
127
127
|
} | {
|
|
128
128
|
type: "CONTINUE";
|
|
129
129
|
};
|
|
130
|
-
self:
|
|
130
|
+
self: xstate783.ActorRef<xstate783.MachineSnapshot<IdVerificationContext, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "CONTINUE";
|
|
134
|
-
}, Record<string,
|
|
134
|
+
}, Record<string, xstate783.AnyActorRef>, xstate783.StateValue, string, unknown, any, any>, {
|
|
135
135
|
type: "LOAD";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CONTINUE";
|
|
138
|
-
},
|
|
138
|
+
}, xstate783.AnyEventObject>;
|
|
139
139
|
}) => {
|
|
140
140
|
isSecondId: boolean;
|
|
141
141
|
queueName: string;
|
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
6
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DwjJiKun.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
9
9
|
function createIdVerificationActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./canvas-
|
|
9
|
-
import "./createFaceAvatar-
|
|
10
|
-
import "./types-
|
|
11
|
-
import "./IWasmUtilCapability-
|
|
12
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
13
|
-
import "./StreamCanvasCapture-
|
|
14
|
-
import "./deepsightService-
|
|
15
|
-
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-DzJ0I4Kv.js";
|
|
2
|
+
import "./Manager-BUc6OqO5.js";
|
|
3
|
+
import "./Actor-Du_LU0S4.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D8EjWdOj.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DtXTDZWt.js";
|
|
6
|
+
import "./types-Bl8JJxqM.js";
|
|
7
|
+
import "./types-BXkFotpx.js";
|
|
8
|
+
import "./canvas-Dcq7XIdx.js";
|
|
9
|
+
import "./createFaceAvatar-tloe__L_.js";
|
|
10
|
+
import "./types-BoOrY6Kj.js";
|
|
11
|
+
import "./IWasmUtilCapability-Dpg64Qr2.js";
|
|
12
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CYK29a4w.js";
|
|
13
|
+
import "./StreamCanvasCapture-BqaiJxNa.js";
|
|
14
|
+
import "./deepsightService-DMGqYUMO.js";
|
|
15
|
+
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-DDkfMlsm.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
18
18
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -5,39 +5,38 @@ import "./events-CqGY1yMq.esm.js";
|
|
|
5
5
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
6
6
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
7
7
|
import "./stats-CYcScXcO.esm.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
8
|
+
import "./browserSimulation-TsSoavQv.esm.js";
|
|
9
|
+
import "./sessionInitializer-BPoQYSR2.esm.js";
|
|
10
|
+
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
|
+
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
13
13
|
import "./platform-uIVQUnJP.esm.js";
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import
|
|
38
|
-
import "./
|
|
39
|
-
import {
|
|
40
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D5rcHH57.esm.js";
|
|
14
|
+
import "./tri-RHgg98ap.esm.js";
|
|
15
|
+
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
16
|
+
import "./apiError-C7SFQTB2.esm.js";
|
|
17
|
+
import "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
18
|
+
import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
19
|
+
import "./permissionServices-BJhGL13R.esm.js";
|
|
20
|
+
import "./camera-DUkgmYMo.esm.js";
|
|
21
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
22
|
+
import "./onDeviceFaceResults-DlErdHcT.esm.js";
|
|
23
|
+
import "./ITimerCapability-pltuG1E8.esm.js";
|
|
24
|
+
import "./canvas-_I95hkPg.esm.js";
|
|
25
|
+
import "./backCameraStream-ZyqrFyjO.esm.js";
|
|
26
|
+
import "./video-C2WIj6TS.esm.js";
|
|
27
|
+
import "./getDeviceClass-DavNdcxh.esm.js";
|
|
28
|
+
import "./deepsightService-CDahSjGP.esm.js";
|
|
29
|
+
import "./getDeviceClass-DGGzzfqm.esm.js";
|
|
30
|
+
import "./types-CMcxlSmH.esm.js";
|
|
31
|
+
import "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
32
|
+
import "./permissionGuards-BR2oN573.esm.js";
|
|
33
|
+
import "./recordingService-D8zRQbVb.esm.js";
|
|
34
|
+
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
35
|
+
import "./session-D4m9r-7U.esm.js";
|
|
36
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-DdlLGjwa.esm.js";
|
|
37
|
+
import "./idCaptureDefaults-GTCesE6K.esm.js";
|
|
38
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CeaNK-Ve.esm.js";
|
|
39
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DrpXOwkG.esm.js";
|
|
41
40
|
|
|
42
41
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
43
42
|
function buildSubImage(canvas) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as IdCaptureModelType, i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
2
|
+
import { t as IncodeCanvas } from "./canvas-_I95hkPg.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/providers/wasm/IdCaptureProvider.ts
|
|
5
5
|
var IdCaptureProvider = class extends BaseWasmProvider {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-
|
|
5
|
-
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
6
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
7
|
-
import { g as mapDigitalIdScreenName, n as mapIdManualUploadScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
3
|
+
import { c as createManager, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
4
|
+
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
5
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BJhGL13R.esm.js";
|
|
6
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
7
|
+
import { g as mapDigitalIdScreenName, n as mapIdManualUploadScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-DdlLGjwa.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
10
10
|
function getPermissionStatus(snapshot) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as AnyStateMachine, r as StateMachine, t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
6
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-
|
|
7
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
8
|
-
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
10
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
11
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import { n as AnyStateMachine, r as StateMachine, t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-Du_LU0S4.js";
|
|
3
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D8EjWdOj.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-DtXTDZWt.js";
|
|
5
|
+
import { t as IncodeCanvas } from "./canvas-Dcq7XIdx.js";
|
|
6
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-tloe__L_.js";
|
|
7
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BoOrY6Kj.js";
|
|
8
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-Dpg64Qr2.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CYK29a4w.js";
|
|
10
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaiJxNa.js";
|
|
11
|
+
import { t as DeepsightService } from "./deepsightService-DMGqYUMO.js";
|
|
12
12
|
|
|
13
13
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
14
14
|
/**
|