@incodetech/core 2.1.1-rc.3 → 2.1.1-rc.4
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-9zb-7MLE.esm.js → 3dAvatarProvider-BwOmTMOy.esm.js} +2 -2
- package/dist/{Face2DProvider-DqFSo9Ls.esm.js → Face2DProvider-CZU11g6r.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-ZFnJ8ebm.d.ts → FaceDetectionProvider-CPWg-PAH.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Bo5y6BGA.d.ts → IWasmUtilCapability-DaSNxgA8.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-DmA__QfK.esm.js → OpenViduRecordingProvider-CK6A5kiU.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-CfmaSQy3.esm.js → PrivacyLensProvider-B_zrV25p.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-CAqUdVkM.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHDxv6hH.d.ts → StreamCanvasCapture-DHaWferF.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -4
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-D-nGY1T9.d.ts → antifraudManager-DCiNI6np.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +24 -23
- package/dist/{authenticationManager-Bz11dMMx.d.ts → authenticationManager-BeT6tNZm.d.ts} +3 -3
- package/dist/{authenticationManager-BYOqf17_.esm.js → authenticationManager-CWDi2BOI.esm.js} +3 -3
- package/dist/{authenticationStateMachine-C5-MnTtO.esm.js → authenticationStateMachine-DRY2mmrq.esm.js} +4 -4
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-Cz2EvzSR.esm.js → backCameraStream-ChrMTJv-.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/certificate-issuance.d.ts +31 -31
- package/dist/certificate-issuance.esm.js +1 -1
- package/dist/consent.d.ts +4 -4
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-D-u7zzJs.d.ts → consentManager-B-WC41zN.d.ts} +49 -49
- package/dist/{consentManager-DL93cPSU.esm.js → consentManager-BwNu-uC-.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-BW8wlEU_.esm.js → cpfOcrManager-9eM4z4o7.esm.js} +1 -1
- package/dist/{cpfOcrManager-bRKGv0Gu.d.ts → cpfOcrManager-UxwjbB41.d.ts} +19 -19
- package/dist/{createFaceAvatar-CpmQJA8E.esm.js → createFaceAvatar-BZSg2MNo.esm.js} +3 -3
- package/dist/{createFaceAvatar-DNMSIcRb.d.ts → createFaceAvatar-CpdYp9Iy.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +2 -2
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.d.ts +10 -10
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-u2FkvveY.esm.js → curpValidationManager-Cbji2inV.esm.js} +1 -1
- package/dist/{curpValidationManager-CJdVrCex.d.ts → curpValidationManager-CoqODZx5.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-DyECVkoj.esm.js → deepsightLoader-C9gah1-E.esm.js} +10 -20
- package/dist/{deepsightService-DU9yBWg_.esm.js → deepsightService-CkZqM1Q2.esm.js} +4 -4
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +254 -254
- package/dist/document-capture.esm.js +7 -7
- package/dist/document-upload.d.ts +51 -51
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-CteYwf1y.esm.js → documentCaptureStateMachine-BHIYPUEu.esm.js} +4 -4
- package/dist/dynamic-forms.d.ts +4 -4
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsManager-CNg60mlv.esm.js → dynamicFormsManager-CHXUBNs4.esm.js} +1 -1
- package/dist/{dynamicFormsManager-B_4qA_CB.d.ts → dynamicFormsManager-CKZkE7Wo.d.ts} +2 -2
- package/dist/{dynamicFormsStateMachine-BfLLcxua.esm.js → dynamicFormsStateMachine-DJ1HGZff.esm.js} +1 -1
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +7 -7
- package/dist/{ekybStateMachine-D_cRrsi8.esm.js → ekybStateMachine-BMKWlvbJ.esm.js} +2 -2
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-BcPEEqMA.esm.js → ekycStateMachine-DnVRiu3s.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-C9O7k0-m.esm.js → emailManager-B9Vrv3Ma.esm.js} +2 -2
- package/dist/{emailManager-CTOXMlVd.d.ts → emailManager-CMS4q_r6.d.ts} +3 -3
- package/dist/{emailStateMachine-Bk4pkysV.esm.js → emailStateMachine-CbmKFVSi.esm.js} +1 -1
- package/dist/extensibility.d.ts +35 -35
- package/dist/extensibility.esm.js +57 -56
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-C3vBl6Fp.d.ts → faceCaptureManagerFactory-DiJ64oem.d.ts} +14 -14
- package/dist/{faceCaptureManagerFactory-CWnrasW3.esm.js → faceCaptureManagerFactory-s4wRwMou.esm.js} +6 -3
- package/dist/{faceCaptureSetup-BKPSJ0lw.esm.js → faceCaptureSetup-TCy7nC4v.esm.js} +7 -7
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BOEgiOw_.d.ts → fieldComparisonManager-OLKVsG2Z.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +6 -6
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -30
- package/dist/flow.esm.js +29 -20
- package/dist/{flowServices-HZECmDUc.esm.js → flowServices-CC4Yjo3i.esm.js} +3 -29
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Dmbh6TXA.esm.js → geolocationManager-CF6-NizA.esm.js} +1 -1
- package/dist/{geolocationManager-B3lahU1a.d.ts → geolocationManager-DaHYFkVO.d.ts} +2 -2
- package/dist/{getDeviceClass-QxbJwsOO.esm.js → getDeviceClass-DIjnTPjR.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-CjCs0_fG.esm.js → governmentValidationStateMachine-BE5wiQ7Y.esm.js} +1 -1
- package/dist/home.d.ts +18 -18
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +26 -25
- package/dist/{idCaptureDefaults-BaPDKms3.esm.js → idCaptureDefaults-CZajItdO.esm.js} +1 -1
- package/dist/{idCaptureManager-mX-A6LVq.d.ts → idCaptureManager-CwuXtVu6.d.ts} +13 -13
- package/dist/{idCaptureManager-1VQHQJl5.esm.js → idCaptureManager-da-Mg75H.esm.js} +7 -4
- package/dist/{idCaptureStateMachine-BXhL_IKZ.esm.js → idCaptureStateMachine-CUT5BnrJ.esm.js} +13 -13
- package/dist/{idOcrManager-B7HXKHAk.d.ts → idOcrManager-Bppyh7Va.d.ts} +57 -57
- package/dist/{idOcrManager-CiEzYor8.esm.js → idOcrManager-Tm4LzKR0.esm.js} +1 -1
- package/dist/{idOcrStateMachine-CGeY01rX.esm.js → idOcrStateMachine-BJxZCxwS.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CrbjKac7.esm.js → identityReuseManager-LjkPvSQN.esm.js} +1 -1
- package/dist/{identityReuseManager-BbmyL7_3.d.ts → identityReuseManager-RvT_j2U6.d.ts} +33 -33
- package/dist/{index-BO3dlVd5.d.ts → index-CPLWHXKr.d.ts} +151 -151
- package/dist/{index-CVgIGwUy.d.ts → index-DrpWp15Z.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-b1QKgIKi.esm.js → mandatoryConsentManager-DZ26sg4B.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-BA4GDdTC.d.ts → mandatoryConsentManager-WqeJ-BGT.d.ts} +53 -53
- package/dist/{onDeviceFaceResults-6nBUTkSq.esm.js → onDeviceFaceResults-B1TzNaDk.esm.js} +8 -8
- package/dist/openviduLazy-jPgABwrt.esm.js +3 -0
- package/dist/{openviduLazy-BXDnVFe2.esm.js → openviduLazy-wEojM41w.esm.js} +1 -1
- package/dist/{permissionGuards-jvARexN9.esm.js → permissionGuards-BPZGWaL4.esm.js} +1 -1
- package/dist/{permissionServices-BTNLDsub.esm.js → permissionServices-BElIOcoJ.esm.js} +2 -2
- package/dist/personhood.d.ts +16 -27
- package/dist/personhood.esm.js +21 -31
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DNTrIq-D.esm.js → phoneManager-CRblfdcI.esm.js} +2 -2
- package/dist/{phoneManager-CG1vTJiG.d.ts → phoneManager-_KtitbUA.d.ts} +3 -3
- package/dist/{phoneStateMachine-MqNDf1Nh.esm.js → phoneStateMachine-DjFGWMjQ.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CDZHWq_z.esm.js → recordingService-CgIREjnH.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DuD03ggR.esm.js → redirectToMobileManager-DbuNUlru.esm.js} +1 -1
- package/dist/{redirectToMobileManager-D7U9k-Xs.d.ts → redirectToMobileManager-dv29o_LS.d.ts} +2 -2
- package/dist/{runChildModule-XHWWqs39.esm.js → runChildModule-kojSv3MH.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +26 -24
- package/dist/{selfieManager-DVhF0jHn.d.ts → selfieManager-4juKfrHG.d.ts} +3 -3
- package/dist/{selfieManager-BTplRdKZ.esm.js → selfieManager-D2H9WmPP.esm.js} +3 -3
- package/dist/{selfieStateMachine-CvhjDaWQ.esm.js → selfieStateMachine-Bx1SgEqB.esm.js} +3 -3
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CrJTBMQE.esm.js → sessionInitializer-8p-JWZlA.esm.js} +2 -2
- package/dist/{setup-0QMvgc69.esm.js → setup-B4yV-INl.esm.js} +2 -2
- package/dist/{setup-sxZLfgvF.d.ts → setup-CmA2apmN.d.ts} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-CFBjqf5E.esm.js → tri-CFAPtAUM.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-BzYyqlPa.esm.js → tri.esm-DDJ1zOqG.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-Cyi3gwPK.d.ts → types-BUgeB2X6.d.ts} +2 -2
- package/dist/{types-CRPns2d9.d.ts → types-D8Cl1N2Z.d.ts} +1 -1
- package/dist/{types-B_YCuHZx.d.ts → types-DV3wkhQ4.d.ts} +1 -1
- package/dist/{types-Cf0Ry6ff.d.ts → types-fO6KIdol.d.ts} +3 -3
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +19 -19
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDsFlagSync-Ch0mFJNT.esm.js +14 -0
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +114 -114
- package/dist/workflow.esm.js +55 -55
- package/package.json +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +0 -3
- /package/dist/{Actor-DYjXVMQm.d.ts → Actor-BwgmOPkb.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-fZsibQTR.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-C71KNDM2.esm.js → BrowserVisibilityObserverProvider-GBS6XSii.esm.js} +0 -0
- /package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DJ73P4RK.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BxPj7hsu.d.ts → IVisibilityObserverCapability-BZ1rE7ly.d.ts} +0 -0
- /package/dist/{Manager-BfBOhrjh.d.ts → Manager-goNPc_h_.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-D95kOKVK.esm.js} +0 -0
- /package/dist/{StateMachine-20ahmASR.d.ts → StateMachine-D5WO6lHS.d.ts} +0 -0
- /package/dist/{addressSearch-B9iJdbn8.esm.js → addressSearch-D7msRieq.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-CR6x7ypG.esm.js → browser-DlFgHpoC-Br3G10gw.esm.js} +0 -0
- /package/dist/{camera-CWO06Lu5.d.ts → camera-CKU96nwJ.d.ts} +0 -0
- /package/dist/{camera-B0yWS33x.esm.js → camera-CxxXV0VN.esm.js} +0 -0
- /package/dist/{canvas-pLrXU1id.d.ts → canvas-90BqS0NF.d.ts} +0 -0
- /package/dist/{canvas-DsJa51yU.esm.js → canvas-Pi10hG_l.esm.js} +0 -0
- /package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-DlZQT1_u.esm.js} +0 -0
- /package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-BOkVFiU7.esm.js} +0 -0
- /package/dist/{cpf-B9htWzDt.esm.js → cpf-16m_cGAM.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-CeqDh2V5.esm.js → curpValidationStateMachine-Dlw4qfFb.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-dovMwTLv.esm.js → customWatchlistStateMachine-D8w0mNxm.esm.js} +0 -0
- /package/dist/{dateUtils-PXB_WRYL.esm.js → dateUtils-BW6mBV6p.esm.js} +0 -0
- /package/dist/{deepsightService-CbaqT7bP.d.ts → deepsightService-BuTOFTr8.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-C6J09ygk.esm.js → faceMatchStateMachine-MDb30gCm.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-kk2RkWeb.esm.js → fieldComparisonManager-Cw4uzD7S.esm.js} +0 -0
- /package/dist/{flowCompletionService-BDcDfyoA.esm.js → flowCompletionService-B6P6_EF3.esm.js} +0 -0
- /package/dist/{flowCompletionService-nF7e8At0.d.ts → flowCompletionService-BOSTlAWo.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BRLIXR1x.esm.js → geolocationStateMachine-CD2XJs1b.esm.js} +0 -0
- /package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-C-Dg6IsJ.esm.js} +0 -0
- /package/dist/{http-CBbBcnBa.esm.js → http-CnsKEaJY.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-B6Ccvut4.esm.js → idVerificationStateMachine-DXN9WcdM.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-Do_M-z6z.esm.js → identityReuseStateMachine-Bp-zONoV.esm.js} +0 -0
- /package/dist/{index-CCG6MnCO.d.ts → index-BAyZ8_iI.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-gKRaO24Q.esm.js → invokeOnCaptureCallback-CCS2Ruzi.esm.js} +0 -0
- /package/dist/{lib-TRTXfron.esm.js → lib-Bjd6nOLG.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-VPbrLLfo.esm.js → mandatoryConsentStateMachine-_44ZoDSh.esm.js} +0 -0
- /package/dist/{mediaRecorderOptions-DuYelylE.esm.js → mediaRecorderOptions-CClCKAiF.esm.js} +0 -0
- /package/dist/{mediapipeShared-yKDdOf_V.esm.js → mediapipeShared-Bcmkzs3x.esm.js} +0 -0
- /package/dist/{otp-CETbFjXH.d.ts → otp-B1YeyRXu.d.ts} +0 -0
- /package/dist/{otp-DepQPUIA.esm.js → otp-uaXiKt_R.esm.js} +0 -0
- /package/dist/{qe-signature-CVnJ4RaW.esm.js → qe-signature-BnWIpR-O.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-WVg-n2is.esm.js → redirectToMobileStateMachine-BRaIJWOM.esm.js} +0 -0
- /package/dist/{session-BWCjVIr6.esm.js → session-CLsU2Jnb.esm.js} +0 -0
- /package/dist/{signatureStateMachine-iT9BhNUf.esm.js → signatureStateMachine-CdhlMih-.esm.js} +0 -0
- /package/dist/{types-Db2ooXIu.esm.js → types-BKLb3C42.esm.js} +0 -0
- /package/dist/{types-BOiKESZY.d.ts → types-BcF-fii5.d.ts} +0 -0
- /package/dist/{types-CTnn7kUK.d.ts → types-BgjMAEXl.d.ts} +0 -0
- /package/dist/{video-DXf5H9rY.esm.js → video-ZY92rkel.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-C6E7mKFt.esm.js → videoSelfieSteps-Djpv7cjb.esm.js} +0 -0
- /package/dist/{warmup-Bq8ivhlI.d.ts → warmup-Dd0iq6KF.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-CyhTEi3N.esm.js → watchlistForBusinessStateMachine-R1Yp1g5A.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-CgKG-KSf.esm.js → watchlistStateMachine-D07UVq1m.esm.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { t as OtpValidationErrors } from "./otp-B1YeyRXu.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/types.d.ts
|
|
7
7
|
type GovernmentValidationConfig = {
|
|
@@ -3,8 +3,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
|
-
import { t as OTP_CODE_LENGTH } from "./otp-
|
|
7
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
6
|
+
import { t as OTP_CODE_LENGTH } from "./otp-uaXiKt_R.esm.js";
|
|
7
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BE5wiQ7Y.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
10
10
|
function createGovernmentValidationActor(options) {
|
|
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.j
|
|
|
2
2
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-
|
|
5
|
+
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-uaXiKt_R.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,12 +1,12 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./canvas-
|
|
7
|
-
import "./createFaceAvatar-
|
|
8
|
-
import { t as EmptyConfig } from "./types-
|
|
9
|
-
import * as
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./camera-CKU96nwJ.js";
|
|
4
|
+
import "./types-DV3wkhQ4.js";
|
|
5
|
+
import "./types-BgjMAEXl.js";
|
|
6
|
+
import "./canvas-90BqS0NF.js";
|
|
7
|
+
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
8
|
+
import { t as EmptyConfig } from "./types-BUgeB2X6.js";
|
|
9
|
+
import * as xstate1126 from "xstate";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/home/types.d.ts
|
|
12
12
|
type HomeConfig = EmptyConfig;
|
|
@@ -38,41 +38,41 @@ type HomeContext = {
|
|
|
38
38
|
type HomeInput = {
|
|
39
39
|
config: EmptyConfig;
|
|
40
40
|
};
|
|
41
|
-
declare const homeMachine:
|
|
41
|
+
declare const homeMachine: xstate1126.StateMachine<HomeContext, {
|
|
42
42
|
type: "LOAD";
|
|
43
43
|
} | {
|
|
44
44
|
type: "COMPLETE";
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
47
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate1126.NonReducibleUnknown, xstate1126.EventObject, xstate1126.MetaObject, {
|
|
48
48
|
readonly id: "home";
|
|
49
49
|
readonly initial: "idle";
|
|
50
50
|
readonly context: ({
|
|
51
51
|
input
|
|
52
52
|
}: {
|
|
53
53
|
spawn: {
|
|
54
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
55
|
-
<TLogic extends
|
|
54
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate1126.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate1126.AnyActorLogic>(src: TLogic, ...[options]: xstate1126.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate1126.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate1126.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1126.IsNotNever<xstate1126.RequiredLogicInput<TLogic>>>): xstate1126.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate1126.ActorRef<xstate1126.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate1126.AnyActorRef | undefined>, xstate1126.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate1126.AnyEventObject>;
|
|
76
76
|
}) => {
|
|
77
77
|
config: EmptyConfig;
|
|
78
78
|
};
|
package/dist/http.esm.js
CHANGED
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-Bppyh7Va.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-1wxZ97yf.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import "./cpf-
|
|
6
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
7
|
-
import { t as createIdOcrManager } from "./idOcrManager-
|
|
5
|
+
import "./cpf-16m_cGAM.esm.js";
|
|
6
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-BJxZCxwS.esm.js";
|
|
7
|
+
import { t as createIdOcrManager } from "./idOcrManager-Tm4LzKR0.esm.js";
|
|
8
8
|
|
|
9
9
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, getOcrFields, idOcrStateMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import * as
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import * as xstate875 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-verification/types.d.ts
|
|
7
7
|
type IdVerificationConfig = {
|
|
@@ -33,26 +33,26 @@ type IdVerificationContext = {
|
|
|
33
33
|
type IdVerificationInput = {
|
|
34
34
|
config: IdVerificationConfig;
|
|
35
35
|
};
|
|
36
|
-
declare const idVerificationMachine:
|
|
36
|
+
declare const idVerificationMachine: xstate875.StateMachine<IdVerificationContext, {
|
|
37
37
|
type: "LOAD";
|
|
38
38
|
} | {
|
|
39
39
|
type: "CONTINUE";
|
|
40
40
|
}, {
|
|
41
|
-
[x: string]:
|
|
41
|
+
[x: string]: xstate875.ActorRefFromLogic<xstate875.PromiseActorLogic<ProcessIdResponse, {
|
|
42
42
|
isSecondId: boolean;
|
|
43
43
|
queueName: string;
|
|
44
|
-
},
|
|
44
|
+
}, xstate875.EventObject>> | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
src: "processId";
|
|
47
|
-
logic:
|
|
47
|
+
logic: xstate875.PromiseActorLogic<ProcessIdResponse, {
|
|
48
48
|
isSecondId: boolean;
|
|
49
49
|
queueName: string;
|
|
50
|
-
},
|
|
50
|
+
}, xstate875.EventObject>;
|
|
51
51
|
id: string | undefined;
|
|
52
52
|
}, never, {
|
|
53
53
|
type: "isDocumentExpired";
|
|
54
54
|
params: unknown;
|
|
55
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
55
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate875.NonReducibleUnknown, xstate875.EventObject, xstate875.MetaObject, {
|
|
56
56
|
readonly id: "idVerification";
|
|
57
57
|
readonly initial: "idle";
|
|
58
58
|
readonly context: ({
|
|
@@ -61,50 +61,50 @@ declare const idVerificationMachine: xstate0.StateMachine<IdVerificationContext,
|
|
|
61
61
|
spawn: {
|
|
62
62
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
63
63
|
src: "processId";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate875.PromiseActorLogic<ProcessIdResponse, {
|
|
65
65
|
isSecondId: boolean;
|
|
66
66
|
queueName: string;
|
|
67
|
-
},
|
|
67
|
+
}, xstate875.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
} extends infer T ? T extends {
|
|
70
70
|
src: "processId";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate875.PromiseActorLogic<ProcessIdResponse, {
|
|
72
72
|
isSecondId: boolean;
|
|
73
73
|
queueName: string;
|
|
74
|
-
},
|
|
74
|
+
}, xstate875.EventObject>;
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
} ? T extends {
|
|
77
77
|
src: TSrc;
|
|
78
|
-
} ?
|
|
78
|
+
} ? xstate875.ConditionalRequired<[options?: ({
|
|
79
79
|
id?: T["id"] | undefined;
|
|
80
80
|
systemId?: string;
|
|
81
|
-
input?:
|
|
81
|
+
input?: xstate875.InputFrom<T["logic"]> | undefined;
|
|
82
82
|
syncSnapshot?: boolean;
|
|
83
|
-
} & { [K in
|
|
83
|
+
} & { [K in xstate875.RequiredActorOptions<T>]: unknown }) | undefined], xstate875.IsNotNever<xstate875.RequiredActorOptions<T>>> : never : never : never): xstate875.ActorRefFromLogic<xstate875.GetConcreteByKey<{
|
|
84
84
|
src: "processId";
|
|
85
|
-
logic:
|
|
85
|
+
logic: xstate875.PromiseActorLogic<ProcessIdResponse, {
|
|
86
86
|
isSecondId: boolean;
|
|
87
87
|
queueName: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate875.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
}, "src", TSrc>["logic"]>;
|
|
91
|
-
<TLogic extends
|
|
91
|
+
<TLogic extends xstate875.AnyActorLogic>(src: TLogic, ...[options]: xstate875.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: never;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate875.InputFrom<TLogic> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate875.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate875.IsNotNever<xstate875.RequiredLogicInput<TLogic>>>): xstate875.ActorRefFromLogic<TLogic>;
|
|
97
97
|
};
|
|
98
98
|
input: IdVerificationInput;
|
|
99
|
-
self:
|
|
99
|
+
self: xstate875.ActorRef<xstate875.MachineSnapshot<IdVerificationContext, {
|
|
100
100
|
type: "LOAD";
|
|
101
101
|
} | {
|
|
102
102
|
type: "CONTINUE";
|
|
103
|
-
}, Record<string,
|
|
103
|
+
}, Record<string, xstate875.AnyActorRef | undefined>, xstate875.StateValue, string, unknown, any, any>, {
|
|
104
104
|
type: "LOAD";
|
|
105
105
|
} | {
|
|
106
106
|
type: "CONTINUE";
|
|
107
|
-
},
|
|
107
|
+
}, xstate875.AnyEventObject>;
|
|
108
108
|
}) => {
|
|
109
109
|
config: IdVerificationConfig;
|
|
110
110
|
isSecondId: boolean;
|
|
@@ -128,15 +128,15 @@ declare const idVerificationMachine: xstate0.StateMachine<IdVerificationContext,
|
|
|
128
128
|
} | {
|
|
129
129
|
type: "CONTINUE";
|
|
130
130
|
};
|
|
131
|
-
self:
|
|
131
|
+
self: xstate875.ActorRef<xstate875.MachineSnapshot<IdVerificationContext, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "CONTINUE";
|
|
135
|
-
}, Record<string,
|
|
135
|
+
}, Record<string, xstate875.AnyActorRef>, xstate875.StateValue, string, unknown, any, any>, {
|
|
136
136
|
type: "LOAD";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CONTINUE";
|
|
139
|
-
},
|
|
139
|
+
}, xstate875.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
isSecondId: boolean;
|
|
142
142
|
queueName: string;
|
|
@@ -2,7 +2,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DXN9WcdM.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
8
8
|
function createIdVerificationActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./StateMachine-
|
|
3
|
-
import "./Manager-
|
|
4
|
-
import "./Actor-
|
|
5
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./canvas-
|
|
10
|
-
import "./createFaceAvatar-
|
|
11
|
-
import "./types-
|
|
12
|
-
import "./IWasmUtilCapability-
|
|
13
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
14
|
-
import "./StreamCanvasCapture-
|
|
15
|
-
import "./deepsightService-
|
|
16
|
-
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-Dd0iq6KF.js";
|
|
2
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
3
|
+
import "./Manager-goNPc_h_.js";
|
|
4
|
+
import "./Actor-BwgmOPkb.js";
|
|
5
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BZ1rE7ly.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-CKU96nwJ.js";
|
|
7
|
+
import "./types-DV3wkhQ4.js";
|
|
8
|
+
import "./types-BgjMAEXl.js";
|
|
9
|
+
import "./canvas-90BqS0NF.js";
|
|
10
|
+
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
11
|
+
import "./types-BUgeB2X6.js";
|
|
12
|
+
import "./IWasmUtilCapability-DaSNxgA8.js";
|
|
13
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BcF-fii5.js";
|
|
14
|
+
import "./StreamCanvasCapture-DHaWferF.js";
|
|
15
|
+
import "./deepsightService-BuTOFTr8.js";
|
|
16
|
+
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-CwuXtVu6.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
19
19
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -4,36 +4,37 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
4
4
|
import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-8p-JWZlA.esm.js";
|
|
8
8
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
9
|
import "./platform-0Ot-bF_a.esm.js";
|
|
10
10
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
11
|
-
import "./tri-
|
|
11
|
+
import "./tri-CFAPtAUM.esm.js";
|
|
12
12
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
13
13
|
import "./apiError-DkOXfFBu.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 { t as
|
|
14
|
+
import "./wasmDsFlagSync-Ch0mFJNT.esm.js";
|
|
15
|
+
import "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
|
|
16
|
+
import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
17
|
+
import "./permissionServices-BElIOcoJ.esm.js";
|
|
18
|
+
import "./camera-CxxXV0VN.esm.js";
|
|
19
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
20
|
+
import "./onDeviceFaceResults-B1TzNaDk.esm.js";
|
|
21
|
+
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
22
|
+
import "./canvas-Pi10hG_l.esm.js";
|
|
23
|
+
import "./backCameraStream-ChrMTJv-.esm.js";
|
|
24
|
+
import "./video-ZY92rkel.esm.js";
|
|
25
|
+
import "./getDeviceClass-C-Dg6IsJ.esm.js";
|
|
26
|
+
import "./deepsightService-CkZqM1Q2.esm.js";
|
|
27
|
+
import "./getDeviceClass-DIjnTPjR.esm.js";
|
|
28
|
+
import "./types-BKLb3C42.esm.js";
|
|
29
|
+
import "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
30
|
+
import "./permissionGuards-BPZGWaL4.esm.js";
|
|
31
|
+
import "./recordingService-CgIREjnH.esm.js";
|
|
32
|
+
import "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
33
|
+
import "./session-CLsU2Jnb.esm.js";
|
|
34
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-CUT5BnrJ.esm.js";
|
|
35
|
+
import "./idCaptureDefaults-CZajItdO.esm.js";
|
|
36
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-da-Mg75H.esm.js";
|
|
37
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-CCS2Ruzi.esm.js";
|
|
37
38
|
|
|
38
39
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
39
40
|
function buildSubImage(canvas) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as mlWasmJSApi_default, d as WasmPipelineType, f as IdCaptureModelType, n as BaseWasmProvider } from "./WasmUtilProvider-BgzcXBdl.esm.js";
|
|
2
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
2
|
+
import { t as IncodeCanvas } from "./canvas-Pi10hG_l.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/providers/wasm/IdCaptureProvider.ts
|
|
5
5
|
var IdCaptureProvider = class extends BaseWasmProvider {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
7
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-
|
|
8
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
9
|
-
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-
|
|
10
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
11
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
12
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BZ1rE7ly.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CKU96nwJ.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-90BqS0NF.js";
|
|
7
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-CpdYp9Iy.js";
|
|
8
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BUgeB2X6.js";
|
|
9
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-DaSNxgA8.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BcF-fii5.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DHaWferF.js";
|
|
12
|
+
import { t as DeepsightService } from "./deepsightService-BuTOFTr8.js";
|
|
13
13
|
|
|
14
14
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
15
15
|
/**
|
|
@@ -287,7 +287,7 @@ type IdCaptureConfig = TutorialIdConfig & {
|
|
|
287
287
|
* the factory (see `DEFAULT_ID_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
288
288
|
* about, e.g. `{ onCapture, captureAttempts: 5, showDocumentChooserScreen: true }`.
|
|
289
289
|
*/
|
|
290
|
-
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, 'showTutorial' | 'captureAttempts' | 'autoCaptureTimeout' | 'deviceIdleTimeout' | 'enableId' | 'enablePassport' | 'onlyFront' | 'onlyBack' | 'showDocumentChooserScreen'
|
|
290
|
+
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, 'showTutorial' | 'captureAttempts' | 'autoCaptureTimeout' | 'deviceIdleTimeout' | 'enableId' | 'enablePassport' | 'onlyFront' | 'onlyBack' | 'showDocumentChooserScreen'>> & {
|
|
291
291
|
onCapture: (response: CaptureOnlyResponse) => void | Promise<void>;
|
|
292
292
|
};
|
|
293
293
|
type IdErrorCode = 'UPLOAD_ERROR' | 'CLASSIFICATION_FAILED' | 'LOW_SHARPNESS' | 'GLARE_DETECTED' | 'WRONG_DOCUMENT_SIDE' | 'ID_TYPE_UNACCEPTABLE' | 'READABILITY_ISSUE' | 'RETRY_EXHAUSTED_CONTINUE_TO_BACK' | 'RETRY_EXHAUSTED_SKIP_BACK' | 'NO_MORE_TRIES' | 'UNEXPECTED_ERROR' | 'NO_TOKEN' | 'PERMISSION_DENIED' | 'USER_CANCELLED' | 'SERVER_ERROR';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
2
2
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ch0mFJNT.esm.js";
|
|
4
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
|
|
5
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BElIOcoJ.esm.js";
|
|
6
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
7
|
+
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-CUT5BnrJ.esm.js";
|
|
7
8
|
|
|
8
9
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
9
10
|
function getPermissionStatus(snapshot) {
|
|
@@ -255,6 +256,8 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
255
256
|
if (snapshot.context.dependencies) snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
|
|
256
257
|
return {
|
|
257
258
|
load() {
|
|
259
|
+
const { config } = actor.getSnapshot().context;
|
|
260
|
+
if (config.ds === true) setWasmDsFlagSync(true);
|
|
258
261
|
resetWasmMotionPrimedForModule();
|
|
259
262
|
actor.send({ type: "LOAD" });
|
|
260
263
|
},
|
package/dist/{idCaptureStateMachine-BXhL_IKZ.esm.js → idCaptureStateMachine-CUT5BnrJ.esm.js}
RENAMED
|
@@ -3,19 +3,19 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { C as revokeObjectURL } from "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-8p-JWZlA.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-0Ot-bF_a.esm.js";
|
|
8
8
|
import { a as fromPromise, c as not, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
9
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
10
|
-
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
11
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
12
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
13
|
-
import { n as getWindowDimensions } from "./getDeviceClass-
|
|
14
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
15
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
16
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
17
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
18
|
-
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-
|
|
9
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BElIOcoJ.esm.js";
|
|
10
|
+
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-B1TzNaDk.esm.js";
|
|
11
|
+
import { t as IncodeCanvas } from "./canvas-Pi10hG_l.esm.js";
|
|
12
|
+
import { n as getBackCameraStream } from "./backCameraStream-ChrMTJv-.esm.js";
|
|
13
|
+
import { n as getWindowDimensions } from "./getDeviceClass-C-Dg6IsJ.esm.js";
|
|
14
|
+
import { t as getDeviceClass } from "./getDeviceClass-DIjnTPjR.esm.js";
|
|
15
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
16
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BPZGWaL4.esm.js";
|
|
17
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CgIREjnH.esm.js";
|
|
18
|
+
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-CZajItdO.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"]);
|
|
@@ -680,7 +680,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
680
680
|
preloadOpenViduProvider();
|
|
681
681
|
}
|
|
682
682
|
async function createOpenViduRecordingProvider() {
|
|
683
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
683
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-CK6A5kiU.esm.js");
|
|
684
684
|
return new OpenViduRecordingProvider();
|
|
685
685
|
}
|
|
686
686
|
async function startRecordingSession(params) {
|
|
@@ -1660,7 +1660,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1662
1662
|
if (!input.dependencies) return;
|
|
1663
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1663
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-C9gah1-E.esm.js");
|
|
1664
1664
|
return loadDeepsightSession({
|
|
1665
1665
|
ds: input.ds,
|
|
1666
1666
|
storage: input.dependencies.storage,
|