@incodetech/core 2.4.1-agentic.9 → 2.5.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/dist/Actor-DqjOqDfU.d.ts +1 -0
- package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-n9u4dEn_.esm.js} +9 -9
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +42 -6
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
- package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-Rxm1K67A.esm.js} +5 -4
- package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
- 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-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudManager-CbIwM35x.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
- package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
- package/dist/{api-C_P9YXbL.esm.js → api-CZpuJuZl.esm.js} +2 -1
- package/dist/{apiError-BeWqIYu8.esm.js → apiError-CtArBUt-.esm.js} +1 -1
- package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-9N3eg3Uh.esm.js} +7 -6
- package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
- package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-DoK5RKIS.esm.js} +50 -18
- package/dist/avatar.d.ts +1 -1
- package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-DlFgHpoC-DnyrCR8r.esm.js} +150 -161
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +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-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
- package/dist/{certificateIssuanceManager-CrF3wjCH.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
- package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BD7wwgat.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-vI6QHkHU.d.ts} +5 -4
- package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.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-CUc1uACE.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
- package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
- package/dist/curp-DZGvefg3.esm.js +14 -0
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DBfZSQbu.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
- package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
- 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-BZhIPyaY.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
- package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-zG373VVx.esm.js} +10 -6
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
- package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +5 -5
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +4 -3
- package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +6 -6
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-BfQKWG7a.esm.js} +5 -3
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-CRq01QNK.esm.js} +4 -4
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-B489iXyO.esm.js} +5 -3
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-DZxg8T0H.esm.js} +18 -20
- package/dist/ekyc-prefill.d.ts +3 -3
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
- package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
- package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-BXWDF7vT.esm.js} +3 -2
- package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +6 -5
- package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-CuWTVze1.esm.js} +11 -10
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-DXP2hqVw.esm.js} +198 -38
- package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-nwJRel2s.esm.js} +349 -67
- package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-FcqA6oU4.esm.js} +45 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
- package/dist/{electronicSignatureManager-u3UBhWw_.esm.js → electronicSignatureManager-BcE0XMrN.esm.js} +8 -6
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
- package/dist/events-CP3yOzAl.esm.js +299 -0
- package/dist/events.d.ts +3 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +42 -56
- package/dist/extensibility.esm.js +38 -38
- package/dist/{externalFetch-cUjJYyXj.esm.js → externalFetch-CQY41QT1.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-BBQzNrku.esm.js} +17 -6
- package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
- package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-D8_ilXFc.esm.js} +46 -38
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
- package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
- package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-SIBmKJs8.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BLLj_Ey1.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
- package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
- package/dist/{fiscalQrManager-Bh3rxb7Y.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +51 -13
- package/dist/flow.esm.js +241 -62
- package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-BFCddN3G.esm.js} +24 -3
- package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-NX4ksmS5.esm.js} +374 -13
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
- package/dist/{geolocationManager-BA57nCxj.esm.js → geolocationManager-D1Ga7_lB.esm.js} +5 -3
- package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-oPgI5FIQ.esm.js} +5 -5
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
- package/dist/home.d.ts +4 -3
- package/dist/home.esm.js +4 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-selfie-flow.d.ts +6 -5
- package/dist/id-selfie-flow.esm.js +12 -11
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
- package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
- package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-DjZyIbxc.esm.js} +12 -10
- package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-DWs9Fb58.esm.js} +7 -7
- package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BGMkWF9t.esm.js} +22 -20
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-DflRx-_u.d.ts} +5 -4
- package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
- package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B832arAl.esm.js} +4 -4
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
- package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.d.ts +97 -0
- package/dist/identity-search.esm.js +97 -0
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-C40ngKeM.d.ts} +82 -15
- package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
- package/dist/{index-DlVDVTcf.d.ts → index-BKOWUhxG.d.ts} +22 -93
- package/dist/index-DHuAkTe0.d.ts +1 -0
- package/dist/{index-BGnYn_4J.d.ts → index-DxYNO94y.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
- package/dist/{kybChecksManager-x2nBdasv.esm.js → kybChecksManager-eRU3ht0m.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-CU0oIYDR.esm.js} +8 -7
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-C1B2ERZk.d.ts} +6 -5
- package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
- package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +3 -3
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
- package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DFJlH7K3.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneManager-BylOWecM.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
- package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
- package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
- package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +6 -4
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
- package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +4 -4
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-CJ_aQO92.esm.js} +8 -6
- package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-C9kbIDeX.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +13 -12
- package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DUokfsv4.esm.js} +1 -1
- package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
- package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-uJtbzEp9.esm.js} +7 -6
- package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-CKXAmNkA.esm.js} +5 -5
- package/dist/{session-CswNE2eZ.esm.js → session-Bk2K8TEv.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-CUCBGZ_s.esm.js} +120 -135
- package/dist/{setup-Bl3CRduw.esm.js → setup-B3a5KQeI.esm.js} +14 -16
- package/dist/{setup-prV5HQCQ.d.ts → setup-DpOr8H_l.d.ts} +2 -2
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
- package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
- package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-Bv5PiWvo.esm.js → stats-DoByUnTa.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/thumbmark.esm-CRc0cYvz.esm.js +1242 -0
- package/dist/{tri-BUFivnaE.esm.js → tri-xzRLIIMN.esm.js} +7 -133
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BnQDjqUu.esm.js} +7 -4
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +5 -3
- package/dist/{types-BD9sV5oG.d.ts → types-9wlf1-GE.d.ts} +3 -3
- package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/types-CE1jkHw3.d.ts +6 -0
- package/dist/{types-BpJ21a4T.d.ts → types-Cpdum4vi.d.ts} +5 -5
- package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
- package/dist/{types-0Rr7etmf.d.ts → types-DFP7eSle.d.ts} +1 -1
- package/dist/{types-LA74KylV.d.ts → types-DJPU3W2M.d.ts} +1 -1
- package/dist/{events-kU5WJU4B.esm.js → types-DYYMdAGv.esm.js} +3 -298
- package/dist/{types-CquDWYfv.d.ts → types-Ddc4Tr_f.d.ts} +33 -4
- package/dist/{urlUtils-B2wagB5v.esm.js → urlUtils-eYiyWjh0.esm.js} +1 -14
- package/dist/video-selfie.d.ts +7 -6
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js} +6 -6
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
- package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-BZOMg303.esm.js} +46 -4
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-CyLCM31e.esm.js} +22 -32
- 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-DOYmIiaj.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
- package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
- package/dist/workflow.d.ts +230 -44
- package/dist/workflow.esm.js +166 -68
- package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
- package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
- package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
- package/package.json +8 -8
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/index-DpTj5PFb.d.ts +0 -1
- package/dist/nationalIds-B91f_RuB.esm.js +0 -99
- package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
- package/dist/step-up.d.ts +0 -378
- package/dist/step-up.esm.js +0 -639
- package/dist/tri.esm-DgtAka_v.esm.js +0 -2145
- package/dist/types-B2M1IPZn.d.ts +0 -6
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
3
|
+
import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-DYYMdAGv.esm.js";
|
|
4
|
+
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
|
+
import "./events-CP3yOzAl.esm.js";
|
|
6
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-BnQDjqUu.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-C9kbIDeX.esm.js";
|
|
7
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
8
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
9
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-SIBmKJs8.esm.js";
|
|
10
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DoByUnTa.esm.js";
|
|
10
11
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
12
|
+
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
11
13
|
import { a as isIOS } from "./platform-aPh7gTWh.esm.js";
|
|
12
14
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
13
|
-
import {
|
|
15
|
+
import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-xzRLIIMN.esm.js";
|
|
14
16
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
15
17
|
//#region src/internal/version/sdkPlatform.ts
|
|
16
18
|
/**
|
|
@@ -97,7 +99,7 @@ const incodeDeviceHashWaiter = createIncodeDeviceHashWaiter(BrowserTimerProvider
|
|
|
97
99
|
const START_INTERVIEW_EVENT = "modelLoadEnd";
|
|
98
100
|
const CAPTURE_INTERVIEW_EVENT = "captureAttemptFinished";
|
|
99
101
|
const START_SIGNALS = ["device"];
|
|
100
|
-
const
|
|
102
|
+
const EMPTY_BEHAVIOUR_BASELINE_MESSAGE = "first read was empty, native collection is not running";
|
|
101
103
|
/**
|
|
102
104
|
* The native envelope reads the SDK platform and version, and the start batch
|
|
103
105
|
* goes out before any capture's Deepsight session has set them. A failure is
|
|
@@ -126,21 +128,7 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
126
128
|
let optInPending = false;
|
|
127
129
|
let queue = Promise.resolve();
|
|
128
130
|
let generation = 0;
|
|
129
|
-
let
|
|
130
|
-
let forward = null;
|
|
131
|
-
let forwardRefused = false;
|
|
132
|
-
function keepOrForward(metadata) {
|
|
133
|
-
if (forward) {
|
|
134
|
-
if (!forward(metadata)) {
|
|
135
|
-
forward = null;
|
|
136
|
-
forwardRefused = true;
|
|
137
|
-
}
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
if (forwardRefused) return;
|
|
141
|
-
keptSignals.push(metadata);
|
|
142
|
-
if (keptSignals.length > MAX_KEPT_SIGNALS) keptSignals.shift();
|
|
143
|
-
}
|
|
131
|
+
let behaviourBaselinePending = true;
|
|
144
132
|
function enqueue(work) {
|
|
145
133
|
const scheduledGeneration = generation;
|
|
146
134
|
queue = queue.then(async () => {
|
|
@@ -155,8 +143,15 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
155
143
|
const wasmUtil = await deps.getWasmUtil();
|
|
156
144
|
setSdkIdentity(wasmUtil);
|
|
157
145
|
const metadata = await wasmUtil.getFingerprintSignals(type);
|
|
146
|
+
if (type === "behaviour" && behaviourBaselinePending) {
|
|
147
|
+
behaviourBaselinePending = false;
|
|
148
|
+
if (!metadata) deps.reportFailure({
|
|
149
|
+
message: EMPTY_BEHAVIOUR_BASELINE_MESSAGE,
|
|
150
|
+
signalsType: type,
|
|
151
|
+
interviewEvent
|
|
152
|
+
});
|
|
153
|
+
}
|
|
158
154
|
if (!metadata || deps.getToken() !== token) return;
|
|
159
|
-
keepOrForward(metadata);
|
|
160
155
|
const response = await deps.post(endpoints.deviceFingerprintSignals, isPid ? {
|
|
161
156
|
interviewEvent,
|
|
162
157
|
metadata,
|
|
@@ -189,6 +184,7 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
189
184
|
}
|
|
190
185
|
/** Switches native behaviour collection (`sbc`); resolves to whether it worked. */
|
|
191
186
|
async function applyNativeCollection(on) {
|
|
187
|
+
if (!on) behaviourBaselinePending = false;
|
|
192
188
|
try {
|
|
193
189
|
(await deps.getWasmUtil()).setBehaviourSignalsCollection(on);
|
|
194
190
|
return true;
|
|
@@ -258,26 +254,6 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
258
254
|
if ((await sendAll(token, START_INTERVIEW_EVENT, ["pid"])).length > 0 && pidGeneration === generation) pidStarted = false;
|
|
259
255
|
});
|
|
260
256
|
}
|
|
261
|
-
/** Resolves the pid user-service returned for a host's PID, or `null`. */
|
|
262
|
-
async function postHostPid(token, readPid) {
|
|
263
|
-
try {
|
|
264
|
-
const metadata = await readPid();
|
|
265
|
-
if (!metadata || deps.getToken() !== token) return null;
|
|
266
|
-
const response = await deps.post(endpoints.deviceFingerprintSignals, {
|
|
267
|
-
interviewEvent: START_INTERVIEW_EVENT,
|
|
268
|
-
metadata,
|
|
269
|
-
deviceHashRequested: true
|
|
270
|
-
}, { "X-Incode-Hardware-Id": token });
|
|
271
|
-
return enabled ? readIncodeDeviceHash(response) : null;
|
|
272
|
-
} catch (error) {
|
|
273
|
-
deps.reportFailure({
|
|
274
|
-
message: error instanceof Error ? error.message : String(error),
|
|
275
|
-
signalsType: "pid",
|
|
276
|
-
interviewEvent: START_INTERVIEW_EVENT
|
|
277
|
-
});
|
|
278
|
-
return null;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
257
|
function onCaptureAttemptFinished() {
|
|
282
258
|
wasmReady = true;
|
|
283
259
|
tryStart();
|
|
@@ -335,32 +311,6 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
335
311
|
onCameraInfoUpdated() {
|
|
336
312
|
deviceDataUpdated = true;
|
|
337
313
|
},
|
|
338
|
-
sendHostPid(token, readPid) {
|
|
339
|
-
if (!enabled || pidStarted) return Promise.resolve(false);
|
|
340
|
-
pidStarted = true;
|
|
341
|
-
const pidGeneration = generation;
|
|
342
|
-
const sent = queue.then(async () => {
|
|
343
|
-
if (pidGeneration !== generation) return false;
|
|
344
|
-
const deviceHash = await postHostPid(token, readPid);
|
|
345
|
-
if (pidGeneration !== generation) return false;
|
|
346
|
-
if (deviceHash) {
|
|
347
|
-
deps.onDeviceHash(token, deviceHash);
|
|
348
|
-
return true;
|
|
349
|
-
}
|
|
350
|
-
pidStarted = false;
|
|
351
|
-
tryStart();
|
|
352
|
-
return false;
|
|
353
|
-
});
|
|
354
|
-
queue = sent.then(() => void 0);
|
|
355
|
-
return sent;
|
|
356
|
-
},
|
|
357
|
-
forwardTo(sink) {
|
|
358
|
-
forward = sink;
|
|
359
|
-
forwardRefused = false;
|
|
360
|
-
const kept = keptSignals;
|
|
361
|
-
keptSignals = [];
|
|
362
|
-
kept.forEach(keepOrForward);
|
|
363
|
-
},
|
|
364
314
|
resetSession,
|
|
365
315
|
reset() {
|
|
366
316
|
resetSession();
|
|
@@ -369,15 +319,12 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
369
319
|
prefetchStarted = false;
|
|
370
320
|
unsubscribe?.();
|
|
371
321
|
unsubscribe = null;
|
|
372
|
-
keptSignals = [];
|
|
373
|
-
forward = null;
|
|
374
|
-
forwardRefused = false;
|
|
375
322
|
}
|
|
376
323
|
};
|
|
377
324
|
}
|
|
378
325
|
const fingerprintSignalsReporter = createFingerprintSignalsReporter({
|
|
379
326
|
getWasmUtil: async () => {
|
|
380
|
-
return (await import("./WasmUtilProvider-
|
|
327
|
+
return (await import("./WasmUtilProvider-0xTxgP0R.esm.js").then((n) => n.n)).WasmUtilProvider.getInstance();
|
|
381
328
|
},
|
|
382
329
|
getToken: () => getToken(),
|
|
383
330
|
post: async (url, body, headers) => (await api.post(url, body, { headers })).data,
|
|
@@ -665,59 +612,116 @@ async function getDeviceFingerprintInfo() {
|
|
|
665
612
|
}
|
|
666
613
|
}
|
|
667
614
|
//#endregion
|
|
615
|
+
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
616
|
+
/**
|
|
617
|
+
* Resolves after the browser has had a chance to commit and paint a queued
|
|
618
|
+
* render.
|
|
619
|
+
*
|
|
620
|
+
* Strategy:
|
|
621
|
+
* - `requestAnimationFrame` callbacks fire BEFORE the paint of the frame
|
|
622
|
+
* they belong to (per the HTML5 "update the rendering" step). If we
|
|
623
|
+
* resolve the promise inside a rAF callback, the await-continuation
|
|
624
|
+
* runs as a microtask immediately after the callback returns — still
|
|
625
|
+
* before the paint phase of that frame. A caller that then blocks the
|
|
626
|
+
* main thread (e.g. synchronous WASM `processPhoto`) starves the paint.
|
|
627
|
+
* - We therefore chain rAF → setTimeout: the rAF fires before frame N's
|
|
628
|
+
* paint, the setTimeout runs as a macrotask scheduled after frame N's
|
|
629
|
+
* "update the rendering" step, which the browser will only get to once
|
|
630
|
+
* the paint actually lands. By the time setTimeout fires, the paint
|
|
631
|
+
* for the queued render is on screen.
|
|
632
|
+
* - In environments where rAF never ticks (jsdom, happy-dom, backgrounded
|
|
633
|
+
* tabs), a parallel `setTimeout` fallback at 100 ms resolves instead.
|
|
634
|
+
* 100 ms is comfortably longer than two real-browser frames so rAF +
|
|
635
|
+
* setTimeout wins reliably in any foregrounded browser. (An earlier
|
|
636
|
+
* implementation raced rAF against a `MessageChannel` macrotask, but
|
|
637
|
+
* MessageChannel drains immediately after the current task's
|
|
638
|
+
* microtasks — before the next paint — so it resolved the promise too
|
|
639
|
+
* early and defeated the whole point of the helper.)
|
|
640
|
+
*
|
|
641
|
+
* Lives in infra because it touches browser APIs (`requestAnimationFrame`,
|
|
642
|
+
* `setTimeout`) that the architecture rules forbid from core. Core modules
|
|
643
|
+
* that need to yield to the browser render loop should import this helper
|
|
644
|
+
* directly via its file path.
|
|
645
|
+
*/
|
|
646
|
+
function yieldUntilNextPaint() {
|
|
647
|
+
return new Promise((resolve) => {
|
|
648
|
+
let resolved = false;
|
|
649
|
+
const done = () => {
|
|
650
|
+
if (resolved) return;
|
|
651
|
+
resolved = true;
|
|
652
|
+
resolve();
|
|
653
|
+
};
|
|
654
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(() => {
|
|
655
|
+
requestAnimationFrame(() => {
|
|
656
|
+
setTimeout(done, 0);
|
|
657
|
+
});
|
|
658
|
+
});
|
|
659
|
+
setTimeout(done, 100);
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
//#endregion
|
|
663
|
+
//#region ../infra/src/providers/browser/thumbmarkAdapter.ts
|
|
664
|
+
/**
|
|
665
|
+
* Adapter for @thumbmarkjs/thumbmarkjs. Single point of dependency so bundlers
|
|
666
|
+
* resolve it from infra's node_modules when building apps that depend on core → infra.
|
|
667
|
+
*/
|
|
668
|
+
const THUMBMARK_ALGORITHM = {
|
|
669
|
+
algorithmName: "thumbmarkjs",
|
|
670
|
+
algorithmVersion: "1.6.4"
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* `logging` must stay disabled. With it on (the upstream default) `getThumbmark()`
|
|
674
|
+
* evaluates a bare, unguarded storage read:
|
|
675
|
+
*
|
|
676
|
+
* options.logging && !sessionStorage.getItem("_tmjs_l") && Math.random() < 1e-4
|
|
677
|
+
*
|
|
678
|
+
* Hosts that delete the bare global as a self-XSS mitigation (`delete
|
|
679
|
+
* window.sessionStorage`) make that a `ReferenceError`, which would cost us the
|
|
680
|
+
* device fingerprint. `logging: false` short-circuits the expression before the
|
|
681
|
+
* read. It also stops upstream's 1-in-10 000 telemetry POST to
|
|
682
|
+
* api.thumbmarkjs.com. Re-check this when bumping the dependency.
|
|
683
|
+
*/
|
|
684
|
+
const THUMBMARK_OPTIONS = {
|
|
685
|
+
logging: false,
|
|
686
|
+
yield: yieldUntilNextPaint
|
|
687
|
+
};
|
|
688
|
+
const lazyThumbmark = BrowserLazyImportProvider.getInstance().create(() => import("./thumbmark.esm-CRc0cYvz.esm.js"), {
|
|
689
|
+
label: "Fingerprint",
|
|
690
|
+
moduleName: "@thumbmarkjs/thumbmarkjs",
|
|
691
|
+
timeoutMs: 1e4,
|
|
692
|
+
disabledMessage: "the device fingerprint is unavailable for this attempt."
|
|
693
|
+
});
|
|
694
|
+
async function getThumbmarkId() {
|
|
695
|
+
const module = await lazyThumbmark.load();
|
|
696
|
+
if (!module) throw new Error("@thumbmarkjs/thumbmarkjs failed to load");
|
|
697
|
+
return (await new module.Thumbmark(THUMBMARK_OPTIONS).get()).thumbmark;
|
|
698
|
+
}
|
|
699
|
+
//#endregion
|
|
668
700
|
//#region ../infra/src/providers/browser/FingerprintProvider.ts
|
|
669
701
|
var FingerprintProvider = class {
|
|
670
|
-
|
|
671
|
-
* @param readVisitorId - The device id to report, or `null` without one;
|
|
672
|
-
* the result then has an empty `visitorId` and no algorithm fields.
|
|
673
|
-
*/
|
|
674
|
-
constructor(ipLookup, readVisitorId) {
|
|
702
|
+
constructor(ipLookup) {
|
|
675
703
|
this.ipLookup = ipLookup;
|
|
676
|
-
this.readVisitorId = readVisitorId;
|
|
677
704
|
}
|
|
678
705
|
async getFingerprint(disableIpify = false) {
|
|
679
|
-
|
|
680
|
-
|
|
706
|
+
this.visitorIdPromise ??= getThumbmarkId();
|
|
707
|
+
const [visitorId, deviceInfo, ip] = await Promise.all([
|
|
708
|
+
this.visitorIdPromise,
|
|
681
709
|
getDeviceFingerprintInfo(),
|
|
682
710
|
disableIpify ? Promise.resolve("") : this.ipLookup.getIp()
|
|
683
711
|
]);
|
|
684
712
|
return {
|
|
685
|
-
|
|
713
|
+
visitorId,
|
|
686
714
|
ip,
|
|
687
|
-
deviceInfo
|
|
715
|
+
deviceInfo,
|
|
716
|
+
...THUMBMARK_ALGORITHM
|
|
688
717
|
};
|
|
689
718
|
}
|
|
690
719
|
};
|
|
691
720
|
//#endregion
|
|
692
721
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
693
|
-
const PID_WAIT_MS = 3e3;
|
|
694
|
-
/**
|
|
695
|
-
* Collects the device fingerprint: device info, the IP, and the Incode pid.
|
|
696
|
-
*
|
|
697
|
-
* `visitorId` is the current session's Incode pid, the device hash
|
|
698
|
-
* user-service returned for the session's PID signal, with the
|
|
699
|
-
* `algorithmName` and `algorithmVersion` it named. While that signal is in
|
|
700
|
-
* flight, this waits up to 3 s for it.
|
|
701
|
-
*
|
|
702
|
-
* Without a session (no token), with `setup({ fingerprint: false })`, or when
|
|
703
|
-
* no pid arrives within 3 s (WASM not loaded, or an older server), `visitorId`
|
|
704
|
-
* is `''` and `algorithmName` and `algorithmVersion` are absent.
|
|
705
|
-
*
|
|
706
|
-
* @param disableIpify - Skip the IP lookup. Defaults to the session's setting.
|
|
707
|
-
*/
|
|
708
722
|
async function getFingerprint(disableIpify) {
|
|
709
723
|
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
|
710
|
-
return new FingerprintProvider(new IpifyProvider()
|
|
711
|
-
}
|
|
712
|
-
async function readSessionPid() {
|
|
713
|
-
const token = getToken();
|
|
714
|
-
if (!token || !getFingerprintEnabled()) return null;
|
|
715
|
-
const pid = await incodeDeviceHashWaiter.waitFor(token, PID_WAIT_MS);
|
|
716
|
-
return pid ? {
|
|
717
|
-
visitorId: pid.hash,
|
|
718
|
-
algorithmName: pid.algorithmName,
|
|
719
|
-
algorithmVersion: pid.algorithmVersion
|
|
720
|
-
} : null;
|
|
724
|
+
return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
|
|
721
725
|
}
|
|
722
726
|
//#endregion
|
|
723
727
|
//#region src/internal/device/hasLiedBrowser.ts
|
|
@@ -788,7 +792,8 @@ function formatBrowser(browser) {
|
|
|
788
792
|
/**
|
|
789
793
|
* The session's activation post: device data (IP, browser, OS) and, when it
|
|
790
794
|
* arrives in time, the pid as the device hash. Mandatory consent rides on its
|
|
791
|
-
* response.
|
|
795
|
+
* response. ThumbmarkJS is not sent: its hash collides too often to identify a
|
|
796
|
+
* device.
|
|
792
797
|
*/
|
|
793
798
|
async function submitDeviceFingerprint(options = {}, dependencies) {
|
|
794
799
|
const { disableIpify = false, hostingApp, signal } = options;
|
|
@@ -906,30 +911,10 @@ function isSlowNetwork() {
|
|
|
906
911
|
/** Why this activation's post won't wait for a pid, if it won't. */
|
|
907
912
|
function deviceHashSkipReason(activationOptedOut) {
|
|
908
913
|
if (activationOptedOut || clientWasmDisabled) return "wasmDisabled";
|
|
909
|
-
if (!clientWasmConfig
|
|
914
|
+
if (!clientWasmConfig) return "noWasmConfig";
|
|
910
915
|
return isSlowNetwork() ? "slowNetwork" : void 0;
|
|
911
916
|
}
|
|
912
917
|
/**
|
|
913
|
-
* TRI first: TRI's fpSignals PID is signed with the same key as the runtime's
|
|
914
|
-
* (old signing format, so one string serves every session), so it goes to
|
|
915
|
-
* user-service unchanged as this session's PID and no runtime starts for it.
|
|
916
|
-
* Without a pid back (fpSignals off, blocked or timed out, or a step-up after
|
|
917
|
-
* the tenant's replay window, 11,100 s by default) the runtime starts for the
|
|
918
|
-
* pid as before. Needs TRI's signed `getFpSignals()`: an older TRI's string is
|
|
919
|
-
* unsigned, so user-service returns no pid and the runtime is used.
|
|
920
|
-
*/
|
|
921
|
-
function startSessionPid(token, config) {
|
|
922
|
-
if (!isTRIStarted()) {
|
|
923
|
-
if (config) startSessionWasm(token, config);
|
|
924
|
-
return;
|
|
925
|
-
}
|
|
926
|
-
fingerprintSignalsReporter.sendHostPid(token, async () => (await readTRIFpSignals())?.pid ?? null).then((sent) => {
|
|
927
|
-
if (sent || getToken() !== token) return;
|
|
928
|
-
if (config) startSessionWasm(token, config);
|
|
929
|
-
else incodeDeviceHashWaiter.settle(token, null);
|
|
930
|
-
});
|
|
931
|
-
}
|
|
932
|
-
/**
|
|
933
918
|
* Starts the WASM runtime, without models, so the PID signal can return the
|
|
934
919
|
* pid while activation runs: it is the device hash of the activation post.
|
|
935
920
|
* Capture modules add their pipelines later. A runtime that fails to start
|
|
@@ -938,7 +923,7 @@ function startSessionPid(token, config) {
|
|
|
938
923
|
function startSessionWasm(token, config) {
|
|
939
924
|
(async () => {
|
|
940
925
|
try {
|
|
941
|
-
const warmupModule = await import("./warmup-
|
|
926
|
+
const warmupModule = await import("./warmup-BZOMg303.esm.js").then((n) => n.c);
|
|
942
927
|
const warmup = warmupModule.warmupWasm({
|
|
943
928
|
...config,
|
|
944
929
|
pipelines: []
|
|
@@ -1072,7 +1057,7 @@ async function initializeSession(options = {}) {
|
|
|
1072
1057
|
const fingerprintEnabled = clientFingerprintEnabled;
|
|
1073
1058
|
const activeToken = getToken();
|
|
1074
1059
|
const skipReason = deviceHashSkipReason(wasm === false);
|
|
1075
|
-
if (activeToken && fingerprintEnabled && !skipReason)
|
|
1060
|
+
if (activeToken && fingerprintEnabled && clientWasmConfig && !skipReason) startSessionWasm(activeToken, clientWasmConfig);
|
|
1076
1061
|
let fingerprintPromise;
|
|
1077
1062
|
sessionInitPromise = (async () => {
|
|
1078
1063
|
let features;
|
|
@@ -1229,4 +1214,4 @@ function resetSessionInit() {
|
|
|
1229
1214
|
resetDeviceStatsQueue();
|
|
1230
1215
|
}
|
|
1231
1216
|
//#endregion
|
|
1232
|
-
export {
|
|
1217
|
+
export { BrowserEnvironmentProvider as C, IpifyProvider as S, SDK_PLATFORM as T, setStandaloneFlowPolicy as _, initializeSession as a, getThumbmarkId as b, setClientHostingApp as c, setClientWasmDisabled as d, whenSessionFingerprintSettled as f, resolveStandaloneFlowPolicy as g, resetStandaloneFlowPolicy as h, getSessionFingerprintResult as i, setClientIpLookupEnabled as l, registerFlowPreloader as m, getDisableIpify as n, resetSessionInit as o, getStandaloneFlowPolicy as p, getFingerprintEnabled as r, setClientFingerprintEnabled as s, endDeviceHashWait as t, setClientWasmConfig as u, isBrowserSimulation as v, fingerprintSignalsReporter as w, getDeviceFingerprintInfo as x, getFingerprint as y };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION,
|
|
2
|
-
import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, s as warmupWasm } from "./warmup-
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
4
|
-
import {
|
|
5
|
-
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, v as setWasmDiagnosticsHandler } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
2
|
+
import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, s as warmupWasm } from "./warmup-BZOMg303.esm.js";
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
|
|
4
|
+
import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-DYYMdAGv.esm.js";
|
|
5
|
+
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
6
|
+
import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-CP3yOzAl.esm.js";
|
|
7
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-BnQDjqUu.esm.js";
|
|
8
|
+
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-CUCBGZ_s.esm.js";
|
|
8
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
10
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
10
|
-
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-
|
|
11
|
-
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
12
|
-
import { a as
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
11
|
+
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-SIBmKJs8.esm.js";
|
|
12
|
+
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
13
|
+
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-NX4ksmS5.esm.js";
|
|
14
15
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
16
|
/**
|
|
16
17
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -496,9 +497,6 @@ async function setup(options) {
|
|
|
496
497
|
const shouldPreloadFlow = options.flow !== false && flowOptions.preload === true;
|
|
497
498
|
setStandaloneFlowPolicy(standaloneFlowPolicy);
|
|
498
499
|
registerFlowPreloader(preloadDashboardFlow);
|
|
499
|
-
setWasmStartGate(async () => {
|
|
500
|
-
await readTRIFpSignals();
|
|
501
|
-
});
|
|
502
500
|
if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
|
|
503
501
|
if (options.deviceWallet?.googleSignedRequests !== void 0) setGoogleWalletSignedRequests(options.deviceWallet.googleSignedRequests);
|
|
504
502
|
if (options.hostingApp !== void 0) setClientHostingApp(options.hostingApp);
|
|
@@ -593,7 +591,6 @@ async function setup(options) {
|
|
|
593
591
|
}
|
|
594
592
|
await featureManagementReady;
|
|
595
593
|
await triReady;
|
|
596
|
-
if (options.tri && isTRIStarted()) fingerprintSignalsReporter.forwardTo(addTRIFpSignals);
|
|
597
594
|
}
|
|
598
595
|
/**
|
|
599
596
|
* Sets the WASM configuration without performing warmup.
|
|
@@ -700,12 +697,13 @@ function reset() {
|
|
|
700
697
|
resetHttpClientState();
|
|
701
698
|
setWasmIntegrityObserver(null);
|
|
702
699
|
setWasmDiagnosticsHandler(null);
|
|
703
|
-
|
|
700
|
+
resetTRI();
|
|
704
701
|
configured = false;
|
|
705
702
|
wasmConfig = void 0;
|
|
706
703
|
setClientWasmConfig(void 0);
|
|
707
704
|
setClientWasmDisabled(false);
|
|
708
705
|
WasmUtilProvider.resetInstance();
|
|
706
|
+
resetTRIProviderInstance();
|
|
709
707
|
resetFeatureManagement();
|
|
710
708
|
resetFeatureManagementProviderInstance();
|
|
711
709
|
resetEnvironment();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-
|
|
2
|
-
import {
|
|
1
|
+
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BNhIuURi.js";
|
|
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
|
|
5
5
|
/**
|
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-daT_8fj_.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-CVPmvU2p.esm.js";
|
|
2
|
+
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-BgAja97K.esm.js";
|
|
3
3
|
export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as signatureMachine } from "./signatureStateMachine-CVPmvU2p.esm.js";
|
|
5
7
|
//#region src/modules/signature/signatureActor.ts
|
|
6
8
|
function createSignatureActor(options) {
|
|
7
9
|
return createActor(signatureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
//#region src/modules/signature/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for Signature.
|
package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-CVPmvU2p.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/signature/signatureServices.ts
|
|
5
5
|
/**
|
|
6
6
|
* Uploads a signature image to the Omni API.
|
|
@@ -1438,4 +1438,4 @@ type Spawner<TActor extends ProvidedActor> = IsLiteralString<TActor['src']> exte
|
|
|
1438
1438
|
syncSnapshot?: boolean;
|
|
1439
1439
|
} & (TLogic extends AnyActorLogic ? { [K in RequiredLogicInput<TLogic>]: unknown; } : {})], IsNotNever<TLogic extends AnyActorLogic ? RequiredLogicInput<TLogic> : never>>) => TLogic extends AnyActorLogic ? ActorRefFromLogic<TLogic> : AnyActorRef;
|
|
1440
1440
|
//#endregion
|
|
1441
|
-
export {
|
|
1441
|
+
export { MachineSnapshot as A, Snapshot as C, createActor as D, Actor as E, AnyActorSystem as M, PromiseActorLogic as O, RequiredLogicInput as S, Values as T, IsNotNever as _, ActorRefFromLogic as a, NonReducibleUnknown as b, AnyEventObject as c, DoneActorEvent as d, DoneStateEvent as f, InputFrom as g, GetConcreteByKey as h, ActorRefFrom as i, StateMachine as j, fromPromise as k, AnyStateMachine as l, EventObject as m, ActorLogic as n, AnyActorLogic as o, ErrorActorEvent as p, ActorRef as r, AnyActorRef as s, ActionFunction as t, ConditionalRequired as u, MachineContext as v, StateValue as w, RequiredActorOptions as x, MetaObject as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
1
|
+
import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
//#region src/modules/stats/statsServices.ts
|
|
3
3
|
const deviceStatsQueue = [];
|
|
4
4
|
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-DoByUnTa.esm.js";
|
|
2
2
|
export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
|