@incodetech/core 0.0.0-dev-20260421-3d3274a → 0.0.0-dev-20260422-96fafd7

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.
Files changed (85) hide show
  1. package/dist/{BrowserEnvironmentProvider-CfUNEigg.esm.js → IpifyProvider-QIevJQOm.esm.js} +51 -1
  2. package/dist/{addressSearch-C6eGEbdK.esm.js → addressSearch-BbwH6Lf7.esm.js} +1 -1
  3. package/dist/{ae-signature-DvF-yLWx.esm.js → ae-signature-BsCJAnDL.esm.js} +1 -1
  4. package/dist/ae-signature.d.ts +1 -1
  5. package/dist/ae-signature.esm.js +3 -3
  6. package/dist/antifraud.esm.js +2 -2
  7. package/dist/{antifraudStateMachine-BEP9IYFN.esm.js → antifraudStateMachine-ilKa4wC7.esm.js} +1 -1
  8. package/dist/authentication.esm.js +7 -7
  9. package/dist/{authenticationManager-FMfiLmyj.esm.js → authenticationManager-CSLd6bOj.esm.js} +3 -3
  10. package/dist/{authenticationStateMachine-CeFBXnnM.esm.js → authenticationStateMachine-DXODPzBc.esm.js} +3 -3
  11. package/dist/consent.d.ts +50 -50
  12. package/dist/consent.esm.js +2 -2
  13. package/dist/{consentStateMachine-DZTzztq9.esm.js → consentStateMachine-VmgqnPgU.esm.js} +1 -1
  14. package/dist/cross-document-data-match.esm.js +1 -1
  15. package/dist/curp-validation.esm.js +2 -2
  16. package/dist/{curpValidationStateMachine-BcVkABa_.esm.js → curpValidationStateMachine-CxouBL3m.esm.js} +1 -1
  17. package/dist/custom-fields.esm.js +1 -1
  18. package/dist/{deepsightLoader-CoBxhuhG.esm.js → deepsightLoader-TuwwW8Pr.esm.js} +4 -3
  19. package/dist/{deepsightService-Df3Ad9a2.esm.js → deepsightService-C966kOVA.esm.js} +3 -7
  20. package/dist/document-capture.d.ts +70 -70
  21. package/dist/document-capture.esm.js +2 -2
  22. package/dist/document-upload.d.ts +46 -46
  23. package/dist/document-upload.esm.js +1 -1
  24. package/dist/{documentCaptureStateMachine-AEeMd_sA.esm.js → documentCaptureStateMachine-nDAGCe88.esm.js} +1 -1
  25. package/dist/ekyb.esm.js +6 -6
  26. package/dist/{ekybStateMachine-LC7KeVbs.esm.js → ekybStateMachine-hPeFDVI2.esm.js} +3 -3
  27. package/dist/ekyc.esm.js +3 -3
  28. package/dist/{ekycStateMachine-C_NGgk5Y.esm.js → ekycStateMachine-BSm6DESz.esm.js} +2 -2
  29. package/dist/electronic-signature.d.ts +1 -1
  30. package/dist/electronic-signature.esm.js +2 -2
  31. package/dist/{electronicSignatureManager-BHuZgDfX.esm.js → electronicSignatureManager-eKhvmNl5.esm.js} +1 -1
  32. package/dist/email.esm.js +3 -3
  33. package/dist/{emailManager-BbRpgtAL.esm.js → emailManager-UqlpfLu-.esm.js} +2 -2
  34. package/dist/{emailStateMachine-Bcv-dM_k.esm.js → emailStateMachine-BiDeKm0B.esm.js} +1 -1
  35. package/dist/{events-D6rNtFDO.esm.js → events-_dFJXIHR.esm.js} +0 -2
  36. package/dist/events.d.ts +0 -1
  37. package/dist/events.esm.js +1 -1
  38. package/dist/extensibility.esm.js +17 -17
  39. package/dist/face-match.esm.js +2 -2
  40. package/dist/{faceCaptureManagerFactory-D1R5A-s3.esm.js → faceCaptureManagerFactory-9jP_53qG.esm.js} +1 -1
  41. package/dist/{faceCaptureSetup-FUncr8AV.esm.js → faceCaptureSetup-BsXUlz8p.esm.js} +1 -1
  42. package/dist/{faceMatchStateMachine-Bm0RrtNZ.esm.js → faceMatchStateMachine-Bhjfheg2.esm.js} +1 -1
  43. package/dist/flow.d.ts +6 -0
  44. package/dist/flow.esm.js +14 -9
  45. package/dist/{flowCompletionService-DNwDhild.esm.js → flowCompletionService-DLIP99tr.esm.js} +1 -1
  46. package/dist/{flowServices-COjf6aN_.esm.js → flowServices-CwrZcQI2.esm.js} +4 -3
  47. package/dist/geolocation.esm.js +2 -2
  48. package/dist/{geolocationStateMachine-nhuJw6Da.esm.js → geolocationStateMachine-CqMNzkrB.esm.js} +1 -1
  49. package/dist/government-validation.esm.js +2 -2
  50. package/dist/{governmentValidationStateMachine-Ksonp_gh.esm.js → governmentValidationStateMachine-BvFCJeyw.esm.js} +1 -1
  51. package/dist/home.d.ts +10 -10
  52. package/dist/home.esm.js +1 -1
  53. package/dist/id.esm.js +7 -7
  54. package/dist/{idCaptureManager-C5RQfRPT.esm.js → idCaptureManager-DJK5Onmh.esm.js} +2 -2
  55. package/dist/{idCaptureStateMachine-WmW7bDGZ.esm.js → idCaptureStateMachine-DN_vbCuB.esm.js} +5 -5
  56. package/dist/identity-reuse.d.ts +40 -40
  57. package/dist/identity-reuse.esm.js +1 -1
  58. package/dist/{index-SUQ4OOw8.d.ts → index-nSJUy_Aq.d.ts} +119 -119
  59. package/dist/index.esm.js +4 -4
  60. package/dist/mandatory-consent.d.ts +50 -50
  61. package/dist/mandatory-consent.esm.js +2 -2
  62. package/dist/{mandatoryConsentStateMachine-D_ljDR9e.esm.js → mandatoryConsentStateMachine-C-IIJ8SX.esm.js} +1 -1
  63. package/dist/phone.esm.js +3 -3
  64. package/dist/{phoneManager-B9NF66Bk.esm.js → phoneManager-Bxc_-4Dr.esm.js} +2 -2
  65. package/dist/{phoneStateMachine-DHaPFdWu.esm.js → phoneStateMachine-0gwBStCm.esm.js} +1 -1
  66. package/dist/{qe-signature-BGmul0lF.esm.js → qe-signature-BboU3Wcl.esm.js} +1 -1
  67. package/dist/qe-signature.d.ts +1 -1
  68. package/dist/qe-signature.esm.js +3 -3
  69. package/dist/{recordingService-0YxgQN6u.esm.js → recordingService-XpMolMxi.esm.js} +3 -3
  70. package/dist/redirect-to-mobile.esm.js +2 -2
  71. package/dist/{redirectToMobileStateMachine-CsfV3Enr.esm.js → redirectToMobileStateMachine-vxFra6KF.esm.js} +1 -1
  72. package/dist/selfie.esm.js +7 -7
  73. package/dist/{selfieManager-D57rdQLg.esm.js → selfieManager-1aK28sG1.esm.js} +3 -3
  74. package/dist/{selfieStateMachine-Bd7WGYZs.esm.js → selfieStateMachine-DSIrMOLQ.esm.js} +2 -2
  75. package/dist/{session-D3XXfTZP.esm.js → session-4BhYmzdE.esm.js} +4 -31
  76. package/dist/session.esm.js +4 -4
  77. package/dist/{setup-CEbsLRbC.esm.js → setup-BXAs1PK0.esm.js} +2 -2
  78. package/dist/signature.d.ts +7 -6
  79. package/dist/signature.esm.js +3 -18
  80. package/dist/{signatureStateMachine-C-MP8GI1.esm.js → signatureStateMachine-BQkKFNPe.esm.js} +8 -66
  81. package/dist/wasm.esm.js +4 -4
  82. package/dist/watchlist.esm.js +1 -1
  83. package/dist/workflow.d.ts +114 -114
  84. package/dist/workflow.esm.js +29 -29
  85. package/package.json +3 -3
package/dist/ekyc.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
- import "./addressSearch-C6eGEbdK.esm.js";
4
+ import "./addressSearch-BbwH6Lf7.esm.js";
5
5
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
6
- import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-C_NGgk5Y.esm.js";
6
+ import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-BSm6DESz.esm.js";
7
7
 
8
8
  //#region src/modules/ekyc/ekycActor.ts
9
9
  /**
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR-OL9fa.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-C6eGEbdK.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-BbwH6Lf7.esm.js";
5
5
 
6
6
  //#region src/modules/ekyc/ekycConsts.ts
7
7
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
@@ -1,4 +1,4 @@
1
1
  import "./Manager-B8qNVwIm.js";
2
2
  import "./Actor-BS3rbtoo.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-SUQ4OOw8.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-nSJUy_Aq.js";
4
4
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,6 +1,6 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import "./events-D6rNtFDO.esm.js";
2
+ import "./events-_dFJXIHR.esm.js";
3
3
  import "./xstate.esm-BR-OL9fa.esm.js";
4
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BHuZgDfX.esm.js";
4
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-eKhvmNl5.esm.js";
5
5
 
6
6
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
 
5
5
  //#region ../infra/src/http/externalFetch.ts
package/dist/email.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import "./events-D6rNtFDO.esm.js";
2
+ import "./events-_dFJXIHR.esm.js";
3
3
  import "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
- import { t as emailMachine } from "./emailStateMachine-Bcv-dM_k.esm.js";
6
- import { t as createEmailManager } from "./emailManager-BbRpgtAL.esm.js";
5
+ import { t as emailMachine } from "./emailStateMachine-BiDeKm0B.esm.js";
6
+ import { t as createEmailManager } from "./emailManager-UqlpfLu-.esm.js";
7
7
 
8
8
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
2
2
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-Bcv-dM_k.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-BiDeKm0B.esm.js";
4
4
 
5
5
  //#region src/modules/email/emailActor.ts
6
6
  function createEmailActor(options) {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
5
 
@@ -76,7 +76,6 @@ const endpoints = {
76
76
  addSignatureV2: "/omni/add/signature/v2",
77
77
  identityReuseCandidates: "/omni/identity-reuse/candidates",
78
78
  identityReuseSubmit: "/omni/identity-reuse/submit",
79
- addInitials: "/omni/add/initials",
80
79
  processAntifraud: "/omni/process/antifraud",
81
80
  processWatchlist: "/omni/process/global-watchlist",
82
81
  aesUnsignedDocuments: "/omni/es/documents/unsigned",
@@ -375,7 +374,6 @@ const eventScreenNames = {
375
374
  smsOtp: "OTP",
376
375
  simpleOTP: "OTP",
377
376
  signatureInput: "SIGNATURE_INPUT",
378
- signatureInitialsInput: "INITIALS_INPUT",
379
377
  frontTutorial: "FRONT_ID_CAPTURE_TUTORIAL",
380
378
  frontCameraCapture: "FRONT_ID_CAMERA_CAPTURE",
381
379
  frontHelp: "FRONT_ID_HELP",
package/dist/events.d.ts CHANGED
@@ -65,7 +65,6 @@ declare const eventScreenNames: {
65
65
  readonly smsOtp: "OTP";
66
66
  readonly simpleOTP: "OTP";
67
67
  readonly signatureInput: "SIGNATURE_INPUT";
68
- readonly signatureInitialsInput: "INITIALS_INPUT";
69
68
  readonly frontTutorial: "FRONT_ID_CAPTURE_TUTORIAL";
70
69
  readonly frontCameraCapture: "FRONT_ID_CAMERA_CAPTURE";
71
70
  readonly frontHelp: "FRONT_ID_HELP";
@@ -1,4 +1,4 @@
1
1
  import "./api-Bq5aVL0-.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-D6rNtFDO.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-_dFJXIHR.esm.js";
3
3
 
4
4
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, flushEventQueue, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -1,15 +1,15 @@
1
1
  import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DLgdRyEg.esm.js";
3
3
  import "./api-Bq5aVL0-.esm.js";
4
- import "./events-D6rNtFDO.esm.js";
5
- import { a as IpifyProvider, o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-D3XXfTZP.esm.js";
6
- import "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
4
+ import "./events-_dFJXIHR.esm.js";
5
+ import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-4BhYmzdE.esm.js";
6
+ import { t as IpifyProvider } from "./IpifyProvider-QIevJQOm.esm.js";
7
7
  import "./browserSimulation-D5C2Zw4l.esm.js";
8
8
  import { a as createActor, i as fromPromise } from "./xstate.esm-BR-OL9fa.esm.js";
9
- import "./faceCaptureManagerFactory-D1R5A-s3.esm.js";
9
+ import "./faceCaptureManagerFactory-9jP_53qG.esm.js";
10
10
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Bww9xk7g.esm.js";
11
- import "./recordingService-0YxgQN6u.esm.js";
12
- import "./deepsightService-Df3Ad9a2.esm.js";
11
+ import "./recordingService-XpMolMxi.esm.js";
12
+ import "./deepsightService-C966kOVA.esm.js";
13
13
  import "./permissionServices-Y2PDGdE5.esm.js";
14
14
  import "./camera-BToe85ME.esm.js";
15
15
  import "./getBrowser-BnEXznKu.esm.js";
@@ -19,18 +19,18 @@ import "./platform-CwFB3DeY.esm.js";
19
19
  import "./ITimerCapability-C-3gFxPH.esm.js";
20
20
  import "./backCameraStream-BtLt5ZMq.esm.js";
21
21
  import "./getDeviceClass-ByKIa-2E.esm.js";
22
- import { t as faceCaptureMachine } from "./faceCaptureSetup-FUncr8AV.esm.js";
23
- import "./authenticationStateMachine-CeFBXnnM.esm.js";
24
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-FMfiLmyj.esm.js";
22
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BsXUlz8p.esm.js";
23
+ import "./authenticationStateMachine-DXODPzBc.esm.js";
24
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CSLd6bOj.esm.js";
25
25
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
26
- import "./emailStateMachine-Bcv-dM_k.esm.js";
27
- import { n as createEmailManagerFromActor } from "./emailManager-BbRpgtAL.esm.js";
28
- import "./selfieStateMachine-Bd7WGYZs.esm.js";
29
- import { n as createSelfieManagerFromActor } from "./selfieManager-D57rdQLg.esm.js";
30
- import "./idCaptureStateMachine-WmW7bDGZ.esm.js";
31
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-C5RQfRPT.esm.js";
32
- import "./phoneStateMachine-DHaPFdWu.esm.js";
33
- import { n as createPhoneManagerFromActor } from "./phoneManager-B9NF66Bk.esm.js";
26
+ import "./emailStateMachine-BiDeKm0B.esm.js";
27
+ import { n as createEmailManagerFromActor } from "./emailManager-UqlpfLu-.esm.js";
28
+ import "./selfieStateMachine-DSIrMOLQ.esm.js";
29
+ import { n as createSelfieManagerFromActor } from "./selfieManager-1aK28sG1.esm.js";
30
+ import "./idCaptureStateMachine-DN_vbCuB.esm.js";
31
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DJK5Onmh.esm.js";
32
+ import "./phoneStateMachine-0gwBStCm.esm.js";
33
+ import { n as createPhoneManagerFromActor } from "./phoneManager-Bxc_-4Dr.esm.js";
34
34
 
35
35
  //#region src/internal/fingerprint/fingerprintApi.ts
36
36
  async function getFingerprint(disableIpify) {
@@ -1,7 +1,7 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
- import { t as faceMatchMachine } from "./faceMatchStateMachine-Bm0RrtNZ.esm.js";
4
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-Bhjfheg2.esm.js";
5
5
 
6
6
  //#region src/modules/face-match/faceMatchActor.ts
7
7
  function createFaceMatchActor(options) {
@@ -1,4 +1,4 @@
1
- import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-D6rNtFDO.esm.js";
1
+ import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-_dFJXIHR.esm.js";
2
2
  import { o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
3
3
 
4
4
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
@@ -1,6 +1,6 @@
1
1
  import { r as getToken } from "./api-Bq5aVL0-.esm.js";
2
2
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.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-0YxgQN6u.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-XpMolMxi.esm.js";
4
4
  import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-Y2PDGdE5.esm.js";
5
5
 
6
6
  //#region src/internal/faceCapture/faceCaptureSetup.ts
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
 
5
5
  //#region src/modules/face-match/faceMatchServices.ts
package/dist/flow.d.ts CHANGED
@@ -324,6 +324,12 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
324
324
  getModuleConfig: <T$1 = unknown>(moduleKey: string) => T$1 | undefined;
325
325
  isModuleEnabled: (moduleKey: string) => boolean;
326
326
  isAwaitingOrchestratorReady(): boolean;
327
+ /**
328
+ * Resolve once the orchestrator has finished loading the flow and the first
329
+ * module is ready to render. Useful for gating an initialization spinner
330
+ * alongside other parallel async work (e.g. theme fetching).
331
+ */
332
+ waitForReady(): Promise<void>;
327
333
  getLazyModuleKey(): string | undefined;
328
334
  shouldRenderHomeScreen(): boolean;
329
335
  continueFromHome(): Promise<void>;
package/dist/flow.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
3
- import "./session-D3XXfTZP.esm.js";
4
- import "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
+ import "./session-4BhYmzdE.esm.js";
4
+ import "./IpifyProvider-QIevJQOm.esm.js";
5
5
  import "./browserSimulation-D5C2Zw4l.esm.js";
6
6
  import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
7
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-COjf6aN_.esm.js";
8
- import { t as getFinishStatus } from "./flowCompletionService-DNwDhild.esm.js";
7
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CwrZcQI2.esm.js";
8
+ import { t as getFinishStatus } from "./flowCompletionService-DLIP99tr.esm.js";
9
9
  import { t as runChildModule } from "./runChildModule-QrTGfn6L.esm.js";
10
10
 
11
11
  //#region src/modules/flow/flowStateMachine.ts
@@ -316,6 +316,7 @@ function createInitialContext(input) {
316
316
  }
317
317
  function shouldEnterHome(context) {
318
318
  if (context.enableHome !== true) return false;
319
+ if (context.flow?.disableLaunchScreen === true) return false;
319
320
  if (context.isHomeContinueLoading === true) return false;
320
321
  const firstRealIndex = context.steps[0] === "REDIRECT_TO_MOBILE" ? 1 : 0;
321
322
  return context.currentStepIndex === firstRealIndex;
@@ -587,15 +588,16 @@ const orchestratedFlowMachine = setup({
587
588
  //#region src/modules/flow/orchestratedFlowManager.ts
588
589
  function deriveUiModel(snapshot, mappedStatus, isHomePhase, options) {
589
590
  const { enableHome } = options;
591
+ const serverDisablesLaunch = snapshot.context.flow?.disableLaunchScreen === true;
592
+ const effectiveEnableHome = enableHome === true && serverDisablesLaunch === false;
590
593
  const isTerminal = mappedStatus === "finished" || mappedStatus === "error";
591
594
  const awaitingOrchestrator = mappedStatus === "idle" || mappedStatus === "loading";
592
595
  const isCompletingPhase = snapshot.value === "completing";
593
- const isPreFlowPhase = snapshot.value === "idle" || snapshot.value === "loading";
594
596
  const firstRealIndex = snapshot.context.steps[0] === "REDIRECT_TO_MOBILE" ? 1 : 0;
595
597
  const isAtFirstRealModule = snapshot.context.currentStepIndex === firstRealIndex;
596
- const isResolvingHomeAnchor = snapshot.value === "resolvingModule" && enableHome === true && isAtFirstRealModule;
597
- const isHomeBoundPhase = isPreFlowPhase || isHomePhase || isResolvingHomeAnchor;
598
- const canShowHome = isTerminal === false && enableHome === true && isCompletingPhase === false;
598
+ const isResolvingHomeAnchor = snapshot.value === "resolvingModule" && effectiveEnableHome && isAtFirstRealModule;
599
+ const isHomeBoundPhase = isHomePhase || isResolvingHomeAnchor;
600
+ const canShowHome = isTerminal === false && effectiveEnableHome && isCompletingPhase === false;
599
601
  const visible = canShowHome ? isHomeBoundPhase : false;
600
602
  const lazyModuleKey = mappedStatus === "ready" && visible === false ? snapshot.context.currentStep : void 0;
601
603
  const shouldPrefetchHome = canShowHome && snapshot.context.isHomeContinueLoading === false && isHomeBoundPhase;
@@ -749,6 +751,9 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
749
751
  isAwaitingOrchestratorReady() {
750
752
  return mapSnapshot().presentation.isAwaitingReady;
751
753
  },
754
+ async waitForReady() {
755
+ return waitForOrchestratorReadyFromActor(actor, (snap) => mapOrchestratedFlowState(snap, { enableHome }), (next) => next.status === "ready" && next.presentation.isAwaitingReady === false);
756
+ },
752
757
  getLazyModuleKey() {
753
758
  return mapSnapshot().presentation.lazyModuleKey;
754
759
  },
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
 
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-D3XXfTZP.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-4BhYmzdE.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -136,10 +136,11 @@ function prependMandatoryConsent(flow) {
136
136
  };
137
137
  }
138
138
  const getFlow = async (signal, options = {}) => {
139
- await initializeSession({ signal }).catch(() => void 0);
139
+ const sessionPromise = initializeSession({ signal }).catch(() => void 0);
140
140
  const res = await api.get(endpoints.flow, { signal });
141
141
  if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
142
142
  const data = res.data;
143
+ if (data.mandatoryConsentCheck !== false) await sessionPromise;
143
144
  const flow = prependMandatoryConsent(data);
144
145
  const normalizedModules = normalizeFlowModules(flow, options);
145
146
  return {
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import "./platform-CwFB3DeY.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-nhuJw6Da.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-CqMNzkrB.esm.js";
6
6
 
7
7
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
8
8
  var BrowserGeolocationProvider = class {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import { r as isIOS, t as isAndroid } from "./platform-CwFB3DeY.esm.js";
5
5
 
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-Ksonp_gh.esm.js";
5
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BvFCJeyw.esm.js";
6
6
 
7
7
  //#region src/modules/government-validation/governmentValidationActor.ts
8
8
  function createGovernmentValidationActor(options) {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
5
 
package/dist/home.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-B8qNVwIm.js";
2
2
  import "./camera-ZjE1I_AX.js";
3
3
  import "./types-BWYMM3Em.js";
4
4
  import { t as EmptyConfig } from "./types-CfsXFnOc.js";
5
- import * as xstate0 from "xstate";
5
+ import * as xstate369 from "xstate";
6
6
 
7
7
  //#region src/modules/home/types.d.ts
8
8
  type HomeConfig = EmptyConfig;
@@ -34,41 +34,41 @@ type HomeContext = {
34
34
  type HomeInput = {
35
35
  config: EmptyConfig;
36
36
  };
37
- declare const homeMachine: xstate0.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate369.StateMachine<HomeContext, {
38
38
  type: "LOAD";
39
39
  } | {
40
40
  type: "COMPLETE";
41
41
  } | {
42
42
  type: "RESET";
43
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate369.NonReducibleUnknown, xstate369.EventObject, xstate369.MetaObject, {
44
44
  readonly id: "home";
45
45
  readonly initial: "idle";
46
46
  readonly context: ({
47
47
  input
48
48
  }: {
49
49
  spawn: {
50
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate0.ActorRefFromLogic<never>;
51
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate369.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate369.AnyActorLogic>(src: TLogic, ...[options]: xstate369.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate0.InputFrom<TLogic> | undefined;
54
+ input?: xstate369.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate369.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate369.IsNotNever<xstate369.RequiredLogicInput<TLogic>>>): xstate369.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate0.ActorRef<xstate0.MachineSnapshot<HomeContext, {
59
+ self: xstate369.ActorRef<xstate369.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate369.AnyActorRef | undefined>, xstate369.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate0.AnyEventObject>;
71
+ }, xstate369.AnyEventObject>;
72
72
  }) => {
73
73
  config: EmptyConfig;
74
74
  };
package/dist/home.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
 
5
5
  //#region src/modules/home/homeStateMachine.ts
package/dist/id.esm.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import "./api-Bq5aVL0-.esm.js";
3
- import "./events-D6rNtFDO.esm.js";
4
- import "./session-D3XXfTZP.esm.js";
5
- import "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
3
+ import "./events-_dFJXIHR.esm.js";
4
+ import "./session-4BhYmzdE.esm.js";
5
+ import "./IpifyProvider-QIevJQOm.esm.js";
6
6
  import "./browserSimulation-D5C2Zw4l.esm.js";
7
7
  import "./xstate.esm-BR-OL9fa.esm.js";
8
8
  import "./BrowserStorageProvider-Bww9xk7g.esm.js";
9
- import "./recordingService-0YxgQN6u.esm.js";
10
- import "./deepsightService-Df3Ad9a2.esm.js";
9
+ import "./recordingService-XpMolMxi.esm.js";
10
+ import "./deepsightService-C966kOVA.esm.js";
11
11
  import "./permissionServices-Y2PDGdE5.esm.js";
12
12
  import "./camera-BToe85ME.esm.js";
13
13
  import "./getBrowser-BnEXznKu.esm.js";
@@ -18,7 +18,7 @@ import "./ITimerCapability-C-3gFxPH.esm.js";
18
18
  import "./backCameraStream-BtLt5ZMq.esm.js";
19
19
  import "./getDeviceClass-ByKIa-2E.esm.js";
20
20
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
21
- import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-WmW7bDGZ.esm.js";
22
- import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-C5RQfRPT.esm.js";
21
+ import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-DN_vbCuB.esm.js";
22
+ import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-DJK5Onmh.esm.js";
23
23
 
24
24
  export { ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-D6rNtFDO.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-_dFJXIHR.esm.js";
2
2
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Bww9xk7g.esm.js";
4
- import { t as idCaptureMachine } from "./idCaptureStateMachine-WmW7bDGZ.esm.js";
4
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DN_vbCuB.esm.js";
5
5
 
6
6
  //#region src/modules/id/idCaptureActor.ts
7
7
  function createIdCaptureActor(options) {
@@ -1,10 +1,10 @@
1
1
  import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bq5aVL0-.esm.js";
3
- import { _ as endpoints, v as revokeObjectURL } from "./events-D6rNtFDO.esm.js";
4
- import { t as getDisableIpify } from "./session-D3XXfTZP.esm.js";
3
+ import { _ as endpoints, v as revokeObjectURL } from "./events-_dFJXIHR.esm.js";
4
+ import { t as getDisableIpify } from "./session-4BhYmzdE.esm.js";
5
5
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
6
- import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-0YxgQN6u.esm.js";
7
- import { n as IncodeCanvas } from "./deepsightService-Df3Ad9a2.esm.js";
6
+ import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-XpMolMxi.esm.js";
7
+ import { n as IncodeCanvas } from "./deepsightService-C966kOVA.esm.js";
8
8
  import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-Y2PDGdE5.esm.js";
9
9
  import { r as getWindowDimensions } from "./getBrowser-BnEXznKu.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-DVL1TL6Q.esm.js";
@@ -841,7 +841,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
841
841
  });
842
842
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
843
843
  if (!input.dependencies) return;
844
- const { loadDeepsightSession } = await import("./deepsightLoader-CoBxhuhG.esm.js");
844
+ const { loadDeepsightSession } = await import("./deepsightLoader-TuwwW8Pr.esm.js");
845
845
  return loadDeepsightSession({
846
846
  ds: input.ds,
847
847
  storage: input.dependencies.storage,