@incodetech/core 0.0.0-dev-20260414-56e3445 → 0.0.0-dev-20260414-db434be
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/{OpenViduRecordingProvider-D5eKWCUZ.esm.js → OpenViduRecordingProvider-CCUuM9nV.esm.js} +1 -1
- package/dist/{WasmUtilProvider-BvXiqQSQ.esm.js → WasmUtilProvider-CYe0Xlh-.esm.js} +1 -1
- package/dist/{addressSearch-C_0wN5KN.esm.js → addressSearch-Ui2rQ1v-.esm.js} +4 -4
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-WMyzW7FW.esm.js → antifraudStateMachine-ZNM45OSv.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-DrsjKwg6.d.ts → authenticationManager-BuWdnIab.d.ts} +2 -2
- package/dist/{authenticationManager-k9cC-jvW.esm.js → authenticationManager-CwWzwxMp.esm.js} +6 -6
- package/dist/{authenticationStateMachine-DsePlR1o.esm.js → authenticationStateMachine-CAvcWS_b.esm.js} +6 -6
- package/dist/{backCameraStream-p9UjczGK.esm.js → backCameraStream-amVBjSd6.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-CKaVliKQ.esm.js → consentStateMachine-YbOlYveq.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-TmFjYie1.esm.js → curpValidationStateMachine-D3NZ1SVG.esm.js} +3 -3
- package/dist/{deepsightLoader-B3DY23-5.esm.js → deepsightLoader-BqeQIeno.esm.js} +10 -10
- package/dist/{deepsightService-BgvhDdse.esm.js → deepsightService-B14izXzw.esm.js} +5 -5
- package/dist/{deepsightService-Clz07wkf.d.ts → deepsightService-CNR9-7As.d.ts} +2 -2
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +79 -79
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-CmUER_Il.esm.js → documentCaptureStateMachine-CFNsZHSs.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-ENNR09OW.esm.js → ekybStateMachine-BJS8bjot.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +6 -6
- package/dist/{ekycStateMachine-BJTwbCcq.esm.js → ekycStateMachine-CYGpzMDd.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-CeOaYSt0.esm.js → emailManager-BNmWTggA.esm.js} +3 -3
- package/dist/{emailManager-mkgZ1sR6.d.ts → emailManager-DT0plT1F.d.ts} +2 -2
- package/dist/{emailStateMachine-CQa3EMhA.esm.js → emailStateMachine-vD2VtYZM.esm.js} +4 -4
- package/dist/{events-BSP6Ksh5.esm.js → events-B3HfNWqp.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-DhKU7cW9.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-Dr5TSw6i.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js} +2 -2
- package/dist/{faceCaptureSetup-TT4s3AkW.esm.js → faceCaptureSetup-CdYYDgN6.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-B_CXt9NM.esm.js → faceMatchStateMachine-DptHGpKT.esm.js} +3 -3
- package/dist/flow.d.ts +16 -11
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-CKpuKBHj.esm.js → flowCompletionService-BhzS182Y.esm.js} +2 -2
- package/dist/{flowServices-aa_WK5bT.esm.js → flowServices-D_yVNocO.esm.js} +16 -10
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-_H3mSlsR.esm.js → geolocationStateMachine-DY8eWROq.esm.js} +4 -4
- package/dist/{getDeviceClass-B1VQriq2.esm.js → getDeviceClass-CkdEWjAM.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-C9DWKoT4.esm.js → governmentValidationStateMachine-DCqdkm8Z.esm.js} +4 -4
- package/dist/home.d.ts +129 -0
- package/dist/home.esm.js +73 -0
- package/dist/http.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-4tf9GZ-h.d.ts → idCaptureManager-D1MiNNuR.d.ts} +7 -7
- package/dist/{idCaptureManager-C-zoK9OY.esm.js → idCaptureManager-_e78xuEM.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-Boqx6C9c.esm.js → idCaptureStateMachine-CYPfS8iO.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +46 -46
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-twqShmWZ.esm.js → lib-BcTqNgYu.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +60 -60
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-CaDUQVH2.esm.js → mandatoryConsentStateMachine-D0weA8Cn.esm.js} +3 -3
- package/dist/{openviduLazy-04FW2FLo.esm.js → openviduLazy-BiBkiXcn.esm.js} +2 -2
- package/dist/openviduLazy-CrjlHYIL.esm.js +3 -0
- package/dist/{permissionServices-DKkY9SGA.esm.js → permissionServices-ElKNJ-9J.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-OiAoV4_y.d.ts → phoneManager-BxWESUBK.d.ts} +2 -2
- package/dist/{phoneManager-DGBqKLwU.esm.js → phoneManager-CRVt9rvr.esm.js} +3 -3
- package/dist/{phoneStateMachine-BeOW6-sK.esm.js → phoneStateMachine-BMTT0tvu.esm.js} +4 -4
- package/dist/{recordingService-Chf_ClDh.esm.js → recordingService-BNOxJMAM.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-BUmbZaow.esm.js → redirectToMobileStateMachine-8yOC9dnH.esm.js} +4 -4
- package/dist/{runChildModule-BplQ84Fu.esm.js → runChildModule-eBqC5Z25.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-DV5d7owu.d.ts → selfieManager-B7XmNptL.d.ts} +2 -2
- package/dist/{selfieManager-D3MbSLB7.esm.js → selfieManager-C6pl5f2B.esm.js} +6 -6
- package/dist/{selfieStateMachine-DrehcPoi.esm.js → selfieStateMachine-B88Q3SFX.esm.js} +3 -3
- package/dist/{session-C3psgB0o.esm.js → session-D2s2kUoa.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-Dre4G5OX.d.ts → setup-DR4SBtyZ.d.ts} +1 -1
- package/dist/{setup-BqE0p_Cg.esm.js → setup-nE0hEkGl.esm.js} +5 -5
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-2FogXBZb.esm.js → signatureStateMachine-BOdPhzPM.esm.js} +3 -3
- package/dist/{stats-CdUiON-w.esm.js → stats-D0m-GAIR.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-Dth4P_pY.d.ts → types-BoV6HZZE.d.ts} +1 -1
- package/dist/{types-C1lmcLat.d.ts → types-DR5Xxm-c.d.ts} +3 -2
- package/dist/{types-BPP_nJ2g.d.ts → types-vklwHgIM.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +3 -3
- package/dist/workflow.d.ts +116 -116
- package/dist/workflow.esm.js +41 -41
- package/package.json +5 -1
- package/dist/openviduLazy-B8dy_KsG.esm.js +0 -3
- /package/dist/{Actor-D5JNToUH.d.ts → Actor-iMyH_hBY.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-ri-WB2II.esm.js → BaseWasmProvider-DFM6aa1Z.esm.js} +0 -0
- /package/dist/{BrowserEnvironmentProvider-DHMvtWIH.esm.js → BrowserEnvironmentProvider-4Vr7ceoW.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-B5M-3JVi.esm.js → BrowserStorageProvider-Dp9k9EzW.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BRXIpp_U.esm.js → BrowserTimerProvider-BfL0cWbj.esm.js} +0 -0
- /package/dist/{ITimerCapability-CCVfd2zh.esm.js → ITimerCapability-_YySEUj7.esm.js} +0 -0
- /package/dist/{Manager-B6JdYK1C.d.ts → Manager-BzPNdMJn.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BROkQLhB.esm.js → MotionSensorProvider-Bi6DuLLP.esm.js} +0 -0
- /package/dist/{StateMachine-BBuIgsHT.d.ts → StateMachine-DIeoDJ7r.d.ts} +0 -0
- /package/dist/{api-DTKYcfzy.esm.js → api-CGdjmBzR.esm.js} +0 -0
- /package/dist/{browserSimulation-_EAOWiA1.esm.js → browserSimulation-D9FTZt0Z.esm.js} +0 -0
- /package/dist/{camera-BKFhs1qx.esm.js → camera-C4T2nh2F.esm.js} +0 -0
- /package/dist/{camera-BFs5UHwW.d.ts → camera-DdgjYGQh.d.ts} +0 -0
- /package/dist/{chunk-BlT4l8bL.esm.js → chunk-CT7w1OiQ.esm.js} +0 -0
- /package/dist/{displayErrors-ByrthsW3.d.ts → displayErrors-CGztf2Nk.d.ts} +0 -0
- /package/dist/{flowCompletionService-C9IqrsDT.d.ts → flowCompletionService-CNpeRlnP.d.ts} +0 -0
- /package/dist/{getBrowser-BBXR_Qw-.esm.js → getBrowser-DR_WEE3I.esm.js} +0 -0
- /package/dist/{platform-BP2TY6mD.esm.js → platform-B81QvKKx.esm.js} +0 -0
- /package/dist/{types-bi1Axaq2.d.ts → types-Bo7LR34d.d.ts} +0 -0
- /package/dist/{warmup-DhX_C6wK.d.ts → warmup-C5bT21Jo.d.ts} +0 -0
- /package/dist/{xstate.esm-BR_welYq.esm.js → xstate.esm-DW_uPCba.esm.js} +0 -0
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-CGztf2Nk.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyb/types.d.ts
|
|
6
6
|
type UboEntry = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./session-
|
|
4
|
-
import "./BrowserEnvironmentProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
7
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
8
|
-
import "./addressSearch-
|
|
9
|
-
import "./flowServices-
|
|
10
|
-
import "./BrowserTimerProvider-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import "./session-D2s2kUoa.esm.js";
|
|
4
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
5
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
6
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
7
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BJS8bjot.esm.js";
|
|
8
|
+
import "./addressSearch-Ui2rQ1v-.esm.js";
|
|
9
|
+
import "./flowServices-D_yVNocO.esm.js";
|
|
10
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/ekyb/ekybActor.ts
|
|
13
13
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Ui2rQ1v-.esm.js";
|
|
5
|
+
import { t as getFlow } from "./flowServices-D_yVNocO.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-CGztf2Nk.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyc/types.d.ts
|
|
6
6
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./addressSearch-
|
|
5
|
-
import "./BrowserTimerProvider-
|
|
6
|
-
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./addressSearch-Ui2rQ1v-.esm.js";
|
|
5
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
6
|
+
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-CYGpzMDd.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/ekyc/ekycActor.ts
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Ui2rQ1v-.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
7
7
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
package/dist/email.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-
|
|
1
|
+
import "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
|
+
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-DT0plT1F.js";
|
|
4
4
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./xstate.esm-
|
|
4
|
-
import "./BrowserTimerProvider-
|
|
5
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
6
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
|
+
import { t as emailMachine } from "./emailStateMachine-vD2VtYZM.esm.js";
|
|
6
|
+
import { t as createEmailManager } from "./emailManager-BNmWTggA.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
2
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-vD2VtYZM.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/email/emailActor.ts
|
|
6
6
|
function createEmailActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/email/types.d.ts
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/email/emailServices.ts
|
|
7
7
|
async function fetchEmail(signal) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isApiConfigured, r as getToken, t as api } from "./api-
|
|
1
|
+
import { i as isApiConfigured, r as getToken, t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
|
4
4
|
function getTimestamp() {
|
package/dist/events.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-B3HfNWqp.esm.js";
|
|
3
3
|
|
|
4
4
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, flushEventQueue, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import { r as fromPromise } from "./StateMachine-
|
|
4
|
-
import { n as createActor } from "./Actor-
|
|
5
|
-
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-
|
|
10
|
-
import "./types-
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
13
|
-
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-
|
|
14
|
-
import { C as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-
|
|
15
|
-
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./warmup-C5bT21Jo.js";
|
|
2
|
+
import "./Manager-BzPNdMJn.js";
|
|
3
|
+
import { r as fromPromise } from "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import { n as createActor } from "./Actor-iMyH_hBY.js";
|
|
5
|
+
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-BBwp70tn.js";
|
|
6
|
+
import "./camera-DdgjYGQh.js";
|
|
7
|
+
import "./types-vklwHgIM.js";
|
|
8
|
+
import "./types-DR5Xxm-c.js";
|
|
9
|
+
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
|
|
10
|
+
import "./types-Bo7LR34d.js";
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B7XmNptL.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BuWdnIab.js";
|
|
13
|
+
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-DT0plT1F.js";
|
|
14
|
+
import { C as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-D1MiNNuR.js";
|
|
15
|
+
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BxWESUBK.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
18
18
|
type AuthenticationUploadResponse = {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import "./api-
|
|
4
|
-
import "./events-
|
|
5
|
-
import { a as IpifyProvider, o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-
|
|
6
|
-
import "./BrowserEnvironmentProvider-
|
|
7
|
-
import "./browserSimulation-
|
|
8
|
-
import { a as createActor, i as fromPromise } from "./xstate.esm-
|
|
9
|
-
import "./faceCaptureManagerFactory-
|
|
10
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
11
|
-
import "./recordingService-
|
|
12
|
-
import "./deepsightService-
|
|
13
|
-
import "./camera-
|
|
14
|
-
import "./getBrowser-
|
|
15
|
-
import "./stats-
|
|
16
|
-
import "./MotionSensorProvider-
|
|
17
|
-
import "./permissionServices-
|
|
18
|
-
import "./platform-
|
|
19
|
-
import "./ITimerCapability-
|
|
20
|
-
import "./backCameraStream-
|
|
21
|
-
import "./getDeviceClass-
|
|
22
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
23
|
-
import "./authenticationStateMachine-
|
|
24
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
25
|
-
import "./BrowserTimerProvider-
|
|
26
|
-
import "./emailStateMachine-
|
|
27
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
28
|
-
import "./selfieStateMachine-
|
|
29
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
30
|
-
import "./idCaptureStateMachine-
|
|
31
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
32
|
-
import "./phoneStateMachine-
|
|
33
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
1
|
+
import "./BaseWasmProvider-DFM6aa1Z.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CYe0Xlh-.esm.js";
|
|
3
|
+
import "./api-CGdjmBzR.esm.js";
|
|
4
|
+
import "./events-B3HfNWqp.esm.js";
|
|
5
|
+
import { a as IpifyProvider, o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-D2s2kUoa.esm.js";
|
|
6
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
7
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
8
|
+
import { a as createActor, i as fromPromise } from "./xstate.esm-DW_uPCba.esm.js";
|
|
9
|
+
import "./faceCaptureManagerFactory-odfjA0d8.esm.js";
|
|
10
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Dp9k9EzW.esm.js";
|
|
11
|
+
import "./recordingService-BNOxJMAM.esm.js";
|
|
12
|
+
import "./deepsightService-B14izXzw.esm.js";
|
|
13
|
+
import "./camera-C4T2nh2F.esm.js";
|
|
14
|
+
import "./getBrowser-DR_WEE3I.esm.js";
|
|
15
|
+
import "./stats-D0m-GAIR.esm.js";
|
|
16
|
+
import "./MotionSensorProvider-Bi6DuLLP.esm.js";
|
|
17
|
+
import "./permissionServices-ElKNJ-9J.esm.js";
|
|
18
|
+
import "./platform-B81QvKKx.esm.js";
|
|
19
|
+
import "./ITimerCapability-_YySEUj7.esm.js";
|
|
20
|
+
import "./backCameraStream-amVBjSd6.esm.js";
|
|
21
|
+
import "./getDeviceClass-CkdEWjAM.esm.js";
|
|
22
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CdYYDgN6.esm.js";
|
|
23
|
+
import "./authenticationStateMachine-CAvcWS_b.esm.js";
|
|
24
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CwWzwxMp.esm.js";
|
|
25
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
26
|
+
import "./emailStateMachine-vD2VtYZM.esm.js";
|
|
27
|
+
import { n as createEmailManagerFromActor } from "./emailManager-BNmWTggA.esm.js";
|
|
28
|
+
import "./selfieStateMachine-B88Q3SFX.esm.js";
|
|
29
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-C6pl5f2B.esm.js";
|
|
30
|
+
import "./idCaptureStateMachine-CYPfS8iO.esm.js";
|
|
31
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-_e78xuEM.esm.js";
|
|
32
|
+
import "./phoneStateMachine-BMTT0tvu.esm.js";
|
|
33
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-CRVt9rvr.esm.js";
|
|
34
34
|
|
|
35
35
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
36
36
|
async function getFingerprint(disableIpify) {
|
package/dist/face-match.d.ts
CHANGED
package/dist/face-match.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-DptHGpKT.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
7
7
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-DhKU7cW9.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import {
|
|
7
|
-
import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-
|
|
8
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
3
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow } from "./types-DR5Xxm-c.js";
|
|
7
|
+
import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
|
|
8
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
11
11
|
declare const _authenticationMachine: AnyStateMachine;
|
package/dist/{faceCaptureManagerFactory-Dr5TSw6i.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
2
|
-
import { o as createManager } from "./xstate.esm-
|
|
1
|
+
import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-B3HfNWqp.esm.js";
|
|
2
|
+
import { o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
5
5
|
function getPermissionStatus(snapshot) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
2
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
3
|
-
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { r as getToken } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
|
+
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-BNOxJMAM.esm.js";
|
|
4
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-ElKNJ-9J.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
|
7
7
|
const getAttemptsFromConfig = (config) => {
|
package/dist/{faceMatchStateMachine-B_CXt9NM.esm.js → faceMatchStateMachine-DptHGpKT.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
6
6
|
/**
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import {
|
|
7
|
-
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-
|
|
8
|
-
import { t as ModuleRegistry } from "./types-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
3
|
+
import { t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import "./camera-DdgjYGQh.js";
|
|
5
|
+
import "./types-vklwHgIM.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DR5Xxm-c.js";
|
|
7
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-CNpeRlnP.js";
|
|
8
|
+
import { t as ModuleRegistry } from "./types-BoV6HZZE.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/flow/flowUtils.d.ts
|
|
11
|
-
|
|
11
|
+
type NormalizeFlowModulesOptions = {
|
|
12
|
+
enableHome?: boolean;
|
|
13
|
+
};
|
|
12
14
|
/**
|
|
13
15
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
14
16
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
@@ -34,10 +36,13 @@ declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
|
34
36
|
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
35
37
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
36
38
|
*/
|
|
37
|
-
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
|
39
|
+
declare function normalizeFlowModules(modules: FlowModule[], options?: NormalizeFlowModulesOptions): FlowModule[];
|
|
38
40
|
//#endregion
|
|
39
41
|
//#region src/modules/flow/flowServices.d.ts
|
|
40
|
-
type
|
|
42
|
+
type GetFlowOptions = {
|
|
43
|
+
enableHome?: boolean;
|
|
44
|
+
};
|
|
45
|
+
type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
41
46
|
declare const getFlow: GetFlow;
|
|
42
47
|
//#endregion
|
|
43
48
|
//#region src/modules/flow/flowActor.d.ts
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./session-
|
|
4
|
-
import "./BrowserEnvironmentProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
7
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
8
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
9
|
-
import { t as runChildModule } from "./runChildModule-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import "./session-D2s2kUoa.esm.js";
|
|
4
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
5
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
6
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
7
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-D_yVNocO.esm.js";
|
|
8
|
+
import { t as getFinishStatus } from "./flowCompletionService-BhzS182Y.esm.js";
|
|
9
|
+
import { t as runChildModule } from "./runChildModule-eBqC5Z25.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/flow/flowStateMachine.ts
|
|
12
12
|
const flowMachine = setup({
|
package/dist/{flowCompletionService-CKpuKBHj.esm.js → flowCompletionService-BhzS182Y.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-D2s2kUoa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -44,8 +44,8 @@ function getRequiredWasmPipelines(flow) {
|
|
|
44
44
|
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
45
45
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
46
46
|
*/
|
|
47
|
-
function normalizeFlowModules(modules) {
|
|
48
|
-
|
|
47
|
+
function normalizeFlowModules(modules, options = {}) {
|
|
48
|
+
const merged = modules.flatMap((module, idx, arr) => {
|
|
49
49
|
if (module.key === "TUTORIAL_ID") {
|
|
50
50
|
const idConfig = module.configuration;
|
|
51
51
|
const result = [{
|
|
@@ -65,6 +65,11 @@ function normalizeFlowModules(modules) {
|
|
|
65
65
|
if (module.key === "ID" && prev?.key === "TUTORIAL_ID") return [];
|
|
66
66
|
return [module];
|
|
67
67
|
});
|
|
68
|
+
if (options.enableHome !== true || merged.some((module) => module.key === "HOME")) return merged;
|
|
69
|
+
return [{
|
|
70
|
+
key: "HOME",
|
|
71
|
+
configuration: {}
|
|
72
|
+
}, ...merged];
|
|
68
73
|
}
|
|
69
74
|
|
|
70
75
|
//#endregion
|
|
@@ -111,16 +116,17 @@ function prependMandatoryConsent(flow) {
|
|
|
111
116
|
flowModules: [mandatoryConsentModule, ...flow.flowModules]
|
|
112
117
|
};
|
|
113
118
|
}
|
|
114
|
-
const getFlow = async (signal) => {
|
|
119
|
+
const getFlow = async (signal, options = {}) => {
|
|
115
120
|
await initializeSession({ signal }).catch(() => void 0);
|
|
116
121
|
const res = await api.get(endpoints.flow, { signal });
|
|
117
122
|
if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
|
|
118
123
|
const data = res.data;
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
const flow = prependMandatoryConsent(data);
|
|
125
|
+
const normalizedModules = normalizeFlowModules(flow.flowModules ?? [], options);
|
|
126
|
+
return {
|
|
127
|
+
...flow,
|
|
122
128
|
flowModules: normalizedModules
|
|
123
|
-
}
|
|
129
|
+
};
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
//#endregion
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./platform-
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./platform-B81QvKKx.esm.js";
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DY8eWROq.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
8
8
|
var BrowserGeolocationProvider = class {
|
package/dist/{geolocationStateMachine-_H3mSlsR.esm.js → geolocationStateMachine-DY8eWROq.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { r as isIOS, t as isAndroid } from "./platform-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { r as isIOS, t as isAndroid } from "./platform-B81QvKKx.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/government-validation/types.d.ts
|
|
5
5
|
type GovernmentValidationConfig = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./BrowserTimerProvider-
|
|
5
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DCqdkm8Z.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
8
8
|
function createGovernmentValidationActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
7
7
|
async function processGovernmentValidation(signal) {
|