@incodetech/core 2.5.0-rc.4 → 2.5.0-rc.6
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/{FaceDetectionProvider-klK6EFg6.esm.js → FaceDetectionProvider-CyJw0IsP.esm.js} +7 -7
- package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BGHyclUd.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-CE2Cxfqy.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-BpeuH5Wx.esm.js} +1 -1
- package/dist/{api-CZpuJuZl.esm.js → api-BMLJdwd_.esm.js} +0 -1
- package/dist/{apiError-DRsBE3CK.esm.js → apiError-DRTHDDhm.esm.js} +1 -1
- package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-Dp2xFl7A.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CyvlBPdd.esm.js → authenticationManager-9ONStCgT.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DlzoWoU4.esm.js → authenticationStateMachine-C5x183J5.esm.js} +3 -3
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-DaUklfNj.esm.js → certificateIssuanceManager-BQ74_sGE.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-_EQcjGE3.esm.js → certificateIssuanceStateMachine-Cm3b9OoM.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-Bx_osBME.d.ts} +9 -9
- package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DEC34vhb.esm.js} +2 -2
- package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-D0Nh_LD7.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BHRsIIYY.esm.js} +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-nIJpoMnT.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-4MAvdROS.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-BGCfq1Z3.esm.js} +2 -2
- package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-B5rEcjyh.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-5DmmGqzB.esm.js} +1 -1
- package/dist/{deepsightLoader-JqZ_BHU4.esm.js → deepsightLoader-RG59l8ri.esm.js} +3 -3
- package/dist/{desktopCameraElection-q3cVTQ6a.esm.js → desktopCameraElection-h7SmDXmW.esm.js} +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-D5oiXpwG.esm.js → documentCaptureManager-DODC4eUX.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-zyJcTCBx.esm.js → documentCaptureStateMachine-B4CPAJrT.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CrQe8JpB.esm.js → dynamicFormsManager-8zrLS2Ck.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-BbQk7qGH.esm.js → dynamicFormsStateMachine-CK3zL3iS.esm.js} +2 -2
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CMr6x_1w.esm.js → ekybManager-DDP5IaHY.esm.js} +2 -2
- package/dist/{ekybStateMachine-CmrEOQpf.esm.js → ekybStateMachine-BD0CIuRz.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-nRT0rxei.esm.js → ekycManager-DWuONuie.esm.js} +2 -2
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BQ_KKUv5.d.ts} +29 -29
- package/dist/{ekycPrefillManager-D4e5zKJO.esm.js → ekycPrefillManager-CTWhBVoN.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-C5lP7aBp.esm.js → ekycPrefillStateMachine-r8bL9KfD.esm.js} +2 -2
- package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-BsclGsmE.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BP-va382.esm.js → electronicSignatureManager-B3-sH5IC.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Co4jarT1.esm.js → emailManager-DJfqy42G.esm.js} +2 -2
- package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-Ba4dmk3l.esm.js} +2 -2
- package/dist/{events-CP3yOzAl.esm.js → events-C2lGiIT1.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +35 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-kFzpFeWi.esm.js → faceCaptureManagerFactory-BJS2Tnx-.esm.js} +2 -2
- package/dist/{faceCaptureSetup-CpnjQFgi.esm.js → faceCaptureSetup-Bhz8lwW7.esm.js} +9 -9
- package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-BFLHLTGE.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Bjjv_w-a.esm.js} +2 -2
- package/dist/{feature-management-CxMEynqK.esm.js → feature-management-C3QneguW.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-CPQEHk24.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-2ZBUw08-.esm.js → fiscalQrManager-Ej11Z_Qk.esm.js} +2 -2
- package/dist/flow.d.ts +0 -2
- package/dist/flow.esm.js +8 -31
- package/dist/{flowCompletionService-HyLrcPyI.esm.js → flowCompletionService-BlZf2S4D.esm.js} +3 -24
- package/dist/{flowServices-DB-8bIC3.esm.js → flowServices-ebGF4q88.esm.js} +8 -10
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bg_D9126.esm.js → geolocationManager-BiT8y5PE.esm.js} +2 -2
- package/dist/{geolocationStateMachine-DYwyH9H5.esm.js → geolocationStateMachine-DgXn12M8.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-Dr5zg44a.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-BmgcBddx.esm.js} +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.esm.js +6 -6
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-B-r13aBN.esm.js → idCaptureManager-kdke1gtm.esm.js} +5 -5
- package/dist/{idCaptureServices-BUtcpwTU.esm.js → idCaptureServices-D-agq_ax.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-qK87MsJV.esm.js → idCaptureStateMachine-B0AxoQow.esm.js} +13 -13
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
- package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-CUqaGVGx.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-8PmK-51A.esm.js} +1 -1
- package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-BCJSTVib.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-XRiYohGp.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +1 -1
- package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-BX6Xwekg.esm.js} +2 -2
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-X1jzn8C5.esm.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-C-tMl9v-.esm.js → kybChecksManager-DjrU0M3B.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B8HBo4Sr.esm.js → kybChecksStateMachine-DYphplJy.esm.js} +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-FKRF94TQ.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-CCkV4Cm3.d.ts → mandatoryConsentManager-H7bI8hDD.d.ts} +9 -9
- package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-CSF03QyH.esm.js} +1 -1
- package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-UQ06vyEa.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-xOrux05n.esm.js} +2 -2
- package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-3DueJr0O.esm.js} +1 -1
- package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-Bn9WlZnH.esm.js} +2 -2
- package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-BwjIWIbi.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-yptkVJTO.esm.js → recordingService-DE9YedlD.esm.js} +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DjsEtWLq.esm.js → redirectToMobileManager-PWuwwVbb.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-CMjjUXSu.esm.js → redirectToMobileStateMachine-DHpg32uO.esm.js} +1 -1
- package/dist/{runChildModule-BfKUYITn.esm.js → runChildModule-BH_gn9m0.esm.js} +1 -1
- package/dist/{sdkVersion-WUghPvAM.esm.js → sdkVersion-CF6EnSdD.esm.js} +1 -1
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-CDEXv09U.esm.js → selfieErrorUtils-XE4MAZtM.esm.js} +1 -1
- package/dist/{selfieManager-CESXppTr.esm.js → selfieManager-DYsXvWXe.esm.js} +4 -4
- package/dist/{selfieStateMachine-DTgmC86l.esm.js → selfieStateMachine-sA0CAdEh.esm.js} +3 -3
- package/dist/{session-BsnIw7oQ.esm.js → session-BlQhABCI.esm.js} +4 -4
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-6OS932zX.esm.js → sessionInitializer-CyNOMKjP.esm.js} +17 -63
- package/dist/{setup-DpNKrn3K.esm.js → setup-Dn7aLuAf.esm.js} +8 -8
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-DIXqYmUN.esm.js} +2 -2
- package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-B7yC0mK9.esm.js} +1 -1
- package/dist/{stats-DoByUnTa.esm.js → stats-ummJank2.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-N_y4mTc3.esm.js → trueSightService-CGd9xhHT.esm.js} +3 -3
- package/dist/trust-graph.esm.js +1 -1
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-CsIqHijy.esm.js → videoSelfieCameraWarmer-B7HwT-tE.esm.js} +4 -4
- package/dist/wasm.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-CCzx7A5X.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-DPS6rkl6.esm.js} +1 -1
- package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-DDMrwI-3.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-BuJHQJ_p.esm.js} +1 -1
- package/dist/workflow.d.ts +40 -225
- package/dist/workflow.esm.js +57 -141
- package/package.json +3 -3
package/dist/workflow.esm.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.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 { E as updateFeatureManagementUser } from "./feature-management-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-CGd9xhHT.esm.js";
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CyNOMKjP.esm.js";
|
|
6
|
+
import { E as updateFeatureManagementUser } from "./feature-management-C3QneguW.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-DRTHDDhm.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-B3-sH5IC.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 { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
14
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-BpeuH5Wx.esm.js";
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C5x183J5.esm.js";
|
|
16
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cm3b9OoM.esm.js";
|
|
17
|
+
import { t as consentMachine } from "./consentStateMachine-D0Nh_LD7.esm.js";
|
|
18
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-4MAvdROS.esm.js";
|
|
19
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-5DmmGqzB.esm.js";
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-B4CPAJrT.esm.js";
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CK3zL3iS.esm.js";
|
|
22
22
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
23
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
24
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
23
|
+
import { t as ekybMachine } from "./ekybStateMachine-BD0CIuRz.esm.js";
|
|
24
|
+
import { t as ekycMachine } from "./ekycStateMachine-BsclGsmE.esm.js";
|
|
25
25
|
import { l as toEkycConfig } from "./ekycUtils-FcqA6oU4.esm.js";
|
|
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 {
|
|
44
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
26
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-r8bL9KfD.esm.js";
|
|
27
|
+
import { t as emailMachine } from "./emailStateMachine-Ba4dmk3l.esm.js";
|
|
28
|
+
import { t as selfieMachine } from "./selfieStateMachine-sA0CAdEh.esm.js";
|
|
29
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-B0AxoQow.esm.js";
|
|
30
|
+
import { t as phoneMachine } from "./phoneStateMachine-Bn9WlZnH.esm.js";
|
|
31
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-BuJHQJ_p.esm.js";
|
|
32
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DPS6rkl6.esm.js";
|
|
33
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-X1jzn8C5.esm.js";
|
|
34
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CSF03QyH.esm.js";
|
|
35
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-8PmK-51A.esm.js";
|
|
36
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-DHpg32uO.esm.js";
|
|
37
|
+
import { t as signatureMachine } from "./signatureStateMachine-B7yC0mK9.esm.js";
|
|
38
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DgXn12M8.esm.js";
|
|
39
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BmgcBddx.esm.js";
|
|
40
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-XRiYohGp.esm.js";
|
|
41
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-Bjjv_w-a.esm.js";
|
|
42
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DYphplJy.esm.js";
|
|
43
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BlZf2S4D.esm.js";
|
|
44
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BH_gn9m0.esm.js";
|
|
45
45
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
46
46
|
import "./qe-signature.esm.js";
|
|
47
47
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
@@ -325,72 +325,6 @@ function applyWorkflowNodeOverlays(moduleKey, config, skipFaceMatch) {
|
|
|
325
325
|
}
|
|
326
326
|
return config;
|
|
327
327
|
}
|
|
328
|
-
const handoffCompletionMachine = setup({
|
|
329
|
-
types: {
|
|
330
|
-
context: {},
|
|
331
|
-
input: {},
|
|
332
|
-
output: {}
|
|
333
|
-
},
|
|
334
|
-
actors: {
|
|
335
|
-
readRedirect: fromPromise(({ signal }) => getHandoffFinishStatus(signal)),
|
|
336
|
-
readScore: fromPromise(({ input, signal }) => input(signal))
|
|
337
|
-
}
|
|
338
|
-
}).createMachine({
|
|
339
|
-
id: "handoffCompletion",
|
|
340
|
-
initial: "collecting",
|
|
341
|
-
context: ({ input }) => ({
|
|
342
|
-
...input,
|
|
343
|
-
finishStatus: void 0,
|
|
344
|
-
totalScoreStatus: void 0
|
|
345
|
-
}),
|
|
346
|
-
output: ({ context }) => ({
|
|
347
|
-
finishStatus: context.finishStatus,
|
|
348
|
-
totalScoreStatus: context.totalScoreStatus
|
|
349
|
-
}),
|
|
350
|
-
states: {
|
|
351
|
-
collecting: {
|
|
352
|
-
type: "parallel",
|
|
353
|
-
after: { [HANDOFF_COMPLETION_TIMEOUT_MS]: "#handoffCompletion.finished" },
|
|
354
|
-
onDone: "finished",
|
|
355
|
-
states: {
|
|
356
|
-
redirect: {
|
|
357
|
-
initial: "loading",
|
|
358
|
-
states: {
|
|
359
|
-
loading: { invoke: {
|
|
360
|
-
src: "readRedirect",
|
|
361
|
-
onDone: {
|
|
362
|
-
target: "finished",
|
|
363
|
-
actions: assign(({ event }) => ({ finishStatus: event.output }))
|
|
364
|
-
},
|
|
365
|
-
onError: "finished"
|
|
366
|
-
} },
|
|
367
|
-
finished: { type: "final" }
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
score: {
|
|
371
|
-
initial: "checking",
|
|
372
|
-
states: {
|
|
373
|
-
checking: { always: [{
|
|
374
|
-
target: "loading",
|
|
375
|
-
guard: ({ context }) => context.resolveScore
|
|
376
|
-
}, { target: "finished" }] },
|
|
377
|
-
loading: { invoke: {
|
|
378
|
-
src: "readScore",
|
|
379
|
-
input: ({ context }) => context.getTotalScoreStatus,
|
|
380
|
-
onDone: {
|
|
381
|
-
target: "finished",
|
|
382
|
-
actions: assign(({ event }) => ({ totalScoreStatus: event.output }))
|
|
383
|
-
},
|
|
384
|
-
onError: "finished"
|
|
385
|
-
} },
|
|
386
|
-
finished: { type: "final" }
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
finished: { type: "final" }
|
|
392
|
-
}
|
|
393
|
-
});
|
|
394
328
|
//#endregion
|
|
395
329
|
//#region src/modules/workflow/workflowStateMachine.ts
|
|
396
330
|
/**
|
|
@@ -422,7 +356,6 @@ const workflowMachine = setup({
|
|
|
422
356
|
input: {}
|
|
423
357
|
},
|
|
424
358
|
actors: {
|
|
425
|
-
resolveHandoffCompletion: handoffCompletionMachine,
|
|
426
359
|
loadWorkflow: fromPromise(({ input, signal }) => loadWorkflow(input, signal)),
|
|
427
360
|
processNextNode: fromPromise(({ input, signal }) => processNextNode(input, signal)),
|
|
428
361
|
handleCustomModule: fromPromise(({ input, signal }) => handleCustomModule(input, signal)),
|
|
@@ -518,7 +451,7 @@ const workflowMachine = setup({
|
|
|
518
451
|
isOnboardingFinishedSignal: ({ event }) => event.output?.action === "onboardingFinished",
|
|
519
452
|
isAdvanceableModuleError: ({ event }) => isAdvanceableError(event.moduleErrorCode),
|
|
520
453
|
shouldResolveScore: ({ context }) => context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
521
|
-
|
|
454
|
+
isOnboardingFinishedWithStatusScreen: ({ context, event }) => event.output?.action === "onboardingFinished" && context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
522
455
|
shouldEnterHome: ({ context, event }) => {
|
|
523
456
|
if (context.hasShownHome) return false;
|
|
524
457
|
const result = event.output;
|
|
@@ -549,7 +482,6 @@ const workflowMachine = setup({
|
|
|
549
482
|
registeredModules: input.modules,
|
|
550
483
|
configMappers: input.configMappers ?? {},
|
|
551
484
|
finishStatus: void 0,
|
|
552
|
-
completedOnMobile: false,
|
|
553
485
|
totalScoreStatus: void 0,
|
|
554
486
|
customModuleCallback: input.customModuleCallback,
|
|
555
487
|
interviewId: input.interviewId ?? "",
|
|
@@ -641,13 +573,20 @@ const workflowMachine = setup({
|
|
|
641
573
|
}
|
|
642
574
|
},
|
|
643
575
|
on: {
|
|
644
|
-
MODULE_COMPLETE: [
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
576
|
+
MODULE_COMPLETE: [
|
|
577
|
+
{
|
|
578
|
+
target: "resolvingScore",
|
|
579
|
+
guard: "isOnboardingFinishedWithStatusScreen"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
target: "finished",
|
|
583
|
+
guard: "isOnboardingFinishedSignal"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
target: "processingNode",
|
|
587
|
+
actions: ["persistSkipFaceMatch"]
|
|
588
|
+
}
|
|
589
|
+
],
|
|
651
590
|
MODULE_ERROR: [{
|
|
652
591
|
guard: "isAdvanceableModuleError",
|
|
653
592
|
target: "processingNode",
|
|
@@ -661,17 +600,10 @@ const workflowMachine = setup({
|
|
|
661
600
|
]
|
|
662
601
|
}],
|
|
663
602
|
COMPLETE_FLOW: "completing",
|
|
664
|
-
FINISH_WORKFLOW: [
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
target: "resolvingScore",
|
|
671
|
-
guard: "shouldResolveScore"
|
|
672
|
-
},
|
|
673
|
-
{ target: "finished" }
|
|
674
|
-
]
|
|
603
|
+
FINISH_WORKFLOW: [{
|
|
604
|
+
target: "resolvingScore",
|
|
605
|
+
guard: "shouldResolveScore"
|
|
606
|
+
}, { target: "finished" }]
|
|
675
607
|
}
|
|
676
608
|
},
|
|
677
609
|
handlingCustomModule: { invoke: {
|
|
@@ -747,21 +679,6 @@ const workflowMachine = setup({
|
|
|
747
679
|
actions: "setError"
|
|
748
680
|
}
|
|
749
681
|
} },
|
|
750
|
-
resolvingHandoffCompletion: {
|
|
751
|
-
entry: assign({ completedOnMobile: true }),
|
|
752
|
-
invoke: {
|
|
753
|
-
src: "resolveHandoffCompletion",
|
|
754
|
-
input: ({ context }) => ({
|
|
755
|
-
resolveScore: context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
756
|
-
getTotalScoreStatus: context.getTotalScoreStatus
|
|
757
|
-
}),
|
|
758
|
-
onDone: {
|
|
759
|
-
target: "finished",
|
|
760
|
-
actions: assign(({ event }) => event.output)
|
|
761
|
-
},
|
|
762
|
-
onError: "finished"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
682
|
completing: { invoke: {
|
|
766
683
|
id: "notifyBackend",
|
|
767
684
|
src: "notifyBackend",
|
|
@@ -882,8 +799,7 @@ function mapState(snapshot) {
|
|
|
882
799
|
status: "finished",
|
|
883
800
|
workflowConfig: context.workflowConfig,
|
|
884
801
|
finishStatus,
|
|
885
|
-
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus
|
|
886
|
-
...context.completedOnMobile ? { completedOnMobile: true } : {}
|
|
802
|
+
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus
|
|
887
803
|
};
|
|
888
804
|
}
|
|
889
805
|
if (snapshot.matches("asyncResolution")) return {
|
|
@@ -898,7 +814,7 @@ function mapState(snapshot) {
|
|
|
898
814
|
errorCode: context.errorCode,
|
|
899
815
|
moduleErrorCode: context.moduleErrorCode
|
|
900
816
|
};
|
|
901
|
-
if (snapshot.matches("completing")
|
|
817
|
+
if (snapshot.matches("completing")) return {
|
|
902
818
|
status: "completing",
|
|
903
819
|
homeScreen
|
|
904
820
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.5.0-rc.
|
|
3
|
+
"version": "2.5.0-rc.6",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -291,9 +291,9 @@
|
|
|
291
291
|
"tsdown": "^0.22.8",
|
|
292
292
|
"typescript": "^5.9.3",
|
|
293
293
|
"vitest": "4.1.10",
|
|
294
|
-
"@incodetech/config": "1.0.2",
|
|
295
294
|
"@incodetech/form-definitions": "0.0.0",
|
|
296
|
-
"@incodetech/infra": "1.5.0"
|
|
295
|
+
"@incodetech/infra": "1.5.0",
|
|
296
|
+
"@incodetech/config": "1.0.2"
|
|
297
297
|
},
|
|
298
298
|
"scripts": {
|
|
299
299
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|