@incodetech/core 2.5.0-agentic → 2.5.0-agentic.1
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/{FaceDetectionProvider-Dv9iXub0.esm.js → FaceDetectionProvider-Cy2EAL0i.esm.js} +9 -9
- package/dist/{IIdCaptureCapability-CAxToGns.d.ts → IIdCaptureCapability-BRAZQtkM.d.ts} +1 -0
- package/dist/{MotionSensorProvider-X4_2eBGd.esm.js → MotionSensorProvider-BAGydZPH.esm.js} +5 -0
- package/dist/{WasmUtilProvider-DVFDFlIL.esm.js → WasmUtilProvider-C4x5gc1c.esm.js} +2 -2
- package/dist/{definitionSource-B-Z2EgJJ.esm.js → addressSearch-DBJeg_g3.esm.js} +76 -9
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{phoneFormat-C3q0Ukh4.esm.js → allowedCharacters-Bnir--CN.esm.js} +1 -11
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-BI2zr7YX.esm.js → antifraudManager-DRMBLSh7.esm.js} +3 -3
- package/dist/{antifraudStateMachine-TWUu8wLN.esm.js → antifraudStateMachine-Bi0m60oV.esm.js} +1 -1
- package/dist/{api-BNxrW8xK.esm.js → api-B58edv6M.esm.js} +0 -1
- package/dist/{apiError-BAfdBGxH.esm.js → apiError-B9-B3cMq.esm.js} +1 -1
- package/dist/{attemptCarry-DWM8lV9V.esm.js → attemptCarry-CxiYlUAO.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BJElkTsj.d.ts → authenticationManager-CkD0JR7Q.d.ts} +1 -1
- package/dist/{authenticationManager-DFzByAYo.esm.js → authenticationManager-DNWtc0eq.esm.js} +6 -6
- package/dist/{authenticationStateMachine-CKTOhwwc.esm.js → authenticationStateMachine-CJ9i4Al-.esm.js} +3 -3
- package/dist/{browser-pQZA35G2-CG3C-xGt.esm.js → browser-pQZA35G2-B4Dwja1e.esm.js} +1 -1
- package/dist/{calendarDate-DcqGuEht.esm.js → calendarDate-D2zWfUlA.esm.js} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-P44yBRop.esm.js → certificateIssuanceManager-Ctj6AJC7.esm.js} +3 -3
- package/dist/{certificateIssuanceStateMachine-BPBrILt6.esm.js → certificateIssuanceStateMachine-DDqN9kvL.esm.js} +1 -1
- package/dist/{cnpj-Bl_olpdX.esm.js → cnpj-CVq3vL39.esm.js} +1 -9
- package/dist/cnpj-D5cxwIe-.esm.js +9 -0
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-B0YKqYtZ.d.ts} +5 -5
- package/dist/{consentManager-D43w2ms-.esm.js → consentManager-CyoeiABc.esm.js} +3 -3
- package/dist/{consentStateMachine-CLK8PfM4.esm.js → consentStateMachine-BTUrAslr.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Cag_bcyW.esm.js → crossDocumentDataMatchManager-cmQmp7Bi.esm.js} +3 -3
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-C6WmQToS.esm.js → curpValidationManager-EW44fVpH.esm.js} +3 -3
- package/dist/{curpValidationManager-CmL52FU8.d.ts → curpValidationManager-HOidAKvT.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-BbJ4YAzE.esm.js → curpValidationStateMachine-BFkt90Zs.esm.js} +3 -3
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BBy6X9nh.esm.js → customFieldsManager-DPMBJrcH.esm.js} +4 -4
- package/dist/{customWatchlistManager-CtBMy2EF.esm.js → customWatchlistManager-DiYpPjZx.esm.js} +3 -3
- package/dist/{customWatchlistStateMachine-SS2ssNCg.esm.js → customWatchlistStateMachine-D7VxQggF.esm.js} +1 -1
- package/dist/{deepsightCaptureConfig-Nm_K8twx.esm.js → deepsightCaptureConfig-BxD3mSac.esm.js} +2 -2
- package/dist/{deepsightLoader-BInnND1H.esm.js → deepsightLoader-KYZP8_x-.esm.js} +7 -7
- package/dist/definitionSource-B9WTvQb9.esm.js +30 -0
- package/dist/{desktopCameraElection-JNBOXqvK.esm.js → desktopCameraElection-BGQRIA2u.esm.js} +8 -8
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +3 -3
- package/dist/{documentCaptureManager-CGDtkfWj.esm.js → documentCaptureManager-SRG6YEMh.esm.js} +3 -3
- package/dist/{documentCaptureStateMachine-flAt9D4q.esm.js → documentCaptureStateMachine-Bh0uyfGq.esm.js} +4 -4
- package/dist/{documentSignatureStateMachine-DrRyICFT.esm.js → documentSignatureStateMachine-CLljjltG.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CxLq2KzT.esm.js → dynamicFormsManager-CnU2hRvl.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-By-maT_4.esm.js → dynamicFormsStateMachine-huYmjamB.esm.js} +3 -3
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CE19Pcdb.esm.js → ekybManager-CaEErq39.esm.js} +3 -3
- package/dist/{ekybManager-BflWuTe4.d.ts → ekybManager-Cjk8pQX0.d.ts} +2 -2
- package/dist/{ekybStateMachine-q7JQ-x9l.esm.js → ekybStateMachine-BIU8KIMv.esm.js} +141 -10
- package/dist/{ekybUtils-Z9MhFAer.esm.js → ekybUtils-Dl0MU-ib.esm.js} +23 -1
- package/dist/ekyc-prefill.d.ts +5 -5
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-p3uenUEi.esm.js → ekycManager-D2K8AaMV.esm.js} +3 -3
- package/dist/{ekycManager-BKVQazAb.d.ts → ekycManager-DusmB-4j.d.ts} +2 -2
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +12 -12
- package/dist/{ekycPrefillManager-gPX3XE7u.esm.js → ekycPrefillManager-CENQjdNq.esm.js} +6 -7
- package/dist/ekycPrefillStateMachine-jT3hIt2X.esm.js +1289 -0
- package/dist/{ekycStateMachine-D0NAHzS7.esm.js → ekycStateMachine-6EKndBd7.esm.js} +740 -230
- package/dist/{ekycUtils-DEvtEyBI.esm.js → ekycUtils-C6HZB46m.esm.js} +37 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C1M-Yxf2.esm.js → electronicSignatureManager-wM8WTgzP.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-DWnhEsUf.esm.js → emailManager-BBdRYLtH.esm.js} +3 -3
- package/dist/{emailStateMachine--T9PHflK.esm.js → emailStateMachine-DO7lWYvn.esm.js} +2 -2
- package/dist/{events-ChMS-UzR.esm.js → events-PUWyizJn.esm.js} +2 -2
- package/dist/events.d.ts +0 -3
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CHqmyOjM.d.ts → faceCaptureManagerFactory-D1EJw36F.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-18QW0lmV.esm.js → faceCaptureManagerFactory-DbEARG3h.esm.js} +6 -6
- package/dist/{faceCaptureSetup-CFToXwHy.esm.js → faceCaptureSetup-VaAjMpWX.esm.js} +20 -12
- package/dist/{faceMatchManager-DIStK4qi.esm.js → faceMatchManager-nBvS9z0o.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-DagrRdo2.esm.js → faceMatchStateMachine-48O8j_Lx.esm.js} +2 -2
- package/dist/{feature-management-BlscKbeV.esm.js → feature-management-D7oLtULO.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BnWBtMN7.esm.js → fieldComparisonManager-B1ipvtnp.esm.js} +3 -3
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-BxXaLhin.esm.js → fiscalQrManager-yecjuXV4.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-DNLssMAg.esm.js → flowCompletionService-CIjaIpMH.esm.js} +2 -2
- package/dist/{flowServices-Bzq3piUR.esm.js → flowServices-Dqt75TXx.esm.js} +9 -9
- package/dist/formErrors-lSfh7Y8J.esm.js +512 -0
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DoLbpx5e.esm.js → geolocationManager-DHfgXhEs.esm.js} +3 -3
- package/dist/{geolocationStateMachine-d5_E7gAm.esm.js → geolocationStateMachine-CrEspaN-.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CaZxyEOO.esm.js → governmentValidationManager-0-L21hu6.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-DeHHhlcf.esm.js → governmentValidationStateMachine-BFIcq3UB.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +2 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +19 -3
- package/dist/id-selfie-flow.d.ts +2 -2
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-R3rHuTOE.esm.js → idCaptureDefaults-CNopPetU.esm.js} +16 -6
- package/dist/{idCaptureManager-D_YGMeCW.esm.js → idCaptureManager-BPDCAV04.esm.js} +24 -18
- package/dist/{idCaptureManager-CgkQW3Xc.d.ts → idCaptureManager-CNFBeYgV.d.ts} +20 -5
- package/dist/{idCaptureServices-CP6AxsFW.esm.js → idCaptureServices-CWZFmS7l.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-BdBtGQZP.esm.js → idCaptureStateMachine-Cyt2BvPB.esm.js} +191 -44
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrManager-XTbpfHoF.esm.js → idOcrManager-bjBLjrEE.esm.js} +3 -3
- package/dist/{idOcrStateMachine-B-00PgPh.esm.js → idOcrStateMachine-D5ifJ1B8.esm.js} +2 -2
- package/dist/{idVerificationManager-B4NYLlUl.esm.js → idVerificationManager-C8Ja-vKq.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-B48Ikl-7.esm.js → idVerificationStateMachine-BMnfZZli.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +2 -2
- package/dist/{identityReuseManager-tFeYm_So.esm.js → identityReuseManager-B5BWAleT.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-Ckf39qFu.esm.js → identityReuseStateMachine-Cuggm1UP.esm.js} +1 -1
- package/dist/{index-CNck5TLp.d.ts → index-BMr3MZEI.d.ts} +1 -1
- package/dist/{index-CoePktWH.d.ts → index-BoGlwLGK.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-DNQX9k5e.esm.js → invokeOnCaptureCallback-D2FOfi4O.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -3
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-DP76y-Qz.esm.js → kybChecksManager-BF2vf0Q2.esm.js} +2 -2
- package/dist/{kybChecksManager-B7Di9auB.d.ts → kybChecksManager-CKDy1mel.d.ts} +1 -1
- package/dist/{kybChecksStateMachine-OKLT8Zoc.esm.js → kybChecksStateMachine-oBQfgdka.esm.js} +176 -179
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-kzr5kdc_.d.ts → mandatoryConsentManager-BcxCesP5.d.ts} +6 -6
- package/dist/{mandatoryConsentManager-NX1lz6nk.esm.js → mandatoryConsentManager-FfgHdPYw.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-D1J2NQSI.esm.js → mandatoryConsentStateMachine-CXuYC3qR.esm.js} +1 -1
- package/dist/{multipartRecordingService-Cz-cWrpV.esm.js → multipartRecordingService-CFmOUGQt.esm.js} +1 -1
- package/dist/numericRange-2e1vw1W0.esm.js +256 -0
- package/dist/{permissionGuards-Cyh71hOt.esm.js → permissionGuards-CZTCRHT-.esm.js} +1 -1
- package/dist/{permissionServices-BrtDMB0Z.esm.js → permissionServices-Vd86JiW9.esm.js} +19 -7
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-VO1HEoUZ.d.ts → phoneManager-bA-xw2TP.d.ts} +0 -8
- package/dist/{phoneManager-D1QPNbu0.esm.js → phoneManager-oIMdbeLG.esm.js} +5 -6
- package/dist/{phoneServices-DC7AuUed.esm.js → phoneServices-Dk4j3NhI.esm.js} +2 -12
- package/dist/{phoneStateMachine-CxCPxTIy.esm.js → phoneStateMachine-Cu3y7ewi.esm.js} +3 -8
- package/dist/{processFaceMatch-BQoiqLVh.esm.js → processFaceMatch-CHeI0DEt.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CSCvD2tB.esm.js → recordingService-DK3kjUby.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Dcpg5GfP.esm.js → redirectToMobileManager-yYJGE47m.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BMehrtVP.esm.js → redirectToMobileStateMachine-g_NbyHrL.esm.js} +1 -1
- package/dist/{runChildModule-DNEmc7of.esm.js → runChildModule-x1rrxjYY.esm.js} +2 -2
- package/dist/{sdkVersion-etdZfyCR.esm.js → sdkVersion-kRh5h82H.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +11 -11
- package/dist/{selfieErrorUtils-DT-uhK20.esm.js → selfieErrorUtils-B9GfiS9f.esm.js} +1 -1
- package/dist/{selfieManager-CdS6a7Q8.esm.js → selfieManager-CivYjnF5.esm.js} +6 -6
- package/dist/{selfieManager-DrBYj5kA.d.ts → selfieManager-CqDlUy6B.d.ts} +1 -1
- package/dist/{selfieStateMachine-ChCl3nyf.esm.js → selfieStateMachine-dLwrXWll.esm.js} +3 -3
- package/dist/{session-VXYuRYzb.esm.js → session-DeJ-rd9u.esm.js} +5 -5
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-BT_CmYcX.esm.js → sessionInitializer-uZgyxsrL.esm.js} +11 -11
- package/dist/{setup-rcXgYUcY.d.ts → setup-Cr2KCwau.d.ts} +1 -1
- package/dist/{setup-BXrgDdfx.esm.js → setup-D0QZHkS8.esm.js} +13 -13
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-B737Gkvk.esm.js → signatureManager-DRUflksL.esm.js} +3 -3
- package/dist/{signatureStateMachine-B-QG7fk0.esm.js → signatureStateMachine-BQZenxel.esm.js} +1 -1
- package/dist/{stats-CrqhpKkP.esm.js → stats-DHu3li6G.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-BD9z6z0w.esm.js → tri-D_gHPWrq.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-DYdFtcDH.esm.js → tri.esm-CftnGf9w.esm.js} +187 -177
- package/dist/tri.esm.js +1 -1
- package/dist/trueSight-CbrZUzLx.esm.js +1 -0
- package/dist/{trueSightService-BwyLhIAo.esm.js → trueSightService-BMp8g65B.esm.js} +5 -7
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{trustGraphStateMachine-BxvReuo1.esm.js → trustGraphStateMachine-0Ehwried.esm.js} +1 -1
- package/dist/{types-4Re9FSOw.d.ts → types-BZsmNYom.d.ts} +3 -4
- package/dist/types-BinnzVrL.d.ts +6 -0
- package/dist/{types-BgRHw-dR.d.ts → types-BwMpWCVG.d.ts} +6 -2
- package/dist/{types-b0l9b83G.d.ts → types-D-FEM1rT.d.ts} +26 -10
- package/dist/{textRules-D4NRinKY.d.ts → types-D6Q1D1kx.d.ts} +1 -9
- package/dist/{types-CBQN04Rh.esm.js → types-DLsivQsu.esm.js} +0 -3
- package/dist/{types-CTaL0XJz.d.ts → types-DWqO7owj.d.ts} +2 -24
- package/dist/{types-CEGG70FK.d.ts → types-HHgsFhZn.d.ts} +1 -1
- package/dist/{types-C1056-J1.d.ts → types-LbccjQYX.d.ts} +1 -1
- package/dist/{types-DHpz4Y37.d.ts → types-PnJXvTkV.d.ts} +1 -1
- package/dist/{types-B-PIc0en.d.ts → types-g3NuVCT9.d.ts} +40 -37
- package/dist/{types-DEa3taWc.d.ts → types-tOSLpcSa.d.ts} +16 -2
- package/dist/video-selfie.d.ts +14 -6
- package/dist/video-selfie.esm.js +12 -9
- package/dist/{videoSelfieCameraWarmer-DgRlU_8q.esm.js → videoSelfieCameraWarmer-BpP0_lDr.esm.js} +27 -8
- package/dist/{videoSelfieStepDetector-DC_Qh7qI.d.ts → videoSelfieStepDetector-CxOc3kSI.d.ts} +3 -3
- package/dist/{warmup-BN8dG2KX.esm.js → warmup-ClZxXOkg.esm.js} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-DwBfTlgB.esm.js → wasmDsFlagSync-Bw-P5OG1.esm.js} +1 -1
- package/dist/{wasmWebClient-B2P6Vlvv.esm.js → wasmWebClient-BLtlzQhv.esm.js} +9 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DxeSH80T.esm.js → watchlistForBusinessManager-d8kdf35n.esm.js} +3 -3
- package/dist/{watchlistForBusinessStateMachine-BC9UWLuZ.esm.js → watchlistForBusinessStateMachine-Y9wFmuMH.esm.js} +4 -3
- package/dist/{watchlistManager-BHzmC9OC.esm.js → watchlistManager-D1BVrd3H.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Bxzn16iJ.esm.js → watchlistStateMachine-Da4p0sTE.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -42
- package/package.json +3 -3
- package/dist/addressSearch-BKlynuBr.esm.js +0 -71
- package/dist/ekycPrefillStateMachine-SBnBKPGA.esm.js +0 -685
- package/dist/ekycRules-BH_Ll_0A.esm.js +0 -482
- package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +0 -18
- package/dist/trueSight-BymJD5cW.esm.js +0 -1
- package/dist/types-BtrJ5fkm.d.ts +0 -6
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-
|
|
1
|
+
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-D_gHPWrq.esm.js";
|
|
2
2
|
export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./trueSightService-BMp8g65B.esm.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-
|
|
1
|
+
import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-BLtlzQhv.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
-
import { S as subscribeEvent, n as eventModuleNames } from "./types-
|
|
4
|
-
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import "./events-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { S as subscribeEvent, n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
|
+
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
|
+
import "./events-PUWyizJn.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-kRh5h82H.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -1294,8 +1294,6 @@ const MODULE_SUBSYSTEMS = {
|
|
|
1294
1294
|
[eventModuleNames.customWatchList]: "module.custom-watchlist",
|
|
1295
1295
|
[eventModuleNames.email]: "module.email",
|
|
1296
1296
|
[eventModuleNames.phone]: "module.phone-number",
|
|
1297
|
-
[eventModuleNames.instantVerifyEmail]: "module.instant-verify-email",
|
|
1298
|
-
[eventModuleNames.instantVerifyConsent]: "module.instant-verify-consent",
|
|
1299
1297
|
[eventModuleNames.forms]: "module.forms",
|
|
1300
1298
|
[eventModuleNames.customModule]: "module.custom-module",
|
|
1301
1299
|
[eventModuleNames.geolocation]: "module.geolocation",
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as trustGraphMachine } from "./trustGraphStateMachine-
|
|
5
|
+
import { t as trustGraphMachine } from "./trustGraphStateMachine-0Ehwried.esm.js";
|
|
6
6
|
//#region src/modules/trust-graph/trustGraphActor.ts
|
|
7
7
|
function createTrustGraphActor() {
|
|
8
8
|
return createActor(trustGraphMachine, { input: {} }).start();
|
package/dist/{trustGraphStateMachine-BxvReuo1.esm.js → trustGraphStateMachine-0Ehwried.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/trust-graph/trustGraphServices.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as RiskAddon } from "./types-tOSLpcSa.js";
|
|
3
3
|
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
4
4
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
5
|
-
import { n as KybChecksConfig } from "./types-
|
|
6
|
-
import {
|
|
5
|
+
import { n as KybChecksConfig } from "./types-DWqO7owj.js";
|
|
6
|
+
import { l as EkycPrefillModuleConfig } from "./types-g3NuVCT9.js";
|
|
7
7
|
import { t as TrustGraphConfig } from "./types-CXTDuzUJ.js";
|
|
8
8
|
//#region src/internal/avatar/concealment.d.ts
|
|
9
9
|
/**
|
|
@@ -399,7 +399,6 @@ type FlowModuleConfig = {
|
|
|
399
399
|
HOME: EmptyConfig;
|
|
400
400
|
IDENTITY_REUSE: EmptyConfig;
|
|
401
401
|
IDENTITY_SEARCH: EmptyConfig;
|
|
402
|
-
INSTANT_VERIFY: EmptyConfig;
|
|
403
402
|
IP_ADDRESS: EmptyConfig;
|
|
404
403
|
NAME_CAPTURE: EmptyConfig;
|
|
405
404
|
REDIRECT_TO_MOBILE: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-BZsmNYom.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-HHgsFhZn.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
2
2
|
//#region src/modules/ekyb/types.d.ts
|
|
3
3
|
type UboEntry = {
|
|
4
4
|
id: string;
|
|
@@ -33,6 +33,10 @@ type EkybValidationRule = {
|
|
|
33
33
|
} | {
|
|
34
34
|
type: 'postalCodeFormat';
|
|
35
35
|
country: string;
|
|
36
|
+
} | {
|
|
37
|
+
type: 'charTemplate';
|
|
38
|
+
templates: string[];
|
|
39
|
+
ignoreCase?: boolean;
|
|
36
40
|
};
|
|
37
41
|
type EkybValidationError = {
|
|
38
42
|
key: string;
|
|
@@ -43,6 +47,6 @@ type EkybFieldDef = FieldDef & {
|
|
|
43
47
|
optionalForCountries?: string[];
|
|
44
48
|
validation?: EkybValidationRule[];
|
|
45
49
|
};
|
|
46
|
-
type EkybCountry = 'BR' | 'US' | 'GB' | 'ES' | 'IT' | 'FR' | 'DE' | 'IL' | 'MX' | 'CN' | 'NG' | 'CM' | 'KE';
|
|
50
|
+
type EkybCountry = 'BR' | 'US' | 'GB' | 'ES' | 'IT' | 'FR' | 'DE' | 'IL' | 'MX' | 'CN' | 'NG' | 'CM' | 'KE' | 'CO';
|
|
47
51
|
//#endregion
|
|
48
52
|
export { EkybValidationError as a, EkybFormValues as i, EkybCountry as n, EkybValidationErrors as o, EkybFieldDef as r, UboEntry as s, EkybConfig as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BZsmNYom.js";
|
|
3
3
|
import { a as IStorageCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-CeEcakO7.js";
|
|
5
5
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
7
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
8
8
|
import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
|
|
9
9
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
10
10
|
/**
|
|
@@ -179,6 +179,16 @@ type DigitalIdFunnelEntry = {
|
|
|
179
179
|
*/
|
|
180
180
|
countries?: readonly string[];
|
|
181
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* BACK-COMPAT ONLY for redirect providers — do not add new providers here.
|
|
184
|
+
*
|
|
185
|
+
* The backend catalog (user-service) defines every Digital ID provider and
|
|
186
|
+
* sends `providerId`, `flowType`, `displayName`, `logoUrl` and `countries` on
|
|
187
|
+
* each `digitalIds.methods[]` entry; the SDK launches such a method from that
|
|
188
|
+
* data alone. The redirect entries below only serve backends that still send
|
|
189
|
+
* bare method names. The `mDL` funnel (device wallet first, then its redirect
|
|
190
|
+
* fallback) is the one part that is still SDK logic.
|
|
191
|
+
*/
|
|
182
192
|
declare const DIGITAL_ID_REGISTRY: Record<DigitalIdDocumentType, readonly DigitalIdFunnelEntry[]>;
|
|
183
193
|
declare const DIGITAL_ID_DOCUMENT_TYPES: DigitalIdDocumentType[];
|
|
184
194
|
/** What the chooser routing actually launches for a document type. */
|
|
@@ -202,8 +212,9 @@ type DigitalIdPlatformSupport = {
|
|
|
202
212
|
*/
|
|
203
213
|
walletPlatform?: DeviceWalletPlatform;
|
|
204
214
|
/**
|
|
205
|
-
* Whether this is a Samsung device (`isSamsungDevice()`).
|
|
206
|
-
* Samsung
|
|
215
|
+
* Whether this is a Samsung device (`isSamsungDevice()`). No wallet rule
|
|
216
|
+
* reads it any more: the Samsung Wallet card is not narrowed to detected
|
|
217
|
+
* Samsung devices (see `hasEligibleSamsungWallet`).
|
|
207
218
|
*/
|
|
208
219
|
samsungDevice?: boolean;
|
|
209
220
|
};
|
|
@@ -258,7 +269,7 @@ type IdCaptureMode = 'front' | 'back' | 'passport';
|
|
|
258
269
|
* (Trinsic iDIN/FTN)).
|
|
259
270
|
* Used for selection and for the list of available options derived from config.
|
|
260
271
|
*/
|
|
261
|
-
type IdDocumentType = 'id' | 'passport' | 'digitalIdUpload' | 'digitalId' | 'digitalIdRedirect';
|
|
272
|
+
type IdDocumentType = 'id' | 'passport' | 'digitalIdUpload' | 'digitalId' | 'digitalIdRedirect' | 'samsungWallet';
|
|
262
273
|
type IdFlowStep = 'chooser' | 'ageVerification' | 'tutorial' | 'permissions' | 'capture' | 'mandatoryConsent' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'digitalIdUpload' | 'digitalIdRedirect';
|
|
263
274
|
type DetectionStatus = 'idle' | 'detecting' | 'farAway' | 'blur' | 'glare' | 'wrongSide' | 'capturing' | 'manualCapture' | 'idNotDetected' | 'offline';
|
|
264
275
|
/**
|
|
@@ -297,12 +308,17 @@ type IdCaptureThresholds = {
|
|
|
297
308
|
autocaptureTimeout: number;
|
|
298
309
|
};
|
|
299
310
|
/**
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
311
|
+
* How the backend catalog says a digital-ID method launches:
|
|
312
|
+
* - `REDIRECT` (older backends: `WEB_REDIRECT`) — full-page redirect, handled by
|
|
313
|
+
* the `digitalIdRedirect` child (every Trinsic provider);
|
|
314
|
+
* - `QR` — a wallet on another device, also handled by that child (France Identité);
|
|
315
|
+
* - `DEVICE_WALLET` — the native wallet handshake on this device. Apple, Google
|
|
316
|
+
* and CA DMV are surfaced as the Digital ID tile; Samsung Wallet (the one
|
|
317
|
+
* with a `providerId`, `samsung_wallet`) gets its own `samsungWallet` card
|
|
318
|
+
* over the v2 verification.
|
|
319
|
+
* The other `FlowType` values are declared for forward-compatibility only.
|
|
304
320
|
*/
|
|
305
|
-
type IdCaptureDigitalIdFlowType = FlowType | 'WEB_REDIRECT';
|
|
321
|
+
type IdCaptureDigitalIdFlowType = FlowType | 'WEB_REDIRECT' | 'DEVICE_WALLET';
|
|
306
322
|
/**
|
|
307
323
|
* One digital-ID verification method offered inside ID-Capture, threaded from
|
|
308
324
|
* the backend flow node's `configuration.digitalIds` (unified path — same rails
|
|
@@ -30,12 +30,4 @@ type AddressSuggestion = {
|
|
|
30
30
|
countryCode?: string;
|
|
31
31
|
};
|
|
32
32
|
//#endregion
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
36
|
-
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
37
|
-
* own rule.
|
|
38
|
-
*/
|
|
39
|
-
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
40
|
-
//#endregion
|
|
41
|
-
export { AddressSuggestion as n, FieldDef as r, CharacterClass as t };
|
|
33
|
+
export { FieldDef as n, AddressSuggestion as t };
|
|
@@ -271,8 +271,6 @@ const eventModuleNames = {
|
|
|
271
271
|
customWatchList: "customWatchlist",
|
|
272
272
|
email: "email",
|
|
273
273
|
phone: "phoneNumber",
|
|
274
|
-
instantVerifyEmail: "INSTANT_VERIFY_EMAIL",
|
|
275
|
-
instantVerifyConsent: "INSTANT_VERIFY_CONSENT",
|
|
276
274
|
forms: "forms",
|
|
277
275
|
customModule: "CUSTOM_MODULE",
|
|
278
276
|
geolocation: "Geolocation",
|
|
@@ -375,7 +373,6 @@ const eventScreenNames = {
|
|
|
375
373
|
customWatchListFailed: "CUSTOM_WATCHLIST_FAILED",
|
|
376
374
|
emailInput: "EMAIL_INPUT",
|
|
377
375
|
phoneInput: "PHONE_INPUT",
|
|
378
|
-
instantVerify: "INSTANT_VERIFY",
|
|
379
376
|
authFace: "AUTH_FACE",
|
|
380
377
|
authFaceError: "AUTH_FACE_ATTEMPT_FAILED",
|
|
381
378
|
authFaceUpload: "AUTH_FACE_UPLOAD_PROGRESS",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
2
2
|
//#region src/modules/kyb-checks/types.d.ts
|
|
3
3
|
/** KYB checks a step can run. */
|
|
4
4
|
type KybCheckModuleKey = 'identity' | 'address' | 'statusEntityType' | 'personAssociation' | 'webPresence' | 'websiteAnalysis' | 'industryInfo' | 'financialIntelligence' | 'groupStructure';
|
|
@@ -28,27 +28,6 @@ type KybChecksConfig = {
|
|
|
28
28
|
type KybFieldValues = Record<string, KybFieldValue>;
|
|
29
29
|
type KybFieldErrors = Record<string, KybText>;
|
|
30
30
|
type KybChecksErrorKind = 'load' | 'submit';
|
|
31
|
-
/** A field check, run in order; the first failing rule's message is shown. */
|
|
32
|
-
type KybValidationRule = {
|
|
33
|
-
type: 'required';
|
|
34
|
-
} | {
|
|
35
|
-
type: 'allowedCharacters';
|
|
36
|
-
classes: CharacterClass[];
|
|
37
|
-
extra: string;
|
|
38
|
-
/** `letter` means A-Z in either case. */
|
|
39
|
-
ascii: boolean;
|
|
40
|
-
message: KybText;
|
|
41
|
-
} | {
|
|
42
|
-
type: 'maxLength';
|
|
43
|
-
max: number;
|
|
44
|
-
message: KybText;
|
|
45
|
-
};
|
|
46
|
-
/** A check across fields, shown on the first field it names. */
|
|
47
|
-
type KybFormLevelRule = {
|
|
48
|
-
type: 'oneOfRequired';
|
|
49
|
-
fields: string[];
|
|
50
|
-
message: KybText;
|
|
51
|
-
};
|
|
52
31
|
/**
|
|
53
32
|
* One field to render, like eKYB's `EkybFieldDef`. `label` and option labels
|
|
54
33
|
* are translation keys; each `labelText` is the served English fallback.
|
|
@@ -69,7 +48,6 @@ type KybFieldDef = Omit<FieldDef, 'type' | 'options'> & {
|
|
|
69
48
|
refetchOnChange?: string;
|
|
70
49
|
/** The value the backend served, used until the user changes it. */
|
|
71
50
|
initialValue: KybFieldValue;
|
|
72
|
-
validation: KybValidationRule[];
|
|
73
51
|
};
|
|
74
52
|
type KybChecksSection = {
|
|
75
53
|
id: string;
|
|
@@ -77,4 +55,4 @@ type KybChecksSection = {
|
|
|
77
55
|
fields: KybFieldDef[];
|
|
78
56
|
};
|
|
79
57
|
//#endregion
|
|
80
|
-
export { KybChecksSection as a, KybFieldValue as c,
|
|
58
|
+
export { KybChecksSection as a, KybFieldValue as c, KybUnsupportedModule as d, KybChecksResult as i, KybFieldValues as l, KybChecksConfig as n, KybFieldDef as o, KybChecksErrorKind as r, KybFieldErrors as s, KybCheckModuleKey as t, KybText as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
|
-
import { c as SelfieConcealmentOption, n as Flow, s as DeepsightCaptureConfig } from "./types-
|
|
2
|
+
import { c as SelfieConcealmentOption, n as Flow, s as DeepsightCaptureConfig } from "./types-BZsmNYom.js";
|
|
3
3
|
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
@@ -1,17 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-DEa3taWc.js";
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
3
2
|
//#region src/modules/ekyc-prefill/types.d.ts
|
|
3
|
+
/** The form's values by field name. */
|
|
4
|
+
type EkycPrefillValues = Record<string, string | undefined>;
|
|
5
|
+
/** A field's error: a message key and its params. */
|
|
6
|
+
type EkycPrefillFieldError = {
|
|
7
|
+
key: string;
|
|
8
|
+
/** A list param is shown as a list in the user's language ("8 or 10"). */
|
|
9
|
+
params?: Readonly<Record<string, string | number | readonly number[]>>;
|
|
10
|
+
};
|
|
11
|
+
/** Each field's first error, by field name. */
|
|
12
|
+
type EkycPrefillFieldErrors = Readonly<Record<string, EkycPrefillFieldError>>;
|
|
4
13
|
/** One input of the served configuration. */
|
|
5
14
|
type EkycPrefillServedField = {
|
|
6
15
|
/** The request key, e.g. `phone`, `dateOfBirth`, `ssn`, `surName`, `taxIdNumber`. */
|
|
7
16
|
field: string;
|
|
8
17
|
/** Render the input. Anything but `true` hides it. */
|
|
9
18
|
check?: boolean | null;
|
|
10
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The source requires a value. Not applied: the form definition decides
|
|
21
|
+
* requiredness, and a difference is logged.
|
|
22
|
+
*/
|
|
11
23
|
mandatory?: boolean | null;
|
|
12
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Where the value comes from (`userInput`, `phoneModuleInput`, …), mapped to
|
|
26
|
+
* the field's prefill origin. Pre-fill reads no values yet, so every field
|
|
27
|
+
* starts empty.
|
|
28
|
+
*/
|
|
13
29
|
source?: string | null;
|
|
14
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* How the value shows: `editable`, `readOnly` or `hidden`. A required field,
|
|
32
|
+
* or a member of an "at least one of" rule, without a value is editable.
|
|
33
|
+
*/
|
|
15
34
|
displayMode?: string | null;
|
|
16
35
|
};
|
|
17
36
|
/**
|
|
@@ -24,7 +43,11 @@ type EkycPrefillModuleConfig = {
|
|
|
24
43
|
country?: string | null;
|
|
25
44
|
source?: string | null;
|
|
26
45
|
fields?: EkycPrefillServedField[] | null;
|
|
27
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Rendered inputs of which at least one must be filled. Not applied: the
|
|
48
|
+
* form definition's "at least one of" rule decides, and a difference is
|
|
49
|
+
* logged.
|
|
50
|
+
*/
|
|
28
51
|
requireAnyOf?: string[] | null;
|
|
29
52
|
/** The backend runs the lookup itself, so the module shows no screen. */
|
|
30
53
|
autoExecution?: boolean | null;
|
|
@@ -33,7 +56,12 @@ type EkycPrefillModuleConfig = {
|
|
|
33
56
|
type EkycPrefillConfigField = {
|
|
34
57
|
field: string;
|
|
35
58
|
check: boolean;
|
|
59
|
+
/** Checked against the form definition, not applied. */
|
|
36
60
|
mandatory: boolean;
|
|
61
|
+
/** Where the value comes from, when served. */
|
|
62
|
+
source?: string;
|
|
63
|
+
/** How the value shows, when served. */
|
|
64
|
+
displayMode?: string;
|
|
37
65
|
};
|
|
38
66
|
/** Manager configuration: the served configuration, normalized by `toEkycPrefillConfig`. */
|
|
39
67
|
type EkycPrefillConfig = {
|
|
@@ -41,48 +69,28 @@ type EkycPrefillConfig = {
|
|
|
41
69
|
source: string | undefined;
|
|
42
70
|
/** `undefined` when the served configuration has no `fields` array. */
|
|
43
71
|
fields: EkycPrefillConfigField[] | undefined;
|
|
72
|
+
/** Checked against the form definition, not applied. */
|
|
44
73
|
requireAnyOf: string[];
|
|
45
74
|
autoExecution: boolean;
|
|
46
75
|
};
|
|
47
76
|
type EkycPrefillFieldDef = FieldDef & {
|
|
48
|
-
/** Validation run by `validateEkycField`, in order; the first failing rule wins. */
|
|
49
|
-
validation: EkycValidationRule[];
|
|
50
77
|
/** Show the value masked, with a show/hide toggle (the SSN). */
|
|
51
78
|
masked?: boolean;
|
|
52
79
|
/** Ask for the numeric keyboard. */
|
|
53
80
|
numeric?: boolean;
|
|
54
81
|
/** The `autocomplete` token. */
|
|
55
82
|
autoComplete?: string;
|
|
56
|
-
/** How the value is formatted while it is typed. */
|
|
57
|
-
formatAs?: EkycPrefillInputFormat;
|
|
58
83
|
};
|
|
59
|
-
/**
|
|
60
|
-
type EkycPrefillInputFormat = 'cpf' | 'ssn' | 'name';
|
|
61
|
-
/** Fields of which at least one must be filled, with the message shown under them. */
|
|
84
|
+
/** Fields of which at least one must be filled, with the message each empty one shows. */
|
|
62
85
|
type EkycPrefillAnyOfGroup = {
|
|
63
86
|
fields: string[];
|
|
64
87
|
message: string;
|
|
65
88
|
};
|
|
66
|
-
/**
|
|
67
|
-
type EkycPrefillSubmitField = {
|
|
68
|
-
name: string;
|
|
69
|
-
key: string;
|
|
70
|
-
transforms: {
|
|
71
|
-
id: string;
|
|
72
|
-
chars?: string;
|
|
73
|
-
}[];
|
|
74
|
-
};
|
|
75
|
-
type EkycPrefillSubmitPlan = {
|
|
76
|
-
static: Record<string, unknown>;
|
|
77
|
-
fields: EkycPrefillSubmitField[];
|
|
78
|
-
country: string;
|
|
79
|
-
};
|
|
80
|
-
/** The served configuration on the forms kernel: what the form renders and sends. */
|
|
89
|
+
/** The served configuration on the forms kernel: what the form renders. */
|
|
81
90
|
type EkycPrefillPreparedForm = {
|
|
82
91
|
country: string;
|
|
83
92
|
fields: EkycPrefillFieldDef[];
|
|
84
93
|
anyOf: EkycPrefillAnyOfGroup | undefined;
|
|
85
|
-
submit: EkycPrefillSubmitPlan;
|
|
86
94
|
};
|
|
87
95
|
/** `POST /omni/externalVerification/ekyc-prefill` response. Not read: the result is reviewed in the dashboard. */
|
|
88
96
|
type EkycPrefillSubmitResponse = Record<string, unknown>;
|
|
@@ -90,15 +98,10 @@ type EkycPrefillErrorKind = 'unavailable' | 'busy';
|
|
|
90
98
|
type EkycPrefillContext = {
|
|
91
99
|
config: EkycPrefillConfig;
|
|
92
100
|
prepared: EkycPrefillPreparedForm | undefined;
|
|
93
|
-
values:
|
|
94
|
-
errors:
|
|
101
|
+
values: EkycPrefillValues;
|
|
102
|
+
errors: EkycPrefillFieldErrors;
|
|
95
103
|
/** Fields whose input reports an invalid format (the phone). */
|
|
96
104
|
invalidFormats: Record<string, true>;
|
|
97
|
-
/**
|
|
98
|
-
* The any-of group's message shows as an error rather than a hint: a member
|
|
99
|
-
* lost focus, or a submit was tried, while every member was empty.
|
|
100
|
-
*/
|
|
101
|
-
anyOfError: boolean;
|
|
102
105
|
/** The phone rules finished loading, so phones validate. */
|
|
103
106
|
phoneRulesLoaded: boolean;
|
|
104
107
|
/** The phone rules failed to load; a retry reloads them before the form. */
|
|
@@ -112,4 +115,4 @@ type EkycPrefillInput = {
|
|
|
112
115
|
config?: EkycPrefillModuleConfig | EkycPrefillConfig;
|
|
113
116
|
};
|
|
114
117
|
//#endregion
|
|
115
|
-
export { EkycPrefillFieldDef as a,
|
|
118
|
+
export { EkycPrefillFieldDef as a, EkycPrefillInput as c, EkycPrefillSubmitResponse as d, EkycPrefillValues as f, EkycPrefillErrorKind as i, EkycPrefillModuleConfig as l, EkycPrefillConfigField as n, EkycPrefillFieldError as o, EkycPrefillContext as r, EkycPrefillFieldErrors as s, EkycPrefillConfig as t, EkycPrefillServedField as u };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
2
|
+
//#region src/shared/validators/textRules.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
5
|
+
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
6
|
+
* own rule.
|
|
7
|
+
*/
|
|
8
|
+
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
9
|
+
//#endregion
|
|
2
10
|
//#region src/modules/ekyc/types.d.ts
|
|
3
11
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
|
4
12
|
type EkycVerificationFields = {
|
|
@@ -99,6 +107,12 @@ type EkycConfig = {
|
|
|
99
107
|
autoExecution?: boolean;
|
|
100
108
|
/** Each group's display mode; a group that is absent is editable. */
|
|
101
109
|
displayModes?: EkycDisplayModes;
|
|
110
|
+
/**
|
|
111
|
+
* The risk add-ons module configuration turns on. Each one shows the field
|
|
112
|
+
* it checks and makes it required. The backend reads them from the module
|
|
113
|
+
* configuration, so the request doesn't send them.
|
|
114
|
+
*/
|
|
115
|
+
riskAddons?: RiskAddon[];
|
|
102
116
|
};
|
|
103
117
|
type EkycValidationRule = ({
|
|
104
118
|
type: 'required';
|
|
@@ -214,4 +228,4 @@ type EkycFieldDef = FieldDef & {
|
|
|
214
228
|
type EkycInputFormat = 'uppercase' | 'stripSeparators';
|
|
215
229
|
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
216
230
|
//#endregion
|
|
217
|
-
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i,
|
|
231
|
+
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { t as Manager } from "./Manager-DufwKlav.js";
|
|
|
5
5
|
import "./Actor-DqjOqDfU.js";
|
|
6
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
7
7
|
import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
8
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
9
|
-
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
9
|
+
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-CxOc3kSI.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
11
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
12
12
|
type ITimerCapability = {
|
|
@@ -161,11 +161,12 @@ type VideoSelfieRecordingDependencies = {
|
|
|
161
161
|
* user can fix by getting back online (the UI shows the connection-error
|
|
162
162
|
* copy); `technical` is every other recoverable failure (raw detail stays in
|
|
163
163
|
* `error` for diagnostics/hosts, the UI shows its generic fallback);
|
|
164
|
-
* `maxVideoLengthReached` is the configured recording limit;
|
|
164
|
+
* `maxVideoLengthReached` is the configured recording limit;
|
|
165
165
|
* `validationAttemptsExhausted` terminates the module after the last allowed
|
|
166
|
-
* ID, selfie, or speech validation failure
|
|
166
|
+
* ID, selfie, or speech validation failure; and `microphoneUnavailable` means
|
|
167
|
+
* the camera opened but the microphone did not.
|
|
167
168
|
*/
|
|
168
|
-
type VideoSelfieErrorKind = 'connection' | 'technical' | 'maxVideoLengthReached' | 'validationAttemptsExhausted';
|
|
169
|
+
type VideoSelfieErrorKind = 'connection' | 'technical' | 'microphoneUnavailable' | 'maxVideoLengthReached' | 'validationAttemptsExhausted';
|
|
169
170
|
//#endregion
|
|
170
171
|
//#region src/modules/video-selfie/videoSelfieRecordingActor.d.ts
|
|
171
172
|
type CreateVideoSelfieRecordingActorOptions = {
|
|
@@ -385,4 +386,11 @@ declare const videoSelfieFlowModuleMachine: StateMachine<MachineContext, AnyEven
|
|
|
385
386
|
//#region src/internal/orchestration/advanceableErrors.d.ts
|
|
386
387
|
declare const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED";
|
|
387
388
|
//#endregion
|
|
388
|
-
|
|
389
|
+
//#region src/modules/video-selfie/videoSelfieErrors.d.ts
|
|
390
|
+
/**
|
|
391
|
+
* `moduleErrorCode` sent to `onError` when the microphone does not open, so
|
|
392
|
+
* the integrator can see the cause. The person sees the generic error.
|
|
393
|
+
*/
|
|
394
|
+
declare const VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE = "VIDEO_SELFIE_MICROPHONE_UNAVAILABLE";
|
|
395
|
+
//#endregion
|
|
396
|
+
export { type ConsentRecorder, type CreateVideoSelfieRecordingActorOptions, VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE, VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, type VideoSelfieCameraWarmer, type VideoSelfieConfig, type VideoSelfieQuestion, type VideoSelfieRecordingManager, type VideoSelfieRecordingState, type VideoSelfieRecordingStatus, type VideoSelfieSpeechResult, type VideoSelfieStep, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D0QZHkS8.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-Dqt75TXx.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
11
|
+
import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as
|
|
13
|
+
import { c as VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE, l as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, s as MicrophoneUnavailableError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BpP0_lDr.esm.js";
|
|
14
14
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
15
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
16
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-CFmOUGQt.esm.js";
|
|
17
17
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
19
19
|
var wave_encoder_default = () => {
|
|
@@ -942,7 +942,10 @@ const videoSelfieRecordingMachine = videoSelfieRecordingSetup.createMachine({
|
|
|
942
942
|
},
|
|
943
943
|
onError: {
|
|
944
944
|
target: "error",
|
|
945
|
-
actions: assign({
|
|
945
|
+
actions: assign({
|
|
946
|
+
error: ({ event }) => errorFromEvent(event),
|
|
947
|
+
errorKind: ({ event }) => event.error instanceof MicrophoneUnavailableError ? "microphoneUnavailable" : void 0
|
|
948
|
+
})
|
|
946
949
|
}
|
|
947
950
|
} },
|
|
948
951
|
starting: { invoke: {
|
|
@@ -1520,4 +1523,4 @@ function createConsentRecorder() {
|
|
|
1520
1523
|
};
|
|
1521
1524
|
}
|
|
1522
1525
|
//#endregion
|
|
1523
|
-
export { VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
|
|
1526
|
+
export { VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE, VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
|
package/dist/{videoSelfieCameraWarmer-DgRlU_8q.esm.js → videoSelfieCameraWarmer-BpP0_lDr.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-Dqt75TXx.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { n as checkPermission } from "./permissionServices-Vd86JiW9.esm.js";
|
|
6
6
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Cy2EAL0i.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-B9GfiS9f.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNopPetU.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
|
@@ -24,6 +24,25 @@ const compareVideoSelfieBackId = (base64Image) => postVideoSelfieCompare(endpoin
|
|
|
24
24
|
const compareVideoSelfieBackOcr = (base64Image) => postVideoSelfieCompare(endpoints.videoSelfieCompareBackOcr, base64Image);
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/modules/video-selfie/videoSelfieErrors.ts
|
|
27
|
+
/**
|
|
28
|
+
* `moduleErrorCode` sent to `onError` when the microphone does not open, so
|
|
29
|
+
* the integrator can see the cause. The person sees the generic error.
|
|
30
|
+
*/
|
|
31
|
+
const VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE = "VIDEO_SELFIE_MICROPHONE_UNAVAILABLE";
|
|
32
|
+
/**
|
|
33
|
+
* The microphone did not open after the camera did. Raised by the camera
|
|
34
|
+
* acquire that requests audio on its own (the rear-camera steps), so the
|
|
35
|
+
* recording machine can tell a microphone failure from a camera failure.
|
|
36
|
+
* For example, an Android WebView host app without `MODIFY_AUDIO_SETTINGS`
|
|
37
|
+
* rejects the microphone with `NotReadableError`.
|
|
38
|
+
*/
|
|
39
|
+
var MicrophoneUnavailableError = class extends Error {
|
|
40
|
+
constructor(cause) {
|
|
41
|
+
super(`Microphone unavailable: ${String(cause)}`);
|
|
42
|
+
this.name = "MicrophoneUnavailableError";
|
|
43
|
+
this.cause = cause;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
27
46
|
/** HTTP transport failures, rather than backend validation verdicts. */
|
|
28
47
|
function isConnectionError(error) {
|
|
29
48
|
if (typeof error !== "object" || error === null || !("status" in error)) return false;
|
|
@@ -454,7 +473,7 @@ async function defaultAcquireCamera(facingMode, withAudio) {
|
|
|
454
473
|
for (const audioTrack of audioStream.getAudioTracks()) stream.addTrack(audioTrack);
|
|
455
474
|
} catch (error) {
|
|
456
475
|
stream.getTracks().forEach((track) => track.stop());
|
|
457
|
-
throw error;
|
|
476
|
+
throw new MicrophoneUnavailableError(error);
|
|
458
477
|
}
|
|
459
478
|
return stream;
|
|
460
479
|
}
|
|
@@ -507,4 +526,4 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
507
526
|
};
|
|
508
527
|
}
|
|
509
528
|
//#endregion
|
|
510
|
-
export { isSelfieValidationError as a, delay as i, defaultAcquireCamera as n, isWrongVideoSelfieIdSide as o, createDefaultStepDetector as r,
|
|
529
|
+
export { isSelfieValidationError as a, VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE as c, delay as i, isConnectionError as l, defaultAcquireCamera as n, isWrongVideoSelfieIdSide as o, createDefaultStepDetector as r, MicrophoneUnavailableError as s, createVideoSelfieCameraWarmer as t };
|
package/dist/{videoSelfieStepDetector-DC_Qh7qI.d.ts → videoSelfieStepDetector-CxOc3kSI.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-BZsmNYom.js";
|
|
2
2
|
import "./IWasmUtilCapability-CLWIYHB4.js";
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
3
|
+
import { n as DetectionStatus } from "./types-HHgsFhZn.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
5
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The capture steps a Video Selfie session can run, in flow order. Which steps
|