@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.10
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/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
- package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
- package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-BSLpXAGx.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/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
- package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
- package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
- package/dist/{api-CpP4PS4S.esm.js → api-BSnbg4HO.esm.js} +2 -0
- package/dist/{apiError-DH-CH4Nz.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
- package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-zQH85Elh.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
- package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-7aHaehwF.d.ts} +6 -6
- package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
- package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
- package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
- package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
- package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
- package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +5 -5
- package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-BHNxbuiv.esm.js} +2 -72
- package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +2 -2
- package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
- package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +6 -4
- package/dist/ekyc-prefill.d.ts +17 -0
- package/dist/ekyc-prefill.esm.js +3 -0
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
- package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-q1fos6IY.d.ts} +1 -1
- package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
- package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
- package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
- package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
- package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-DBTczgGE.esm.js} +584 -534
- package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-Dcff8BOD.esm.js} +24 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
- package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
- package/dist/{events-ggpBBaZ8.esm.js → events-C7h7oaTE.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +18 -17
- package/dist/extensibility.esm.js +37 -36
- package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
- package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +11 -11
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
- package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
- package/dist/{feature-management-BbCIA4og.esm.js → feature-management-CmKTG_T5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +31 -16
- package/dist/flow.esm.js +76 -15
- package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
- package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-Ca2vKNt2.esm.js} +29 -10
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id-ocr.esm.js +3 -19
- package/dist/id-selfie-flow.d.ts +3 -3
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
- package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-B5xqok0L.esm.js} +8 -8
- package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-CG8zbAp0.d.ts} +7 -7
- package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-BIF_7rub.esm.js} +6 -6
- package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +47 -19
- package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
- package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-B5xeI2lg.d.ts} +2 -2
- package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
- package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
- package/dist/{index-DC0P2Vzw.d.ts → index-CSPOoqah.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CnqwgKoV.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Be41K_NS.esm.js} +5 -4
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +22 -13
- package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
- package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-CCiRpByl.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-CZpORUWY.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneFormat-JJNaWthV.esm.js → phoneFormat-DEpESpz2.esm.js} +13 -1
- package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-C-qD3p3N.esm.js} +2 -2
- package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-BdR1nmSO.esm.js} +1 -1
- package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +2 -2
- package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-BVSCo0ac.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +2 -2
- package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-f9PhUo9j.esm.js} +1 -209
- package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
- package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
- package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
- package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
- package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
- package/dist/{session-CdSX4wsZ.esm.js → session-D0DWDKp9.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-I92b2dmL.esm.js} +20 -9
- package/dist/{setup-DDahygZs.esm.js → setup-BpjzWqR1.esm.js} +12 -15
- package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
- package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
- package/dist/{stats-CatA2dea.esm.js → stats-C2sigf9p.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +378 -0
- package/dist/step-up.esm.js +639 -0
- package/dist/{tri-DG6priFa.esm.js → tri-DaUNvo-o.esm.js} +29 -34
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/types-B-PIc0en.d.ts +115 -0
- package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
- package/dist/{types-BPm1JSu7.d.ts → types-BqlZSoZ-.d.ts} +5 -5
- package/dist/{types-Csh8vzPo.d.ts → types-Cbm9J2yF.d.ts} +1 -1
- package/dist/{types-BEVHQbbC.d.ts → types-CgihAhT_.d.ts} +3 -3
- package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
- package/dist/{types-Cd0J0F9D.d.ts → types-P9LzsfRo.d.ts} +3 -2
- package/dist/{types-CRaFu6wS.d.ts → types-TisHEbBg.d.ts} +9 -3
- package/dist/types-kLsU6Jkt.d.ts +6 -0
- package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
- package/dist/usStates-CwOQ2kAx.esm.js +209 -0
- package/dist/video-selfie.d.ts +5 -4
- package/dist/video-selfie.esm.js +8 -8
- package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +14 -12
- package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
- package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
- package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
- package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
- package/dist/workflow.d.ts +226 -41
- package/dist/workflow.esm.js +157 -61
- package/package.json +11 -1
- package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
- package/dist/types-J6g6iKe_.d.ts +0 -6
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
3
|
-
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-
|
|
3
|
+
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CG8zbAp0.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
|
-
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
6
|
-
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
5
|
+
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
|
+
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
|
|
7
7
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B5xqok0L.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { D as WASM_MODEL_FILES, P as resolveWasmSource, w as getBarcodeEnhanceModelUrl } from "./wasmWebClient-C3v3s_4H.esm.js";
|
|
2
|
+
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-9iKKNNuW.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
|
|
4
4
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
6
6
|
var IdCaptureWasmApi = class {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
8
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
8
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-lRIgn5Ic.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
10
|
+
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CZpORUWY.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
13
|
-
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
14
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
12
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
|
|
13
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
14
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-C1-j4fsq.esm.js";
|
|
15
15
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
16
16
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
17
17
|
function isHoldingState(value) {
|
|
@@ -3,15 +3,15 @@ import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
5
|
import "./index-DpTj5PFb.js";
|
|
6
|
-
import "./createFaceAvatar-
|
|
7
|
-
import { a as RegulationTypes } from "./types-
|
|
8
|
-
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-
|
|
6
|
+
import "./createFaceAvatar-BimBTONm.js";
|
|
7
|
+
import { a as RegulationTypes } from "./types-TisHEbBg.js";
|
|
8
|
+
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-BRn0wz8v.js";
|
|
9
9
|
import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
|
|
10
|
-
import { t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
11
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-
|
|
10
|
+
import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
|
|
11
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-ixfy84ys.js";
|
|
12
12
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
13
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
14
|
-
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
13
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
14
|
+
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
|
|
15
15
|
//#region src/internal/http/endpoints.d.ts
|
|
16
16
|
/**
|
|
17
17
|
* Backend `CaptureType` for the `captureType` query param on `add/front-id`,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CmKTG_T5.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
7
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
7
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DBnOC28H.esm.js";
|
|
8
8
|
//#region src/modules/id/idCameraStream.ts
|
|
9
9
|
async function getIdCameraStream(deviceId) {
|
|
10
10
|
return (await import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
|
|
@@ -435,8 +435,8 @@ async function startRecordingSession(params) {
|
|
|
435
435
|
}
|
|
436
436
|
const [compositorModule, recorderModule, serviceModule] = await Promise.all([
|
|
437
437
|
import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
|
|
438
|
-
import("./WorkerEncoderRecordingProvider-
|
|
439
|
-
import("./multipartRecordingService-
|
|
438
|
+
import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
|
|
439
|
+
import("./multipartRecordingService-CCiRpByl.esm.js").then((n) => n.n)
|
|
440
440
|
]);
|
|
441
441
|
const recordingSource = params.stream.clone();
|
|
442
442
|
const compositor = compositorModule.createRecordingCompositor();
|
package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
4
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-
|
|
5
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import { n as getDisableIpify } from "./sessionInitializer-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
|
|
4
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-C7h7oaTE.esm.js";
|
|
5
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DHYTBCIn.esm.js";
|
|
7
|
+
import { n as getDisableIpify } from "./sessionInitializer-I92b2dmL.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
10
|
-
import { t as addDeviceStats } from "./stats-
|
|
9
|
+
import { s as exposeExperimentOnce } from "./feature-management-CmKTG_T5.esm.js";
|
|
10
|
+
import { t as addDeviceStats } from "./stats-C2sigf9p.esm.js";
|
|
11
11
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-D0DWDKp9.esm.js";
|
|
13
13
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
15
|
-
import {
|
|
15
|
+
import { r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
|
|
16
16
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
17
|
-
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-
|
|
18
|
-
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
17
|
+
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-CZpORUWY.esm.js";
|
|
18
|
+
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-Dvvw7PRY.esm.js";
|
|
19
19
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
20
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
21
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
20
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DjQUR1du.esm.js";
|
|
21
|
+
import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
|
|
22
22
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
23
23
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
28
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
29
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
28
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DBnOC28H.esm.js";
|
|
29
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
30
30
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
31
31
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -1382,7 +1382,20 @@ function getPermissionOutput(event) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
const hasShowTutorialGuard = ({ context }) => context.config.showTutorial;
|
|
1384
1384
|
const hasAgeAssuranceGuard = ({ context }) => context.config.ageAssurance === true;
|
|
1385
|
-
|
|
1385
|
+
/** Camera capture has something to capture: an ID or a passport is accepted. */
|
|
1386
|
+
const hasPhysicalDocumentType = (context) => context.availableDocumentTypes.some((type) => type === "id" || type === "passport");
|
|
1387
|
+
/**
|
|
1388
|
+
* The chooser shows when configured, and also when only digital-ID options
|
|
1389
|
+
* are available: hiding it would otherwise fall through to camera capture of
|
|
1390
|
+
* a document the module does not accept (PRI-6436).
|
|
1391
|
+
*/
|
|
1392
|
+
const hasShowDocumentChooserGuard = ({ context }) => context.availableDocumentTypes.length > 0 && !hasPhysicalDocumentType(context) || !context.config.onlyBack && (context.config.showDocumentChooserScreen ?? false);
|
|
1393
|
+
/**
|
|
1394
|
+
* Chooser hidden and a single web-redirect provider (e.g. FTN) is the only
|
|
1395
|
+
* option: enter it directly. Unlike the device wallet, the redirect needs no
|
|
1396
|
+
* user activation, so no chooser click is required (PRI-6436).
|
|
1397
|
+
*/
|
|
1398
|
+
const isSoleDigitalIdRedirectWithoutChooserGuard = ({ context }) => !(context.config.showDocumentChooserScreen ?? false) && context.availableDocumentTypes.length === 1 && context.availableDocumentTypes[0] === "digitalIdRedirect" && context.digitalIdRedirectOptions.length === 1;
|
|
1386
1399
|
const isPermissionGrantedGuard = ({ event }) => {
|
|
1387
1400
|
return getPermissionOutput(event) === "granted";
|
|
1388
1401
|
};
|
|
@@ -2031,7 +2044,7 @@ fromPromise(async ({ input }) => {
|
|
|
2031
2044
|
});
|
|
2032
2045
|
fromPromise(async ({ input }) => {
|
|
2033
2046
|
if (!input.dependencies) return;
|
|
2034
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2047
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BKCT8UT1.esm.js");
|
|
2035
2048
|
return loadDeepsightSession({
|
|
2036
2049
|
ds: input.ds,
|
|
2037
2050
|
storage: input.dependencies.storage,
|
|
@@ -2474,7 +2487,7 @@ function cleanup(service) {
|
|
|
2474
2487
|
service.cleanup();
|
|
2475
2488
|
} catch {}
|
|
2476
2489
|
}
|
|
2477
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2490
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-BKCT8UT1.esm.js")).loadDeepsightSession(input)) {
|
|
2478
2491
|
let disposed = false;
|
|
2479
2492
|
let preparation;
|
|
2480
2493
|
let service;
|
|
@@ -4380,6 +4393,10 @@ const idCaptureMachine = setup({
|
|
|
4380
4393
|
performStopMediaRecording(context);
|
|
4381
4394
|
},
|
|
4382
4395
|
clearRecordingSession: assign({ recordingSession: () => void 0 }),
|
|
4396
|
+
selectSoleDigitalIdRedirect: assign({
|
|
4397
|
+
selectedDocumentType: () => "digitalIdRedirect",
|
|
4398
|
+
selectedDigitalIdProviderId: ({ context }) => context.digitalIdRedirectOptions[0]?.providerId
|
|
4399
|
+
}),
|
|
4383
4400
|
setSelectedDocument: assign({
|
|
4384
4401
|
selectedDocumentType: ({ event }) => {
|
|
4385
4402
|
if ("documentType" in event) return event.documentType;
|
|
@@ -4624,6 +4641,7 @@ const idCaptureMachine = setup({
|
|
|
4624
4641
|
isDeepsightReady: isDeepsightReadyGuard,
|
|
4625
4642
|
needsDeepsightInit: needsDeepsightInitGuard,
|
|
4626
4643
|
hasNoDocumentTypesAvailable: hasNoDocumentTypesAvailableGuard,
|
|
4644
|
+
isSoleDigitalIdRedirectWithoutChooser: isSoleDigitalIdRedirectWithoutChooserGuard,
|
|
4627
4645
|
isDigitalIdUploadSelected: ({ event }) => isDigitalIdUploadSelectedGuard({ event: asPublicIdEvent(event) }),
|
|
4628
4646
|
isDigitalIdRedirectSelected: ({ event }) => isDigitalIdRedirectSelectedGuard({ event: asPublicIdEvent(event) }),
|
|
4629
4647
|
isDigitalIdSelected: ({ event }) => isDigitalIdSelectedGuard({ event: asPublicIdEvent(event) }),
|
|
@@ -4796,6 +4814,11 @@ const idCaptureMachine = setup({
|
|
|
4796
4814
|
guard: "hasNoDocumentTypesAvailable",
|
|
4797
4815
|
actions: [() => console.error(ID_CAPTURE_NO_DOCUMENT_TYPES_ERROR), assign({ error: () => ID_CAPTURE_NO_DOCUMENT_TYPES_ERROR })]
|
|
4798
4816
|
},
|
|
4817
|
+
{
|
|
4818
|
+
target: "digitalIdRedirect",
|
|
4819
|
+
guard: "isSoleDigitalIdRedirectWithoutChooser",
|
|
4820
|
+
actions: ["selectSoleDigitalIdRedirect"]
|
|
4821
|
+
},
|
|
4799
4822
|
{
|
|
4800
4823
|
target: "detectingCountry",
|
|
4801
4824
|
guard: and(["hasShowDocumentChooser", "needsCountryDetection"])
|
|
@@ -5896,6 +5919,11 @@ const idCaptureMachine = setup({
|
|
|
5896
5919
|
target: "#idCapture.finished",
|
|
5897
5920
|
actions: ["storeDigitalIdRedirectResult", "clearPendingDigitalIdRedirect"]
|
|
5898
5921
|
},
|
|
5922
|
+
{
|
|
5923
|
+
target: "closed",
|
|
5924
|
+
guard: "isSoleDigitalIdRedirectWithoutChooser",
|
|
5925
|
+
actions: ["clearPendingDigitalIdRedirect"]
|
|
5926
|
+
},
|
|
5899
5927
|
{
|
|
5900
5928
|
target: "detectingCountry",
|
|
5901
5929
|
guard: and(["hasShowDocumentChooser", "needsCountryDetection"]),
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
2
|
+
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
3
|
+
function formatCPF(value) {
|
|
4
|
+
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
5
|
+
const first = digits.slice(0, 3);
|
|
6
|
+
const second = digits.slice(3, 6);
|
|
7
|
+
const third = digits.slice(6, 9);
|
|
8
|
+
const verifier = digits.slice(9, 11);
|
|
9
|
+
if (digits.length > 9) return `${first}.${second}.${third}-${verifier}`;
|
|
10
|
+
if (digits.length > 6) return `${first}.${second}.${third}`;
|
|
11
|
+
if (digits.length > 3) return `${first}.${second}`;
|
|
12
|
+
return first;
|
|
13
|
+
}
|
|
14
|
+
function isValidCPF(value) {
|
|
15
|
+
return validateCPF(value);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { isValidCPF as n, formatCPF as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-
|
|
4
|
+
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
5
5
|
//#region src/modules/id-ocr/idOcrStateMachine.d.ts
|
|
6
6
|
type IdOcrOcrDocument = 'first' | 'second';
|
|
7
7
|
type IdOcrContext = {
|
|
@@ -210,7 +210,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
210
210
|
config: IdOcrConfig;
|
|
211
211
|
formData: UpdateOcrDataParams;
|
|
212
212
|
editedFields: {};
|
|
213
|
-
activeOcrDocument:
|
|
213
|
+
activeOcrDocument: "second" | "first";
|
|
214
214
|
};
|
|
215
215
|
readonly states: {
|
|
216
216
|
readonly idle: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-MAGnpWkb.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
5
5
|
function createIdOcrActor(options) {
|
|
6
6
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
|
|
6
|
+
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
6
7
|
//#region src/modules/id-ocr/idOcrUtils.ts
|
|
7
8
|
const dateFormattingInstance$1 = new DateFormattingProvider();
|
|
8
9
|
const resolveFullName = (data) => {
|
|
@@ -255,8 +256,8 @@ const idOcrStateMachine = setup({
|
|
|
255
256
|
editedFields: {},
|
|
256
257
|
validationErrors: void 0
|
|
257
258
|
})),
|
|
258
|
-
resetForRetry: assign(() => ({
|
|
259
|
-
activeOcrDocument: "first",
|
|
259
|
+
resetForRetry: assign(({ context }) => ({
|
|
260
|
+
activeOcrDocument: context.config.ocrDocument ?? "first",
|
|
260
261
|
formData: emptyOcrData(),
|
|
261
262
|
editedFields: {},
|
|
262
263
|
error: void 0,
|
|
@@ -266,10 +267,10 @@ const idOcrStateMachine = setup({
|
|
|
266
267
|
},
|
|
267
268
|
guards: {
|
|
268
269
|
isOcrEditable: ({ context }) => context.config.editableOcr === true,
|
|
269
|
-
shouldLoadSecondOcrAfterFirst: ({ context }) => context.config.secondId === true && context.activeOcrDocument === "first",
|
|
270
|
+
shouldLoadSecondOcrAfterFirst: ({ context }) => context.config.ocrDocument === void 0 && context.config.secondId === true && context.activeOcrDocument === "first",
|
|
270
271
|
isOcrFormValid: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0,
|
|
271
272
|
shouldSubmit: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0 && Object.keys(context.editedFields).length > 0,
|
|
272
|
-
shouldProceedWithoutSubmitToSecondId: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0 && Object.keys(context.editedFields).length === 0 && context.config.secondId === true && context.activeOcrDocument === "first"
|
|
273
|
+
shouldProceedWithoutSubmitToSecondId: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0 && Object.keys(context.editedFields).length === 0 && context.config.ocrDocument === void 0 && context.config.secondId === true && context.activeOcrDocument === "first"
|
|
273
274
|
}
|
|
274
275
|
}).createMachine({
|
|
275
276
|
id: "idOcr",
|
|
@@ -280,7 +281,7 @@ const idOcrStateMachine = setup({
|
|
|
280
281
|
config: input.config,
|
|
281
282
|
formData: data,
|
|
282
283
|
editedFields: {},
|
|
283
|
-
activeOcrDocument: "first"
|
|
284
|
+
activeOcrDocument: input.config.ocrDocument ?? "first"
|
|
284
285
|
};
|
|
285
286
|
},
|
|
286
287
|
states: {
|
package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-BEAkamNm.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
5
5
|
function createIdVerificationActor(options) {
|
|
6
6
|
return createActor(idVerificationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-D5bXgw9h.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-M8-BTjar.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-D5bXgw9h.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts an IdentityReuse actor.
|
package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
2
|
-
type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | '
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261112162640-0cc1fcb5184789f8e4473bfd48740731dbeb295a/node_modules/@incodetech/tri-sdk/dist/index.d.ts
|
|
2
|
+
type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'fpsignals';
|
|
3
|
+
/**
|
|
4
|
+
* The configurable sub-events of each collector key. For a key in
|
|
5
|
+
* `MODULE_ONLY_COLLECTORS` each sub-event selects module streams
|
|
6
|
+
* (`MODULE_STREAMS_BY_COLLECTOR`); `never` means the key is all-or-nothing.
|
|
7
|
+
*/
|
|
3
8
|
type CollectorEventMap = {
|
|
4
9
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
10
|
+
* `'pointer'` selects the module's button rows (down/up); `'click'`,
|
|
11
|
+
* `'dblclick'` and `'contextmenu'` their own rows.
|
|
7
12
|
*/
|
|
8
13
|
pointer: 'pointer' | 'click' | 'dblclick' | 'contextmenu';
|
|
9
14
|
clipboard: 'paste' | 'cut' | 'copy';
|
|
10
15
|
form: 'submit' | 'invalid' | 'snapshot';
|
|
11
16
|
tab: 'state' | 'count';
|
|
12
17
|
viewport: 'orientationchange' | 'devicepixelratiochange';
|
|
13
|
-
/** All-or-nothing:
|
|
18
|
+
/** All-or-nothing: no sub-event config. */
|
|
14
19
|
input: never;
|
|
15
20
|
focus: never;
|
|
16
21
|
keystroke: never;
|
|
@@ -28,7 +33,6 @@ type CollectorEventMap = {
|
|
|
28
33
|
screen: never;
|
|
29
34
|
wheel: never;
|
|
30
35
|
hover: never;
|
|
31
|
-
shinsei: never;
|
|
32
36
|
};
|
|
33
37
|
type Layer = 'session' | 'behavioral' | 'device-fingerprinting';
|
|
34
38
|
/**
|
|
@@ -52,20 +56,23 @@ type Layer = 'session' | 'behavioral' | 'device-fingerprinting';
|
|
|
52
56
|
*/
|
|
53
57
|
type IncodeSanitizeUrlHook = (url: string, defaultSanitize: (url: string) => string) => string;
|
|
54
58
|
/**
|
|
55
|
-
* Global PII capture level for element
|
|
59
|
+
* Global PII capture level for the element descriptions in the fpSignals
|
|
60
|
+
* module's rows (handed to the module with the `data-tri-*` names, `scp`).
|
|
56
61
|
*
|
|
57
62
|
* - `'all'` — all element fields emitted; PII identifiers and labels included.
|
|
58
63
|
* Consumers should annotate sensitive elements with `data-tri-redact`.
|
|
59
|
-
* - `'redact'` — PII identifiers (`id`, `name`, label, classes)
|
|
64
|
+
* - `'redact'` — PII identifiers (`id`, `name`, label, classes) left out.
|
|
60
65
|
* **Default.** Per-element overrides via `data-tri-redact` / `data-tri-ignore`.
|
|
61
|
-
* - `'off'` —
|
|
66
|
+
* - `'off'` — no element descriptions.
|
|
62
67
|
*/
|
|
63
68
|
type CaptureElementLevel = 'all' | 'redact' | 'off';
|
|
64
69
|
/**
|
|
65
|
-
* Controls whether
|
|
70
|
+
* Controls whether the fpSignals module records text content (the clipboard
|
|
71
|
+
* and selection text), except in private fields and under `data-tri-ignore` or
|
|
72
|
+
* `data-tri-redact`.
|
|
66
73
|
*
|
|
67
|
-
* - `'on'` — text content
|
|
68
|
-
* - `'off'` — text content
|
|
74
|
+
* - `'on'` — text content recorded.
|
|
75
|
+
* - `'off'` — no text content (default).
|
|
69
76
|
*/
|
|
70
77
|
type CaptureContentLevel = 'on' | 'off';
|
|
71
78
|
/**
|
|
@@ -79,7 +86,8 @@ type IncodeTRIHost = {
|
|
|
79
86
|
/**
|
|
80
87
|
* Public SDK configuration. Both `layers` and `collectors` are optional; pass at
|
|
81
88
|
* most one. When neither is provided, every collector defaults to enabled (same
|
|
82
|
-
* behaviour as calling `start()` with no config).
|
|
89
|
+
* behaviour as calling `start()` with no config). Most keys only select the
|
|
90
|
+
* fpSignals module's streams; see `docs/03-CONFIG-GUIDE.md`.
|
|
83
91
|
*/
|
|
84
92
|
type IncodeTRIConfig = TRIConfigBase & (LayerBasedConfig | CollectorBasedConfig | NoCollectorSelectionConfig);
|
|
85
93
|
/** Shared config fields present regardless of which selector variant is used. */
|
|
@@ -87,8 +95,9 @@ type TRIConfigBase = {
|
|
|
87
95
|
apiURL: string;
|
|
88
96
|
/**
|
|
89
97
|
* SDK token obtained from a B2B server call or via `createSession`.
|
|
90
|
-
*
|
|
91
|
-
*
|
|
98
|
+
* It identifies the organization and lasts 7 days by default (`expiresAt`
|
|
99
|
+
* from `createSession` says when it ends). The consumer's API key must
|
|
100
|
+
* never be passed here.
|
|
92
101
|
*/
|
|
93
102
|
token: string;
|
|
94
103
|
/**
|
|
@@ -155,7 +164,7 @@ type CollectorBasedConfig = {
|
|
|
155
164
|
layers?: never;
|
|
156
165
|
collectors: CollectorsConfig;
|
|
157
166
|
};
|
|
158
|
-
/** No collector filtering —
|
|
167
|
+
/** No collector filtering — every collector, and every module stream, is enabled. */
|
|
159
168
|
type NoCollectorSelectionConfig = {
|
|
160
169
|
layers?: never;
|
|
161
170
|
collectors?: never;
|
|
@@ -225,6 +234,13 @@ type RemovedCollectors = {
|
|
|
225
234
|
fingerprint?: {
|
|
226
235
|
enabled?: boolean;
|
|
227
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* @deprecated TRI no longer has a `shinsei` collector: its fpSignals module
|
|
239
|
+
* records those events. This key is ignored; remove it.
|
|
240
|
+
*/
|
|
241
|
+
shinsei?: {
|
|
242
|
+
enabled?: boolean;
|
|
243
|
+
};
|
|
228
244
|
};
|
|
229
245
|
type WithRemovedCollectors<T> = T extends {
|
|
230
246
|
collectors: infer C;
|
|
@@ -237,8 +253,8 @@ type WithRemovedCollectors<T> = T extends {
|
|
|
237
253
|
*
|
|
238
254
|
* `TransactionalRiskIntelligenceConfig` without `host`: the SDK always reports
|
|
239
255
|
* itself as TRI's host (`{ platform: 'sdk2', version }`), so it is not an
|
|
240
|
-
* option. `collectors.fingerprint`
|
|
241
|
-
* ignored. `autostart` is defined on
|
|
256
|
+
* option. `collectors.fingerprint` and `collectors.shinsei` are still accepted
|
|
257
|
+
* but deprecated and ignored. `autostart` is defined on
|
|
242
258
|
* the base config (`IncodeTRIConfig.autostart`) — when `true` (the default),
|
|
243
259
|
* `setupTRI()` also starts collection automatically. Pass `autostart: false`
|
|
244
260
|
* to defer collection to an explicit `startTRI()` call (e.g. after a consent
|
|
@@ -270,6 +286,14 @@ declare function isTRIStarted(): boolean;
|
|
|
270
286
|
* @param options - Optional `apiURL`, `signal`, and `timeout` overrides.
|
|
271
287
|
*/
|
|
272
288
|
declare function createTRISession(apiKey: string, options?: TransactionalRiskIntelligenceSessionOptions): Promise<TransactionalRiskIntelligenceSession>;
|
|
289
|
+
/**
|
|
290
|
+
* The id of TRI's current activity, for the host's server to send to the
|
|
291
|
+
* Decision API. Read it right before each request and never keep it: the
|
|
292
|
+
* activity can change while the page is open (after 60 minutes, or on a
|
|
293
|
+
* back-forward cache restore). Returns `null` when TRI is not started or no
|
|
294
|
+
* activity is active. Synchronous; never throws and never loads TRI.
|
|
295
|
+
*/
|
|
296
|
+
declare function getTRIActivityId(): string | null;
|
|
273
297
|
/**
|
|
274
298
|
* Calls the provider's `setup()` with the given config. This is the step that
|
|
275
299
|
* lazy-loads `@incodetech/tri-sdk`, validates the config, and checks the
|
|
@@ -302,4 +326,4 @@ declare function stopTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
|
302
326
|
*/
|
|
303
327
|
declare function resetTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
304
328
|
//#endregion
|
|
305
|
-
export {
|
|
329
|
+
export { setupTRI as a, TransactionalRiskIntelligenceSetupConfig as c, resetTRI as i, getTRIActivityId as n, startTRI as o, isTRIStarted as r, stopTRI as s, createTRISession as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-C9T5amUN.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-TisHEbBg.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CG6oLkAa.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-BpjzWqR1.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Be41K_NS.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-CnqwgKoV.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Be41K_NS.esm.js";
|
|
3
3
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
4
4
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
5
5
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Be41K_NS.esm.js}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import {
|
|
7
|
-
import { r as
|
|
6
|
+
import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
7
|
+
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
|
|
8
|
+
import { r as hasAllowedCharacters, t as formatPhoneE164 } from "./phoneFormat-DEpESpz2.esm.js";
|
|
8
9
|
function isSupportedSchema(form) {
|
|
9
10
|
return String(form.schemaVersion).split(".")[0] === "1";
|
|
10
11
|
}
|