@incodetech/core 0.0.0-dev-20261119-74bbb0d7 → 0.0.0-dev-20261120-aba4c7f3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseWasmProvider-bBNquvYn.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
- package/dist/{FaceDetectionProvider-DjWqFNmF.esm.js → FaceDetectionProvider-BIAAdlsm.esm.js} +14 -11
- package/dist/{IIdCaptureCapability-C-5M8pP1.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
- package/dist/{IWasmUtilCapability-XcOtT1TP.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-BnBfA6fb.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +2 -2
- package/dist/{WasmUtilProvider-BW_4YKrg.esm.js → WasmUtilProvider-ZXMogz8z.esm.js} +20 -4
- package/dist/{addressSearch-BzAy6lhp.esm.js → addressSearch-DWmjXbWT.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-Bw5nw5fh.esm.js → antifraudManager-DK7niagq.esm.js} +2 -2
- package/dist/{antifraudStateMachine-kOfsaAuT.esm.js → antifraudStateMachine-IJYLXOQm.esm.js} +1 -1
- package/dist/{api-DSZSaaWr.esm.js → api-jplFqPcE.esm.js} +0 -1
- package/dist/{apiError-Bt-oW2YU.esm.js → apiError-BBp0FpOX.esm.js} +1 -1
- package/dist/{attemptCarry-QFQkA3na.esm.js → attemptCarry-Dew-8qhm.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DeN8mraQ.d.ts → authenticationManager-DFAnYVFV.d.ts} +1 -1
- package/dist/{authenticationManager-DdZAb-IX.esm.js → authenticationManager-ZmyV5m8F.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BCkbErCC.esm.js → authenticationStateMachine-CPc1vY1v.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-QUJKoV5l.esm.js → certificateIssuanceManager-CfKhx7Uk.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-DkvJwSlO.esm.js → certificateIssuanceStateMachine-4NpYY6ct.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-DRMJ3O4r.esm.js → consentManager-DE41ov_W.esm.js} +2 -2
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-vI6QHkHU.d.ts} +1 -1
- package/dist/{consentStateMachine-Br0JbW7k.esm.js → consentStateMachine-nbLSJMsQ.esm.js} +1 -1
- package/dist/{createFaceAvatar-BimBTONm.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BIQ-SYcR.esm.js → crossDocumentDataMatchManager-nc34iG9x.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DgUZySoq.d.ts → curpValidationManager-DsDvoViA.d.ts} +1 -1
- package/dist/{curpValidationManager-BKUDQ55W.esm.js → curpValidationManager-d4nO3Zfo.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-BwUBkyyi.esm.js → curpValidationStateMachine-BvYQMsR4.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CPhONu5i.esm.js → customFieldsManager-CpTcHrli.esm.js} +2 -2
- package/dist/{customWatchlistManager-cN57usIW.esm.js → customWatchlistManager-DuxZ8mvG.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-C1Xq1ugl.esm.js → customWatchlistStateMachine-CD7ChTlQ.esm.js} +1 -1
- package/dist/deepsightCaptureConfig-CC-Wv3Ez.esm.js +70 -0
- package/dist/{deepsightLoader-0ZynxKZH.esm.js → deepsightLoader-BF03-DqF.esm.js} +6 -5
- package/dist/{desktopCameraElection-DGq3YDWU.esm.js → desktopCameraElection-Broke4b4.esm.js} +89 -6
- package/dist/device.esm.js +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +2 -2
- package/dist/{documentCaptureManager-D9LE-4ey.esm.js → documentCaptureManager-YXwSaquq.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-SXXKqpZz.esm.js → documentCaptureStateMachine-DKG_aAPi.esm.js} +4 -4
- package/dist/{documentSignatureStateMachine-qQ6QSUrz.esm.js → documentSignatureStateMachine-BjTx2J0y.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BSTtfPx6.esm.js → dynamicFormsManager-LNs6_imW.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DpIhIBel.esm.js → dynamicFormsStateMachine-CsMQ7VwV.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-D8vRkoU8.esm.js → ekybManager-Lkyqx-J1.esm.js} +2 -2
- package/dist/{ekybStateMachine-DtF0NbqQ.esm.js → ekybStateMachine-F8Y3pr55.esm.js} +3 -3
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DWCL912J.esm.js → ekycManager-M5DdfcTh.esm.js} +2 -2
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BF6YIJ_s.d.ts} +4 -4
- package/dist/{ekycPrefillManager-xAEcfy7R.esm.js → ekycPrefillManager-CpyVSTy_.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-DJpzY3re.esm.js → ekycPrefillStateMachine-BpTw0KLu.esm.js} +2 -2
- package/dist/{ekycStateMachine-DjiGyQtm.esm.js → ekycStateMachine-Ciq6djgB.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-B2oRMitx.esm.js → electronicSignatureManager-Cadf41a4.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CfvR6pQN.esm.js → emailManager-CiOnKOO9.esm.js} +2 -2
- package/dist/{emailStateMachine-C4FouMzc.esm.js → emailStateMachine-D7nLw8oT.esm.js} +2 -2
- package/dist/{events-CsPmTidH.esm.js → events-C3sjvrjL.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- 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-BPmWHtiP.esm.js → faceCaptureManagerFactory-BQqZvwy3.esm.js} +6 -5
- package/dist/{faceCaptureManagerFactory-D0pyWORs.d.ts → faceCaptureManagerFactory-CkhNR70A.d.ts} +7 -7
- package/dist/{faceCaptureSetup-D-N4uYzA.esm.js → faceCaptureSetup-DVHOFJyR.esm.js} +30 -22
- package/dist/{faceMatchManager-CsPFaja4.esm.js → faceMatchManager-_4dkN81c.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-Co2S7iN8.esm.js → faceMatchStateMachine-Ds0C7W8O.esm.js} +2 -2
- package/dist/{feature-management-Dk6GtPmQ.esm.js → feature-management-CNH0MiTf.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Chn80m_n.esm.js → fieldComparisonManager-Hk1Yu21X.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-CpX6MOy_.esm.js → fiscalQrManager-BW1DFWJz.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -8
- package/dist/flow.esm.js +8 -31
- package/dist/{flowCompletionService-EE2AqgK2.esm.js → flowCompletionService-Dm6U_s7_.esm.js} +3 -24
- package/dist/{flowServices-Co1rX0YL.esm.js → flowServices-B9c3lo2o.esm.js} +7 -7
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B5k0M_Ce.esm.js → geolocationManager-fWWAZbMH.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CpQp2JNM.esm.js → geolocationStateMachine-B1S0ONCE.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D2KGYDws.esm.js → governmentValidationManager-DZV4V3UF.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-DRG-5jwQ.esm.js → governmentValidationStateMachine-COOKNOL2.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 +3 -3
- package/dist/id-selfie-flow.esm.js +9 -9
- 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-CRn9jT4K.esm.js → idCaptureDefaults-D74C8SAy.esm.js} +4 -4
- package/dist/{idCaptureManager-BioOdXmE.esm.js → idCaptureManager-BFn3lavf.esm.js} +14 -12
- package/dist/{idCaptureManager-kmR_AuiW.d.ts → idCaptureManager-BMspT5GM.d.ts} +7 -7
- package/dist/{idCaptureServices-BGXAOyn4.esm.js → idCaptureServices-ql5Y-UVr.esm.js} +6 -6
- package/dist/{idCaptureStateMachine-BXyANZ-t.esm.js → idCaptureStateMachine-h6pWsf8Y.esm.js} +36 -30
- package/dist/{idOcrManager-C-_bzBSX.esm.js → idOcrManager-CQKIdcsS.esm.js} +2 -2
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrStateMachine-BNtBkAXC.esm.js → idOcrStateMachine-BcaWS8WW.esm.js} +1 -1
- package/dist/{idVerificationManager-CdvGdtg2.esm.js → idVerificationManager-CIHF9-ww.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-mozw0CIg.esm.js → idVerificationStateMachine-BWD7bHsy.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +1 -1
- package/dist/{identityReuseManager-Z1Re4UGd.esm.js → identityReuseManager-euJVzHHT.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-C_3fSFCw.esm.js → identityReuseStateMachine-Ct85j-vQ.esm.js} +1 -1
- package/dist/{index-C0WIMlJE.d.ts → index-DP-EPRCW.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BgrVxWlZ.esm.js → kybChecksManager-D0wCX2qw.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-C8FYNkvk.esm.js → kybChecksStateMachine-DeNaLlEp.esm.js} +2 -2
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CpriEr0q.d.ts → mandatoryConsentManager-ClXFPkWx.d.ts} +2 -2
- package/dist/{mandatoryConsentManager-CKzzbbRe.esm.js → mandatoryConsentManager-uwEeoZ0T.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-DpK7fg3E.esm.js → mandatoryConsentStateMachine-CHdyE9CM.esm.js} +1 -1
- package/dist/{multipartRecordingService-CEtaAPz4.esm.js → multipartRecordingService-BYa7i1Vr.esm.js} +1 -1
- package/dist/{permissionGuards-BN_Tyjgt.esm.js → permissionGuards-BymkaEBe.esm.js} +1 -1
- package/dist/{permissionServices-DB7ckY8v.esm.js → permissionServices-CrrStkAz.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-D8-l6-0y.esm.js → phoneManager-D0uiwYeN.esm.js} +2 -2
- package/dist/{phoneServices-C9lFIuCM.esm.js → phoneServices-CQ3JkB9f.esm.js} +1 -1
- package/dist/{phoneStateMachine-CGLBgJJR.esm.js → phoneStateMachine-BF29rVyh.esm.js} +2 -2
- package/dist/{processFaceMatch-B1Mhqkep.esm.js → processFaceMatch-BSCDDCky.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CLGnDCDl.esm.js → recordingService-wL5a4wto.esm.js} +12 -6
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-ruPN_Tsw.esm.js → redirectToMobileManager-DHuFklFc.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-BCAPZCy8.esm.js → redirectToMobileStateMachine-CIcTgOJd.esm.js} +1 -1
- package/dist/{runChildModule-Bxu-po-V.esm.js → runChildModule-Bt6n5ERu.esm.js} +1 -1
- package/dist/{sdkVersion-DwsW9y9D.esm.js → sdkVersion-Dy6Uvtpf.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +11 -10
- package/dist/{selfieErrorUtils-DKC75bAw.esm.js → selfieErrorUtils-CQravaIM.esm.js} +1 -1
- package/dist/{selfieManager-Ct7_daEC.esm.js → selfieManager-CT6BOnED.esm.js} +5 -5
- package/dist/{selfieManager-CAaZRbem.d.ts → selfieManager-D6KJWT4p.d.ts} +1 -1
- package/dist/{selfieStateMachine-DtIDTGP5.esm.js → selfieStateMachine-C8htw3-V.esm.js} +3 -3
- package/dist/{session-DgthPaRY.esm.js → session-BzbNqiPf.esm.js} +5 -4
- package/dist/session.d.ts +3 -13
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-BhO9UoAi.esm.js → sessionInitializer-HWshq7qA.esm.js} +15 -17
- package/dist/{setup-O-JVSYKa.d.ts → setup-CcOBfuP_.d.ts} +1 -1
- package/dist/{setup-CWr3k--N.esm.js → setup-DXuzze-j.esm.js} +11 -10
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-B6dRieBV.esm.js → signatureManager-DEMg0H8L.esm.js} +2 -2
- package/dist/{signatureStateMachine-DSW5-ZO0.esm.js → signatureStateMachine-b0c5l498.esm.js} +1 -1
- package/dist/{stats-VqHbD5rn.esm.js → stats-BYIXomqT.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/trueSight-DDfC-xa_.esm.js +1 -0
- package/dist/{trueSightService-CsUlw_TB.esm.js → trueSightService-2YfoxZBT.esm.js} +5 -5
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-B2DGXHe6.d.ts → types-BFPsOz4D.d.ts} +32 -2
- package/dist/{types-x5MQKskR.d.ts → types-CTCB59Ik.d.ts} +14 -3
- package/dist/{types-Crg7oL-l.d.ts → types-D5a04Wk2.d.ts} +1 -1
- package/dist/types-DbVeVsR2.d.ts +6 -0
- package/dist/{types-BkWUNheX.d.ts → types-J8DeVSAo.d.ts} +1 -1
- package/dist/{types-Bybof0yq.d.ts → types-XcOG5hmy.d.ts} +5 -5
- package/dist/video-selfie.d.ts +3 -3
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{videoSelfieCameraWarmer-DfEvzvd1.esm.js → videoSelfieCameraWarmer-eXXyxmCP.esm.js} +7 -7
- package/dist/{videoSelfieStepDetector-DGXi_TXk.d.ts → videoSelfieStepDetector-04BM3Mu1.d.ts} +4 -4
- package/dist/{warmup-BZOMg303.esm.js → warmup-BszvWzNo.esm.js} +137 -39
- package/dist/{warmup-BNhIuURi.d.ts → warmup-SWu5L7cW.d.ts} +1 -0
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDeepsightConfigSync-Cy2tPW0i.esm.js +79 -0
- package/dist/{wasmDsFlagSync-BHm1d2gA.esm.js → wasmDsFlagSync-99aL8DGv.esm.js} +1 -1
- package/dist/{wasmWebClient-CyLCM31e.esm.js → wasmWebClient-IwBSS51s.esm.js} +19 -12
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CfLnsL8p.esm.js → watchlistForBusinessManager-BcLeuXbh.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-EzlC_4I4.esm.js → watchlistForBusinessStateMachine-BjC4lqRq.esm.js} +1 -1
- package/dist/{watchlistManager-CGXbemnp.esm.js → watchlistManager-DLE2UhXW.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CsNEmiXL.esm.js → watchlistStateMachine-CZ6mEnQz.esm.js} +1 -1
- package/dist/workflow.d.ts +41 -226
- package/dist/workflow.esm.js +59 -142
- package/package.json +3 -3
- package/dist/types-C2uJrJrS.d.ts +0 -6
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
package/dist/workflow.esm.js
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
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
|
|
6
|
-
import {
|
|
2
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-2YfoxZBT.esm.js";
|
|
5
|
+
import "./trueSight-DDfC-xa_.esm.js";
|
|
6
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-HWshq7qA.esm.js";
|
|
7
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CNH0MiTf.esm.js";
|
|
7
8
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
8
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
9
|
+
import { i as toIncodeApiError } from "./apiError-BBp0FpOX.esm.js";
|
|
9
10
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
10
11
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
11
12
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
13
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-Cadf41a4.esm.js";
|
|
13
14
|
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 { r as documentSignatureMachine } from "./documentSignatureStateMachine-
|
|
22
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
15
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-IJYLXOQm.esm.js";
|
|
16
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CPc1vY1v.esm.js";
|
|
17
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-4NpYY6ct.esm.js";
|
|
18
|
+
import { t as consentMachine } from "./consentStateMachine-nbLSJMsQ.esm.js";
|
|
19
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-BvYQMsR4.esm.js";
|
|
20
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CD7ChTlQ.esm.js";
|
|
21
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DKG_aAPi.esm.js";
|
|
22
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-BjTx2J0y.esm.js";
|
|
23
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CsMQ7VwV.esm.js";
|
|
23
24
|
import { s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
24
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
25
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
25
|
+
import { t as ekybMachine } from "./ekybStateMachine-F8Y3pr55.esm.js";
|
|
26
|
+
import { t as ekycMachine } from "./ekycStateMachine-Ciq6djgB.esm.js";
|
|
26
27
|
import { l as toEkycConfig } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
27
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
28
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
29
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
30
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
31
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
32
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
33
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
34
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
35
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
36
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
37
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
38
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
39
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
40
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
41
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
42
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
43
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
44
|
-
import {
|
|
45
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
28
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BpTw0KLu.esm.js";
|
|
29
|
+
import { t as emailMachine } from "./emailStateMachine-D7nLw8oT.esm.js";
|
|
30
|
+
import { t as selfieMachine } from "./selfieStateMachine-C8htw3-V.esm.js";
|
|
31
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-h6pWsf8Y.esm.js";
|
|
32
|
+
import { t as phoneMachine } from "./phoneStateMachine-BF29rVyh.esm.js";
|
|
33
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CZ6mEnQz.esm.js";
|
|
34
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-BjC4lqRq.esm.js";
|
|
35
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-Ct85j-vQ.esm.js";
|
|
36
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CHdyE9CM.esm.js";
|
|
37
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-BcaWS8WW.esm.js";
|
|
38
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CIcTgOJd.esm.js";
|
|
39
|
+
import { t as signatureMachine } from "./signatureStateMachine-b0c5l498.esm.js";
|
|
40
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B1S0ONCE.esm.js";
|
|
41
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-COOKNOL2.esm.js";
|
|
42
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-BWD7bHsy.esm.js";
|
|
43
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-Ds0C7W8O.esm.js";
|
|
44
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DeNaLlEp.esm.js";
|
|
45
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-Dm6U_s7_.esm.js";
|
|
46
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Bt6n5ERu.esm.js";
|
|
46
47
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
47
48
|
import "./qe-signature.esm.js";
|
|
48
49
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
@@ -327,72 +328,6 @@ function applyWorkflowNodeOverlays(moduleKey, config, skipFaceMatch) {
|
|
|
327
328
|
}
|
|
328
329
|
return config;
|
|
329
330
|
}
|
|
330
|
-
const handoffCompletionMachine = setup({
|
|
331
|
-
types: {
|
|
332
|
-
context: {},
|
|
333
|
-
input: {},
|
|
334
|
-
output: {}
|
|
335
|
-
},
|
|
336
|
-
actors: {
|
|
337
|
-
readRedirect: fromPromise(({ signal }) => getHandoffFinishStatus(signal)),
|
|
338
|
-
readScore: fromPromise(({ input, signal }) => input(signal))
|
|
339
|
-
}
|
|
340
|
-
}).createMachine({
|
|
341
|
-
id: "handoffCompletion",
|
|
342
|
-
initial: "collecting",
|
|
343
|
-
context: ({ input }) => ({
|
|
344
|
-
...input,
|
|
345
|
-
finishStatus: void 0,
|
|
346
|
-
totalScoreStatus: void 0
|
|
347
|
-
}),
|
|
348
|
-
output: ({ context }) => ({
|
|
349
|
-
finishStatus: context.finishStatus,
|
|
350
|
-
totalScoreStatus: context.totalScoreStatus
|
|
351
|
-
}),
|
|
352
|
-
states: {
|
|
353
|
-
collecting: {
|
|
354
|
-
type: "parallel",
|
|
355
|
-
after: { [HANDOFF_COMPLETION_TIMEOUT_MS]: "#handoffCompletion.finished" },
|
|
356
|
-
onDone: "finished",
|
|
357
|
-
states: {
|
|
358
|
-
redirect: {
|
|
359
|
-
initial: "loading",
|
|
360
|
-
states: {
|
|
361
|
-
loading: { invoke: {
|
|
362
|
-
src: "readRedirect",
|
|
363
|
-
onDone: {
|
|
364
|
-
target: "finished",
|
|
365
|
-
actions: assign(({ event }) => ({ finishStatus: event.output }))
|
|
366
|
-
},
|
|
367
|
-
onError: "finished"
|
|
368
|
-
} },
|
|
369
|
-
finished: { type: "final" }
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
score: {
|
|
373
|
-
initial: "checking",
|
|
374
|
-
states: {
|
|
375
|
-
checking: { always: [{
|
|
376
|
-
target: "loading",
|
|
377
|
-
guard: ({ context }) => context.resolveScore
|
|
378
|
-
}, { target: "finished" }] },
|
|
379
|
-
loading: { invoke: {
|
|
380
|
-
src: "readScore",
|
|
381
|
-
input: ({ context }) => context.getTotalScoreStatus,
|
|
382
|
-
onDone: {
|
|
383
|
-
target: "finished",
|
|
384
|
-
actions: assign(({ event }) => ({ totalScoreStatus: event.output }))
|
|
385
|
-
},
|
|
386
|
-
onError: "finished"
|
|
387
|
-
} },
|
|
388
|
-
finished: { type: "final" }
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
finished: { type: "final" }
|
|
394
|
-
}
|
|
395
|
-
});
|
|
396
331
|
//#endregion
|
|
397
332
|
//#region src/modules/workflow/workflowStateMachine.ts
|
|
398
333
|
/**
|
|
@@ -424,7 +359,6 @@ const workflowMachine = setup({
|
|
|
424
359
|
input: {}
|
|
425
360
|
},
|
|
426
361
|
actors: {
|
|
427
|
-
resolveHandoffCompletion: handoffCompletionMachine,
|
|
428
362
|
loadWorkflow: fromPromise(({ input, signal }) => loadWorkflow(input, signal)),
|
|
429
363
|
processNextNode: fromPromise(({ input, signal }) => processNextNode(input, signal)),
|
|
430
364
|
handleCustomModule: fromPromise(({ input, signal }) => handleCustomModule(input, signal)),
|
|
@@ -520,7 +454,7 @@ const workflowMachine = setup({
|
|
|
520
454
|
isOnboardingFinishedSignal: ({ event }) => event.output?.action === "onboardingFinished",
|
|
521
455
|
isAdvanceableModuleError: ({ event }) => isAdvanceableError(event.moduleErrorCode),
|
|
522
456
|
shouldResolveScore: ({ context }) => context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
523
|
-
|
|
457
|
+
isOnboardingFinishedWithStatusScreen: ({ context, event }) => event.output?.action === "onboardingFinished" && context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
524
458
|
shouldEnterHome: ({ context, event }) => {
|
|
525
459
|
if (context.hasShownHome) return false;
|
|
526
460
|
const result = event.output;
|
|
@@ -551,7 +485,6 @@ const workflowMachine = setup({
|
|
|
551
485
|
registeredModules: input.modules,
|
|
552
486
|
configMappers: input.configMappers ?? {},
|
|
553
487
|
finishStatus: void 0,
|
|
554
|
-
completedOnMobile: false,
|
|
555
488
|
totalScoreStatus: void 0,
|
|
556
489
|
customModuleCallback: input.customModuleCallback,
|
|
557
490
|
interviewId: input.interviewId ?? "",
|
|
@@ -643,13 +576,20 @@ const workflowMachine = setup({
|
|
|
643
576
|
}
|
|
644
577
|
},
|
|
645
578
|
on: {
|
|
646
|
-
MODULE_COMPLETE: [
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
579
|
+
MODULE_COMPLETE: [
|
|
580
|
+
{
|
|
581
|
+
target: "resolvingScore",
|
|
582
|
+
guard: "isOnboardingFinishedWithStatusScreen"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
target: "finished",
|
|
586
|
+
guard: "isOnboardingFinishedSignal"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
target: "processingNode",
|
|
590
|
+
actions: ["persistSkipFaceMatch"]
|
|
591
|
+
}
|
|
592
|
+
],
|
|
653
593
|
MODULE_ERROR: [{
|
|
654
594
|
guard: "isAdvanceableModuleError",
|
|
655
595
|
target: "processingNode",
|
|
@@ -663,17 +603,10 @@ const workflowMachine = setup({
|
|
|
663
603
|
]
|
|
664
604
|
}],
|
|
665
605
|
COMPLETE_FLOW: "completing",
|
|
666
|
-
FINISH_WORKFLOW: [
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
target: "resolvingScore",
|
|
673
|
-
guard: "shouldResolveScore"
|
|
674
|
-
},
|
|
675
|
-
{ target: "finished" }
|
|
676
|
-
]
|
|
606
|
+
FINISH_WORKFLOW: [{
|
|
607
|
+
target: "resolvingScore",
|
|
608
|
+
guard: "shouldResolveScore"
|
|
609
|
+
}, { target: "finished" }]
|
|
677
610
|
}
|
|
678
611
|
},
|
|
679
612
|
handlingCustomModule: { invoke: {
|
|
@@ -749,21 +682,6 @@ const workflowMachine = setup({
|
|
|
749
682
|
actions: "setError"
|
|
750
683
|
}
|
|
751
684
|
} },
|
|
752
|
-
resolvingHandoffCompletion: {
|
|
753
|
-
entry: assign({ completedOnMobile: true }),
|
|
754
|
-
invoke: {
|
|
755
|
-
src: "resolveHandoffCompletion",
|
|
756
|
-
input: ({ context }) => ({
|
|
757
|
-
resolveScore: context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
758
|
-
getTotalScoreStatus: context.getTotalScoreStatus
|
|
759
|
-
}),
|
|
760
|
-
onDone: {
|
|
761
|
-
target: "finished",
|
|
762
|
-
actions: assign(({ event }) => event.output)
|
|
763
|
-
},
|
|
764
|
-
onError: "finished"
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
685
|
completing: { invoke: {
|
|
768
686
|
id: "notifyBackend",
|
|
769
687
|
src: "notifyBackend",
|
|
@@ -884,8 +802,7 @@ function mapState(snapshot) {
|
|
|
884
802
|
status: "finished",
|
|
885
803
|
workflowConfig: context.workflowConfig,
|
|
886
804
|
finishStatus,
|
|
887
|
-
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus
|
|
888
|
-
...context.completedOnMobile ? { completedOnMobile: true } : {}
|
|
805
|
+
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus
|
|
889
806
|
};
|
|
890
807
|
}
|
|
891
808
|
if (snapshot.matches("asyncResolution")) return {
|
|
@@ -900,7 +817,7 @@ function mapState(snapshot) {
|
|
|
900
817
|
errorCode: context.errorCode,
|
|
901
818
|
moduleErrorCode: context.moduleErrorCode
|
|
902
819
|
};
|
|
903
|
-
if (snapshot.matches("completing")
|
|
820
|
+
if (snapshot.matches("completing")) return {
|
|
904
821
|
status: "completing",
|
|
905
822
|
homeScreen
|
|
906
823
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20261120-aba4c7f3",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -296,9 +296,9 @@
|
|
|
296
296
|
"tsdown": "^0.22.8",
|
|
297
297
|
"typescript": "^5.9.3",
|
|
298
298
|
"vitest": "4.1.10",
|
|
299
|
+
"@incodetech/config": "1.0.2",
|
|
299
300
|
"@incodetech/form-definitions": "0.0.0",
|
|
300
|
-
"@incodetech/infra": "1.5.0"
|
|
301
|
-
"@incodetech/config": "1.0.2"
|
|
301
|
+
"@incodetech/infra": "1.5.0"
|
|
302
302
|
},
|
|
303
303
|
"scripts": {
|
|
304
304
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|
package/dist/types-C2uJrJrS.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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 };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//#region ../infra/src/wasm/wasmMetadataVersionSync.ts
|
|
2
|
-
let metadataV2Enabled = false;
|
|
3
|
-
let applyToRuntime;
|
|
4
|
-
/**
|
|
5
|
-
* Selects the capture-metadata document the kit emits (ml-wasm-kit `smv`,
|
|
6
|
-
* ADR 0009): `true` picks the v2 document Deepsight 2.0 scores, `false` (the
|
|
7
|
-
* default) the v1 document. Purely in-memory, like `setWasmDsFlagSync`: the
|
|
8
|
-
* value waits here until the WASM runtime loads, and from then on the runtime
|
|
9
|
-
* latches it, applies it at once when WASM is up and replays it after every
|
|
10
|
-
* `initialize()`, because the kit keeps the selector as realm state that a
|
|
11
|
-
* new module instance resets to v1. Resolve it before the first capture and
|
|
12
|
-
* never toggle it mid-session — the uploads would mix formats.
|
|
13
|
-
*/
|
|
14
|
-
function setWasmMetadataV2Enabled(enabled) {
|
|
15
|
-
metadataV2Enabled = enabled;
|
|
16
|
-
applyToRuntime?.(enabled);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* For the `WasmRuntime` singleton, once, when its module loads: replays the
|
|
20
|
-
* selection made before the runtime existed and forwards every later one.
|
|
21
|
-
*/
|
|
22
|
-
function bindWasmMetadataV2Applier(apply) {
|
|
23
|
-
applyToRuntime = apply;
|
|
24
|
-
apply(metadataV2Enabled);
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { setWasmMetadataV2Enabled as n, bindWasmMetadataV2Applier as t };
|