@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Manager-C9T5amUN.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BUPPRAA1.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-DXgmQmQy.js";
|
|
3
3
|
//#region ../infra/src/wasm/WasmPipelineType.d.ts
|
|
4
4
|
declare enum WasmPipelineType {
|
|
5
5
|
IdBlurGlarePipeline = 0,
|
package/dist/{FaceDetectionProvider-DtmtCKa9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js}
RENAMED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
2
|
-
import { s as wasmRuntime } from "./warmup-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import "./
|
|
6
|
-
import { t as
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BWgRVGIT.esm.js";
|
|
2
|
+
import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
4
|
+
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
+
import { t as ensureWasmPipelines } from "./setup-C38QkrSP.esm.js";
|
|
6
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
7
|
+
import "./sessionInitializer-jxbfCnE-.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
7
9
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
8
10
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
9
11
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
10
|
-
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-
|
|
11
|
-
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-
|
|
12
|
+
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
|
|
13
|
+
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
14
|
+
import "./deepsightService-DLGO9yv1.esm.js";
|
|
15
|
+
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
12
16
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
13
17
|
/**
|
|
14
18
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -17,6 +21,118 @@ import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStre
|
|
|
17
21
|
*/
|
|
18
22
|
const isOnDeviceMode = (config) => config.onDeviceFaceResultsSubmissionEnabled === true;
|
|
19
23
|
//#endregion
|
|
24
|
+
//#region src/internal/faceCapture/types.ts
|
|
25
|
+
const FACE_ERROR_CODES = {
|
|
26
|
+
FACE_OCCLUDED: "FACE_OCCLUDED",
|
|
27
|
+
LIVENESS: "LIVENESS_ERROR",
|
|
28
|
+
BRIGHTNESS: "BRIGHTNESS_ERROR",
|
|
29
|
+
LENSES: "LENSES_ERROR",
|
|
30
|
+
MASK: "MASK_ERROR",
|
|
31
|
+
CLOSED_EYES: "CLOSED_EYES_ERROR",
|
|
32
|
+
HEAD_COVER: "HEAD_COVER_ERROR",
|
|
33
|
+
SERVER: "SERVER_ERROR",
|
|
34
|
+
FACE_NOT_FOUND: "FACE_NOT_FOUND",
|
|
35
|
+
MULTIPLE_FACES: "MULTIPLE_FACES",
|
|
36
|
+
TOO_BLURRY: "TOO_BLURRY_ERROR",
|
|
37
|
+
TOO_DARK: "TOO_DARK_ERROR",
|
|
38
|
+
USER_IS_NOT_RECOGNIZED: "USER_IS_NOT_RECOGNIZED",
|
|
39
|
+
SPOOF_ATTEMPT_DETECTED: "SPOOF_ATTEMPT_DETECTED",
|
|
40
|
+
FACE_TOO_DARK: "FACE_TOO_DARK",
|
|
41
|
+
LENSES_DETECTED: "LENSES_DETECTED",
|
|
42
|
+
FACE_MASK_DETECTED: "FACE_MASK_DETECTED",
|
|
43
|
+
CLOSED_EYES_DETECTED: "CLOSED_EYES_DETECTED",
|
|
44
|
+
HEAD_COVER_DETECTED: "HEAD_COVER_DETECTED",
|
|
45
|
+
FACE_CROPPING_FAILED: "FACE_CROPPING_FAILED",
|
|
46
|
+
FACE_TOO_SMALL: "FACE_TOO_SMALL",
|
|
47
|
+
FACE_TOO_BLURRY: "FACE_TOO_BLURRY",
|
|
48
|
+
BAD_PHOTO_QUALITY: "BAD_PHOTO_QUALITY",
|
|
49
|
+
PROCESSING_ERROR: "PROCESSING_ERROR",
|
|
50
|
+
BAD_REQUEST: "BAD_REQUEST",
|
|
51
|
+
NONEXISTENT_CUSTOMER: "NONEXISTENT_CUSTOMER",
|
|
52
|
+
HINT_NOT_PROVIDED: "HINT_NOT_PROVIDED",
|
|
53
|
+
SELFIE_IMAGE_LOW_QUALITY: "SELFIE_IMAGE_LOW_QUALITY",
|
|
54
|
+
NO_MORE_ATTEMPTS: "NO_MORE_ATTEMPTS"
|
|
55
|
+
};
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/internal/faceCapture/faceUploadErrorCode.ts
|
|
58
|
+
/** `status` values in the body of a 400 from a face upload (`/omni/add/face`). */
|
|
59
|
+
const FACE_UPLOAD_ERROR_CODES = {
|
|
60
|
+
3004: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
61
|
+
3005: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
62
|
+
3006: FACE_ERROR_CODES.TOO_BLURRY,
|
|
63
|
+
3007: FACE_ERROR_CODES.TOO_DARK,
|
|
64
|
+
4010: FACE_ERROR_CODES.MULTIPLE_FACES,
|
|
65
|
+
4019: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
66
|
+
4077: FACE_ERROR_CODES.BAD_PHOTO_QUALITY,
|
|
67
|
+
4078: FACE_ERROR_CODES.FACE_OCCLUDED
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Maps a rejected face upload to the error the capture screen shows. Only a
|
|
71
|
+
* 400 carries a verdict on the face; any other HTTP status is a server error.
|
|
72
|
+
*/
|
|
73
|
+
function getFaceUploadErrorCode(httpStatus, responseStatus) {
|
|
74
|
+
if (httpStatus !== 400) return FACE_ERROR_CODES.SERVER;
|
|
75
|
+
if (responseStatus === void 0) return FACE_ERROR_CODES.BAD_REQUEST;
|
|
76
|
+
return FACE_UPLOAD_ERROR_CODES[responseStatus] ?? FACE_ERROR_CODES.BAD_REQUEST;
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/modules/selfie/selfieUploadService.ts
|
|
80
|
+
/**
|
|
81
|
+
* Uploads a selfie image to the backend.
|
|
82
|
+
*/
|
|
83
|
+
async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, metadata, recordingId, imageType = "selfie", captureType, deepsightService }) {
|
|
84
|
+
try {
|
|
85
|
+
const payload = {
|
|
86
|
+
base64Image: encryptedBase64Image,
|
|
87
|
+
faceCoordinates: faceCoordinates ?? void 0,
|
|
88
|
+
encrypted: true,
|
|
89
|
+
clientInfo: { deviceClass: getDeviceClass() },
|
|
90
|
+
metadata: metadata ?? void 0
|
|
91
|
+
};
|
|
92
|
+
const query = {
|
|
93
|
+
imageType,
|
|
94
|
+
captureType
|
|
95
|
+
};
|
|
96
|
+
if (recordingId) query.recordingId = recordingId;
|
|
97
|
+
const res = await api.post(endpoints.selfie, payload, {
|
|
98
|
+
signal,
|
|
99
|
+
query
|
|
100
|
+
});
|
|
101
|
+
if (!res.ok) throw new Error(`POST ${endpoints.selfie} failed: ${res.status} ${res.statusText}`);
|
|
102
|
+
if (deepsightService) addDeviceStats({
|
|
103
|
+
frontIdStatsAnalysisStatus: "",
|
|
104
|
+
backIdStatsAnalysisStatus: "",
|
|
105
|
+
selfieStatsAnalysisStatus: deepsightService.getAnalysisStatus(),
|
|
106
|
+
motionStatus: deepsightService.getMotionStatus()
|
|
107
|
+
});
|
|
108
|
+
return res.data;
|
|
109
|
+
} catch (error) {
|
|
110
|
+
const errorCode = getFaceErrorCodeFromHttpError(error);
|
|
111
|
+
throw withTransportStatus(new Error(errorCode ?? FACE_ERROR_CODES.SERVER), error);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Copies the HTTP status of `source` onto `target`. The code alone cannot say
|
|
116
|
+
* whether the request got a verdict or never reached the backend — a network
|
|
117
|
+
* failure and a 5xx both map to `SERVER_ERROR` — so a caller that retries
|
|
118
|
+
* transport failures needs the status to survive this mapping.
|
|
119
|
+
*/
|
|
120
|
+
function withTransportStatus(target, source) {
|
|
121
|
+
if (typeof source === "object" && source !== null && "status" in source && typeof source.status === "number") return Object.assign(target, { status: source.status });
|
|
122
|
+
return target;
|
|
123
|
+
}
|
|
124
|
+
const getFaceErrorCodeFromHttpError = (error) => {
|
|
125
|
+
const err = error;
|
|
126
|
+
if (err.ok !== false || typeof err.status !== "number") return;
|
|
127
|
+
return getFaceUploadErrorCode(err.status, typeof err.data?.status === "number" ? err.data.status : void 0);
|
|
128
|
+
};
|
|
129
|
+
async function processFace(imageType = "selfie", signal) {
|
|
130
|
+
return (await api.post(endpoints.processFace, {}, {
|
|
131
|
+
query: { imageType },
|
|
132
|
+
signal
|
|
133
|
+
})).data;
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
20
136
|
//#region src/internal/faceCapture/faceCaptureServices.ts
|
|
21
137
|
function sendLabelInspectionEvent() {
|
|
22
138
|
return addDeviceStats({ cameraLabelInspectionStatus: "FAIL" });
|
|
@@ -156,7 +272,7 @@ function startDetection(params) {
|
|
|
156
272
|
};
|
|
157
273
|
}
|
|
158
274
|
async function initializeDeepsightSession(options) {
|
|
159
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
275
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DvfAYnzg.esm.js");
|
|
160
276
|
return loadDeepsightSession({
|
|
161
277
|
ds: options.ds,
|
|
162
278
|
storage: options.storage
|
|
@@ -428,4 +544,4 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
428
544
|
}
|
|
429
545
|
};
|
|
430
546
|
//#endregion
|
|
431
|
-
export { sendLabelInspectionEvent as a,
|
|
547
|
+
export { sendLabelInspectionEvent as a, processFace as c, FACE_ERROR_CODES as d, isOnDeviceMode as f, initializeDeepsightSession as i, uploadSelfie as l, encryptSelfieImage as n, startDetection as o, initializeCamera as r, stopStream as s, FaceDetectionProvider as t, getFaceUploadErrorCode as u };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region ../infra/src/http/HttpRequestError.ts
|
|
2
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
3
|
+
function subscribeHttpErrors(listener) {
|
|
4
|
+
listeners.add(listener);
|
|
5
|
+
return () => {
|
|
6
|
+
listeners.delete(listener);
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/** The error shape shared by fetch, XHR, WASM and external requests. */
|
|
10
|
+
var HttpRequestError = class extends Error {
|
|
11
|
+
constructor(status, statusText, url, method, headers, data) {
|
|
12
|
+
super(`HTTP ${status} ${statusText}`);
|
|
13
|
+
this.status = status;
|
|
14
|
+
this.statusText = statusText;
|
|
15
|
+
this.url = url;
|
|
16
|
+
this.method = method;
|
|
17
|
+
this.headers = headers;
|
|
18
|
+
this.data = data;
|
|
19
|
+
this.ok = false;
|
|
20
|
+
this.name = "HttpRequestError";
|
|
21
|
+
this.statusCode = status;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
/** Report at the transport's rejection site; constructing an error is inert. */
|
|
25
|
+
function reportHttpError(error, requestHeaders) {
|
|
26
|
+
for (const listener of [...listeners]) {
|
|
27
|
+
if (!listeners.has(listener)) continue;
|
|
28
|
+
try {
|
|
29
|
+
listener(error, requestHeaders);
|
|
30
|
+
} catch {}
|
|
31
|
+
}
|
|
32
|
+
return error;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { reportHttpError as n, subscribeHttpErrors as r, HttpRequestError as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-
|
|
1
|
+
import "./warmup-BUPPRAA1.js";
|
|
2
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
|
|
3
3
|
//#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BUPPRAA1.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-DXgmQmQy.js";
|
|
3
3
|
//#region ../infra/src/capabilities/IStorageCapability.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Storage capability interface for abstracting storage operations.
|
|
@@ -38,6 +38,11 @@ type VirtualCameraCheckOutput = {
|
|
|
38
38
|
itr: boolean | null;
|
|
39
39
|
skipped: boolean | null;
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Fingerprint signal buckets the native module can report, one per row of the
|
|
43
|
+
* `/omni/add/device-fingerprint-signals` backend table.
|
|
44
|
+
*/
|
|
45
|
+
type FingerprintSignalType = 'device' | 'behaviour' | 'pid';
|
|
41
46
|
type IWasmUtilCapability = {
|
|
42
47
|
/**
|
|
43
48
|
* Whether the provider has been initialized and is ready to be used.
|
|
@@ -80,11 +85,29 @@ type IWasmUtilCapability = {
|
|
|
80
85
|
*/
|
|
81
86
|
getInspectorOpened(): boolean;
|
|
82
87
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
88
|
+
* Retained for callers that manually control the native log level: `true`
|
|
89
|
+
* keeps errors only; `false` enables debug logs. Console output still requires
|
|
90
|
+
* `wasm.showLogs: true` at the first module load.
|
|
85
91
|
*/
|
|
86
92
|
setProductionMode(productionMode: boolean): Promise<void>;
|
|
87
93
|
getMetadata(): string;
|
|
94
|
+
/**
|
|
95
|
+
* Turns native behaviour-signals collection on or off (`sbc`). It is on by
|
|
96
|
+
* default; pass `false` to honor a fingerprint opt-out.
|
|
97
|
+
*/
|
|
98
|
+
setBehaviourSignalsCollection(enabled: boolean): void;
|
|
99
|
+
/**
|
|
100
|
+
* Reads one encrypted fingerprint signal bucket from the native module,
|
|
101
|
+
* waiting for the one-time async prefetch first. Resolves to an empty string
|
|
102
|
+
* when the bucket has no data. Behaviour reads drain the native buffer.
|
|
103
|
+
*/
|
|
104
|
+
getFingerprintSignals(type: FingerprintSignalType): Promise<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Starts the one-time async prefetch that {@link getFingerprintSignals}
|
|
107
|
+
* waits for, ahead of the first read. Idempotent: later calls (and reads)
|
|
108
|
+
* join the same collection.
|
|
109
|
+
*/
|
|
110
|
+
prefetchFingerprintSignals(): Promise<void>;
|
|
88
111
|
analyzeFrame(image: ImageData): Promise<void>;
|
|
89
112
|
getCheck(): string;
|
|
90
113
|
/**
|
|
@@ -114,4 +137,4 @@ type IWasmUtilCapability = {
|
|
|
114
137
|
dispose(): Promise<void>;
|
|
115
138
|
};
|
|
116
139
|
//#endregion
|
|
117
|
-
export { IStorageCapability as i,
|
|
140
|
+
export { IStorageCapability as a, WasmUtilConfig as i, IWasmUtilCapability as n, VirtualCameraCheckOutput as r, FingerprintSignalType as t };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
//#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/index.d.ts
|
|
2
|
+
declare global {
|
|
3
|
+
interface SymbolConstructor {
|
|
4
|
+
readonly observable: symbol;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
2
8
|
//#region ../infra/src/manager/Manager.d.ts
|
|
3
9
|
/**
|
|
4
10
|
* Base manager interface providing state access, subscriptions, and lifecycle control.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveSessionStorage } from "./safeStorage-
|
|
1
|
+
import { n as resolveSessionStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
2
2
|
//#region ../infra/src/providers/browser/MotionSensorProvider.ts
|
|
3
3
|
const MOTION_PERMISSION_GRANTED_KEY = "motionSensorsPermissionsGranted";
|
|
4
4
|
const MOTION_PERMISSION_DENIED_KEY = "motionSensorsPermissionsDenied";
|