@incodetech/core 2.4.1-agentic → 2.4.1-agentic.2
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-D9PlON49.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-gNfsp99I.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-DvmklBTE.esm.js → authenticationManager-BtN4CHOR.esm.js} +5 -5
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-DdcnWnBT.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/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-C0fRj-ID.esm.js} +1 -1
- 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-Crsj_u0c.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-DDfviFg0.d.ts} +25 -4
- 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-CwqgwLa5.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-CBdnpD95.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-BVTqTHd3.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-BmZHuZE1.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-Bt_tCIdI.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-CBm05KnT.esm.js → faceCaptureManagerFactory-BWOB3ZeZ.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-D0w1UBlO.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-DBh1nqp8.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-Dv7zoVWe.esm.js} +2 -2
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-C5-oamoC.esm.js} +69 -143
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BFTxgOZG.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-v729Lz_0.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-BVfqpIjM.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-CwG9Xp_n.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-DUm3a_Mt.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-DEfwds5y.d.ts → index-BfSZvEHi.d.ts} +10 -2
- package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.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-D2BEaUzK.esm.js +89 -0
- package/dist/kybChecksStateMachine-Cy-MsmKZ.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-BG46reQE.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-DJCo6uSb.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-DNbVqz2B.esm.js} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-1_TQP4-x.esm.js} +5 -5
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-BUnZmMRY.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-DdnAM9fZ.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-CwJACl13.esm.js} +83 -24
- package/dist/{setup-D9qt8YVU.d.ts → setup-CmqnkqsR.d.ts} +1 -1
- package/dist/{setup-CDAKwTr7.esm.js → setup-D26WdmvA.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-C9SvtzuQ.esm.js} +24 -3
- package/dist/tri.d.ts +2 -2
- package/dist/{tri.esm-CzTNi5Q_.esm.js → tri.esm-DgTlfPhR.esm.js} +167 -155
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-OZl8wQu7.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-Bhi70pSN.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.d.ts +1 -1
- 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 +13 -7
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/types-D9r3zRfY.d.ts +0 -6
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
1
|
+
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-C9SvtzuQ.esm.js";
|
|
2
|
+
export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-
|
|
1
|
+
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
-
import { C as subscribeEvent, n as eventModuleNames } from "./events-
|
|
4
|
-
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
|
+
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-DJCo6uSb.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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 { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-CRaFu6wS.js";
|
|
3
3
|
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CRaFu6wS.js";
|
|
3
3
|
import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
5
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { l as RiskAddon } from "./types-
|
|
1
|
+
import { l as RiskAddon } from "./types-CuMJ2M7D.js";
|
|
2
2
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
3
3
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
4
|
+
import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
|
|
4
5
|
//#region src/internal/avatar/concealment.d.ts
|
|
5
6
|
/**
|
|
6
7
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -111,7 +112,7 @@ type FlowModuleConfig = {
|
|
|
111
112
|
}[];
|
|
112
113
|
};
|
|
113
114
|
DOCUMENT_CAPTURE: {
|
|
114
|
-
processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
115
|
+
processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr';
|
|
115
116
|
title: string;
|
|
116
117
|
text: string;
|
|
117
118
|
allowSkipDocumentCapture: boolean;
|
|
@@ -126,6 +127,7 @@ type FlowModuleConfig = {
|
|
|
126
127
|
checkUniqueBeneficialOwner: boolean;
|
|
127
128
|
uniqueBeneficialOwnerSource: 'userInput';
|
|
128
129
|
};
|
|
130
|
+
EKYB_CHECKS: KybChecksConfig;
|
|
129
131
|
EXTERNAL_VERIFICATION: {
|
|
130
132
|
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
|
|
131
133
|
checkName: boolean;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
|
|
2
|
+
//#region src/modules/kyb-checks/types.d.ts
|
|
3
|
+
/** KYB checks a step can run. */
|
|
4
|
+
type KybCheckModuleKey = 'identity' | 'address' | 'statusEntityType' | 'personAssociation' | 'webPresence' | 'websiteAnalysis' | 'industryInfo' | 'financialIntelligence' | 'groupStructure';
|
|
5
|
+
/**
|
|
6
|
+
* A user-facing text: translate `key`, show `text` when it has no translation.
|
|
7
|
+
* A param that is itself a `KybText` is translated before it's inserted.
|
|
8
|
+
*/
|
|
9
|
+
type KybText = {
|
|
10
|
+
key: string;
|
|
11
|
+
text: string;
|
|
12
|
+
params?: Record<string, string | KybText>;
|
|
13
|
+
};
|
|
14
|
+
/** A string, or the entries of a list field. */
|
|
15
|
+
type KybFieldValue = string | string[];
|
|
16
|
+
type KybUnsupportedModule = {
|
|
17
|
+
module: KybCheckModuleKey;
|
|
18
|
+
message: KybText;
|
|
19
|
+
};
|
|
20
|
+
/** Passed to `onFinish`. */
|
|
21
|
+
type KybChecksResult = {
|
|
22
|
+
referenceId?: string;
|
|
23
|
+
};
|
|
24
|
+
/** Module configuration from the flow or workflow node. The backend applies `modules` when it builds the form. */
|
|
25
|
+
type KybChecksConfig = {
|
|
26
|
+
modules?: KybCheckModuleKey[];
|
|
27
|
+
};
|
|
28
|
+
type KybFieldValues = Record<string, KybFieldValue>;
|
|
29
|
+
type KybFieldErrors = Record<string, KybText>;
|
|
30
|
+
type KybChecksErrorKind = 'load' | 'submit';
|
|
31
|
+
/** A field check, run in order; the first failing rule's message is shown. */
|
|
32
|
+
type KybValidationRule = {
|
|
33
|
+
type: 'required';
|
|
34
|
+
} | {
|
|
35
|
+
type: 'allowedCharacters';
|
|
36
|
+
classes: CharacterClass[];
|
|
37
|
+
extra: string;
|
|
38
|
+
/** `letter` means A-Z in either case. */
|
|
39
|
+
ascii: boolean;
|
|
40
|
+
message: KybText;
|
|
41
|
+
} | {
|
|
42
|
+
type: 'maxLength';
|
|
43
|
+
max: number;
|
|
44
|
+
message: KybText;
|
|
45
|
+
};
|
|
46
|
+
/** A check across fields, shown on the first field it names. */
|
|
47
|
+
type KybFormLevelRule = {
|
|
48
|
+
type: 'oneOfRequired';
|
|
49
|
+
fields: string[];
|
|
50
|
+
message: KybText;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* One field to render, like eKYB's `EkybFieldDef`. `label` and option labels
|
|
54
|
+
* are translation keys; each `labelText` is the served English fallback.
|
|
55
|
+
*/
|
|
56
|
+
type KybFieldDef = Omit<FieldDef, 'type' | 'options'> & {
|
|
57
|
+
type: 'text' | 'dropdown' | 'phone' | 'list';
|
|
58
|
+
labelText: string;
|
|
59
|
+
options?: {
|
|
60
|
+
value: string;
|
|
61
|
+
label: string;
|
|
62
|
+
labelText?: string;
|
|
63
|
+
}[];
|
|
64
|
+
/** For a text field: the input type the keyboard hint asks for. */
|
|
65
|
+
inputType?: 'url' | 'email';
|
|
66
|
+
/** For a phone field: the country calling code to start with. */
|
|
67
|
+
phoneCountry?: string;
|
|
68
|
+
/** Changing the field fetches the form again with this query parameter. */
|
|
69
|
+
refetchOnChange?: string;
|
|
70
|
+
/** The value the backend served, used until the user changes it. */
|
|
71
|
+
initialValue: KybFieldValue;
|
|
72
|
+
validation: KybValidationRule[];
|
|
73
|
+
};
|
|
74
|
+
type KybChecksSection = {
|
|
75
|
+
id: string;
|
|
76
|
+
title?: KybText;
|
|
77
|
+
fields: KybFieldDef[];
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { KybChecksSection as a, KybFieldValue as c, KybText as d, KybUnsupportedModule as f, KybChecksResult as i, KybFieldValues as l, KybChecksConfig as n, KybFieldDef as o, KybValidationRule as p, KybChecksErrorKind as r, KybFieldErrors as s, KybCheckModuleKey as t, KybFormLevelRule as u };
|
|
@@ -1,43 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/** A single form field definition for dynamic rendering. */
|
|
3
|
-
type FieldDef = {
|
|
4
|
-
name: string;
|
|
5
|
-
type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
|
|
6
|
-
label: string;
|
|
7
|
-
displayLabel?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
placeholderParams?: Record<string, string>;
|
|
10
|
-
required: boolean;
|
|
11
|
-
optional?: boolean;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
options?: {
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|
|
17
|
-
readonly?: boolean;
|
|
18
|
-
section?: string;
|
|
19
|
-
disableCountrySelector?: boolean;
|
|
20
|
-
};
|
|
21
|
-
/** An address suggestion returned by the address autocomplete API. */
|
|
22
|
-
type AddressSuggestion = {
|
|
23
|
-
id: string | number;
|
|
24
|
-
label: string;
|
|
25
|
-
street?: string;
|
|
26
|
-
city?: string;
|
|
27
|
-
stateCode?: string;
|
|
28
|
-
postalCode?: string;
|
|
29
|
-
houseNumber?: string;
|
|
30
|
-
countryCode?: string;
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/shared/validators/textRules.d.ts
|
|
34
|
-
/**
|
|
35
|
-
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
36
|
-
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
37
|
-
* own rule.
|
|
38
|
-
*/
|
|
39
|
-
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
40
|
-
//#endregion
|
|
1
|
+
import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
|
|
41
2
|
//#region src/modules/ekyc/types.d.ts
|
|
42
3
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
|
43
4
|
type EkycVerificationFields = {
|
|
@@ -246,4 +207,4 @@ type EkycFieldDef = FieldDef & {
|
|
|
246
207
|
type EkycInputFormat = 'uppercase' | 'stripSeparators';
|
|
247
208
|
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
248
209
|
//#endregion
|
|
249
|
-
export { EkycFormValues as a, EkycValidationErrors as c,
|
|
210
|
+
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
|
|
@@ -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-D26WdmvA.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-C5-oamoC.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-Bhi70pSN.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-Bhi70pSN.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-C5-oamoC.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-D9PlON49.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-DNbVqz2B.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.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BO57syF6.js";
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-CmqnkqsR.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
5
|
declare const DEFAULT_WASM_VERSION = "v2.14.54-pre6";
|
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-D26WdmvA.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. */
|