@incodetech/core 2.3.2 → 2.4.0-rc.0
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/THIRD_PARTY_NOTICES.txt +1243 -3
- package/dist/Actor-DpTj5PFb.d.ts +1 -0
- package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
- package/dist/{FaceDetectionProvider-DtmtCKa9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js} +126 -10
- package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
- package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +28 -5
- package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
- package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
- package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
- package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +2 -2
- package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +95 -46
- package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-BiYZjvp3.esm.js} +143 -4
- package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
- package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-HL08jeDX.esm.js} +3 -3
- package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DoJVzblM.esm.js} +3 -3
- package/dist/{apiError-CmGEmaGU.esm.js → apiError-DcSWedC6.esm.js} +2 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-CANv5-W5.d.ts} +2 -8
- package/dist/{authenticationManager-BFjSjtQ_.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
- package/dist/{authenticationStateMachine-Dfo34ZiI.esm.js → authenticationStateMachine-CHSxmV7z.esm.js} +5 -6
- package/dist/avatar.d.ts +1 -1
- package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.d.ts +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-CMg4SgL4.esm.js} +3 -3
- package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
- package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Cs64QmYH.esm.js} +4 -4
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CjrxY737.esm.js} +3 -3
- package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-DgzWQpAR.d.ts} +6 -7
- package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-BCj5Jb3g.esm.js} +3 -3
- package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-kdlhkmmY.esm.js} +71 -65
- package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-BHnGRsto.esm.js} +4 -4
- package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-B-1EZbP_.d.ts} +3 -3
- package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js} +15 -22
- package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-DAxImy8p.esm.js} +4 -4
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-BV6UyLFV.esm.js} +4 -4
- package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
- package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js} +3 -3
- package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
- package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-D9gI5uu7.esm.js} +3 -3
- package/dist/deepsightLoader-DvfAYnzg.esm.js +55 -0
- package/dist/{deepsightLoader-v-dLejS-.esm.js → deepsightService-DLGO9yv1.esm.js} +51 -56
- package/dist/device.esm.js +1 -1
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-C9XUnYU6.esm.js} +17 -18
- package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
- package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-BHDsCfhL.esm.js} +55 -58
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C-9Jhnd3.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
- package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-DGI_F2PP.esm.js → dynamicFormsStateMachine-DQmok084.esm.js} +4 -4
- package/dist/ekyb.d.ts +5 -5
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
- package/dist/{ekybManager-DeoMcZEz.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
- package/dist/{ekybStateMachine-D1IJ1Z72.esm.js → ekybStateMachine-hstiCNmW.esm.js} +338 -13
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BdJRUsz0.esm.js} +29 -36
- package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
- package/dist/ekycStateMachine-x6Klot8g.esm.js +1444 -0
- package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-yYUc30na.esm.js → electronicSignatureManager-Bc8spG8p.esm.js} +10 -10
- package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CtlKRRaR.esm.js} +20 -26
- package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
- package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-5Neq3rE5.esm.js} +4 -4
- package/dist/{endpoints-B-3Q-LUw.esm.js → endpoints-DHzlkQNe.esm.js} +2 -0
- package/dist/{events-ijlbX_Wx.esm.js → events-CAgFE-k3.esm.js} +19 -7
- package/dist/events.d.ts +3 -2
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +38 -38
- package/dist/extensibility.esm.js +36 -36
- package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +11 -51
- package/dist/{faceCaptureManagerFactory-B6i9QcAk.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
- package/dist/{faceCaptureSetup-DU1mjRr6.esm.js → faceCaptureSetup-Cu2wabzo.esm.js} +99 -395
- package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-9Nj9aPci.esm.js} +3 -3
- package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
- package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B9ZUnlyU.esm.js} +6 -4
- package/dist/{feature-management-C8CuN0os.esm.js → feature-management-BTbYruNe.esm.js} +3 -3
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
- package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-Dk38hXZP.esm.js} +35 -17
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
- package/dist/fiscalQrManager-DmBkQfs0.esm.js +6798 -0
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +14 -13
- package/dist/flow.esm.js +14 -14
- package/dist/{flowCompletionService-DccgtDnm.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
- package/dist/{flowServices-CdsWsppG.esm.js → flowServices-DA64AEZC.esm.js} +11 -7
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CGHBxtMb.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
- package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
- package/dist/{geolocationStateMachine-CdEb1Gn0.esm.js → geolocationStateMachine-D-cQi7ar.esm.js} +4 -4
- package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
- package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
- package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-CP0SiOOe.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-C3YQ8yCZ.esm.js} +3 -3
- package/dist/home.d.ts +3 -26
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +6 -9
- package/dist/id-selfie-flow.esm.js +23 -28
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +4 -4
- package/dist/id.esm.js +4 -205
- package/dist/{idCaptureDefaults-Dl64Trv5.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
- package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
- package/dist/{idCaptureManager-BNmVJQkd.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
- package/dist/{idCaptureServices-dtDG2HXS.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
- package/dist/{idCaptureStateMachine-BbiZD3uf.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
- package/dist/{idOcrManager-CFlDwUvN.d.ts → idOcrManager-BTdHlJ9D.d.ts} +2 -3
- package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-DxoCesYP.esm.js} +3 -3
- package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-kPn7DB2I.esm.js} +3 -3
- package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
- package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-CDhRUU5n.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-0HTVVxse.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-BleUi6TK.esm.js} +26 -13
- package/dist/{identityReuseManager-BXEBBI3N.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +164 -46
- package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-BrBUpfn5.esm.js} +89 -23
- package/dist/{index-CeaC32qI.d.ts → index-DfEuu-Ew.d.ts} +2 -2
- package/dist/index-DpTj5PFb.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-BW7V3vub.esm.js} +1 -1
- package/dist/lamejs-B6TzhU5q.esm.js +10 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-CX_Dyht7.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-DFVm_i2B.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +3 -4
- package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-CoaSB7P7.esm.js} +3 -3
- package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
- package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
- package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-d2UW0r_L.esm.js} +34 -3
- package/dist/phone-number.d.ts +24 -0
- package/dist/phone-number.esm.js +1922 -0
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-BGBcpqsk.esm.js} +31 -22
- package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
- package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-CEm2y7yG.esm.js} +39 -20
- package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-B1yQHFLu.esm.js} +4 -4
- package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine--Sr9NEVT.esm.js} +5 -5
- package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
- package/dist/{runChildModule-B2Y_hlix.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
- package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
- package/dist/{sdkVersion-N1UiyFiY.esm.js → sdkVersion-F5YZbjip.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +12 -12
- package/dist/selfieErrorUtils-D-tsgEuX.esm.js +21 -0
- package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-1J0IEyFq.d.ts} +2 -8
- package/dist/{selfieManager-AS6wfUvZ.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
- package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
- package/dist/{session-BESZc05k.esm.js → session-Bu7djCsj.esm.js} +5 -5
- package/dist/session.d.ts +15 -3
- package/dist/session.esm.js +30 -5
- package/dist/sessionInitializer-jxbfCnE-.esm.js +974 -0
- package/dist/{setup-BuPbxpwF.esm.js → setup-C38QkrSP.esm.js} +232 -112
- package/dist/{setup-Cyko6cAn.d.ts → setup-lgkQ8dJW.d.ts} +20 -11
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
- package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-qqXyH93e.esm.js} +7 -11
- package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js} +3 -3
- package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
- package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
- package/dist/{stats-CZcy2J53.esm.js → stats-DmG_tkGk.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{sessionInitializer-CnhAkMUN.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
- package/dist/{trueSightService-M5VpCo96.esm.js → trueSightService-BWgRVGIT.esm.js} +893 -900
- package/dist/trust-graph.d.ts +1 -2
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
- package/dist/{types-C1g9itHE.d.ts → types-BGXxRwQM.d.ts} +6 -7
- package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
- package/dist/{types-CxGdmzxa.d.ts → types-BvFmYX5c.d.ts} +1 -1
- package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
- package/dist/types-C71Zo6vl.d.ts +6 -0
- package/dist/{types-DEGVXwsk2.d.ts → types-CyPUIpzf.d.ts} +110 -62
- package/dist/{types-Bx-BWveD.d.ts → types-DTYr9pCB.d.ts} +1 -1
- package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
- package/dist/{types-ESdtnHtg.d.ts → types-zpO4fU6a.d.ts} +3 -4
- package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
- package/dist/video-selfie.d.ts +6 -9
- package/dist/video-selfie.esm.js +1386 -1344
- package/dist/{videoSelfieCameraWarmer-q9ZjvXu9.esm.js → videoSelfieCameraWarmer-C366RKqu.esm.js} +11 -11
- package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +4 -4
- package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
- package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
- package/dist/{warmup-ChDwHSel.esm.js → warmup-DMtbyb2l.esm.js} +27 -9
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +4 -4
- package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
- package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-kbYZ2sxw.esm.js} +259 -20
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
- package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-BvF4jK3S.esm.js} +7 -5
- package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-121XK-Et.esm.js} +3 -3
- package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-CNWEOYSq.esm.js} +3 -3
- package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
- package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-Dgfm42w2.esm.js} +3 -3
- package/dist/workflow.d.ts +34 -5
- package/dist/workflow.esm.js +64 -46
- package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
- package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
- package/package.json +13 -5
- package/dist/Actor-iTq7YY48.d.ts +0 -1
- package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
- package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
- package/dist/index-B8weJxmL.d.ts +0 -1
- package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
- package/dist/selfieStateMachine-DY7vJVNY.esm.js +0 -71
- package/dist/types-BN5RPPIZ.esm.js +0 -34
- package/dist/types-Bt9RuRqt.d.ts +0 -6
- package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
- /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
package/dist/trust-graph.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { A as StateMachine, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import "./
|
|
3
|
-
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
4
3
|
//#region src/modules/trust-graph/trustGraphManager.d.ts
|
|
5
4
|
type TrustGraphIdleState = {
|
|
6
5
|
status: 'idle';
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
|
+
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
4
|
/**
|
|
5
5
|
* Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as RiskAddon } from "./types-
|
|
2
|
-
import "./createFaceAvatar-
|
|
1
|
+
import { s as RiskAddon } from "./types-BvLo3U4u.js";
|
|
2
|
+
import "./createFaceAvatar-DXgmQmQy.js";
|
|
3
3
|
//#region src/internal/avatar/concealment.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -38,7 +38,6 @@ type TutorialIdConfig = {
|
|
|
38
38
|
autoCaptureTimeout: number;
|
|
39
39
|
deviceIdleTimeout: number;
|
|
40
40
|
captureAttempts: number;
|
|
41
|
-
manualUploadIdCapture: boolean;
|
|
42
41
|
digitalIdsUpload: boolean;
|
|
43
42
|
showDocumentChooserScreen: boolean;
|
|
44
43
|
enableIdRecording: boolean;
|
|
@@ -47,8 +46,8 @@ type TutorialIdConfig = {
|
|
|
47
46
|
alwaysCaptureBackOfId?: boolean;
|
|
48
47
|
/**
|
|
49
48
|
* [ENG-44176] When `false`, the SDK forwards `extractIdFace=false` to
|
|
50
|
-
* `POST /omni/add/front-id/v2` (and to the
|
|
51
|
-
*
|
|
49
|
+
* `POST /omni/add/front-id/v2` (and to the digital-upload variant), so the
|
|
50
|
+
* backend skips biometric face extraction and no
|
|
52
51
|
* biometric template is created. Omitted / `true` preserves current
|
|
53
52
|
* behavior. Use in jurisdictions with biometric-consent restrictions
|
|
54
53
|
* (e.g. Quebec / Law 25); downstream face-match will not be available
|
|
@@ -111,7 +110,7 @@ type FlowModuleConfig = {
|
|
|
111
110
|
}[];
|
|
112
111
|
};
|
|
113
112
|
DOCUMENT_CAPTURE: {
|
|
114
|
-
processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
113
|
+
processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
115
114
|
title: string;
|
|
116
115
|
text: string;
|
|
117
116
|
allowSkipDocumentCapture: boolean;
|
|
@@ -248,7 +247,6 @@ type FlowModuleConfig = {
|
|
|
248
247
|
validateClosedEyes: boolean;
|
|
249
248
|
validateBrightness: boolean;
|
|
250
249
|
deepsightLiveness: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
|
|
251
|
-
manualUploadSelfieCapture?: boolean;
|
|
252
250
|
/**
|
|
253
251
|
* When true, the SELFIE module runs face analysis on-device via the
|
|
254
252
|
* OnDevice WASM workflow and POSTs only the results JSON to
|
|
@@ -386,6 +384,7 @@ type Flow = {
|
|
|
386
384
|
enableFraudAi?: boolean;
|
|
387
385
|
getEnableIdOnlyIdentity?: boolean;
|
|
388
386
|
ds?: boolean;
|
|
387
|
+
oauth2Secured?: boolean;
|
|
389
388
|
};
|
|
390
389
|
//#endregion
|
|
391
390
|
export { RegulationTypes as a, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r, SelfieConcealmentOption as s, EmptyConfig as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import "./
|
|
2
|
+
import "./Manager-C9T5amUN.js";
|
|
3
3
|
//#region src/internal/orchestration/types.d.ts
|
|
4
4
|
/** Eager module: a pre-imported state machine. */
|
|
5
5
|
type EagerModule = AnyStateMachine;
|
|
@@ -129,6 +129,6 @@ type EkycFieldDef = FieldDef & {
|
|
|
129
129
|
source: EkycFieldSource;
|
|
130
130
|
validation?: EkycValidationRule[];
|
|
131
131
|
};
|
|
132
|
-
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck';
|
|
132
|
+
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
133
133
|
//#endregion
|
|
134
134
|
export { EkycValidationError as a, AddressSuggestion as c, EkycModuleConfig as i, FieldDef as l, EkycFieldDef as n, EkycValidationErrors as o, EkycFormValues as r, RiskAddon as s, EkycConfig as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-BGXxRwQM.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-zpO4fU6a.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
3
|
-
import {
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BGXxRwQM.js";
|
|
3
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-CPX0RGdQ.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-DVmzJux5.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.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-DBsv9-7M.js";
|
|
8
8
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* Digital Credentials capability — wraps the W3C Digital Credentials API
|
|
@@ -16,8 +16,12 @@ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSetti
|
|
|
16
16
|
* opaque to the SDK; the wallet's response is likewise an opaque string that
|
|
17
17
|
* is forwarded to the backend for decryption.
|
|
18
18
|
*/
|
|
19
|
-
/**
|
|
20
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Wallet protocols known to the SDK. The backend decides the protocol for
|
|
21
|
+
* Google Wallet (unsigned / signed / multisigned), so any other string the
|
|
22
|
+
* backend sends is passed through untouched.
|
|
23
|
+
*/
|
|
24
|
+
type DigitalCredentialProtocol = 'org-iso-mdoc' | 'openid4vp-v1-unsigned' | 'openid4vp-v1-signed' | 'openid4vp-v1-multisigned' | (string & {});
|
|
21
25
|
/** One entry of the Digital Credentials API `digital.requests` array. */
|
|
22
26
|
type DigitalCredentialRequest = {
|
|
23
27
|
protocol: DigitalCredentialProtocol;
|
|
@@ -25,9 +29,18 @@ type DigitalCredentialRequest = {
|
|
|
25
29
|
* Opaque protocol payload, built by the backend.
|
|
26
30
|
* Apple (`org-iso-mdoc`): `{ deviceRequest, encryptionInfo }` base64 strings.
|
|
27
31
|
* Google (`openid4vp-v1-unsigned`): the whole OIDC4VP/DCQL request object.
|
|
32
|
+
* Google (`openid4vp-v1-signed`): `{ request: <JWS> }` — covered by the
|
|
33
|
+
* signature, so it must never be modified.
|
|
28
34
|
*/
|
|
29
35
|
data: unknown;
|
|
30
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* The W3C `DigitalCredentialRequestOptions` shape — the `digital` member of
|
|
39
|
+
* `navigator.credentials.get()`. Handed to the API as-is.
|
|
40
|
+
*/
|
|
41
|
+
type DigitalCredentialRequestOptions = {
|
|
42
|
+
requests: DigitalCredentialRequest[];
|
|
43
|
+
};
|
|
31
44
|
type DigitalCredentialResult = {
|
|
32
45
|
/**
|
|
33
46
|
* Opaque wallet response (Apple: encrypted deviceResponse; Google: a JWE).
|
|
@@ -44,16 +57,23 @@ interface IDigitalCredentialsCapability {
|
|
|
44
57
|
*/
|
|
45
58
|
isAvailable(): boolean;
|
|
46
59
|
/**
|
|
47
|
-
* Presents the OS wallet sheet for the given request
|
|
60
|
+
* Presents the OS wallet sheet for the given request options (passed as the
|
|
61
|
+
* `digital` member verbatim) and resolves with the
|
|
48
62
|
* wallet's opaque response. Must be reached from a user gesture — iOS
|
|
49
63
|
* Safari requires transient user activation for `navigator.credentials.get()`.
|
|
50
64
|
* Rejects when the underlying API rejects (blocked, aborted, protocol error).
|
|
51
65
|
*/
|
|
52
|
-
get(request:
|
|
66
|
+
get(request: DigitalCredentialRequestOptions, options?: {
|
|
53
67
|
signal?: AbortSignal;
|
|
54
68
|
}): Promise<DigitalCredentialResult>;
|
|
55
69
|
}
|
|
56
70
|
//#endregion
|
|
71
|
+
//#region src/modules/id/idCaptureOnlyConfig.d.ts
|
|
72
|
+
/**
|
|
73
|
+
* The `IdCaptureConfig` keys the captureOnly flow supports.
|
|
74
|
+
*/
|
|
75
|
+
declare const ID_CAPTURE_ONLY_CONFIG_KEYS: readonly ["showTutorial", "captureAttempts", "autoCaptureTimeout", "deviceIdleTimeout", "enableId", "enablePassport", "onlyFront", "onlyBack", "showDocumentChooserScreen"];
|
|
76
|
+
//#endregion
|
|
57
77
|
//#region src/modules/digital-id-redirect/types.d.ts
|
|
58
78
|
/**
|
|
59
79
|
* Trinsic web-redirect Digital ID — module contracts.
|
|
@@ -88,12 +108,16 @@ declare function isRedirectFlowType(flowType: string): boolean;
|
|
|
88
108
|
type DigitalIdDocumentType = 'mDL' | 'iDIN' | 'FTN';
|
|
89
109
|
/** One way to fulfil a `DigitalIdDocumentType`, in funnel priority order. */
|
|
90
110
|
type DigitalIdFunnelEntry = {
|
|
91
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Incode-native device-wallet handshake (Apple Wallet web / Google
|
|
113
|
+
* Wallet). Activation is computed by `isDeviceWalletEnabled` — the
|
|
114
|
+
* `deviceWallet` flag or an enabled wallet method in
|
|
115
|
+
* `config.digitalIds` — so this entry carries no config-field name of
|
|
116
|
+
* its own.
|
|
117
|
+
*/
|
|
92
118
|
kind: 'incodeWallet';
|
|
93
119
|
/** Chooser tile this entry surfaces as. */
|
|
94
120
|
documentType: Extract<IdDocumentType, 'digitalId'>;
|
|
95
|
-
/** Config flag that activates this entry. */
|
|
96
|
-
configFlag: 'deviceWallet';
|
|
97
121
|
} | {
|
|
98
122
|
/** Trinsic web-redirect flow (existing `digitalIdRedirect` child). */
|
|
99
123
|
kind: 'trinsicRedirect';
|
|
@@ -151,6 +175,13 @@ type DeviceWalletDecryptResponse = {
|
|
|
151
175
|
decision?: DeviceWalletDecision;
|
|
152
176
|
[key: string]: unknown;
|
|
153
177
|
};
|
|
178
|
+
/** Injectable service seam (mirrors digital-id-redirect's services pattern). */
|
|
179
|
+
type DeviceWalletServices = {
|
|
180
|
+
/** Builds the wallet request payload for the platform. */
|
|
181
|
+
requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequestOptions>;
|
|
182
|
+
/** Forwards the opaque wallet response for backend decryption. */
|
|
183
|
+
decryptWalletResponse: (platform: DeviceWalletPlatform, walletResponse: string, signal?: AbortSignal) => Promise<DeviceWalletDecryptResponse>;
|
|
184
|
+
};
|
|
154
185
|
/**
|
|
155
186
|
* Terminal machine output read by the ID-Capture parent (`onDone`).
|
|
156
187
|
* Projected by the machine's ROOT `output` — a top-level final node's own
|
|
@@ -164,37 +195,6 @@ type DeviceWalletOutput = {
|
|
|
164
195
|
result: 'dismissed';
|
|
165
196
|
};
|
|
166
197
|
//#endregion
|
|
167
|
-
//#region src/modules/id/manualUpload/types.d.ts
|
|
168
|
-
type ManualUploadTab = 'id' | 'passport';
|
|
169
|
-
type ManualUploadSide = 'front' | 'back' | 'passport';
|
|
170
|
-
type ManualUploadContext = {
|
|
171
|
-
/** Passed from parent machine input — used by guards and actor inputs. */
|
|
172
|
-
onlyFront: boolean;
|
|
173
|
-
/** Back-only takes precedence when both side-only flags are supplied. */
|
|
174
|
-
onlyBack: boolean;
|
|
175
|
-
isSecondId: boolean;
|
|
176
|
-
/** Retry budget for this manual upload (sourced from `config.captureAttempts`). */
|
|
177
|
-
captureAttempts: number;
|
|
178
|
-
/** [ENG-44176] Forwarded to front / passport manual uploads when explicitly false. */
|
|
179
|
-
extractIdFace?: boolean;
|
|
180
|
-
frontFile: File | null;
|
|
181
|
-
backFile: File | null;
|
|
182
|
-
passportFile: File | null;
|
|
183
|
-
activeTab: ManualUploadTab;
|
|
184
|
-
retriesLeft: number;
|
|
185
|
-
errorMessage: string | null;
|
|
186
|
-
errorSide: ManualUploadSide | null;
|
|
187
|
-
/** Set from the front upload response; when true the back slot is auto-completed */
|
|
188
|
-
skipBackFromServer: boolean;
|
|
189
|
-
/** Whether each side has been successfully uploaded (for Continue gating) */
|
|
190
|
-
frontUploaded: boolean;
|
|
191
|
-
backUploaded: boolean;
|
|
192
|
-
passportUploaded: boolean;
|
|
193
|
-
};
|
|
194
|
-
declare const MANUAL_UPLOAD_MAX_RETRIES = 3;
|
|
195
|
-
declare const MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES: number;
|
|
196
|
-
declare const MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS = 5000;
|
|
197
|
-
//#endregion
|
|
198
198
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
199
199
|
interface IAnalyticsCapability {
|
|
200
200
|
analyzeFrame(image: ImageData): Promise<void>;
|
|
@@ -207,13 +207,13 @@ interface IAnalyticsCapability {
|
|
|
207
207
|
//#region src/modules/id/types.d.ts
|
|
208
208
|
type IdCaptureMode = 'front' | 'back' | 'passport';
|
|
209
209
|
/**
|
|
210
|
-
* Document type options for the ID capture chooser (ID, passport,
|
|
211
|
-
* upload
|
|
212
|
-
*
|
|
210
|
+
* Document type options for the ID capture chooser (ID, passport, digital ID
|
|
211
|
+
* upload (PDF), digital ID from device wallet, digital ID web-redirect
|
|
212
|
+
* (Trinsic iDIN/FTN)).
|
|
213
213
|
* Used for selection and for the list of available options derived from config.
|
|
214
214
|
*/
|
|
215
|
-
type IdDocumentType = 'id' | 'passport' | '
|
|
216
|
-
type IdFlowStep = 'chooser' | 'ageVerification' | 'tutorial' | 'permissions' | 'capture' | 'mandatoryConsent' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | '
|
|
215
|
+
type IdDocumentType = 'id' | 'passport' | 'digitalIdUpload' | 'digitalId' | 'digitalIdRedirect';
|
|
216
|
+
type IdFlowStep = 'chooser' | 'ageVerification' | 'tutorial' | 'permissions' | 'capture' | 'mandatoryConsent' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'digitalIdUpload' | 'digitalIdRedirect';
|
|
217
217
|
type DetectionStatus = 'idle' | 'detecting' | 'farAway' | 'blur' | 'glare' | 'wrongSide' | 'capturing' | 'manualCapture' | 'idNotDetected' | 'offline';
|
|
218
218
|
/**
|
|
219
219
|
* Represents the detection area dimensions in pixels.
|
|
@@ -274,6 +274,32 @@ type IdCaptureDigitalIdMethod = {
|
|
|
274
274
|
/** ISO alpha-2 to bias provider ordering / prefill. */
|
|
275
275
|
country?: string;
|
|
276
276
|
displayName?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Dashboard toggle for this method on the flow / workflow node. `false`
|
|
279
|
+
* hides the method; absent counts as enabled.
|
|
280
|
+
*/
|
|
281
|
+
enabled?: boolean;
|
|
282
|
+
/** Provider logo shown on the method's chooser card (absolute URL). */
|
|
283
|
+
logoUrl?: string;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* One digital-ID web-redirect provider offered as its own card on the ID
|
|
287
|
+
* capture chooser — one card per enabled `REDIRECT` method in
|
|
288
|
+
* `config.digitalIds` (iDIN, FTN, …). Selecting a card sends
|
|
289
|
+
* `SELECT_DOCUMENT` with `documentType: 'digitalIdRedirect'` and this
|
|
290
|
+
* `providerId`, which the `digitalIdRedirect` child launches directly.
|
|
291
|
+
*/
|
|
292
|
+
type IdCaptureDigitalIdRedirectOption = {
|
|
293
|
+
/** Catalog provider id, e.g. `trinsic_netherlands_idin`. */
|
|
294
|
+
providerId: DigitalIdProviderId;
|
|
295
|
+
/** Persisted backend method name, e.g. `IDIN`. */
|
|
296
|
+
method?: string;
|
|
297
|
+
/** Provider display name from the catalog, e.g. `iDIN`. */
|
|
298
|
+
displayName?: string;
|
|
299
|
+
/** Provider logo (absolute URL) for the card; the generic icon is used when absent. */
|
|
300
|
+
logoUrl?: string;
|
|
301
|
+
/** ISO alpha-2 country the provider serves. */
|
|
302
|
+
country?: string;
|
|
277
303
|
};
|
|
278
304
|
type IdCaptureConfig = TutorialIdConfig & {
|
|
279
305
|
ageAssurance?: boolean;
|
|
@@ -288,7 +314,7 @@ type IdCaptureConfig = TutorialIdConfig & {
|
|
|
288
314
|
ds?: Flow['ds'];
|
|
289
315
|
/**
|
|
290
316
|
* When true, the capture machine reaches `finished` immediately after
|
|
291
|
-
* back-side
|
|
317
|
+
* back-side completion instead of invoking `/process/id`.
|
|
292
318
|
* Used by engines where verification is owned by a downstream node — the
|
|
293
319
|
* Workflow engine's `ID` node (handled by `idVerificationMachine`). Flow and
|
|
294
320
|
* any other single-step caller leave this `false` so the inline verification
|
|
@@ -353,7 +379,7 @@ type IdCaptureConfig = TutorialIdConfig & {
|
|
|
353
379
|
* the factory (see `DEFAULT_ID_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
354
380
|
* about, e.g. `{ onCapture, captureAttempts: 5, showDocumentChooserScreen: true }`.
|
|
355
381
|
*/
|
|
356
|
-
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig,
|
|
382
|
+
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, (typeof ID_CAPTURE_ONLY_CONFIG_KEYS)[number]>> & {
|
|
357
383
|
onCapture: (response: CaptureOnlyResponse) => void | Promise<void>;
|
|
358
384
|
};
|
|
359
385
|
type IdErrorCode = 'UPLOAD_ERROR' | 'CLASSIFICATION_FAILED' | 'LOW_SHARPNESS' | 'GLARE_DETECTED' | 'WRONG_DOCUMENT_SIDE' | 'ID_TYPE_UNACCEPTABLE' | 'READABILITY_ISSUE' | 'RETRY_EXHAUSTED_CONTINUE_TO_BACK' | 'RETRY_EXHAUSTED_SKIP_BACK' | 'NO_MORE_TRIES' | 'UNEXPECTED_ERROR' | 'NO_TOKEN' | 'PERMISSION_DENIED' | 'USER_CANCELLED' | 'SERVER_ERROR';
|
|
@@ -471,10 +497,16 @@ type IdCapturedImageData = {
|
|
|
471
497
|
};
|
|
472
498
|
/**
|
|
473
499
|
* Payload delivered to `IdCaptureConfig.onCapture` when `captureOnly` is enabled.
|
|
500
|
+
*
|
|
501
|
+
* `frontImage` is `undefined` only for a back-only capture (`onlyBack: true`),
|
|
502
|
+
* where no front side is captured. Check it before use.
|
|
474
503
|
*/
|
|
475
504
|
type CaptureOnlyResponse = {
|
|
476
505
|
frontImage: IdCapturedImageData;
|
|
477
506
|
backImage: IdCapturedImageData | undefined;
|
|
507
|
+
} | {
|
|
508
|
+
frontImage: undefined;
|
|
509
|
+
backImage: IdCapturedImageData;
|
|
478
510
|
};
|
|
479
511
|
declare const ID_ERROR_CODES: {
|
|
480
512
|
readonly UPLOAD_ERROR: "UPLOAD_ERROR";
|
|
@@ -713,6 +745,19 @@ type IdCaptureContext = {
|
|
|
713
745
|
disableIpify: boolean;
|
|
714
746
|
deepsightInitAttempted: boolean;
|
|
715
747
|
availableDocumentTypes: IdDocumentType[];
|
|
748
|
+
/**
|
|
749
|
+
* One entry per enabled digital-ID web-redirect provider in
|
|
750
|
+
* `config.digitalIds` (`getAvailableDigitalIdRedirectOptions`). The chooser
|
|
751
|
+
* renders each as its own card; `digitalIdRedirect` appears in
|
|
752
|
+
* `availableDocumentTypes` whenever this list is non-empty.
|
|
753
|
+
*/
|
|
754
|
+
digitalIdRedirectOptions: IdCaptureDigitalIdRedirectOption[];
|
|
755
|
+
/**
|
|
756
|
+
* Provider picked on the chooser (`SELECT_DOCUMENT` with `providerId`).
|
|
757
|
+
* Preset on the `digitalIdRedirect` child so the verification is created for
|
|
758
|
+
* exactly that provider instead of the first configured redirect method.
|
|
759
|
+
*/
|
|
760
|
+
selectedDigitalIdProviderId: DigitalIdProviderId | undefined;
|
|
716
761
|
/** Negotiated camera resolution (e.g. "1920x1080") for telemetry */
|
|
717
762
|
captureResolution?: string;
|
|
718
763
|
/** Android camera access fallback level that succeeded */
|
|
@@ -735,8 +780,16 @@ type IdCaptureEvent = {
|
|
|
735
780
|
} | {
|
|
736
781
|
type: 'SELECT_DOCUMENT';
|
|
737
782
|
documentType: IdDocumentType;
|
|
783
|
+
/**
|
|
784
|
+
* With `documentType: 'digitalIdRedirect'`: the redirect provider card
|
|
785
|
+
* the user picked (one of `digitalIdRedirectOptions[].providerId`).
|
|
786
|
+
* Omitted → the first configured redirect method is launched.
|
|
787
|
+
*/
|
|
788
|
+
providerId?: DigitalIdProviderId;
|
|
738
789
|
} | {
|
|
739
790
|
type: 'NEXT_STEP';
|
|
791
|
+
} | {
|
|
792
|
+
type: 'CONTINUE_TO_PERMISSION';
|
|
740
793
|
} |
|
|
741
794
|
/**
|
|
742
795
|
* IDC-05: the phase boundary. Raised by `runDetection` `captureWindowMs` after
|
|
@@ -761,6 +814,12 @@ type IdCaptureEvent = {
|
|
|
761
814
|
type: 'MANUAL_CAPTURE';
|
|
762
815
|
} | {
|
|
763
816
|
type: 'SWITCH_TO_MANUAL_CAPTURE';
|
|
817
|
+
} | {
|
|
818
|
+
type: 'SWITCH_TO_AUTO_CAPTURE';
|
|
819
|
+
} | {
|
|
820
|
+
type: 'OPEN_HELP';
|
|
821
|
+
} | {
|
|
822
|
+
type: 'CLOSE_HELP';
|
|
764
823
|
} | {
|
|
765
824
|
type: 'DETECTION_UPDATE';
|
|
766
825
|
status: DetectionStatus;
|
|
@@ -832,17 +891,6 @@ type IdCaptureEvent = {
|
|
|
832
891
|
width: number;
|
|
833
892
|
height: number;
|
|
834
893
|
};
|
|
835
|
-
} | {
|
|
836
|
-
type: 'MANUAL_UPLOAD_TAB_CHANGED';
|
|
837
|
-
tab: ManualUploadTab;
|
|
838
|
-
} | {
|
|
839
|
-
type: 'MANUAL_UPLOAD_FILE_SELECTED';
|
|
840
|
-
side: ManualUploadSide;
|
|
841
|
-
file: File;
|
|
842
|
-
} | {
|
|
843
|
-
type: 'MANUAL_UPLOAD_CONTINUE';
|
|
844
|
-
} | {
|
|
845
|
-
type: 'MANUAL_UPLOAD_RESET';
|
|
846
894
|
} | {
|
|
847
895
|
type: 'DIGITAL_UPLOAD_NEXT_STEP';
|
|
848
896
|
} | {
|
|
@@ -922,4 +970,4 @@ type IdCaptureOutput = {
|
|
|
922
970
|
skipFaceMatch: boolean;
|
|
923
971
|
} | undefined;
|
|
924
972
|
//#endregion
|
|
925
|
-
export {
|
|
973
|
+
export { DeviceWalletDecision as A, DigitalIdFunnelEntry as B, IdCapturedImageData as C, IdFlowStep as D, IdErrorCode as E, DeviceWalletProvider as F, DigitalIdProviderId as G, ResolvedDigitalIdRoute as H, DeviceWalletServices as I, IDigitalCredentialsCapability as J, FailureReason as K, DIGITAL_ID_DOCUMENT_TYPES as L, DeviceWalletFailReason as M, DeviceWalletOutput as N, UploadIdResponse as O, DeviceWalletPlatform as P, DIGITAL_ID_REGISTRY as R, IdCaptureThresholds as S, IdError as T, isRedirectFlowType as U, DigitalIdPlatformSupport as V, resolveDigitalIdImplementation as W, IdCaptureGeometry as _, CaptureOnlyResponse as a, IdCaptureOnlyConfig as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureEvent as g, IdCaptureDigitalIdRedirectOption as h, CaptureIdResponse as i, DeviceWalletDecryptResponse as j, IAnalyticsCapability as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, RedirectReturnParams as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureInput as v, IdDocumentType as w, IdCaptureOutput as x, IdCaptureMode as y, DigitalIdDocumentType as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
//#region src/modules/document-capture/types.d.ts
|
|
4
|
-
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
|
|
4
|
+
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
|
|
5
5
|
declare const DOCUMENT_CAPTURE_ERROR_CODES: {
|
|
6
6
|
readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
|
|
7
7
|
readonly UPLOAD_FAILED: "UPLOAD_FAILED";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
3
|
-
import {
|
|
1
|
+
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-DXgmQmQy.js";
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-BGXxRwQM.js";
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-CPX0RGdQ.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -49,7 +49,6 @@ type BaseFaceCaptureConfig = {
|
|
|
49
49
|
cameraResolution?: CameraResolution;
|
|
50
50
|
ageAssurance?: boolean;
|
|
51
51
|
ds?: Flow['ds'];
|
|
52
|
-
manualUploadSelfieCapture?: boolean;
|
|
53
52
|
/**
|
|
54
53
|
* When true, face analysis runs on-device via the OnDevice WASM workflow
|
|
55
54
|
* (6 models) and only the results JSON is submitted to the backend
|
|
@@ -11,5 +11,13 @@ function buildUrlWithSearchParams(baseUrl, params) {
|
|
|
11
11
|
for (const [key, value] of Object.entries(params)) if (value !== void 0) url.searchParams.set(key, value);
|
|
12
12
|
return url.href;
|
|
13
13
|
}
|
|
14
|
+
function stripUrlQueryAndFragment(url) {
|
|
15
|
+
try {
|
|
16
|
+
const { origin, pathname } = new URL(url);
|
|
17
|
+
return `${origin}${pathname}`;
|
|
18
|
+
} catch {
|
|
19
|
+
return url.split(/[?#]/, 1)[0];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
14
22
|
//#endregion
|
|
15
|
-
export { getUrlSearchParam as n, buildUrlWithSearchParams as t };
|
|
23
|
+
export { getUrlSearchParam as n, stripUrlQueryAndFragment as r, buildUrlWithSearchParams as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BUPPRAA1.js";
|
|
2
2
|
import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
3
|
-
import "./
|
|
4
|
-
import "./Actor-
|
|
3
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
4
|
+
import "./Actor-DpTj5PFb.js";
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
8
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
|
|
8
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-C5QHOvWb.js";
|
|
9
9
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
10
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
11
|
type ITimerCapability = {
|
|
@@ -229,10 +229,7 @@ type VideoSelfieRecordingState = {
|
|
|
229
229
|
* `subscribe()` (status, step, preview `stream`, `recordingId`) plus `start()`,
|
|
230
230
|
* `nextStep()`, and `abort()`.
|
|
231
231
|
*/
|
|
232
|
-
declare function createVideoSelfieRecordingManager(options?: CreateVideoSelfieRecordingActorOptions): {
|
|
233
|
-
stop(): void;
|
|
234
|
-
getState(): VideoSelfieRecordingState;
|
|
235
|
-
subscribe(listener: (state: VideoSelfieRecordingState) => void): () => void;
|
|
232
|
+
declare function createVideoSelfieRecordingManager(options?: CreateVideoSelfieRecordingActorOptions): Manager<VideoSelfieRecordingState> & {
|
|
236
233
|
/** Acquire the first camera, open the upload, and begin recording. */
|
|
237
234
|
start(): void;
|
|
238
235
|
retry(): void;
|