@incodetech/core 2.4.1-agentic → 2.4.1-agentic.1
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/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +11 -12
- package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
- package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-WOkfvFMw.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-bjfVXO7p.d.ts} +9 -9
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-B7DEYoyY.esm.js} +34 -29
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +24 -3
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +3 -2
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +5 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-CoFCUJ2z.esm.js} +141 -68
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-GRuMELYr.esm.js} +80 -9
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +15 -14
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +12 -403
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-BZeklojR.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +10 -6
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -143
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BJJ3m_I8.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.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 +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B3oR4RnA.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-DK0QboqT.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +20 -20
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-DpGOp4Su.esm.js +89 -0
- package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +6 -6
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-D190ATGD.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
- package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-CTko6Cjn.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BffFArwl.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-CdSX4wsZ.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-DsL7X2j9.esm.js} +83 -24
- package/dist/{setup-CDAKwTr7.esm.js → setup-DDahygZs.esm.js} +28 -27
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-DG6priFa.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-GuLthUVK.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-xEEWCx1j.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DuD8TRJU.d.ts → types-CRaFu6wS.d.ts} +4 -2
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-PTZHRhGX.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-e8fCsvvk.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-DtB0DJpl.esm.js} +24 -17
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-BDrax6Eu.esm.js} +12 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -42
- package/package.json +11 -5
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/types-D9r3zRfY.d.ts +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
//#region src/modules/document-capture/types.d.ts
|
|
4
|
-
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
|
|
4
|
+
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE' | 'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract' | 'asyncProcessCarInvoice' | 'asyncProcessCirculationCard';
|
|
5
5
|
declare const DOCUMENT_CAPTURE_ERROR_CODES: {
|
|
6
6
|
readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
|
|
7
7
|
readonly UPLOAD_FAILED: "UPLOAD_FAILED";
|
|
@@ -29,7 +29,10 @@ type DocumentCaptureConfig = {
|
|
|
29
29
|
allowSkipDocumentCapture?: boolean;
|
|
30
30
|
/** Backend ADDRESS config field. Inverted: `disableSkipPoa: true` → skip disabled. If both are set, `allowSkipDocumentCapture` takes precedence. */
|
|
31
31
|
disableSkipPoa?: boolean;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Tutorial screen title override. Also sent as the `title` query parameter
|
|
34
|
+
* on uploads, matching Web SDK 1.
|
|
35
|
+
*/
|
|
33
36
|
title?: string;
|
|
34
37
|
/** Tutorial screen text override */
|
|
35
38
|
text?: string;
|
|
@@ -51,12 +54,15 @@ type CapturedDocument = {
|
|
|
51
54
|
file: File;
|
|
52
55
|
fileType: string;
|
|
53
56
|
};
|
|
57
|
+
/** Mirrors the AddDocumentStatus enum returned by POST /omni/add/document/v3. */
|
|
58
|
+
type DocumentUploadStatus = 'SUCCESS' | 'ADD_NEXT_PAGE' | 'OPTIONAL_PAGE_CAPTURE' | 'PROCESS_DOC_ERROR' | 'SESSION_ERROR' | 'CLASSIFICATION_ERROR' | 'MULTI_PAGE_CLASSIFICATION_ERROR' | 'V5C_REGISTRATION_NUMBER_MISMATCH' | 'V5C_REFERENCE_NUMBER_MISMATCH' | 'V5C_NUMBER_MISMATCH' | 'FSL_AGREEMENT_REFERENCE_MISMATCH' | 'FSL_NAME_MISMATCH' | 'MANDATORY_FIELD_MISSING' | 'UNSUPPORTED_PAGE_NUMBERS' | 'VALIDATION_ERROR' | 'UNEXPECTED_ERROR' | 'FINALIZE_ERROR_NO_PAGES' | 'UNSUPPORTED_MP_DOCUMENT_TYPE';
|
|
54
59
|
type DocumentUploadResponse = {
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
/** Legacy flag returned by the v2 endpoints. v3 responses only carry `status`. */
|
|
61
|
+
success?: boolean;
|
|
62
|
+
status?: DocumentUploadStatus;
|
|
57
63
|
};
|
|
58
64
|
type FinalizeDocumentResponse = {
|
|
59
|
-
status?:
|
|
65
|
+
status?: DocumentUploadStatus;
|
|
60
66
|
success?: boolean;
|
|
61
67
|
};
|
|
62
68
|
type DocumentCaptureResolvedConfig = {
|
|
@@ -94,6 +100,8 @@ type DocumentCaptureContext = {
|
|
|
94
100
|
helpOpen: boolean;
|
|
95
101
|
progress: number;
|
|
96
102
|
error: DocumentCaptureErrorCode | DocumentCaptureFinalizeErrorCode | undefined;
|
|
103
|
+
/** Server status that rejected the last upload or finalize call, if any. */
|
|
104
|
+
rejectionStatus: DocumentUploadStatus | undefined;
|
|
97
105
|
attemptsRemaining: number;
|
|
98
106
|
pageNumber: number;
|
|
99
107
|
nextPageType: DocumentCaptureNextPageType;
|
|
@@ -102,4 +110,4 @@ type DocumentCaptureInput = {
|
|
|
102
110
|
config: DocumentCaptureConfig;
|
|
103
111
|
};
|
|
104
112
|
//#endregion
|
|
105
|
-
export { DocumentCaptureErrorCode as a, DocumentType as c, DocumentCaptureContext as i, DocumentUploadResponse as l, DOCUMENT_CAPTURE_ERROR_CODES as n, DocumentCaptureInput as o, DocumentCaptureConfig as r, DocumentCaptureNextPageType as s, CapturedDocument as t,
|
|
113
|
+
export { DocumentCaptureErrorCode as a, DocumentType as c, FinalizeDocumentResponse as d, DocumentCaptureContext as i, DocumentUploadResponse as l, DOCUMENT_CAPTURE_ERROR_CODES as n, DocumentCaptureInput as o, DocumentCaptureConfig as r, DocumentCaptureNextPageType as s, CapturedDocument as t, DocumentUploadStatus as u };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-BEVHQbbC.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./Actor-DpTj5PFb.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
8
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-Dv3Mgws-.js";
|
|
9
9
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
10
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
11
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DDahygZs.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-Dmnc8Rye.esm.js";
|
|
7
7
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
11
|
-
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DMBxHKS2.esm.js";
|
|
10
|
+
import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
|
|
12
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-e3irGfcO.esm.js";
|
|
13
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
|
|
15
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-BTqkHGG9.esm.js";
|
|
14
16
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
15
17
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
16
18
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-Dmnc8Rye.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAY43vSI.esm.js";
|
|
7
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-f4MgAG2A.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
|
|
2
2
|
import "./IWasmUtilCapability-Cqiaxydi.js";
|
|
3
|
-
import { n as DetectionStatus } from "./types
|
|
3
|
+
import { n as DetectionStatus } from "./types-BEVHQbbC.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region src/internal/virtualCameraCheck.ts
|
|
2
|
+
const frameSources = {
|
|
3
|
+
front: "FRONT_ID",
|
|
4
|
+
back: "BACK_ID",
|
|
5
|
+
selfie: "SELFIE"
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Runs the native post-capture check (`poc`).
|
|
9
|
+
*
|
|
10
|
+
* Since ml-wasm-kit v2.14.53 (ADR 0008, single-run IAD) the binding keeps its
|
|
11
|
+
* output argument for arity but never writes into it: the post-capture
|
|
12
|
+
* verdicts travel only inside the signed capture metadata that the protected
|
|
13
|
+
* upload carries. The JavaScript verdict this function used to derive from
|
|
14
|
+
* that output — the `/omni/log/frame/v2` frame upload, the
|
|
15
|
+
* `virtualCameraDetected` device stat and `setZc` — is gone with it (the same
|
|
16
|
+
* removal ms-incodesmile-web made in ENG-58409). The name is kept so the
|
|
17
|
+
* protected attempts' POC step reads the same.
|
|
18
|
+
*/
|
|
19
|
+
async function runVirtualCameraCheck({ wasmUtil }) {
|
|
20
|
+
await wasmUtil.poc({
|
|
21
|
+
canvas: null,
|
|
22
|
+
itr: null,
|
|
23
|
+
skipped: null
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { runVirtualCameraCheck as n, frameSources as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { A as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, E as WASM_MODEL_FILES, M as missingWasmModelError, N as resolveWasmSource, O as WASM_PIPELINE_MODELS, P as reportWasmIntegritySummary, _ as emitWasmDiagnostic, b as DEFAULT_WASM_VERSION, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, h as acquireWasmStorageFallback, j as buildModelVariantSources, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, w as isDefaultCdnWasmConfig, y as SemaphoreProvider } from "./wasmWebClient-
|
|
2
|
+
import { A as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, E as WASM_MODEL_FILES, M as missingWasmModelError, N as resolveWasmSource, O as WASM_PIPELINE_MODELS, P as reportWasmIntegritySummary, _ as emitWasmDiagnostic, b as DEFAULT_WASM_VERSION, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, h as acquireWasmStorageFallback, j as buildModelVariantSources, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, w as isDefaultCdnWasmConfig, y as SemaphoreProvider } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
3
3
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
4
4
|
import { t as bindWasmMetadataV2Applier } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/wasmEnumMaps.ts
|
|
@@ -637,25 +637,32 @@ var WasmRuntime = class WasmRuntime {
|
|
|
637
637
|
let cleanupFailure = null;
|
|
638
638
|
try {
|
|
639
639
|
if (pipelines === null) throw new Error(message);
|
|
640
|
-
|
|
640
|
+
const downloads = /* @__PURE__ */ new Map();
|
|
641
|
+
const loadModel = (path) => {
|
|
642
|
+
const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
|
|
643
|
+
const loaded = this.loadedModels.get(resolvedSource);
|
|
644
|
+
if (loaded) return Promise.resolve(loaded);
|
|
645
|
+
let download = downloads.get(resolvedSource);
|
|
646
|
+
if (!download) {
|
|
647
|
+
download = resolveWasmSource(resolvedSource, {
|
|
648
|
+
kind: "model",
|
|
649
|
+
file: isWasmModelEntry(path) ? path.file : void 0
|
|
650
|
+
}).then((model) => {
|
|
651
|
+
this.loadedModels.set(resolvedSource, model);
|
|
652
|
+
return model;
|
|
653
|
+
});
|
|
654
|
+
downloads.set(resolvedSource, download);
|
|
655
|
+
}
|
|
656
|
+
return download;
|
|
657
|
+
};
|
|
658
|
+
const pipelineModels = await Promise.all(Array.from(pipelines, async ([type, modelsPaths]) => {
|
|
659
|
+
return [type, await Promise.all(modelsPaths.map(loadModel))];
|
|
660
|
+
}));
|
|
661
|
+
for (const [type, pipelineBuffers] of pipelineModels) {
|
|
641
662
|
const wasmType = this.pipelineTypeToWasmEnum(type);
|
|
642
|
-
const pipelineBuffers = [];
|
|
643
663
|
const sizes = new (this.requireWasmModule(message)).VectorInt();
|
|
644
664
|
sizeVectors.push(sizes);
|
|
645
|
-
for (const
|
|
646
|
-
const file = isWasmModelEntry(path) ? path.file : void 0;
|
|
647
|
-
const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
|
|
648
|
-
let model = this.loadedModels.get(resolvedSource);
|
|
649
|
-
if (!model) {
|
|
650
|
-
model = await resolveWasmSource(resolvedSource, {
|
|
651
|
-
kind: "model",
|
|
652
|
-
file
|
|
653
|
-
});
|
|
654
|
-
this.loadedModels.set(resolvedSource, model);
|
|
655
|
-
}
|
|
656
|
-
sizes.push_back(model.byteLength);
|
|
657
|
-
pipelineBuffers.push(model);
|
|
658
|
-
}
|
|
665
|
+
for (const model of pipelineBuffers) sizes.push_back(model.byteLength);
|
|
659
666
|
buffSizes.set(wasmType, sizes);
|
|
660
667
|
modelData.set(wasmType, pipelineBuffers);
|
|
661
668
|
}
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-
|
|
2
|
-
import { s as warmupWasm } from "./warmup-
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
2
|
+
import { s as warmupWasm } from "./warmup-DtB0DJpl.esm.js";
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DDahygZs.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
1
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
2
2
|
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
3
3
|
/**
|
|
4
4
|
* Sets the Deepsight (ds) flag that the WASM utility API receives on every
|
|
@@ -846,11 +846,8 @@ async function resolveGlue(loader, glueCodePath, slot) {
|
|
|
846
846
|
if (!glueCodePath) throw new Error("WASM glue code is required");
|
|
847
847
|
return await importGlueAt(glueCodePath, slot);
|
|
848
848
|
}
|
|
849
|
-
async function instantiate(factory,
|
|
850
|
-
window.wasmArrayBuffer =
|
|
851
|
-
kind: "binary",
|
|
852
|
-
slot
|
|
853
|
-
});
|
|
849
|
+
async function instantiate(factory, wasmBinary, showLogs = false) {
|
|
850
|
+
window.wasmArrayBuffer = wasmBinary;
|
|
854
851
|
return await factory({
|
|
855
852
|
wasmBinary: window.wasmArrayBuffer,
|
|
856
853
|
print: (text) => {
|
|
@@ -894,10 +891,13 @@ async function loadWasmModule(config) {
|
|
|
894
891
|
const wantSimd = config.useSimd !== false;
|
|
895
892
|
const simdBinary = config.wasmSimdPath ?? config.wasmPath;
|
|
896
893
|
if (wantSimd && simdBinary !== config.wasmPath) try {
|
|
897
|
-
const simdFactory = await resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js")
|
|
894
|
+
const [simdFactory, simdBytes] = await Promise.all([resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js"), resolveWasmSource(simdBinary, {
|
|
895
|
+
kind: "binary",
|
|
896
|
+
slot: "webLibSimd.wasm"
|
|
897
|
+
})]);
|
|
898
898
|
window.Module = simdFactory;
|
|
899
899
|
const result = {
|
|
900
|
-
wasmModule: await instantiate(simdFactory,
|
|
900
|
+
wasmModule: await instantiate(simdFactory, simdBytes, config.showLogs),
|
|
901
901
|
simdUsed: true
|
|
902
902
|
};
|
|
903
903
|
loadedResult = result;
|
|
@@ -918,10 +918,13 @@ async function loadWasmModule(config) {
|
|
|
918
918
|
message: `simd load failed falling back ${describeLoadError(simdError)}`
|
|
919
919
|
});
|
|
920
920
|
}
|
|
921
|
-
const nonSimdFactory = await resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js")
|
|
921
|
+
const [nonSimdFactory, nonSimdBytes] = await Promise.all([resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js"), resolveWasmSource(config.wasmPath, {
|
|
922
|
+
kind: "binary",
|
|
923
|
+
slot: "webLib.wasm"
|
|
924
|
+
})]);
|
|
922
925
|
window.Module = nonSimdFactory;
|
|
923
926
|
const result = {
|
|
924
|
-
wasmModule: await instantiate(nonSimdFactory,
|
|
927
|
+
wasmModule: await instantiate(nonSimdFactory, nonSimdBytes, config.showLogs),
|
|
925
928
|
simdUsed: false
|
|
926
929
|
};
|
|
927
930
|
loadedResult = result;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DdaPl2PS.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-DqUpAEj_.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
2
|
-
import { t as createWatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-ofHW_lPk.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-CdpXzT4B.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-
|
|
4
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-DdaPl2PS.esm.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
6
6
|
function createWatchlistForBusinessActor(options = {}) {
|
|
7
7
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
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-CpP4PS4S.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
5
|
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-Co1ottYN.esm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
4
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-ofHW_lPk.esm.js";
|
|
5
5
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
6
6
|
function createWatchlistActor() {
|
|
7
7
|
return createActor(watchlistMachine).start();
|
package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.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-CpP4PS4S.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/watchlist/watchlistServices.ts
|
package/dist/workflow.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import { t as CallbackActorLogic } from "./callback-645_omgz.js";
|
|
3
3
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
4
4
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
5
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
5
|
+
import { o as FlowEventSubscribable } from "./index-DC0P2Vzw.js";
|
|
6
6
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BQA7lRDV.js";
|
|
7
7
|
//#region src/modules/workflow/types.d.ts
|
|
8
8
|
/** Possible node types returned by the workflow server. */
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import {
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as retryAfterReconnect } from "./connectivity-
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-g2tVWsJl.esm.js";
|
|
9
|
-
import { c as toEkycConfig } from "./ekycUtils-BFncpC4F.esm.js";
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-ggpBBaZ8.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-GuLthUVK.esm.js";
|
|
4
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-DsL7X2j9.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BbCIA4og.esm.js";
|
|
6
|
+
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-DH-CH4Nz.esm.js";
|
|
10
8
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
11
9
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
10
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BCE3uA3z.esm.js";
|
|
13
11
|
import "./ae-signature.esm.js";
|
|
14
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
17
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
18
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
19
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
20
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
12
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
|
|
13
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BMbZL8wm.esm.js";
|
|
14
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DThXMDqr.esm.js";
|
|
15
|
+
import { t as consentMachine } from "./consentStateMachine-DIYSMxKQ.esm.js";
|
|
16
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-B3iVsDyt.esm.js";
|
|
17
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CiVD9wyF.esm.js";
|
|
18
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DCvWQhFG.esm.js";
|
|
19
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-USQMB-uV.esm.js";
|
|
20
|
+
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-kHwdz6hm.esm.js";
|
|
22
|
+
import { t as ekycMachine } from "./ekycStateMachine-CoFCUJ2z.esm.js";
|
|
23
|
+
import { l as toEkycConfig } from "./ekycUtils-GRuMELYr.esm.js";
|
|
24
|
+
import { t as emailMachine } from "./emailStateMachine-KgHfDNvM.esm.js";
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-DaZIVv3Q.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-zzar9MPy.esm.js";
|
|
27
|
+
import { t as phoneMachine } from "./phoneStateMachine-DnlPhnw7.esm.js";
|
|
28
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-ofHW_lPk.esm.js";
|
|
29
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DdaPl2PS.esm.js";
|
|
30
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-DxZFWy47.esm.js";
|
|
31
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DWslYPA3.esm.js";
|
|
32
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-DNKXh4Rn.esm.js";
|
|
33
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CbhN8uVN.esm.js";
|
|
34
|
+
import { t as signatureMachine } from "./signatureStateMachine-DBVDd1Eu.esm.js";
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CTI3m4Ie.esm.js";
|
|
36
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-AEbn3Afi.esm.js";
|
|
37
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DtIBCa32.esm.js";
|
|
38
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-CUvwiQi9.esm.js";
|
|
39
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B43NAnv7.esm.js";
|
|
40
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CcCnPs_T.esm.js";
|
|
41
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BffFArwl.esm.js";
|
|
41
42
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
42
43
|
import "./qe-signature.esm.js";
|
|
43
44
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
@@ -67,6 +68,7 @@ const DEFAULT_MODULE_REGISTRY = {
|
|
|
67
68
|
GEOLOCATION: geolocationMachine,
|
|
68
69
|
EXTERNAL_VERIFICATION: ekycMachine,
|
|
69
70
|
EKYB: ekybMachine,
|
|
71
|
+
EKYB_CHECKS: kybChecksMachine,
|
|
70
72
|
DOCUMENT_CAPTURE: documentCaptureMachine,
|
|
71
73
|
ADDRESS: documentCaptureMachine,
|
|
72
74
|
COMBINED_CONSENT: consentMachine,
|
|
@@ -162,13 +164,11 @@ async function processCustomNode(data, signal) {
|
|
|
162
164
|
//#endregion
|
|
163
165
|
//#region src/modules/workflow/workflowActors.ts
|
|
164
166
|
async function loadWorkflow(input, signal) {
|
|
165
|
-
await initializeSession({
|
|
167
|
+
const [workflowConfig] = await Promise.all([retryAfterReconnect(() => getWorkflowConfig(signal), signal), initializeSession({
|
|
166
168
|
signal,
|
|
167
169
|
preloadFlow: false
|
|
168
|
-
}).catch(() => void 0);
|
|
169
|
-
const
|
|
170
|
-
await updateFeatureManagementUser({ customIDs: { workflow_id: workflowConfig.id } });
|
|
171
|
-
const realNode = await retryAfterReconnect(() => getCurrentNode(signal), signal);
|
|
170
|
+
}).catch(() => void 0)]);
|
|
171
|
+
const [realNode] = await Promise.all([retryAfterReconnect(() => getCurrentNode(signal), signal), updateFeatureManagementUser({ customIDs: { workflow_id: workflowConfig.id } })]);
|
|
172
172
|
const fingerprintResult = getSessionFingerprintResult();
|
|
173
173
|
let currentNode = realNode;
|
|
174
174
|
let firstNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.4.1-agentic",
|
|
3
|
+
"version": "2.4.1-agentic.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -135,6 +135,11 @@
|
|
|
135
135
|
"types": "./dist/ekyb.d.ts",
|
|
136
136
|
"import": "./dist/ekyb.esm.js"
|
|
137
137
|
},
|
|
138
|
+
"./kyb-checks": {
|
|
139
|
+
"source": "./src/modules/kyb-checks/index.ts",
|
|
140
|
+
"types": "./dist/kyb-checks.d.ts",
|
|
141
|
+
"import": "./dist/kyb-checks.esm.js"
|
|
142
|
+
},
|
|
138
143
|
"./home": {
|
|
139
144
|
"source": "./src/modules/home/index.ts",
|
|
140
145
|
"types": "./dist/home.d.ts",
|
|
@@ -284,15 +289,16 @@
|
|
|
284
289
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|
|
285
290
|
"build:cdn": "tsdown -c tsdown.config.ts --minify && pnpm check:dist-types",
|
|
286
291
|
"build:dev": "tsdown -c tsdown.config.ts",
|
|
287
|
-
"check:dist-types": "
|
|
292
|
+
"check:dist-types": "bun check -p tsconfig.dist-types.json --no-script",
|
|
288
293
|
"test": "vitest run",
|
|
294
|
+
"test:shard": "vitest run --shard=$VITEST_SHARD",
|
|
289
295
|
"test:changed": "vitest run --changed origin/main --passWithNoTests",
|
|
290
296
|
"coverage": "vitest run --coverage",
|
|
291
|
-
"lint": "
|
|
292
|
-
"lint:fix": "
|
|
297
|
+
"lint": "oxlint .",
|
|
298
|
+
"lint:fix": "oxlint . --fix",
|
|
293
299
|
"format": "prettier --write . --ignore-path ../../.prettierignore",
|
|
294
300
|
"format:check": "prettier --check . --ignore-path ../../.prettierignore",
|
|
295
|
-
"typecheck": "
|
|
301
|
+
"typecheck": "bun check -p tsconfig.json --noEmit --rootDir=.. --no-script",
|
|
296
302
|
"parity:record": "PARITY_RECORD=1 vitest run __parity__"
|
|
297
303
|
}
|
|
298
304
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-GTkoJyFY.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-BujtUIW6.esm.js";
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
|
|
4
|
-
import { b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-CWFT4dfw.esm.js";
|
|
5
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BhU5H2oR.esm.js";
|
|
6
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
-
import { t as createDeepsightService } from "./deepsightService-twg3bXqY.esm.js";
|
|
8
|
-
//#region src/internal/deepsight/deepsightLoader.ts
|
|
9
|
-
async function loadDeepsightSession(options) {
|
|
10
|
-
try {
|
|
11
|
-
return await loadDeepsightSessionInternal(options);
|
|
12
|
-
} catch (error) {
|
|
13
|
-
trueSightLog("warning", "deepsight", "other", `deepsight load failed error=${String(error)}`);
|
|
14
|
-
throw error;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
async function loadDeepsightSessionInternal(options) {
|
|
18
|
-
setWasmDsFlagSync(options.ds === true);
|
|
19
|
-
const service = createDeepsightService({
|
|
20
|
-
sdkVersion: SDK_VERSION,
|
|
21
|
-
wasmUtil: await WasmUtilProvider.getInstance(),
|
|
22
|
-
browserEnv: new BrowserEnvironmentProvider(),
|
|
23
|
-
motionSensor: new MotionSensorProvider(),
|
|
24
|
-
ipLookup: new IpifyProvider()
|
|
25
|
-
});
|
|
26
|
-
const disableIpify = options.disableIpify ?? getDisableIpify();
|
|
27
|
-
const disableFingerprint = options.disableFingerprint ?? !getFingerprintEnabled();
|
|
28
|
-
await service.initialize(disableIpify, disableFingerprint);
|
|
29
|
-
await service.startMotionSensors();
|
|
30
|
-
return service;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { loadDeepsightSession };
|
package/dist/types-D9r3zRfY.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-DuD8TRJU.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types--3HDl2SF.js";
|
|
3
|
-
//#region src/modules/authentication/types.d.ts
|
|
4
|
-
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { AuthenticationConfig as t };
|