@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
- package/dist/Actor-iTq7YY48.d.ts +1 -0
- package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
- package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
- package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
- package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
- package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
- package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
- package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
- package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
- package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
- package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
- package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
- package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
- package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
- package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
- package/dist/ae-signature.d.ts +2 -6
- package/dist/ae-signature.esm.js +10 -11
- package/dist/antifraud.d.ts +1 -6
- package/dist/antifraud.esm.js +3 -8
- package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
- package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
- package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
- package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
- package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
- package/dist/authentication.d.ts +2 -19
- package/dist/authentication.esm.js +3 -34
- package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
- package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
- package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +2 -3
- package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
- package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
- package/dist/callback-645_omgz.d.ts +133 -0
- package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
- package/dist/camera.d.ts +1 -2
- package/dist/camera.esm.js +2 -6
- package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
- package/dist/certificate-issuance.d.ts +34 -39
- package/dist/certificate-issuance.esm.js +4 -11
- package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
- package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
- package/dist/consent.d.ts +1 -4
- package/dist/consent.esm.js +3 -8
- package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
- package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
- package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
- package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
- package/dist/cpf-ocr.d.ts +1 -5
- package/dist/cpf-ocr.esm.js +2 -8
- package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
- package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
- package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
- package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
- package/dist/cross-document-data-match.d.ts +1 -5
- package/dist/cross-document-data-match.esm.js +2 -8
- package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
- package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
- package/dist/curp-validation.d.ts +1 -11
- package/dist/curp-validation.esm.js +3 -8
- package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
- package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
- package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
- package/dist/custom-fields.d.ts +2 -5
- package/dist/custom-fields.esm.js +24 -11
- package/dist/custom-watchlist.d.ts +1 -3
- package/dist/custom-watchlist.esm.js +11 -10
- package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
- package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
- package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
- package/dist/deepsightService-CR-CYdka.d.ts +218 -0
- package/dist/device.d.ts +0 -1
- package/dist/device.esm.js +5 -10
- package/dist/document-capture.d.ts +1 -6
- package/dist/document-capture.esm.js +3 -16
- package/dist/document-upload.d.ts +48 -55
- package/dist/document-upload.esm.js +8 -14
- package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
- package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
- package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
- package/dist/dynamic-forms.d.ts +1 -4
- package/dist/dynamic-forms.esm.js +3 -10
- package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
- package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
- package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
- package/dist/ekyb.d.ts +4 -11
- package/dist/ekyb.esm.js +3 -20
- package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
- package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
- package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
- package/dist/ekyc.d.ts +2 -7
- package/dist/ekyc.esm.js +3 -11
- package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
- package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
- package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
- package/dist/electronic-signature.d.ts +2 -5
- package/dist/electronic-signature.esm.js +2 -10
- package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
- package/dist/email.d.ts +1 -5
- package/dist/email.esm.js +3 -10
- package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
- package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
- package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
- package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
- package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
- package/dist/events.d.ts +1 -9
- package/dist/events.esm.js +2 -4
- package/dist/extensibility.d.ts +30 -42
- package/dist/extensibility.esm.js +29 -87
- package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
- package/dist/face-match.d.ts +1 -5
- package/dist/face-match.esm.js +3 -8
- package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
- package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
- package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
- package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
- package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
- package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
- package/dist/field-comparison.d.ts +1 -4
- package/dist/field-comparison.esm.js +2 -7
- package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
- package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
- package/dist/fiscal-qr.d.ts +1 -6
- package/dist/fiscal-qr.esm.js +14 -29
- package/dist/flow-events.d.ts +2 -9
- package/dist/flow.d.ts +13 -19
- package/dist/flow.esm.js +109 -34
- package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
- package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
- package/dist/geolocation.d.ts +1 -4
- package/dist/geolocation.esm.js +3 -9
- package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
- package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
- package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
- package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
- package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
- package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
- package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
- package/dist/government-validation.d.ts +3 -6
- package/dist/government-validation.esm.js +7 -13
- package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
- package/dist/home.d.ts +14 -22
- package/dist/home.esm.js +3 -8
- package/dist/http.d.ts +0 -1
- package/dist/http.esm.js +2 -4
- package/dist/id-ocr.d.ts +1 -5
- package/dist/id-ocr.esm.js +3 -9
- package/dist/id-verification.d.ts +1 -4
- package/dist/id-verification.esm.js +3 -8
- package/dist/id.d.ts +105 -18
- package/dist/id.esm.js +40 -50
- package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
- package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
- package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
- package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
- package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
- package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
- package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
- package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
- package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
- package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
- package/dist/identity-reuse.d.ts +1 -4
- package/dist/identity-reuse.esm.js +3 -8
- package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
- package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
- package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
- package/dist/index-B8weJxmL.d.ts +1 -0
- package/dist/index-BKOWUhxG.d.ts +258 -0
- package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
- package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -15
- package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
- package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
- package/dist/mandatory-consent.d.ts +1 -10
- package/dist/mandatory-consent.esm.js +3 -8
- package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
- package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
- package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
- package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
- package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
- package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
- package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
- package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
- package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
- package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
- package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
- package/dist/personhood.d.ts +13 -20
- package/dist/personhood.esm.js +153 -72
- package/dist/phone.d.ts +1 -5
- package/dist/phone.esm.js +3 -10
- package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
- package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
- package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
- package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
- package/dist/qe-signature.d.ts +2 -6
- package/dist/qe-signature.esm.js +10 -11
- package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
- package/dist/redirect-to-mobile.d.ts +1 -6
- package/dist/redirect-to-mobile.esm.js +3 -10
- package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
- package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
- package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
- package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
- package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
- package/dist/selfie.d.ts +7 -20
- package/dist/selfie.esm.js +40 -46
- package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
- package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
- package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
- package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
- package/dist/session-CQ2x2aLl.esm.js +1 -0
- package/dist/session.d.ts +2 -9
- package/dist/session.esm.js +153 -15
- package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
- package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
- package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
- package/dist/signature.d.ts +2 -6
- package/dist/signature.esm.js +6 -9
- package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
- package/dist/spawn-D9jgw9pW.d.ts +1441 -0
- package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
- package/dist/stats.esm.js +2 -5
- package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
- package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -4
- package/dist/trust-graph.d.ts +4 -5
- package/dist/trust-graph.esm.js +13 -9
- package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
- package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
- package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
- package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
- package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
- package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
- package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
- package/dist/video-selfie.d.ts +10 -15
- package/dist/video-selfie.esm.js +114 -106
- package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
- package/dist/wasm.d.ts +2 -4
- package/dist/wasm.esm.js +3 -15
- package/dist/watchlist-for-business.d.ts +1 -3
- package/dist/watchlist-for-business.esm.js +9 -9
- package/dist/watchlist.d.ts +1 -3
- package/dist/watchlist.esm.js +11 -10
- package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
- package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
- package/dist/workflow.d.ts +124 -146
- package/dist/workflow.esm.js +75 -80
- package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
- package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
- package/package.json +2 -2
- package/dist/Actor-CdjYVucI.d.ts +0 -2
- package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
- package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
- package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
- package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
- package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
- package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
- package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
- package/dist/canvas-COIxuirO.d.ts +0 -112
- package/dist/chunk-CIKcdghV.esm.js +0 -49
- package/dist/deepsightLoader-BppeThau.esm.js +0 -67
- package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
- package/dist/http-C3Pq6njG.esm.js +0 -0
- package/dist/index-BD6ZVw2f.d.ts +0 -93
- package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
- package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
- package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
- package/dist/session--C2lbjK5.esm.js +0 -152
- package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
- package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
- /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
- /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
- /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
- /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
- /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
- /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
-
import { n as toIncodeApiError } from "./apiError-
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cjpnacyg.esm.js";
|
|
4
|
+
import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
|
|
5
|
+
import "./session-CQ2x2aLl.esm.js";
|
|
6
|
+
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
|
|
7
7
|
//#region src/modules/flow/flowUtils.ts
|
|
8
8
|
const WASM_MODULE_PIPELINES = {
|
|
9
9
|
SELFIE: "selfie",
|
|
@@ -13,7 +13,7 @@ const WASM_MODULE_PIPELINES = {
|
|
|
13
13
|
TUTORIAL_ID: "idCapture",
|
|
14
14
|
SECOND_ID: "idCapture"
|
|
15
15
|
};
|
|
16
|
-
const FACE_MODULES_WITH_ON_DEVICE_VARIANT = new Set(["SELFIE", "AUTHENTICATION"]);
|
|
16
|
+
const FACE_MODULES_WITH_ON_DEVICE_VARIANT = /* @__PURE__ */ new Set(["SELFIE", "AUTHENTICATION"]);
|
|
17
17
|
function isOnDeviceFaceModule(module) {
|
|
18
18
|
if (!FACE_MODULES_WITH_ON_DEVICE_VARIANT.has(module.key)) return false;
|
|
19
19
|
return module.configuration?.onDeviceFaceResultsSubmissionEnabled === true;
|
|
@@ -141,7 +141,6 @@ function addRedirect(flow, modules, options) {
|
|
|
141
141
|
function hasModule(modules, key) {
|
|
142
142
|
return modules.some((module) => module.key === key);
|
|
143
143
|
}
|
|
144
|
-
|
|
145
144
|
//#endregion
|
|
146
145
|
//#region src/modules/flow/flowServices.ts
|
|
147
146
|
const REGULATION_TYPES = [
|
|
@@ -170,7 +169,8 @@ const REGULATION_TYPE_ALIASES = {
|
|
|
170
169
|
function toRegulationType(value) {
|
|
171
170
|
if (!value) return "Other";
|
|
172
171
|
if (REGULATION_TYPES.includes(value)) return value;
|
|
173
|
-
|
|
172
|
+
const normalized = value.trim().toLowerCase().replace(/[\s-]+/g, "_");
|
|
173
|
+
return REGULATION_TYPE_ALIASES[normalized] ?? "Other";
|
|
174
174
|
}
|
|
175
175
|
function prependMandatoryConsent(flow) {
|
|
176
176
|
if (flow.mandatoryConsentCheck === false) return flow;
|
|
@@ -203,6 +203,5 @@ const getFlow = async (signal, options = {}) => {
|
|
|
203
203
|
flowModules: normalizedModules
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
-
|
|
207
206
|
//#endregion
|
|
208
|
-
export { getRequiredWasmPipelines as n, normalizeFlowModules as r, getFlow as t };
|
|
207
|
+
export { getRequiredWasmPipelines as n, normalizeFlowModules as r, getFlow as t };
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./Manager-DE5DydXZ.js";
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-CAtyY00b.js";
|
|
1
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-BWhRzBjk.js";
|
|
5
2
|
export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
import "./platform-BoeUeUrV.esm.js";
|
|
5
|
-
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
|
-
import { t as createGeolocationManager } from "./geolocationManager-4j_DV3jW.esm.js";
|
|
7
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-BE72KBAX.esm.js";
|
|
8
|
-
|
|
9
|
-
export { createGeolocationManager, geolocationMachine };
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-D58ehBHU.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BorcBNZ6.esm.js";
|
|
3
|
+
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
|
+
import "./Actor-iTq7YY48.js";
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
|
6
6
|
latitude: number;
|
|
@@ -44,7 +44,6 @@ type CreateGeolocationActorOptions = {
|
|
|
44
44
|
type GeolocationActor = ActorRefFrom<GeolocationMachine>;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/modules/geolocation/geolocationManager.d.ts
|
|
47
|
-
|
|
48
47
|
/** Geolocation manager is in initial state, waiting for `request()` to be called */
|
|
49
48
|
type GeolocationIdleState = {
|
|
50
49
|
status: 'idle';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
2
|
-
import {
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
4
|
-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BorcBNZ6.esm.js";
|
|
5
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
6
5
|
var BrowserGeolocationProvider = class {
|
|
7
6
|
getCurrentPosition() {
|
|
@@ -13,7 +12,6 @@ var BrowserGeolocationProvider = class {
|
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
14
|
};
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
16
|
//#region src/modules/geolocation/geolocationActor.ts
|
|
19
17
|
function createGeolocationActor(options) {
|
|
@@ -23,7 +21,6 @@ function createGeolocationActor(options) {
|
|
|
23
21
|
geolocation
|
|
24
22
|
} }).start();
|
|
25
23
|
}
|
|
26
|
-
|
|
27
24
|
//#endregion
|
|
28
25
|
//#region src/modules/geolocation/geolocationManager.ts
|
|
29
26
|
/**
|
|
@@ -74,18 +71,33 @@ function mapState(snapshot) {
|
|
|
74
71
|
}
|
|
75
72
|
function createApi({ actor, trackElementClicked }) {
|
|
76
73
|
return {
|
|
74
|
+
/**
|
|
75
|
+
* Initiates the browser geolocation permission request.
|
|
76
|
+
* Transitions from 'idle' to 'requestingLocation'.
|
|
77
|
+
*/
|
|
77
78
|
request() {
|
|
78
79
|
trackElementClicked?.("request");
|
|
79
80
|
actor.send({ type: "REQUEST" });
|
|
80
81
|
},
|
|
82
|
+
/**
|
|
83
|
+
* Confirms the acquired location and completes the module.
|
|
84
|
+
* Should be called when state is 'locationAcquired'.
|
|
85
|
+
*/
|
|
81
86
|
continue() {
|
|
82
87
|
trackElementClicked?.("continue");
|
|
83
88
|
actor.send({ type: "CONTINUE" });
|
|
84
89
|
},
|
|
90
|
+
/**
|
|
91
|
+
* Skips geolocation when the user has denied permission.
|
|
92
|
+
* Only works when `config.allowUserToSkipGeolocation` is true.
|
|
93
|
+
*/
|
|
85
94
|
skip() {
|
|
86
95
|
trackElementClicked?.("skip");
|
|
87
96
|
actor.send({ type: "SKIP" });
|
|
88
97
|
},
|
|
98
|
+
/**
|
|
99
|
+
* Resets the manager back to initial state.
|
|
100
|
+
*/
|
|
89
101
|
reset() {
|
|
90
102
|
actor.send({ type: "RESET" });
|
|
91
103
|
}
|
|
@@ -117,6 +129,5 @@ function createGeolocationManagerFromActor(actor) {
|
|
|
117
129
|
instrumentation: createManagerInstrumentation(eventModuleNames.geolocation, { getEventScreenName: getGeolocationScreenName })
|
|
118
130
|
});
|
|
119
131
|
}
|
|
120
|
-
|
|
121
132
|
//#endregion
|
|
122
|
-
export { createGeolocationManagerFromActor as n, createGeolocationManager as t };
|
|
133
|
+
export { createGeolocationManagerFromActor as n, createGeolocationManager as t };
|
package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { r as isIOS, t as isAndroid } from "./platform-
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
+
import { r as isIOS, t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
8
8
|
const res = await api.post(endpoints.addGeolocation, {
|
|
@@ -12,7 +12,6 @@ async function addGeolocation(params, signal) {
|
|
|
12
12
|
if (!res.ok) throw new Error(`POST ${endpoints.addGeolocation} failed: ${res.status} ${res.statusText}`);
|
|
13
13
|
return res.data;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
15
|
//#endregion
|
|
17
16
|
//#region src/modules/geolocation/geolocationStateMachine.ts
|
|
18
17
|
function detectDeviceType() {
|
|
@@ -100,6 +99,5 @@ const geolocationMachine = setup({
|
|
|
100
99
|
finished: { type: "final" }
|
|
101
100
|
}
|
|
102
101
|
});
|
|
103
|
-
|
|
104
102
|
//#endregion
|
|
105
|
-
export { geolocationMachine as t };
|
|
103
|
+
export { geolocationMachine as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getDeviceInfo } from "./getDeviceClass-
|
|
3
|
-
|
|
1
|
+
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
2
|
+
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
3
|
//#region src/internal/device/getDeviceClass.ts
|
|
5
4
|
function getDeviceClass() {
|
|
6
5
|
const { userAgent, platform, maxTouchPoints } = getDeviceInfo();
|
|
@@ -15,6 +14,5 @@ function getDeviceClass() {
|
|
|
15
14
|
if (/android/.test(ua) || parsedOs === "android" || isParsedMobile) return "android";
|
|
16
15
|
return "desktop";
|
|
17
16
|
}
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
|
-
export { getDeviceClass as t };
|
|
18
|
+
export { getDeviceClass as t };
|
|
@@ -1,10 +1,53 @@
|
|
|
1
1
|
//#region ../../node_modules/.pnpm/ua-parser-js@2.0.9/node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
2
|
-
var LIBVERSION = "2.0.9"
|
|
2
|
+
var LIBVERSION = "2.0.9";
|
|
3
|
+
var UA_MAX_LENGTH = 500;
|
|
4
|
+
var USER_AGENT = "user-agent";
|
|
5
|
+
var EMPTY = "";
|
|
6
|
+
var UNKNOWN = "?";
|
|
7
|
+
var TYPEOF = {
|
|
3
8
|
FUNCTION: "function",
|
|
4
9
|
OBJECT: "object",
|
|
5
10
|
STRING: "string",
|
|
6
11
|
UNDEFINED: "undefined"
|
|
7
|
-
}
|
|
12
|
+
};
|
|
13
|
+
var BROWSER = "browser";
|
|
14
|
+
var CPU = "cpu";
|
|
15
|
+
var DEVICE = "device";
|
|
16
|
+
var ENGINE = "engine";
|
|
17
|
+
var OS = "os";
|
|
18
|
+
var RESULT = "result";
|
|
19
|
+
var NAME = "name";
|
|
20
|
+
var TYPE = "type";
|
|
21
|
+
var VENDOR = "vendor";
|
|
22
|
+
var VERSION = "version";
|
|
23
|
+
var ARCHITECTURE = "architecture";
|
|
24
|
+
var MAJOR = "major";
|
|
25
|
+
var MODEL = "model";
|
|
26
|
+
var CONSOLE = "console";
|
|
27
|
+
var MOBILE = "mobile";
|
|
28
|
+
var TABLET = "tablet";
|
|
29
|
+
var SMARTTV = "smarttv";
|
|
30
|
+
var WEARABLE = "wearable";
|
|
31
|
+
var XR = "xr";
|
|
32
|
+
var EMBEDDED = "embedded";
|
|
33
|
+
var FETCHER = "fetcher";
|
|
34
|
+
var INAPP = "inapp";
|
|
35
|
+
var BRANDS = "brands";
|
|
36
|
+
var FORMFACTORS = "formFactors";
|
|
37
|
+
var FULLVERLIST = "fullVersionList";
|
|
38
|
+
var PLATFORM = "platform";
|
|
39
|
+
var PLATFORMVER = "platformVersion";
|
|
40
|
+
var BITNESS = "bitness";
|
|
41
|
+
var CH = "sec-ch-ua";
|
|
42
|
+
var CH_FULL_VER_LIST = CH + "-full-version-list";
|
|
43
|
+
var CH_ARCH = CH + "-arch";
|
|
44
|
+
var CH_BITNESS = CH + "-" + BITNESS;
|
|
45
|
+
var CH_FORM_FACTORS = CH + "-form-factors";
|
|
46
|
+
var CH_MOBILE = CH + "-" + MOBILE;
|
|
47
|
+
var CH_MODEL = CH + "-" + MODEL;
|
|
48
|
+
var CH_PLATFORM = CH + "-" + PLATFORM;
|
|
49
|
+
var CH_PLATFORM_VER = CH_PLATFORM + "-version";
|
|
50
|
+
var CH_ALL_VALUES = [
|
|
8
51
|
BRANDS,
|
|
9
52
|
FULLVERLIST,
|
|
10
53
|
MOBILE,
|
|
@@ -14,8 +57,39 @@ var LIBVERSION = "2.0.9", UA_MAX_LENGTH = 500, USER_AGENT = "user-agent", EMPTY
|
|
|
14
57
|
ARCHITECTURE,
|
|
15
58
|
FORMFACTORS,
|
|
16
59
|
BITNESS
|
|
17
|
-
]
|
|
18
|
-
var
|
|
60
|
+
];
|
|
61
|
+
var AMAZON = "Amazon";
|
|
62
|
+
var APPLE = "Apple";
|
|
63
|
+
var ASUS = "ASUS";
|
|
64
|
+
var BLACKBERRY = "BlackBerry";
|
|
65
|
+
var GOOGLE = "Google";
|
|
66
|
+
var HUAWEI = "Huawei";
|
|
67
|
+
var LENOVO = "Lenovo";
|
|
68
|
+
var HONOR = "Honor";
|
|
69
|
+
var LG = "LG";
|
|
70
|
+
var MICROSOFT = "Microsoft";
|
|
71
|
+
var MOTOROLA = "Motorola";
|
|
72
|
+
var NVIDIA = "Nvidia";
|
|
73
|
+
var ONEPLUS = "OnePlus";
|
|
74
|
+
var OPPO = "OPPO";
|
|
75
|
+
var SAMSUNG = "Samsung";
|
|
76
|
+
var SHARP = "Sharp";
|
|
77
|
+
var SONY = "Sony";
|
|
78
|
+
var XIAOMI = "Xiaomi";
|
|
79
|
+
var ZEBRA = "Zebra";
|
|
80
|
+
var CHROME = "Chrome";
|
|
81
|
+
var CHROMIUM = "Chromium";
|
|
82
|
+
var CHROMECAST = "Chromecast";
|
|
83
|
+
var EDGE = "Edge";
|
|
84
|
+
var FIREFOX = "Firefox";
|
|
85
|
+
var OPERA = "Opera";
|
|
86
|
+
var FACEBOOK = "Facebook";
|
|
87
|
+
var SOGOU = "Sogou";
|
|
88
|
+
var PREFIX_MOBILE = "Mobile ";
|
|
89
|
+
var SUFFIX_BROWSER = " Browser";
|
|
90
|
+
var WINDOWS = "Windows";
|
|
91
|
+
var NAVIGATOR = typeof window !== TYPEOF.UNDEFINED && window.navigator ? window.navigator : void 0;
|
|
92
|
+
var NAVIGATOR_UADATA = NAVIGATOR && NAVIGATOR.userAgentData ? NAVIGATOR.userAgentData : void 0;
|
|
19
93
|
var extend = function(defaultRgx, extensions) {
|
|
20
94
|
var mergedRgx = {};
|
|
21
95
|
var extraRgx = extensions;
|
|
@@ -25,21 +99,26 @@ var extend = function(defaultRgx, extensions) {
|
|
|
25
99
|
}
|
|
26
100
|
for (var k in defaultRgx) mergedRgx[k] = extraRgx[k] && extraRgx[k].length % 2 === 0 ? extraRgx[k].concat(defaultRgx[k]) : defaultRgx[k];
|
|
27
101
|
return mergedRgx;
|
|
28
|
-
}
|
|
102
|
+
};
|
|
103
|
+
var enumerize = function(arr) {
|
|
29
104
|
var enums = {};
|
|
30
105
|
for (var i = 0; i < arr.length; i++) enums[arr[i].toUpperCase()] = arr[i];
|
|
31
106
|
return enums;
|
|
32
|
-
}
|
|
107
|
+
};
|
|
108
|
+
var has = function(str1, str2) {
|
|
33
109
|
if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
|
|
34
110
|
for (var i in str1) if (lowerize(str2) == lowerize(str1[i])) return true;
|
|
35
111
|
return false;
|
|
36
112
|
}
|
|
37
113
|
return isString(str1) ? lowerize(str2) == lowerize(str1) : false;
|
|
38
|
-
}
|
|
114
|
+
};
|
|
115
|
+
var isExtensions = function(obj, deep) {
|
|
39
116
|
for (var prop in obj) return /^(browser|cpu|device|engine|os)$/.test(prop) || (deep ? isExtensions(obj[prop]) : false);
|
|
40
|
-
}
|
|
117
|
+
};
|
|
118
|
+
var isString = function(val) {
|
|
41
119
|
return typeof val === TYPEOF.STRING;
|
|
42
|
-
}
|
|
120
|
+
};
|
|
121
|
+
var itemListToArray = function(header) {
|
|
43
122
|
if (!header) return void 0;
|
|
44
123
|
var arr = [];
|
|
45
124
|
var tokens = strip(/\\?\"/g, header).split(",");
|
|
@@ -51,11 +130,14 @@ var extend = function(defaultRgx, extensions) {
|
|
|
51
130
|
};
|
|
52
131
|
} else arr[i] = trim(tokens[i]);
|
|
53
132
|
return arr;
|
|
54
|
-
}
|
|
133
|
+
};
|
|
134
|
+
var lowerize = function(str) {
|
|
55
135
|
return isString(str) ? str.toLowerCase() : str;
|
|
56
|
-
}
|
|
136
|
+
};
|
|
137
|
+
var majorize = function(version) {
|
|
57
138
|
return isString(version) ? strip(/[^\d\.]/g, version).split(".")[0] : void 0;
|
|
58
|
-
}
|
|
139
|
+
};
|
|
140
|
+
var setProps = function(arr) {
|
|
59
141
|
for (var i in arr) {
|
|
60
142
|
if (!arr.hasOwnProperty(i)) continue;
|
|
61
143
|
var propName = arr[i];
|
|
@@ -63,11 +145,14 @@ var extend = function(defaultRgx, extensions) {
|
|
|
63
145
|
else this[propName] = void 0;
|
|
64
146
|
}
|
|
65
147
|
return this;
|
|
66
|
-
}
|
|
148
|
+
};
|
|
149
|
+
var strip = function(pattern, str) {
|
|
67
150
|
return isString(str) ? str.replace(pattern, EMPTY) : str;
|
|
68
|
-
}
|
|
151
|
+
};
|
|
152
|
+
var stripQuotes = function(str) {
|
|
69
153
|
return strip(/\\?\"/g, str);
|
|
70
|
-
}
|
|
154
|
+
};
|
|
155
|
+
var trim = function(str, len) {
|
|
71
156
|
str = strip(/^\s\s*/, String(str));
|
|
72
157
|
return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
|
|
73
158
|
};
|
|
@@ -98,7 +183,8 @@ var rgxMapper = function(ua, arrays) {
|
|
|
98
183
|
}
|
|
99
184
|
i += 2;
|
|
100
185
|
}
|
|
101
|
-
}
|
|
186
|
+
};
|
|
187
|
+
var strMapper = function(str, map) {
|
|
102
188
|
for (var i in map) if (typeof map[i] === TYPEOF.OBJECT && map[i].length > 0) {
|
|
103
189
|
for (var j = 0; j < map[i].length; j++) if (has(map[i][j], str)) return i === UNKNOWN ? void 0 : i;
|
|
104
190
|
} else if (has(map[i], str)) return i === UNKNOWN ? void 0 : i;
|
|
@@ -116,7 +202,8 @@ var windowsVersionMap = {
|
|
|
116
202
|
"8.1": "6.3",
|
|
117
203
|
"10": ["6.4", "10.0"],
|
|
118
204
|
"NT": ""
|
|
119
|
-
}
|
|
205
|
+
};
|
|
206
|
+
var formFactorsMap = {
|
|
120
207
|
"embedded": "Automotive",
|
|
121
208
|
"mobile": "Mobile",
|
|
122
209
|
"tablet": ["Tablet", "EInk"],
|
|
@@ -125,7 +212,8 @@ var windowsVersionMap = {
|
|
|
125
212
|
"xr": ["VR", "XR"],
|
|
126
213
|
"?": ["Desktop", "Unknown"],
|
|
127
214
|
"*": void 0
|
|
128
|
-
}
|
|
215
|
+
};
|
|
216
|
+
var browserHintsMap = {
|
|
129
217
|
"Chrome": "Google Chrome",
|
|
130
218
|
"Edge": "Microsoft Edge",
|
|
131
219
|
"Edge WebView2": "Microsoft Edge WebView2",
|
|
@@ -1483,8 +1571,8 @@ function UAParser(ua, extensions, headers) {
|
|
|
1483
1571
|
["getUA", function() {
|
|
1484
1572
|
return userAgent;
|
|
1485
1573
|
}],
|
|
1486
|
-
["setUA", function(ua
|
|
1487
|
-
if (isString(ua
|
|
1574
|
+
["setUA", function(ua) {
|
|
1575
|
+
if (isString(ua)) userAgent = trim(ua, UA_MAX_LENGTH);
|
|
1488
1576
|
return this;
|
|
1489
1577
|
}]
|
|
1490
1578
|
]).setUA(userAgent);
|
|
@@ -1510,7 +1598,6 @@ UAParser.DEVICE = enumerize([
|
|
|
1510
1598
|
EMBEDDED
|
|
1511
1599
|
]);
|
|
1512
1600
|
UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);
|
|
1513
|
-
|
|
1514
1601
|
//#endregion
|
|
1515
1602
|
//#region ../infra/src/device/getParsedUserAgent.ts
|
|
1516
1603
|
function getParsedUserAgent(userAgent) {
|
|
@@ -1531,13 +1618,5 @@ function getParsedUserAgent(userAgent) {
|
|
|
1531
1618
|
}
|
|
1532
1619
|
};
|
|
1533
1620
|
}
|
|
1534
|
-
|
|
1535
|
-
//#endregion
|
|
1536
|
-
//#region ../infra/src/device/getBrowser.ts
|
|
1537
|
-
function getUserAgent() {
|
|
1538
|
-
if (typeof navigator === "undefined") return "";
|
|
1539
|
-
return navigator.userAgent;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
1621
|
//#endregion
|
|
1543
|
-
export {
|
|
1622
|
+
export { UAParser as n, getParsedUserAgent as t };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import { t as OtpValidationErrors } from "./otp-D_9QPNbs.js";
|
|
5
|
-
|
|
1
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
+
import "./Actor-iTq7YY48.js";
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
|
|
6
4
|
//#region src/modules/government-validation/types.d.ts
|
|
7
5
|
type GovernmentValidationConfig = {
|
|
8
6
|
validationCountries?: string[];
|
|
@@ -26,7 +24,6 @@ type GovernmentValidationConfig = {
|
|
|
26
24
|
};
|
|
27
25
|
//#endregion
|
|
28
26
|
//#region src/modules/government-validation/governmentValidationStateMachine.d.ts
|
|
29
|
-
|
|
30
27
|
declare const governmentValidationMachine: any;
|
|
31
28
|
//#endregion
|
|
32
29
|
//#region src/modules/government-validation/governmentValidationActor.d.ts
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
|
-
import { t as OTP_CODE_LENGTH } from "./otp-Bbe_izFJ.esm.js";
|
|
7
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BfZ_WQC0.esm.js";
|
|
8
|
-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DkakcwTj.esm.js";
|
|
9
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
10
6
|
function createGovernmentValidationActor(options) {
|
|
11
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
12
8
|
}
|
|
13
|
-
|
|
14
9
|
//#endregion
|
|
15
10
|
//#region src/modules/government-validation/governmentValidationManager.ts
|
|
16
11
|
/**
|
|
@@ -59,14 +54,14 @@ function mapState(snapshot) {
|
|
|
59
54
|
attemptsRemaining: context.attemptsRemaining,
|
|
60
55
|
otpError: context.otpError,
|
|
61
56
|
otpCode: context.otpCode,
|
|
62
|
-
otpLength:
|
|
57
|
+
otpLength: 6,
|
|
63
58
|
otpValidationErrors: context.otpValidationErrors,
|
|
64
59
|
isOtpValid: Object.keys(context.otpValidationErrors ?? {}).length === 0
|
|
65
60
|
};
|
|
66
61
|
if (typedSnapshot.matches("verifyingOtp")) return {
|
|
67
62
|
status: "verifyingOtp",
|
|
68
63
|
otpCode: context.otpCode,
|
|
69
|
-
otpLength:
|
|
64
|
+
otpLength: 6
|
|
70
65
|
};
|
|
71
66
|
if (typedSnapshot.matches("displaySuccess")) return { status: "displaySuccess" };
|
|
72
67
|
if (typedSnapshot.matches("displayProcessing")) return { status: "processing" };
|
|
@@ -121,6 +116,5 @@ function createGovernmentValidationManager(options) {
|
|
|
121
116
|
instrumentation: createManagerInstrumentation(eventModuleNames.governmentValidation, { getEventScreenName: getGovernmentValidationScreenName })
|
|
122
117
|
});
|
|
123
118
|
}
|
|
124
|
-
|
|
125
119
|
//#endregion
|
|
126
|
-
export { createGovernmentValidationManager, governmentValidationMachine };
|
|
120
|
+
export { createGovernmentValidationManager, governmentValidationMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
+
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
8
8
|
async function processGovernmentValidation(signal) {
|
|
9
9
|
const res = await api.post(endpoints.governmentValidation, {}, { signal });
|
|
@@ -15,18 +15,16 @@ async function submitGovernmentValidationOtp(params, signal) {
|
|
|
15
15
|
if (!res.ok) throw new Error(`POST ${endpoints.governmentValidation} (OTP) failed: ${res.status} ${res.statusText}`);
|
|
16
16
|
return res.data;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region src/modules/government-validation/governmentValidationStateMachine.ts
|
|
21
20
|
const RESEND_TIMER_SECONDS = 30;
|
|
22
|
-
const AUTO_PROCEED_DELAY_MS = 3e3;
|
|
23
21
|
const governmentValidationMachine = setup({
|
|
24
22
|
types: {
|
|
25
23
|
context: {},
|
|
26
24
|
events: {},
|
|
27
25
|
input: {}
|
|
28
26
|
},
|
|
29
|
-
delays: { AUTO_PROCEED:
|
|
27
|
+
delays: { AUTO_PROCEED: 3e3 },
|
|
30
28
|
actors: {
|
|
31
29
|
processValidation: fromPromise(async ({ signal }) => {
|
|
32
30
|
return processGovernmentValidation(signal);
|
|
@@ -224,6 +222,5 @@ const governmentValidationMachine = setup({
|
|
|
224
222
|
finished: { type: "final" }
|
|
225
223
|
}
|
|
226
224
|
});
|
|
227
|
-
|
|
228
225
|
//#endregion
|
|
229
|
-
export { governmentValidationMachine as t };
|
|
226
|
+
export { governmentValidationMachine as t };
|
package/dist/home.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-B6KIOo6S.js";
|
|
6
|
-
import "./canvas-COIxuirO.js";
|
|
7
|
-
import "./createFaceAvatar-BjBu2CrU.js";
|
|
8
|
-
import { t as EmptyConfig } from "./types-NizIIgLD.js";
|
|
9
|
-
import * as xstate287 from "xstate";
|
|
10
|
-
|
|
1
|
+
import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import "./StateMachine-EDpYWy0i.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
+
import { t as EmptyConfig } from "./types-BnEHzP1K.js";
|
|
11
5
|
//#region src/modules/home/types.d.ts
|
|
12
6
|
type HomeConfig = EmptyConfig;
|
|
13
7
|
//#endregion
|
|
@@ -38,41 +32,39 @@ type HomeContext = {
|
|
|
38
32
|
type HomeInput = {
|
|
39
33
|
config: EmptyConfig;
|
|
40
34
|
};
|
|
41
|
-
declare const homeMachine:
|
|
35
|
+
declare const homeMachine: StateMachine<HomeContext, {
|
|
42
36
|
type: "LOAD";
|
|
43
37
|
} | {
|
|
44
38
|
type: "COMPLETE";
|
|
45
39
|
} | {
|
|
46
40
|
type: "RESET";
|
|
47
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
41
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
48
42
|
readonly id: "home";
|
|
49
43
|
readonly initial: "idle";
|
|
50
|
-
readonly context: ({
|
|
51
|
-
input
|
|
52
|
-
}: {
|
|
44
|
+
readonly context: ({ input }: {
|
|
53
45
|
spawn: {
|
|
54
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
55
|
-
<TLogic extends
|
|
46
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): ActorRefFromLogic<never>;
|
|
47
|
+
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
56
48
|
id?: never;
|
|
57
49
|
systemId?: string;
|
|
58
|
-
input?:
|
|
50
|
+
input?: InputFrom<TLogic> | undefined;
|
|
59
51
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
52
|
+
} & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
61
53
|
};
|
|
62
54
|
input: HomeInput;
|
|
63
|
-
self:
|
|
55
|
+
self: ActorRef<MachineSnapshot<HomeContext, {
|
|
64
56
|
type: "LOAD";
|
|
65
57
|
} | {
|
|
66
58
|
type: "COMPLETE";
|
|
67
59
|
} | {
|
|
68
60
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
61
|
+
}, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
|
|
70
62
|
type: "LOAD";
|
|
71
63
|
} | {
|
|
72
64
|
type: "COMPLETE";
|
|
73
65
|
} | {
|
|
74
66
|
type: "RESET";
|
|
75
|
-
},
|
|
67
|
+
}, AnyEventObject>;
|
|
76
68
|
}) => {
|
|
77
69
|
config: EmptyConfig;
|
|
78
70
|
};
|