@incodetech/core 2.3.2-rc.4 → 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-B5Fxc_y9.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--p429c2X.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-CWmZMFJH.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
- package/dist/{authenticationStateMachine-BQ7ZW-8a.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-uhDPdU6i.d.ts → consentManager-DgzWQpAR.d.ts} +11 -12
- 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-BtYvACzG.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-66GzzBTx.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
- package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-DLnr2ZtX.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-CsQMgJDL.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
- package/dist/{ekybStateMachine-DBeQNOMo.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-Boj_xbGN.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-BKpeQIZu.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
- package/dist/{faceCaptureSetup-DOrt8-Sn.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-zY6FcYx_.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-CBa6YyI5.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
- package/dist/{flowServices-JW6uRaUt.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-DD5J1T_p.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
- package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
- package/dist/{geolocationStateMachine-DoelwBqs.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-Chne8cyb.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
- package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
- package/dist/{idCaptureManager-0504dfcD.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
- package/dist/{idCaptureServices-B-Ynn67N.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
- package/dist/{idCaptureStateMachine-B7ET-hfq.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
- package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-BTdHlJ9D.d.ts} +3 -4
- 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-v2TH5g7e.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +162 -44
- 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-BYRnWbIC.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +8 -9
- 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-CZU29-IV.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
- package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
- package/dist/{sdkVersion-DOhxIxQQ.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-CWhbwRdb.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
- package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
- package/dist/{session-CctUSSCx.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-DmB0JHAB.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-Ce9zO78j.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
- package/dist/{trueSightService-oMFESSSb.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-D_4NwYM-.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-CtMCi4KZ.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
|
@@ -1,105 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-zY6FcYx_.esm.js";
|
|
1
|
+
import { S as setWasmIntegrityObserver } from "./wasmWebClient-kbYZ2sxw.esm.js";
|
|
2
|
+
import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-BWgRVGIT.esm.js";
|
|
3
|
+
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
|
|
4
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
6
5
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
6
|
+
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import {
|
|
9
|
-
import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
8
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
9
|
+
import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-jxbfCnE-.esm.js";
|
|
10
|
+
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
11
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
12
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-BTbYruNe.esm.js";
|
|
13
|
+
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
12
14
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
-
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
15
|
-
var BrowserPageLifecycleProvider = class {
|
|
16
|
-
sendBeacon(url, body, contentType = "application/json") {
|
|
17
|
-
if (typeof navigator === "undefined" || typeof navigator.sendBeacon !== "function") return false;
|
|
18
|
-
const blob = new Blob([body], { type: contentType });
|
|
19
|
-
return navigator.sendBeacon(url, blob);
|
|
20
|
-
}
|
|
21
|
-
onPageHide(listener) {
|
|
22
|
-
const onVisibilityChange = () => {
|
|
23
|
-
if (document.visibilityState === "hidden") listener();
|
|
24
|
-
};
|
|
25
|
-
document.addEventListener("visibilitychange", onVisibilityChange);
|
|
26
|
-
window.addEventListener("pagehide", listener);
|
|
27
|
-
window.addEventListener("beforeunload", listener);
|
|
28
|
-
return () => {
|
|
29
|
-
document.removeEventListener("visibilitychange", onVisibilityChange);
|
|
30
|
-
window.removeEventListener("pagehide", listener);
|
|
31
|
-
window.removeEventListener("beforeunload", listener);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region ../infra/src/providers/browser/BrowserStorageProvider.ts
|
|
37
|
-
/**
|
|
38
|
-
* Browser-based storage provider wrapping localStorage.
|
|
39
|
-
* Handles JSON serialization/deserialization automatically.
|
|
40
|
-
*
|
|
41
|
-
* Degrades silently when the host makes localStorage unreachable: reads return
|
|
42
|
-
* `null` and writes are no-ops. Deliberately quiet — hosts that harden against
|
|
43
|
-
* self-XSS by deleting the global would otherwise see a warning on every call.
|
|
44
|
-
*/
|
|
45
|
-
var BrowserStorageProvider = class {
|
|
46
|
-
/**
|
|
47
|
-
* Retrieves a value from localStorage.
|
|
48
|
-
* @param key - The storage key
|
|
49
|
-
* @returns The stored value, or null if not found or storage is unavailable
|
|
50
|
-
* @throws Error if stored value is invalid JSON
|
|
51
|
-
*/
|
|
52
|
-
async get(key) {
|
|
53
|
-
const storage = resolveLocalStorage();
|
|
54
|
-
if (!storage) return null;
|
|
55
|
-
try {
|
|
56
|
-
const item = storage.getItem(key);
|
|
57
|
-
if (item === null) return null;
|
|
58
|
-
return JSON.parse(item);
|
|
59
|
-
} catch (error) {
|
|
60
|
-
if (error instanceof SyntaxError) throw new Error(`Invalid JSON stored at key "${key}": ${error.message}`);
|
|
61
|
-
throw error;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Stores a value in localStorage. No-op when storage is unavailable.
|
|
66
|
-
* @param key - The storage key
|
|
67
|
-
* @param value - The value to store (will be serialized as JSON)
|
|
68
|
-
* @throws Error if value cannot be serialized or quota is exceeded
|
|
69
|
-
*/
|
|
70
|
-
async set(key, value) {
|
|
71
|
-
const storage = resolveLocalStorage();
|
|
72
|
-
if (!storage) return;
|
|
73
|
-
try {
|
|
74
|
-
const serialized = JSON.stringify(value);
|
|
75
|
-
storage.setItem(key, serialized);
|
|
76
|
-
} catch (error) {
|
|
77
|
-
if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
|
|
78
|
-
if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
|
|
79
|
-
throw error;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Removes a value from localStorage. No-op when storage is unavailable.
|
|
84
|
-
* @param key - The storage key to remove
|
|
85
|
-
*/
|
|
86
|
-
async remove(key) {
|
|
87
|
-
const storage = resolveLocalStorage();
|
|
88
|
-
if (!storage) return;
|
|
89
|
-
storage.removeItem(key);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Clears all values from localStorage. No-op when storage is unavailable.
|
|
93
|
-
*/
|
|
94
|
-
async clear() {
|
|
95
|
-
const storage = resolveLocalStorage();
|
|
96
|
-
if (!storage) return;
|
|
97
|
-
storage.clear();
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
//#endregion
|
|
15
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DA64AEZC.esm.js";
|
|
101
16
|
//#region src/internal/events/AnalyticsBatchingService.ts
|
|
102
17
|
const DEFAULT_MAX_BATCH_SIZE = 50;
|
|
18
|
+
const MAX_STATE_BATCH_SIZE = 50;
|
|
103
19
|
const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
|
|
104
20
|
const DEFAULT_MAX_RETRIES = 2;
|
|
105
21
|
const RETRY_BASE_DELAY_MS = 250;
|
|
@@ -109,6 +25,10 @@ function isTransientStatus(status) {
|
|
|
109
25
|
function createAnalyticsBatchingService(options) {
|
|
110
26
|
const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
|
|
111
27
|
let buffer = [];
|
|
28
|
+
let stateBuffer = [];
|
|
29
|
+
let stateToken = null;
|
|
30
|
+
let stateBatches = [];
|
|
31
|
+
let stateRequestInFlight = false;
|
|
112
32
|
let started = false;
|
|
113
33
|
let disposed = false;
|
|
114
34
|
let ageTimerHandle = null;
|
|
@@ -163,16 +83,46 @@ function createAnalyticsBatchingService(options) {
|
|
|
163
83
|
}
|
|
164
84
|
sendBatch(batch, 0);
|
|
165
85
|
}
|
|
166
|
-
function
|
|
167
|
-
if (disposed || buffer.length === 0) return;
|
|
168
|
-
const batch = buffer;
|
|
169
|
-
buffer = [];
|
|
170
|
-
clearAgeTimer();
|
|
86
|
+
function syncStateToken() {
|
|
171
87
|
const token = authToken();
|
|
172
|
-
if (
|
|
173
|
-
|
|
174
|
-
|
|
88
|
+
if (token !== stateToken) {
|
|
89
|
+
stateBuffer = [];
|
|
90
|
+
stateBatches = [];
|
|
91
|
+
stateToken = token;
|
|
175
92
|
}
|
|
93
|
+
return token;
|
|
94
|
+
}
|
|
95
|
+
function sendNextStateBatch() {
|
|
96
|
+
if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
|
|
97
|
+
const token = syncStateToken();
|
|
98
|
+
const batch = stateBatches.shift();
|
|
99
|
+
if (!batch || !token) return;
|
|
100
|
+
stateRequestInFlight = true;
|
|
101
|
+
const onSettled = () => {
|
|
102
|
+
stateRequestInFlight = false;
|
|
103
|
+
sendNextStateBatch();
|
|
104
|
+
};
|
|
105
|
+
try {
|
|
106
|
+
apiClient.post(endpoint, batch.events, {
|
|
107
|
+
keepalive: true,
|
|
108
|
+
headers: { "X-Incode-Hardware-Id": batch.token }
|
|
109
|
+
}).then(onSettled, onSettled);
|
|
110
|
+
} catch {
|
|
111
|
+
Promise.resolve().then(onSettled);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function flushStateChanges() {
|
|
115
|
+
if (disposed) return;
|
|
116
|
+
const token = syncStateToken();
|
|
117
|
+
if (!token || stateBuffer.length === 0) return;
|
|
118
|
+
stateBatches.push({
|
|
119
|
+
events: stateBuffer,
|
|
120
|
+
token
|
|
121
|
+
});
|
|
122
|
+
stateBuffer = [];
|
|
123
|
+
sendNextStateBatch();
|
|
124
|
+
}
|
|
125
|
+
function sendBeacon(batch, token) {
|
|
176
126
|
const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
|
|
177
127
|
const body = JSON.stringify({
|
|
178
128
|
token,
|
|
@@ -180,9 +130,37 @@ function createAnalyticsBatchingService(options) {
|
|
|
180
130
|
});
|
|
181
131
|
pageLifecycle.sendBeacon(url, body);
|
|
182
132
|
}
|
|
133
|
+
function handlePageHide() {
|
|
134
|
+
if (disposed) return;
|
|
135
|
+
const token = syncStateToken();
|
|
136
|
+
const pendingStates = stateBatches;
|
|
137
|
+
stateBatches = [];
|
|
138
|
+
if (token && stateBuffer.length > 0) pendingStates.push({
|
|
139
|
+
events: stateBuffer,
|
|
140
|
+
token
|
|
141
|
+
});
|
|
142
|
+
stateBuffer = [];
|
|
143
|
+
for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
|
|
144
|
+
if (buffer.length === 0) return;
|
|
145
|
+
const batch = buffer;
|
|
146
|
+
buffer = [];
|
|
147
|
+
clearAgeTimer();
|
|
148
|
+
if (!token) {
|
|
149
|
+
dropTokenless();
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
sendBeacon(batch, token);
|
|
153
|
+
}
|
|
183
154
|
function enqueue(entry) {
|
|
184
155
|
if (disposed) return;
|
|
156
|
+
if (entry.code === "stateChanged") {
|
|
157
|
+
if (!syncStateToken()) return;
|
|
158
|
+
stateBuffer.push(entry);
|
|
159
|
+
if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
185
162
|
buffer.push(entry);
|
|
163
|
+
if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
|
|
186
164
|
if (!started) return;
|
|
187
165
|
if (buffer.length >= maxBatchSize) {
|
|
188
166
|
flush();
|
|
@@ -195,6 +173,7 @@ function createAnalyticsBatchingService(options) {
|
|
|
195
173
|
started = true;
|
|
196
174
|
unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
|
|
197
175
|
if (buffer.length > 0) flush();
|
|
176
|
+
sendNextStateBatch();
|
|
198
177
|
}
|
|
199
178
|
function dispose() {
|
|
200
179
|
if (disposed) return;
|
|
@@ -203,15 +182,106 @@ function createAnalyticsBatchingService(options) {
|
|
|
203
182
|
unsubscribeLifecycle?.();
|
|
204
183
|
unsubscribeLifecycle = null;
|
|
205
184
|
buffer = [];
|
|
185
|
+
stateBuffer = [];
|
|
186
|
+
stateBatches = [];
|
|
187
|
+
stateToken = null;
|
|
206
188
|
}
|
|
207
189
|
return {
|
|
208
190
|
enqueue,
|
|
209
191
|
start,
|
|
210
192
|
flush,
|
|
193
|
+
flushStateChanges,
|
|
211
194
|
dispose
|
|
212
195
|
};
|
|
213
196
|
}
|
|
214
197
|
//#endregion
|
|
198
|
+
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
199
|
+
var BrowserPageLifecycleProvider = class {
|
|
200
|
+
sendBeacon(url, body, contentType = "application/json") {
|
|
201
|
+
if (typeof navigator === "undefined" || typeof navigator.sendBeacon !== "function") return false;
|
|
202
|
+
const blob = new Blob([body], { type: contentType });
|
|
203
|
+
return navigator.sendBeacon(url, blob);
|
|
204
|
+
}
|
|
205
|
+
onPageHide(listener) {
|
|
206
|
+
const onVisibilityChange = () => {
|
|
207
|
+
if (document.visibilityState === "hidden") listener();
|
|
208
|
+
};
|
|
209
|
+
document.addEventListener("visibilitychange", onVisibilityChange);
|
|
210
|
+
window.addEventListener("pagehide", listener);
|
|
211
|
+
window.addEventListener("beforeunload", listener);
|
|
212
|
+
return () => {
|
|
213
|
+
document.removeEventListener("visibilitychange", onVisibilityChange);
|
|
214
|
+
window.removeEventListener("pagehide", listener);
|
|
215
|
+
window.removeEventListener("beforeunload", listener);
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region ../infra/src/providers/browser/BrowserStorageProvider.ts
|
|
221
|
+
/**
|
|
222
|
+
* Browser-based storage provider wrapping localStorage.
|
|
223
|
+
* Handles JSON serialization/deserialization automatically.
|
|
224
|
+
*
|
|
225
|
+
* Degrades silently when the host makes localStorage unreachable: reads return
|
|
226
|
+
* `null` and writes are no-ops. Deliberately quiet — hosts that harden against
|
|
227
|
+
* self-XSS by deleting the global would otherwise see a warning on every call.
|
|
228
|
+
*/
|
|
229
|
+
var BrowserStorageProvider = class {
|
|
230
|
+
/**
|
|
231
|
+
* Retrieves a value from localStorage.
|
|
232
|
+
* @param key - The storage key
|
|
233
|
+
* @returns The stored value, or null if not found or storage is unavailable
|
|
234
|
+
* @throws Error if stored value is invalid JSON
|
|
235
|
+
*/
|
|
236
|
+
async get(key) {
|
|
237
|
+
const storage = resolveLocalStorage();
|
|
238
|
+
if (!storage) return null;
|
|
239
|
+
try {
|
|
240
|
+
const item = storage.getItem(key);
|
|
241
|
+
if (item === null) return null;
|
|
242
|
+
return JSON.parse(item);
|
|
243
|
+
} catch (error) {
|
|
244
|
+
if (error instanceof SyntaxError) throw new Error(`Invalid JSON stored at key "${key}": ${error.message}`);
|
|
245
|
+
throw error;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Stores a value in localStorage. No-op when storage is unavailable.
|
|
250
|
+
* @param key - The storage key
|
|
251
|
+
* @param value - The value to store (will be serialized as JSON)
|
|
252
|
+
* @throws Error if value cannot be serialized or quota is exceeded
|
|
253
|
+
*/
|
|
254
|
+
async set(key, value) {
|
|
255
|
+
const storage = resolveLocalStorage();
|
|
256
|
+
if (!storage) return;
|
|
257
|
+
try {
|
|
258
|
+
const serialized = JSON.stringify(value);
|
|
259
|
+
storage.setItem(key, serialized);
|
|
260
|
+
} catch (error) {
|
|
261
|
+
if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
|
|
262
|
+
if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
|
|
263
|
+
throw error;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Removes a value from localStorage. No-op when storage is unavailable.
|
|
268
|
+
* @param key - The storage key to remove
|
|
269
|
+
*/
|
|
270
|
+
async remove(key) {
|
|
271
|
+
const storage = resolveLocalStorage();
|
|
272
|
+
if (!storage) return;
|
|
273
|
+
storage.removeItem(key);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Clears all values from localStorage. No-op when storage is unavailable.
|
|
277
|
+
*/
|
|
278
|
+
async clear() {
|
|
279
|
+
const storage = resolveLocalStorage();
|
|
280
|
+
if (!storage) return;
|
|
281
|
+
storage.clear();
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
//#endregion
|
|
215
285
|
//#region ../infra/src/providers/browser/DevtoolsDetectorProvider.ts
|
|
216
286
|
var DevtoolsDetectorProvider = class {
|
|
217
287
|
constructor() {
|
|
@@ -324,6 +394,52 @@ function stopDevtoolsDetector() {
|
|
|
324
394
|
devtoolsDetector.stop();
|
|
325
395
|
}
|
|
326
396
|
//#endregion
|
|
397
|
+
//#region src/modules/id/deviceWallet/deviceWalletSettings.ts
|
|
398
|
+
/**
|
|
399
|
+
* Client-side device-wallet settings registered by `setup()`. Kept in a
|
|
400
|
+
* dependency-free module so `setup()` doesn't pull the wallet services into
|
|
401
|
+
* the main bundle.
|
|
402
|
+
*/
|
|
403
|
+
let googleSignedRequests = true;
|
|
404
|
+
/** Whether the Google Wallet request is fetched with `signedSupported=true`. */
|
|
405
|
+
function setGoogleWalletSignedRequests(enabled) {
|
|
406
|
+
googleSignedRequests = enabled;
|
|
407
|
+
}
|
|
408
|
+
function isGoogleWalletSignedRequestsEnabled() {
|
|
409
|
+
return googleSignedRequests;
|
|
410
|
+
}
|
|
411
|
+
//#endregion
|
|
412
|
+
//#region src/internal/wasmIntegrity/wasmIntegrityTelemetry.ts
|
|
413
|
+
const TRUESIGHT_SUBSYSTEM = "wasm.integrity";
|
|
414
|
+
function describeCheck(check) {
|
|
415
|
+
const parts = [`asset=${check.asset}`, `status=${check.status}`];
|
|
416
|
+
if (check.byteLength !== void 0) parts.push(`bytes=${check.byteLength}`);
|
|
417
|
+
if (check.durationMs !== void 0) parts.push(`durationMs=${Math.round(check.durationMs)}`);
|
|
418
|
+
if (check.expectedDigestPrefix !== void 0) parts.push(`expected=${check.expectedDigestPrefix}`);
|
|
419
|
+
if (check.actualDigestPrefix !== void 0) parts.push(`actual=${check.actualDigestPrefix}`);
|
|
420
|
+
return parts.join(" ");
|
|
421
|
+
}
|
|
422
|
+
function onAssetChecked(check) {
|
|
423
|
+
const accepted = check.status === "verified" || check.status === "bundled";
|
|
424
|
+
trueSightLog(accepted ? "debug" : "severe", TRUESIGHT_SUBSYSTEM, "other", `wasm asset ${accepted ? "checked" : "rejected"} ${describeCheck(check)}`);
|
|
425
|
+
}
|
|
426
|
+
function onSummary(summary) {
|
|
427
|
+
trueSightLog(summary.failed > 0 ? "error" : "debug", TRUESIGHT_SUBSYSTEM, "other", `wasm integrity summary version=${summary.wasmVersion} verified=${summary.verified} failed=${summary.failed} bundled=${summary.bundled} hashMs=${summary.hashMs}`);
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Maps infra's WASM integrity results to TrueSight lines. Nothing carries URLs
|
|
431
|
+
* or asset bytes.
|
|
432
|
+
*
|
|
433
|
+
* Deliberately not sent to the analytics event log: `/omni/interview-events`
|
|
434
|
+
* accepts only allowlisted codes and rejects a whole batch with
|
|
435
|
+
* `Illegal event code` for an unknown one, which would also drop every event
|
|
436
|
+
* batched alongside it. Add an event here only once the backend accepts its code.
|
|
437
|
+
*/
|
|
438
|
+
const wasmIntegrityTelemetry = {
|
|
439
|
+
onAssetChecked,
|
|
440
|
+
onSummary
|
|
441
|
+
};
|
|
442
|
+
//#endregion
|
|
327
443
|
//#region src/setup.ts
|
|
328
444
|
let wasmConfig;
|
|
329
445
|
/**
|
|
@@ -395,12 +511,12 @@ let configured = false;
|
|
|
395
511
|
* });
|
|
396
512
|
* ```
|
|
397
513
|
*
|
|
398
|
-
* @example Self-hosted WASM (
|
|
514
|
+
* @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
|
|
399
515
|
* ```ts
|
|
400
516
|
* await setup({
|
|
401
517
|
* apiURL: 'https://api.incode.com',
|
|
402
518
|
* wasm: {
|
|
403
|
-
* basePath: 'https://my-cdn.example.com/
|
|
519
|
+
* basePath: 'https://my-cdn.example.com/incode-wasm',
|
|
404
520
|
* },
|
|
405
521
|
* });
|
|
406
522
|
* ```
|
|
@@ -496,6 +612,7 @@ async function setup(options) {
|
|
|
496
612
|
setStandaloneFlowPolicy(standaloneFlowPolicy);
|
|
497
613
|
registerFlowPreloader(preloadDashboardFlow);
|
|
498
614
|
if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
|
|
615
|
+
if (options.deviceWallet?.googleSignedRequests !== void 0) setGoogleWalletSignedRequests(options.deviceWallet.googleSignedRequests);
|
|
499
616
|
if (options.hostingApp !== void 0) setClientHostingApp(options.hostingApp);
|
|
500
617
|
if (options.fingerprint !== void 0) {
|
|
501
618
|
setClientFingerprintEnabled(options.fingerprint);
|
|
@@ -509,6 +626,7 @@ async function setup(options) {
|
|
|
509
626
|
pageLifecycle: new BrowserPageLifecycleProvider(),
|
|
510
627
|
timer: BrowserTimerProvider.getInstance()
|
|
511
628
|
}));
|
|
629
|
+
setWasmIntegrityObserver(wasmIntegrityTelemetry);
|
|
512
630
|
const requestedEncryption = normalizeEncryption(options.encryption);
|
|
513
631
|
const stored = getStoredHttpConfig();
|
|
514
632
|
if (requestedEncryption && stored) {
|
|
@@ -550,13 +668,11 @@ async function setup(options) {
|
|
|
550
668
|
throw error;
|
|
551
669
|
}
|
|
552
670
|
trueSightLog("debug", "wasm", "other", `wasm warmup completed durationMs=${getTimestamp() - warmupStartedAt}`);
|
|
553
|
-
|
|
554
|
-
await provider.initialize({
|
|
671
|
+
await (await WasmUtilProvider.getInstance()).initialize({
|
|
555
672
|
...effectiveWasm,
|
|
556
673
|
pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
|
|
557
674
|
});
|
|
558
|
-
|
|
559
|
-
await provider.setProductionMode(!showWasmLogs);
|
|
675
|
+
fingerprintSignalsReporter.onWasmReady();
|
|
560
676
|
if (!options.devMode) startDevtoolsDetector();
|
|
561
677
|
}
|
|
562
678
|
if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
|
|
@@ -602,6 +718,7 @@ async function initializeWasmUtil(config) {
|
|
|
602
718
|
...resolved,
|
|
603
719
|
pipelines: resolved.pipelines ? [...resolved.pipelines] : void 0
|
|
604
720
|
});
|
|
721
|
+
fingerprintSignalsReporter.onWasmReady();
|
|
605
722
|
await upgradeToWasmHttpClient$1(resolved);
|
|
606
723
|
}
|
|
607
724
|
/**
|
|
@@ -665,9 +782,11 @@ function reset() {
|
|
|
665
782
|
resetDeviceStatsQueue();
|
|
666
783
|
resetApi();
|
|
667
784
|
resetSessionInit();
|
|
785
|
+
fingerprintSignalsReporter.reset();
|
|
668
786
|
resetDashboardFlowCache();
|
|
669
787
|
resetStandaloneFlowPolicy();
|
|
670
788
|
setClientIpLookupEnabled(true);
|
|
789
|
+
setGoogleWalletSignedRequests(true);
|
|
671
790
|
setClientFingerprintEnabled(true);
|
|
672
791
|
setClientHostingApp(void 0);
|
|
673
792
|
setWasmOnDeviceMode(false);
|
|
@@ -675,6 +794,7 @@ function reset() {
|
|
|
675
794
|
resetExperimentAssignments();
|
|
676
795
|
resetResolvedExperiments();
|
|
677
796
|
resetHttpClientState();
|
|
797
|
+
setWasmIntegrityObserver(null);
|
|
678
798
|
resetTRI();
|
|
679
799
|
configured = false;
|
|
680
800
|
wasmConfig = void 0;
|
|
@@ -686,4 +806,4 @@ function reset() {
|
|
|
686
806
|
resetTrueSight();
|
|
687
807
|
}
|
|
688
808
|
//#endregion
|
|
689
|
-
export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i,
|
|
809
|
+
export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, isGoogleWalletSignedRequestsEnabled as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t, BrowserStorageProvider as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-
|
|
1
|
+
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BUPPRAA1.js";
|
|
2
2
|
import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-BKOWUhxG.js";
|
|
3
3
|
import { c as FeatureManagementRedactedUserInfo } from "./IFeatureManagementCapability-De8wpbGh.js";
|
|
4
4
|
//#region src/internal/environment/environment.d.ts
|
|
@@ -34,12 +34,6 @@ type WasmConfig = Partial<WasmModuleConfig> & WasmModelsConfig & {
|
|
|
34
34
|
* them.
|
|
35
35
|
*/
|
|
36
36
|
pipelines?: WasmPipeline[];
|
|
37
|
-
/**
|
|
38
|
-
* Enables verbose output from the native WASM module.
|
|
39
|
-
*
|
|
40
|
-
* Defaults to `false`. Enable it only while diagnosing WASM behavior.
|
|
41
|
-
*/
|
|
42
|
-
showLogs?: boolean;
|
|
43
37
|
};
|
|
44
38
|
/**
|
|
45
39
|
* Object form of the `encryption` option for {@link SetupOptions}. Reach for
|
|
@@ -192,8 +186,12 @@ type SetupOptions = {
|
|
|
192
186
|
* collected during face capture (selfie/authentication/id/personhood) — the
|
|
193
187
|
* descriptive device fields and `webglFingerprint` are unaffected.
|
|
194
188
|
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
189
|
+
* It also stops the native fingerprint signals reporter
|
|
190
|
+
* (`POST /omni/add/device-fingerprint-signals`: PID/DEVICE at session start,
|
|
191
|
+
* BEHAVIOUR after each capture attempt) and switches native behaviour-signals
|
|
192
|
+
* collection off (`sbc(false)`) once WASM is ready.
|
|
193
|
+
*
|
|
194
|
+
* It does **not** suppress the rest of native fingerprint collection:
|
|
197
195
|
* against the pinned `v2.14.50-post1` runtime, WASM starts collecting during
|
|
198
196
|
* initialization regardless of this flag, and the full fingerprint bucket is
|
|
199
197
|
* serialized into the metadata bundle.
|
|
@@ -229,6 +227,17 @@ type SetupOptions = {
|
|
|
229
227
|
* (off by default).
|
|
230
228
|
*/
|
|
231
229
|
devMode?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Device wallet (mDL) options.
|
|
232
|
+
*
|
|
233
|
+
* `googleSignedRequests` (default `true`): Google Wallet requests are fetched
|
|
234
|
+
* as signed-capable, and the backend picks signed (`openid4vp-v1-signed`) or
|
|
235
|
+
* unsigned. Pass `false` to always get unsigned (`openid4vp-v1-unsigned`)
|
|
236
|
+
* requests, e.g. for testing. Temporary — this choice moves to the backend.
|
|
237
|
+
*/
|
|
238
|
+
deviceWallet?: {
|
|
239
|
+
googleSignedRequests?: boolean;
|
|
240
|
+
};
|
|
232
241
|
/**
|
|
233
242
|
* Transactional Risk Intelligence (TRI) telemetry configuration.
|
|
234
243
|
*
|
|
@@ -435,12 +444,12 @@ type FeatureManagementSetupOptions = {
|
|
|
435
444
|
* });
|
|
436
445
|
* ```
|
|
437
446
|
*
|
|
438
|
-
* @example Self-hosted WASM (
|
|
447
|
+
* @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
|
|
439
448
|
* ```ts
|
|
440
449
|
* await setup({
|
|
441
450
|
* apiURL: 'https://api.incode.com',
|
|
442
451
|
* wasm: {
|
|
443
|
-
* basePath: 'https://my-cdn.example.com/
|
|
452
|
+
* basePath: 'https://my-cdn.example.com/incode-wasm',
|
|
444
453
|
* },
|
|
445
454
|
* });
|
|
446
455
|
* ```
|
package/dist/signature.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createSignatureManagerFromActor, c as SignatureConfig, i as createSignatureManager, n as SignatureManager, o as SignatureActor, r as SignatureState, s as signatureMachine, t as SignatureCaptureState } from "./signatureManager-
|
|
1
|
+
import { a as createSignatureManagerFromActor, c as SignatureConfig, i as createSignatureManager, n as SignatureManager, o as SignatureActor, r as SignatureState, s as signatureMachine, t as SignatureCaptureState } from "./signatureManager-BpVt_Jv7.js";
|
|
2
2
|
export { type SignatureActor, type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
package/dist/signature.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
2
|
-
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-
|
|
1
|
+
import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
|
|
2
|
+
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-qqXyH93e.esm.js";
|
|
3
3
|
export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
//#region src/modules/signature/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for Signature.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
|
|
5
5
|
//#region src/modules/signature/signatureActor.ts
|
|
6
6
|
function createSignatureActor(options) {
|
|
7
7
|
return createActor(signatureMachine, { input: { config: options.config } }).start();
|
|
@@ -24,12 +24,8 @@ function createSignatureActor(options) {
|
|
|
24
24
|
*
|
|
25
25
|
* State → screen mapping rationale:
|
|
26
26
|
*
|
|
27
|
-
* -
|
|
28
|
-
* the
|
|
29
|
-
* validity changes via `SIGNATURE_CHANGED` are context-only and don't fire
|
|
30
|
-
* a new `screenOpened`). The `eSign.writeSignature.completed` Figma surface
|
|
31
|
-
* is therefore the post-submit "signed canvas while we wait for the API"
|
|
32
|
-
* surface, mapped to `submittingSignature`.
|
|
27
|
+
* - Drawing validity selects `default` or `completed` before submission.
|
|
28
|
+
* Clearing the canvas returns to `default`; submission stays on `completed`.
|
|
33
29
|
* - `success`/`finished` both map to `eSign.writeYourSignature.success` so
|
|
34
30
|
* the terminal `finished` state stays on the visible success canvas rather
|
|
35
31
|
* than falling back to the generic `<module>.finished` default.
|
|
@@ -42,8 +38,8 @@ function getSignatureScreenName(snapshot) {
|
|
|
42
38
|
const stateName = topLevelStateName(snapshot.value);
|
|
43
39
|
if (stateName === void 0) return void 0;
|
|
44
40
|
switch (stateName) {
|
|
45
|
-
case "idle":
|
|
46
|
-
case "captureSignature": return "eSign.writeSignature.default";
|
|
41
|
+
case "idle": return "eSign.writeSignature.default";
|
|
42
|
+
case "captureSignature": return snapshot.context.isValid ? "eSign.writeSignature.completed" : "eSign.writeSignature.default";
|
|
47
43
|
case "submittingSignature": return "eSign.writeSignature.completed";
|
|
48
44
|
case "success":
|
|
49
45
|
case "finished": return "eSign.writeYourSignature.success";
|
package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
//#region src/modules/signature/signatureServices.ts
|
|
6
6
|
/**
|
|
7
7
|
* Uploads a signature image to the Omni API.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/internal/events/splitTrackedName.ts
|
|
2
|
+
/** Splits a Figma section/state path, keeping the full state name verbatim. */
|
|
3
|
+
function splitTrackedName(fullName) {
|
|
4
|
+
if (fullName === void 0) return {
|
|
5
|
+
screen: void 0,
|
|
6
|
+
state: void 0
|
|
7
|
+
};
|
|
8
|
+
const lastDot = fullName.lastIndexOf(".");
|
|
9
|
+
if (fullName.indexOf(".") === lastDot) return {
|
|
10
|
+
screen: fullName,
|
|
11
|
+
state: void 0
|
|
12
|
+
};
|
|
13
|
+
return {
|
|
14
|
+
screen: fullName.slice(0, lastDot),
|
|
15
|
+
state: fullName
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { splitTrackedName as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "./rolldown-runtime-
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@statsig+client-core@3.33.3/node_modules/@statsig/client-core/src/Log.js
|
|
3
3
|
var require_Log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
//#region src/modules/stats/statsServices.ts
|
|
4
4
|
const deviceStatsQueue = [];
|
|
5
5
|
async function postDeviceStatsNow(stats) {
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
1
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
2
2
|
export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
|