@incodetech/core 2.4.1-agentic.11 → 2.4.1-agentic.12
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/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-2NzWDbV8.esm.js → FaceDetectionProvider-WtuJ6QBK.esm.js} +16 -11
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{MultipartRecordingProvider-CduV32Qa.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-BnBfA6fb.d.ts} +24 -2
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-DdhAHHw4.esm.js → WasmUtilProvider-D5RMElzw.esm.js} +7 -0
- package/dist/{WorkerEncoderRecordingProvider-CsDED9UU.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BzAy6lhp.esm.js} +2 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-Bw5nw5fh.esm.js} +3 -3
- package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-kOfsaAuT.esm.js} +2 -4
- package/dist/{api-CZpuJuZl.esm.js → api-DSZSaaWr.esm.js} +2 -0
- package/dist/{apiError-BamZ815u.esm.js → apiError-BDuL1wTs.esm.js} +1 -1
- package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-QFQkA3na.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-yBVGiIf_.esm.js → authenticationManager-B0SioAdd.esm.js} +6 -6
- package/dist/{authenticationManager-DRaugLgH.d.ts → authenticationManager-eYcurNiS.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DPqTOJPp.esm.js → authenticationStateMachine-n1OrhPTv.esm.js} +3 -3
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-DxIBykpe.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
- package/dist/calendarDate-DcqGuEht.esm.js +35 -0
- package/dist/camera-9yYDUOsO.d.ts +5 -0
- package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
- 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-Dxl9UwR0.esm.js → certificateIssuanceManager-DPT8E9zV.esm.js} +3 -3
- package/dist/{certificateIssuanceStateMachine-CM4q71h1.esm.js → certificateIssuanceStateMachine-BwDb3ezx.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B2F_VeAo.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -9
- package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DRMJ3O4r.esm.js} +3 -3
- package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-Br0JbW7k.esm.js} +4 -7
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +3 -4
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-BKUDQ55W.esm.js} +3 -3
- package/dist/{curpValidationManager-Ci2iVuog.d.ts → curpValidationManager-DgUZySoq.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +13 -14
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-CPhONu5i.esm.js} +12 -16
- package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-cN57usIW.esm.js} +3 -3
- package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +2 -4
- package/dist/{deepsightLoader-CEY2mSPM.esm.js → deepsightLoader-ClCQCdeL.esm.js} +5 -5
- package/dist/{desktopCameraElection-enVPfRsQ.esm.js → desktopCameraElection-btFONYx6.esm.js} +22 -10
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +15 -15
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.d.ts +123 -0
- package/dist/document-signature.esm.js +149 -0
- package/dist/{documentCaptureManager-C11k5BO-.esm.js → documentCaptureManager-5I3lKDVW.esm.js} +3 -3
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-g0gfL0_1.esm.js → documentCaptureStateMachine-jtQHasPA.esm.js} +7 -10
- package/dist/documentSignatureStateMachine-DKtU0H-F.esm.js +218 -0
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BmfCZ2zV.esm.js → dynamicFormsManager-B6Bv32wU.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-B-eYytau.esm.js → dynamicFormsStateMachine-Kauq2oB-.esm.js} +10 -11
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BPaMfbgw.esm.js → ekybManager-wi135kG-.esm.js} +3 -3
- package/dist/{ekybStateMachine-C_lEw4I7.esm.js → ekybStateMachine-Vjb6_mFt.esm.js} +4 -6
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-DWCL912J.esm.js} +3 -3
- package/dist/{ekycPrefillManager-DOTl3Y2w.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-CCtbmrFd.esm.js → ekycPrefillManager-C27Cu6rn.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-XpxgCAoC.esm.js → ekycPrefillStateMachine-DqXvupSw.esm.js} +4 -6
- package/dist/{ekycRules-DXP2hqVw.esm.js → ekycRules-1hyjJ6bw.esm.js} +7 -4
- package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +149 -13
- package/dist/{ekycUtils-FcqA6oU4.esm.js → ekycUtils-D9ui9Ztp.esm.js} +5 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-M2O2VDks.esm.js → electronicSignatureManager-BHnxFx7u.esm.js} +8 -16
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Co4jarT1.esm.js → emailManager-CfvR6pQN.esm.js} +3 -3
- package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-C4FouMzc.esm.js} +3 -5
- package/dist/{events-CP3yOzAl.esm.js → events-CsPmTidH.esm.js} +2 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-3Or5qfbA.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js} +5 -5
- package/dist/{faceCaptureManagerFactory-CRGajjZ4.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts} +12 -6
- package/dist/{faceCaptureSetup-Cf87i0rT.esm.js → faceCaptureSetup-q33e6ah9.esm.js} +26 -15
- package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-CsPFaja4.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js} +8 -19
- package/dist/{feature-management-DG016L6E.esm.js → feature-management-BhRKAG--.esm.js} +3 -2
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +4 -6
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DOLq45ph.esm.js → fiscalQrManager-CpX6MOy_.esm.js} +6 -7
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-BpeAbbXc.esm.js → flowCompletionService-E_6ChYsV.esm.js} +2 -2
- package/dist/{flowServices-rDg1bAMs.esm.js → flowServices-C23o7MqO.esm.js} +10 -9
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-T8m4lqvF.esm.js → geolocationManager-dgMVi0ed.esm.js} +3 -3
- package/dist/{geolocationStateMachine-NWmA1Dtn.esm.js → geolocationStateMachine-CCVd9xGh.esm.js} +6 -8
- package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-D2KGYDws.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +2 -4
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +2 -2
- 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 +2 -2
- package/dist/id-selfie-flow.esm.js +10 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Cjesf5i9.esm.js → idCaptureDefaults-BivjtJka.esm.js} +1 -1
- package/dist/{idCaptureManager-5-ReVgbB.esm.js → idCaptureManager-B_deOVCC.esm.js} +12 -14
- package/dist/{idCaptureManager-Cqx2y_fC.d.ts → idCaptureManager-DzAMWmRO.d.ts} +12 -5
- package/dist/{idCaptureServices-exB6I9lV.esm.js → idCaptureServices-BFCsusKB.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-DQ14d3GR.esm.js → idCaptureStateMachine--CMATkG9.esm.js} +49 -56
- package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-C-_bzBSX.esm.js} +3 -3
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-BNtBkAXC.esm.js} +10 -7
- package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-CdvGdtg2.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-mozw0CIg.esm.js} +2 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +3 -4
- package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-Z1Re4UGd.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js} +3 -7
- package/dist/{index-DxYNO94y.d.ts → index-C0WIMlJE.d.ts} +1 -1
- package/dist/{index-DM43R87x.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-lXP41N7b.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CZfdCkLC.esm.js → kybChecksManager-D-mVF14T.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DkWxSU4L.esm.js → kybChecksStateMachine-BARZh9GN.esm.js} +5 -9
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +8 -8
- package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +4 -7
- package/dist/{mediaRecorderOptions-g1TwTlhd.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +1 -1
- package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-CEtaAPz4.esm.js} +2 -2
- package/dist/{permissionGuards-D-4_VU7-.esm.js → permissionGuards-BJIaHxvI.esm.js} +1 -1
- package/dist/{permissionServices-DpccEnzE.esm.js → permissionServices-6Mdq1hDk.esm.js} +8 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-D8-l6-0y.esm.js} +3 -3
- package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-C9lFIuCM.esm.js} +3 -7
- package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +2 -2
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-B1Mhqkep.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-CLGnDCDl.esm.js} +7 -6
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DTB_pWuS.esm.js → redirectToMobileManager-Djb_daci.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-nP9DM01_.esm.js → redirectToMobileStateMachine-BCyQFlpn.esm.js} +7 -17
- package/dist/{runChildModule-CXLcOcXN.esm.js → runChildModule-DF2c6TxC.esm.js} +2 -2
- package/dist/{sdkVersion-fqxsdqFZ.esm.js → sdkVersion-B5_kVegT.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +11 -11
- package/dist/{selfieErrorUtils-MOfYdGPz.esm.js → selfieErrorUtils-BVuv5qO7.esm.js} +1 -1
- package/dist/{selfieManager-DihwheJ6.d.ts → selfieManager-C5a6Fw6W.d.ts} +1 -1
- package/dist/{selfieManager-Dq8tIqGd.esm.js → selfieManager-Dnb5h3qV.esm.js} +6 -6
- package/dist/{selfieStateMachine-BZVDQB8R.esm.js → selfieStateMachine-BT69FLFb.esm.js} +3 -3
- package/dist/{session-C7x_iJ-p.esm.js → session-OCc4b-Iv.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-k-hKIBg8.esm.js → sessionInitializer-BUUpdBy6.esm.js} +11 -13
- package/dist/{setup-CpXbdA1X.d.ts → setup-BpD7lYSf.d.ts} +5 -4
- package/dist/{setup-BRbhjHiU.esm.js → setup-CJMohzTE.esm.js} +10 -10
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-B6dRieBV.esm.js} +3 -3
- package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +3 -5
- package/dist/{stats-DoByUnTa.esm.js → stats-VqHbD5rn.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-CI2exudk.esm.js → tri-B5Yh5glk.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DhW2O8mB.esm.js → trueSightService-D9D2IdEj.esm.js} +6 -7
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-Ddc4Tr_f.d.ts → types-B2DGXHe6.d.ts} +2 -0
- package/dist/{types-Cpdum4vi.d.ts → types-BBHnkH6S.d.ts} +4 -4
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/{types-DJPU3W2M.d.ts → types-BkWUNheX.d.ts} +1 -1
- package/dist/types-C2uJrJrS.d.ts +6 -0
- package/dist/{types-DYYMdAGv.esm.js → types-CBQN04Rh.esm.js} +2 -1
- package/dist/{types-CyNndVAT.d.ts → types-CaVUb1DL.d.ts} +1 -1
- package/dist/{types-DFP7eSle.d.ts → types-Crg7oL-l.d.ts} +1 -1
- package/dist/{types-9wlf1-GE.d.ts → types-x5MQKskR.d.ts} +4 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +9 -9
- package/dist/{videoSelfieCameraWarmer-YwO_uP-b.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js} +9 -9
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts} +18 -8
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-D_6e8W62.esm.js → wasmDsFlagSync-BNttW5Sm.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +3 -3
- package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +9 -6
- package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-CGXbemnp.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +2 -4
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +40 -38
- package/package.json +6 -1
- package/dist/camera-9wWD-pwg.d.ts +0 -4
- package/dist/tri.esm-CxLWmTZk.esm.js +0 -2287
- package/dist/types-CE1jkHw3.d.ts +0 -6
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-B5Yh5glk.esm.js";
|
|
2
2
|
export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-C3v3s_4H.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
-
import { S as subscribeEvent, n as eventModuleNames } from "./types-
|
|
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 "./events-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { S as subscribeEvent, n as eventModuleNames } from "./types-CBQN04Rh.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-DSZSaaWr.esm.js";
|
|
5
|
+
import "./events-CsPmTidH.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-B5_kVegT.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -681,9 +681,7 @@ function isFeatureEnabled(feature, features) {
|
|
|
681
681
|
*/
|
|
682
682
|
async function fetchFeatureConfig(signal) {
|
|
683
683
|
if (cachedFeatures) return cachedFeatures;
|
|
684
|
-
|
|
685
|
-
if (!response.ok) throw new Error(`Failed to fetch feature config: ${response.status} ${response.statusText}`);
|
|
686
|
-
cachedFeatures = response.data;
|
|
684
|
+
cachedFeatures = (await api.get(endpoints.featureConfig, { signal })).data;
|
|
687
685
|
return cachedFeatures;
|
|
688
686
|
}
|
|
689
687
|
/**
|
|
@@ -1308,6 +1306,7 @@ const MODULE_SUBSYSTEMS = {
|
|
|
1308
1306
|
[eventModuleNames.antifraud]: "module.antifraud",
|
|
1309
1307
|
[eventModuleNames.aeSignature]: "module.ae-signature",
|
|
1310
1308
|
[eventModuleNames.qeSignature]: "module.qe-signature",
|
|
1309
|
+
[eventModuleNames.documentSignature]: "module.document-signature",
|
|
1311
1310
|
[eventModuleNames.crossDocumentDataMatch]: "module.cross-document-data-match",
|
|
1312
1311
|
[eventModuleNames.customFields]: "module.custom-fields",
|
|
1313
1312
|
[eventModuleNames.fieldComparison]: "module.field-comparison",
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
|
|
1
2
|
import { u as RiskAddon } from "./types-DEa3taWc.js";
|
|
2
3
|
import "./createFaceAvatar-BimBTONm.js";
|
|
3
4
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
@@ -291,6 +292,7 @@ type FlowModuleConfig = {
|
|
|
291
292
|
title: string;
|
|
292
293
|
subTitle: string;
|
|
293
294
|
};
|
|
295
|
+
DOCUMENT_SIGNATURE: DocumentSignatureConfig;
|
|
294
296
|
USER_CONSENT: {
|
|
295
297
|
title: string;
|
|
296
298
|
text: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
3
|
-
import { a as IStorageCapability } from "./IWasmUtilCapability-
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-B2DGXHe6.js";
|
|
3
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BnBfA6fb.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
7
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
8
8
|
import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
|
|
9
9
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/modules/document-signature/types.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Configuration of the Document Signature module (`DOCUMENT_SIGNATURE`).
|
|
4
|
+
* The backend sends these fields in the flow or workflow module configuration.
|
|
5
|
+
*/
|
|
6
|
+
type DocumentSignatureConfig = {
|
|
7
|
+
/** Screen title. When empty, the UI shows its default title. */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** Screen subtitle. When empty, the UI shows its default subtitle. Backend field name: `subTitle`. */
|
|
10
|
+
subTitle?: string;
|
|
11
|
+
/**
|
|
12
|
+
* When true, Sign stays disabled until the user scrolls every document to its end.
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
requireScrollToEnd?: boolean;
|
|
16
|
+
/** Consent text shown next to the signature. The backend prints the same text on the signature page. */
|
|
17
|
+
consentText?: string;
|
|
18
|
+
/** When true, the user can open the signed PDFs after signing. */
|
|
19
|
+
allowDownload?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type SignatureDocumentFormat = 'PDF' | 'MARKDOWN';
|
|
22
|
+
/**
|
|
23
|
+
* One document of the session, as `GET /omni/document-signature/documents` returns it.
|
|
24
|
+
* The backend omits fields that have no value, so optional fields can be missing.
|
|
25
|
+
*/
|
|
26
|
+
type SignatureDocument = {
|
|
27
|
+
documentId: string;
|
|
28
|
+
order: number;
|
|
29
|
+
name: string;
|
|
30
|
+
format: SignatureDocumentFormat;
|
|
31
|
+
sha256: string;
|
|
32
|
+
sizeBytes: number;
|
|
33
|
+
signedAt?: number | null;
|
|
34
|
+
signatureId?: string | null;
|
|
35
|
+
/** Markdown text. Only for `MARKDOWN` documents. */
|
|
36
|
+
content?: string | null;
|
|
37
|
+
/** Presigned link to the original file, valid for one hour. */
|
|
38
|
+
url?: string | null;
|
|
39
|
+
/** Presigned link to the signed PDF. Only when signed and `allowDownload` is true. */
|
|
40
|
+
signedUrl?: string | null;
|
|
41
|
+
};
|
|
42
|
+
/** How the user signs in the sign sheet. */
|
|
43
|
+
type SignatureMethod = 'draw' | 'type';
|
|
44
|
+
//#endregion
|
|
45
|
+
export { SignatureMethod as i, SignatureDocument as n, SignatureDocumentFormat as r, DocumentSignatureConfig as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-x5MQKskR.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -294,7 +294,8 @@ const eventModuleNames = {
|
|
|
294
294
|
documentUpload: "document-upload",
|
|
295
295
|
home: "home",
|
|
296
296
|
workflow: "workflow",
|
|
297
|
-
fiscalQr: "FISCAL_QR"
|
|
297
|
+
fiscalQr: "FISCAL_QR",
|
|
298
|
+
documentSignature: "DOCUMENT_SIGNATURE"
|
|
298
299
|
};
|
|
299
300
|
const eventScreenNames = {
|
|
300
301
|
faceMatch: "FACE_MATCH",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
2
|
-
import { t as CameraStream } from "./camera-
|
|
2
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
3
3
|
//#region src/modules/document-capture/types.d.ts
|
|
4
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: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
3
|
-
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-B2DGXHe6.js";
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -48,6 +48,8 @@ type BaseFaceCaptureConfig = {
|
|
|
48
48
|
deepsightLiveness?: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
|
|
49
49
|
cameraResolution?: CameraResolution;
|
|
50
50
|
ageAssurance?: boolean;
|
|
51
|
+
/** Records microphone audio with the face recording, for the merged session video. */
|
|
52
|
+
mergeSessionRecordings?: boolean;
|
|
51
53
|
ds?: Flow['ds'];
|
|
52
54
|
/**
|
|
53
55
|
* When true, face analysis runs on-device via the OnDevice WASM workflow
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import "./xstate.cjs-D6Ur0X1F.js";
|
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import "./Actor-DqjOqDfU.js";
|
|
6
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
7
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
+
import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
8
8
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
9
|
-
import { a as
|
|
9
|
+
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-DGXi_TXk.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
11
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
12
12
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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-CJMohzTE.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.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 { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-C23o7MqO.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
11
|
+
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
14
|
-
import { r as createRecordingCompositor } from "./CameraCompositor-
|
|
15
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
16
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CYEHPKK6.esm.js";
|
|
14
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-CEtaAPz4.esm.js";
|
|
17
17
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
19
19
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-YwO_uP-b.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
-
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-
|
|
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-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-C23o7MqO.esm.js";
|
|
4
|
+
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-6Mdq1hDk.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-WtuJ6QBK.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.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-
|
|
12
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BVuv5qO7.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BivjtJka.esm.js";
|
|
12
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
|
15
15
|
return (await api.post(endpoint, { base64Image })).data;
|
package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
|
|
2
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-x5MQKskR.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
7
7
|
/**
|
|
@@ -28,9 +28,6 @@ type VideoSelfieConfig = FlowModuleConfig['VIDEO_ONBOARDING'] & {
|
|
|
28
28
|
steps?: VideoSelfieStep[];
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../infra/src/capabilities/ICameraCapability.d.ts
|
|
32
|
-
type FacingMode = 'user' | 'environment';
|
|
33
|
-
//#endregion
|
|
34
31
|
//#region ../infra/src/media/CameraCompositor.d.ts
|
|
35
32
|
type CameraCompositorOptions = {
|
|
36
33
|
fps?: number;
|
|
@@ -120,6 +117,19 @@ declare class CameraCompositor {
|
|
|
120
117
|
* video track is stopped.
|
|
121
118
|
*/
|
|
122
119
|
switchVideo(stream: CameraStream): void;
|
|
120
|
+
/**
|
|
121
|
+
* Stops the microphone while no attempt records, so it is not held between
|
|
122
|
+
* attempts. Only the in-worker encoder can take a new microphone later
|
|
123
|
+
* (`switchAudio`); a `MediaRecorder` must keep its tracks, so there the
|
|
124
|
+
* microphone stays until `stop()`.
|
|
125
|
+
*/
|
|
126
|
+
releaseAudio(): void;
|
|
127
|
+
/**
|
|
128
|
+
* Gives the in-worker encoder the microphone of `stream` after
|
|
129
|
+
* `releaseAudio`. Otherwise the composite keeps its microphone and the audio
|
|
130
|
+
* tracks of `stream` are stopped, because nothing else would end them.
|
|
131
|
+
*/
|
|
132
|
+
switchAudio(stream: CameraStream): void;
|
|
123
133
|
/**
|
|
124
134
|
* True when this compositor records by itself: the worker transport started
|
|
125
135
|
* with `encodeInWorker` and the browser has `VideoEncoder`. Use the
|
|
@@ -220,4 +230,4 @@ type StepDetector = (params: {
|
|
|
220
230
|
registerManualCapture?: (trigger: () => void) => void;
|
|
221
231
|
}) => Promise<StepDetectionResult>;
|
|
222
232
|
//#endregion
|
|
223
|
-
export {
|
|
233
|
+
export { VideoSelfieConfig as a, CameraCompositor as i, VideoSelfieDetectionStatus as n, VideoSelfieSpeechResult as o, VideoSelfieValidationFailure as r, VideoSelfieStep as s, StepDetector as t };
|
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-BNhIuURi.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-BpD7lYSf.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-post1";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as WASM_PIPELINE_MODEL_NAMES, C as buildWasmConfigFromBasePath, D as WASM_MODEL_FILES, E as resolveWasmConfig, O as WASM_PIPELINE_LAZY_MODEL_NAMES, S as buildDefaultWasmConfig, x as DEFAULT_WASM_VERSION } from "./wasmWebClient-C3v3s_4H.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-9iKKNNuW.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CJMohzTE.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-D5RMElzw.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
|
|
@@ -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-EzlC_4I4.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CfLnsL8p.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-CsNEmiXL.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-CGXbemnp.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-
|
|
6
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
7
7
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
8
8
|
function createWatchlistForBusinessActor(options = {}) {
|
|
9
9
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
|
@@ -1,7 +1,8 @@
|
|
|
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-DSZSaaWr.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
+
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
5
6
|
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-Bl_olpdX.esm.js";
|
|
6
7
|
//#region ../infra/src/time/epochMsToLocalIsoDate.ts
|
|
7
8
|
/**
|
|
@@ -22,16 +23,14 @@ function epochMsToLocalIsoDate(epochMs) {
|
|
|
22
23
|
//#endregion
|
|
23
24
|
//#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
|
|
24
25
|
async function submitWatchlistForBusiness(data, signal) {
|
|
25
|
-
|
|
26
|
-
if (!res.ok) throw new Error(`POST ${endpoints.watchlistForBusinessSubmit} failed: ${res.status} ${res.statusText}`);
|
|
27
|
-
return res.data;
|
|
26
|
+
return (await api.post(endpoints.watchlistForBusinessSubmit, data, { signal })).data;
|
|
28
27
|
}
|
|
29
28
|
//#endregion
|
|
30
29
|
//#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.ts
|
|
31
30
|
const DEFAULT_COUNTRY = "US";
|
|
32
31
|
const BUSINESS_NAME_REQUIRED_ERROR = "dynamicForms.fieldRequired";
|
|
33
32
|
const INVALID_TAX_ID_ERROR = "ekyb.error.invalidTaxId";
|
|
34
|
-
const FUTURE_DATE_OF_INCORPORATION_ERROR = "
|
|
33
|
+
const FUTURE_DATE_OF_INCORPORATION_ERROR = "verification.errors.futureDate";
|
|
35
34
|
/**
|
|
36
35
|
* Country-specific Tax ID format checks, applied only to a filled Tax ID.
|
|
37
36
|
* Countries without an entry accept any value. The CNPJ countries come from
|
|
@@ -71,7 +70,11 @@ function computeValidationErrors(context) {
|
|
|
71
70
|
const validateTaxId = TAX_ID_VALIDATORS[context.country];
|
|
72
71
|
if (taxId && validateTaxId && !validateTaxId(taxId)) errors.taxId = INVALID_TAX_ID_ERROR;
|
|
73
72
|
const dateOfIncorporation = getDateOfIncorporation(context);
|
|
74
|
-
if (dateOfIncorporation
|
|
73
|
+
if (dateOfIncorporation) {
|
|
74
|
+
const dateError = calendarDateError(dateOfIncorporation);
|
|
75
|
+
if (dateError) errors.dateOfIncorporation = dateError;
|
|
76
|
+
else if (dateOfIncorporation > getMaxDateOfIncorporation()) errors.dateOfIncorporation = FUTURE_DATE_OF_INCORPORATION_ERROR;
|
|
77
|
+
}
|
|
75
78
|
return Object.keys(errors).length > 0 ? errors : void 0;
|
|
76
79
|
}
|
|
77
80
|
function buildSubmitRequest(context) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
6
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
7
7
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
8
8
|
function createWatchlistActor() {
|
|
9
9
|
return createActor(watchlistMachine).start();
|
package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-CsNEmiXL.esm.js}
RENAMED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/watchlist/watchlistServices.ts
|
|
5
5
|
async function processWatchlist(signal) {
|
|
6
|
-
|
|
7
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processGlobalWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
8
|
-
return res.data;
|
|
6
|
+
return (await api.post(endpoints.processGlobalWatchlist, {}, { signal })).data;
|
|
9
7
|
}
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/watchlist/watchlistStateMachine.ts
|
package/dist/workflow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as CallbackActorLogic } from "./callback-BmjJ1G-5.js";
|
|
|
3
3
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
6
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
6
|
+
import { o as FlowEventSubscribable } from "./index-C0WIMlJE.js";
|
|
7
7
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-C3rfDzgE.js";
|
|
8
8
|
//#region src/modules/workflow/types.d.ts
|
|
9
9
|
/** Possible node types returned by the workflow server. */
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { n as eventModuleNames, v as addEvent } from "./types-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
4
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
5
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
6
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-D9D2IdEj.esm.js";
|
|
5
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-BUUpdBy6.esm.js";
|
|
6
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BhRKAG--.esm.js";
|
|
7
7
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
8
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
+
import { i as toIncodeApiError } from "./apiError-BDuL1wTs.esm.js";
|
|
9
9
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BHnxFx7u.esm.js";
|
|
13
13
|
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 {
|
|
14
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-kOfsaAuT.esm.js";
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-n1OrhPTv.esm.js";
|
|
16
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BwDb3ezx.esm.js";
|
|
17
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
18
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
19
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-jtQHasPA.esm.js";
|
|
21
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-DKtU0H-F.esm.js";
|
|
22
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Kauq2oB-.esm.js";
|
|
22
23
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
23
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
24
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
25
|
-
import { l as toEkycConfig } from "./ekycUtils-
|
|
26
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
27
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
28
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
29
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine
|
|
30
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
31
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
32
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
33
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
34
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
35
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
36
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
37
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
38
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
39
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
40
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
41
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
42
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
43
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
44
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
24
|
+
import { t as ekybMachine } from "./ekybStateMachine-Vjb6_mFt.esm.js";
|
|
25
|
+
import { t as ekycMachine } from "./ekycStateMachine-DjiGyQtm.esm.js";
|
|
26
|
+
import { l as toEkycConfig } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
27
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DqXvupSw.esm.js";
|
|
28
|
+
import { t as emailMachine } from "./emailStateMachine-C4FouMzc.esm.js";
|
|
29
|
+
import { t as selfieMachine } from "./selfieStateMachine-BT69FLFb.esm.js";
|
|
30
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine--CMATkG9.esm.js";
|
|
31
|
+
import { t as phoneMachine } from "./phoneStateMachine-CGLBgJJR.esm.js";
|
|
32
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
33
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
34
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-C_3fSFCw.esm.js";
|
|
35
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DpK7fg3E.esm.js";
|
|
36
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-BNtBkAXC.esm.js";
|
|
37
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BCyQFlpn.esm.js";
|
|
38
|
+
import { t as signatureMachine } from "./signatureStateMachine-DSW5-ZO0.esm.js";
|
|
39
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CCVd9xGh.esm.js";
|
|
40
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DRG-5jwQ.esm.js";
|
|
41
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-mozw0CIg.esm.js";
|
|
42
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-Co2S7iN8.esm.js";
|
|
43
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-BARZh9GN.esm.js";
|
|
44
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-E_6ChYsV.esm.js";
|
|
45
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DF2c6TxC.esm.js";
|
|
45
46
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
46
47
|
import "./qe-signature.esm.js";
|
|
47
48
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
@@ -79,6 +80,7 @@ const DEFAULT_MODULE_REGISTRY = {
|
|
|
79
80
|
MANDATORY_CONSENT: mandatoryConsentMachine,
|
|
80
81
|
ML_CONSENT: mandatoryConsentMachine,
|
|
81
82
|
SIGNATURE: signatureMachine,
|
|
83
|
+
DOCUMENT_SIGNATURE: documentSignatureMachine,
|
|
82
84
|
ANTIFRAUD: antifraudMachine,
|
|
83
85
|
ID_OCR: idOcrStateMachine,
|
|
84
86
|
AE_SIGNATURE: electronicSignatureMachine,
|
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.12",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -200,6 +200,11 @@
|
|
|
200
200
|
"types": "./dist/signature.d.ts",
|
|
201
201
|
"import": "./dist/signature.esm.js"
|
|
202
202
|
},
|
|
203
|
+
"./document-signature": {
|
|
204
|
+
"source": "./src/modules/document-signature/index.ts",
|
|
205
|
+
"types": "./dist/document-signature.d.ts",
|
|
206
|
+
"import": "./dist/document-signature.esm.js"
|
|
207
|
+
},
|
|
203
208
|
"./antifraud": {
|
|
204
209
|
"source": "./src/modules/antifraud/index.ts",
|
|
205
210
|
"types": "./dist/antifraud.d.ts",
|