@incodetech/core 0.0.0-dev-20260619-dd4a6874 → 0.0.0-dev-20260619-079080ef

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 (139) hide show
  1. package/dist/{BrowserStorageProvider-CGCKial0.esm.js → BrowserStorageProvider-D5xc7Lqo.esm.js} +18 -1
  2. package/dist/{StreamCanvasCapture-uQFmjDCE.d.ts → StreamCanvasCapture-Ctgyx-oD.d.ts} +1 -1
  3. package/dist/{addressSearch-BV0_T7NT.esm.js → addressSearch-3NLSwLrc.esm.js} +1 -1
  4. package/dist/{ae-signature-DtMxM9hp.esm.js → ae-signature-D9NZ4lKU.esm.js} +1 -1
  5. package/dist/ae-signature.d.ts +1 -1
  6. package/dist/ae-signature.esm.js +4 -4
  7. package/dist/antifraud.esm.js +4 -4
  8. package/dist/{antifraudManager-e8wx0Nao.esm.js → antifraudManager-BPKNY0q0.esm.js} +3 -3
  9. package/dist/{antifraudStateMachine-TpOb33Fe.esm.js → antifraudStateMachine-DLDcyOye.esm.js} +1 -1
  10. package/dist/authentication.d.ts +8 -8
  11. package/dist/authentication.esm.js +7 -7
  12. package/dist/{authenticationManager-DJzD_n6Z.d.ts → authenticationManager-Dve7mGLe.d.ts} +12 -2
  13. package/dist/{authenticationManager-Bwn7fioj.esm.js → authenticationManager-HHrQkb1r.esm.js} +16 -7
  14. package/dist/{authenticationStateMachine-CY9tW24P.esm.js → authenticationStateMachine-CYGXzQrw.esm.js} +2 -2
  15. package/dist/certificate-issuance.d.ts +28 -28
  16. package/dist/certificate-issuance.esm.js +3 -3
  17. package/dist/{certificateIssuanceStateMachine-DZng9Ecy.esm.js → certificateIssuanceStateMachine-DY3X6WsV.esm.js} +1 -1
  18. package/dist/consent.d.ts +1 -1
  19. package/dist/consent.esm.js +4 -4
  20. package/dist/{consentManager-iFzpsbOt.esm.js → consentManager-CNV5Dnm0.esm.js} +3 -3
  21. package/dist/{consentManager-BFuU3KoB.d.ts → consentManager-CNdr6JTS.d.ts} +47 -47
  22. package/dist/{consentStateMachine-BzCJuC_B.esm.js → consentStateMachine-C6ialHPb.esm.js} +1 -1
  23. package/dist/cpf-ocr.d.ts +1 -1
  24. package/dist/cpf-ocr.esm.js +3 -3
  25. package/dist/{cpfOcrManager-OBTw8aBe.d.ts → cpfOcrManager-CII4qiF3.d.ts} +17 -17
  26. package/dist/{cpfOcrManager-Dv38oWFh.esm.js → cpfOcrManager-CP7hwTF4.esm.js} +2 -2
  27. package/dist/cross-document-data-match.esm.js +2 -2
  28. package/dist/curp-validation.d.ts +5 -5
  29. package/dist/curp-validation.esm.js +4 -4
  30. package/dist/{curpValidationManager-DTyay4MR.d.ts → curpValidationManager-Bt6CVD8b.d.ts} +1 -1
  31. package/dist/{curpValidationManager-CuhOOoJt.esm.js → curpValidationManager-DH-cKCXi.esm.js} +3 -3
  32. package/dist/{curpValidationStateMachine-DDbow5vN.esm.js → curpValidationStateMachine-DLnKJ6dp.esm.js} +1 -1
  33. package/dist/custom-fields.esm.js +2 -2
  34. package/dist/custom-watchlist.esm.js +3 -3
  35. package/dist/{customWatchlistStateMachine-B9CiUBXQ.esm.js → customWatchlistStateMachine-IKU97cg4.esm.js} +1 -1
  36. package/dist/{deepsightService-C7MMvEiJ.d.ts → deepsightService-ByNKY5Jv.d.ts} +12 -1
  37. package/dist/document-capture.d.ts +231 -231
  38. package/dist/document-capture.esm.js +3 -3
  39. package/dist/document-upload.d.ts +51 -51
  40. package/dist/document-upload.esm.js +2 -2
  41. package/dist/{documentCaptureStateMachine-B_yBteIZ.esm.js → documentCaptureStateMachine-DXgl57zf.esm.js} +1 -1
  42. package/dist/dynamic-forms.esm.js +3 -3
  43. package/dist/{dynamicFormsStateMachine-CGYQ4AuA.esm.js → dynamicFormsStateMachine-DNeN4GdI.esm.js} +1 -1
  44. package/dist/ekyb.d.ts +4 -4
  45. package/dist/ekyb.esm.js +6 -6
  46. package/dist/{ekybStateMachine-DmvgDUYP.esm.js → ekybStateMachine-QTzXIpYn.esm.js} +3 -3
  47. package/dist/ekyc.d.ts +1 -1
  48. package/dist/ekyc.esm.js +4 -4
  49. package/dist/{ekycStateMachine-k_LoP04D.esm.js → ekycStateMachine-DWefT9Al.esm.js} +2 -2
  50. package/dist/electronic-signature.d.ts +1 -1
  51. package/dist/electronic-signature.esm.js +3 -3
  52. package/dist/{electronicSignatureManager-DxmlKk00.esm.js → electronicSignatureManager-BaJfp4Uv.esm.js} +2 -2
  53. package/dist/email.esm.js +4 -4
  54. package/dist/{emailManager-kjLOoN7a.esm.js → emailManager-DdUw8yjQ.esm.js} +3 -3
  55. package/dist/{emailStateMachine-DfPAsxyZ.esm.js → emailStateMachine-CEl5D9KF.esm.js} +1 -1
  56. package/dist/{events-BduWcqZW.esm.js → events-DN-u67gb.esm.js} +21 -0
  57. package/dist/events.esm.js +1 -1
  58. package/dist/extensibility.d.ts +15 -15
  59. package/dist/extensibility.esm.js +30 -30
  60. package/dist/face-match.esm.js +3 -3
  61. package/dist/{faceCaptureManagerFactory-Juvtt26S.esm.js → faceCaptureManagerFactory-BNXZchWX.esm.js} +16 -5
  62. package/dist/{faceCaptureManagerFactory-Dk07aXxd.d.ts → faceCaptureManagerFactory-CL-7T_vH.d.ts} +15 -5
  63. package/dist/{faceCaptureSetup-DjRmRo0V.esm.js → faceCaptureSetup-kZSE9qaL.esm.js} +1 -1
  64. package/dist/{faceMatchStateMachine-BCD9yFJ0.esm.js → faceMatchStateMachine-B0ijT8MT.esm.js} +1 -1
  65. package/dist/field-comparison.esm.js +3 -3
  66. package/dist/{fieldComparisonManager-BIDAZhu2.esm.js → fieldComparisonManager-RJYRRinn.esm.js} +2 -2
  67. package/dist/fiscal-qr.d.ts +2 -2
  68. package/dist/fiscal-qr.esm.js +2 -2
  69. package/dist/flow-events.d.ts +5 -5
  70. package/dist/flow.d.ts +7 -7
  71. package/dist/flow.esm.js +5 -5
  72. package/dist/{flowServices-CyEOjzFi.esm.js → flowServices-D8s6m_vV.esm.js} +1 -1
  73. package/dist/geolocation.esm.js +3 -3
  74. package/dist/{geolocationStateMachine-DJ_yBwCh.esm.js → geolocationStateMachine-BCCueiEp.esm.js} +1 -1
  75. package/dist/government-validation.esm.js +3 -3
  76. package/dist/{governmentValidationStateMachine-lursh2_g.esm.js → governmentValidationStateMachine-D2NHbNAi.esm.js} +1 -1
  77. package/dist/home.d.ts +14 -14
  78. package/dist/home.esm.js +2 -2
  79. package/dist/id-ocr.d.ts +52 -52
  80. package/dist/id-ocr.esm.js +3 -3
  81. package/dist/id-verification.d.ts +25 -25
  82. package/dist/id-verification.esm.js +3 -3
  83. package/dist/id.d.ts +15 -8
  84. package/dist/id.esm.js +16 -9
  85. package/dist/{idCaptureManager-B7x78-3Q.d.ts → idCaptureManager-BvGUSN2e.d.ts} +11 -5
  86. package/dist/{idCaptureManager-DNvxrhqR.esm.js → idCaptureManager-DGOx_GUR.esm.js} +13 -6
  87. package/dist/{idCaptureStateMachine-CWrUP_DQ.esm.js → idCaptureStateMachine-CJZ3IiLy.esm.js} +3 -3
  88. package/dist/{idOcrStateMachine-B87ZFbXw.esm.js → idOcrStateMachine-D4gwLSD_.esm.js} +2 -2
  89. package/dist/{idVerificationStateMachine-Cy8Xvej2.esm.js → idVerificationStateMachine-j6CFfOyU.esm.js} +1 -1
  90. package/dist/identity-reuse.d.ts +1 -1
  91. package/dist/identity-reuse.esm.js +4 -4
  92. package/dist/{identityReuseManager-D65fB0Iq.esm.js → identityReuseManager-QmA1t6RO.esm.js} +3 -3
  93. package/dist/{identityReuseManager-BuBt7AJB.d.ts → identityReuseManager-TPAY6co6.d.ts} +31 -31
  94. package/dist/{identityReuseStateMachine-ChepCGW0.esm.js → identityReuseStateMachine-BU2uIL0g.esm.js} +1 -1
  95. package/dist/{index-cIuvyWMa.d.ts → index-CZd2Wkcy.d.ts} +1 -1
  96. package/dist/{index-DPzIjcrz.d.ts → index-Cj3_GDq0.d.ts} +168 -168
  97. package/dist/index.esm.js +3 -3
  98. package/dist/{invokeOnCaptureCallback-B152xbgv.esm.js → invokeOnCaptureCallback-Dzemudhk.esm.js} +1 -1
  99. package/dist/mandatory-consent.d.ts +5 -5
  100. package/dist/mandatory-consent.esm.js +4 -4
  101. package/dist/{mandatoryConsentManager-B60hUyNX.esm.js → mandatoryConsentManager-C1-OUALV.esm.js} +3 -3
  102. package/dist/{mandatoryConsentManager-Dn1p_Mbl.d.ts → mandatoryConsentManager-Cl85NSyv.d.ts} +51 -51
  103. package/dist/{mandatoryConsentStateMachine-DFSHgVwh.esm.js → mandatoryConsentStateMachine-CnBrCblM.esm.js} +1 -1
  104. package/dist/phone.esm.js +4 -4
  105. package/dist/{phoneManager-Bv6zNVMy.esm.js → phoneManager-CTWZpt1P.esm.js} +3 -3
  106. package/dist/{phoneStateMachine-DA9XcHqe.esm.js → phoneStateMachine-CuEoJ0QX.esm.js} +1 -1
  107. package/dist/{qe-signature-Cr3h13pK.esm.js → qe-signature-DLL7A352.esm.js} +1 -1
  108. package/dist/qe-signature.d.ts +1 -1
  109. package/dist/qe-signature.esm.js +4 -4
  110. package/dist/redirect-to-mobile.esm.js +4 -4
  111. package/dist/{redirectToMobileManager-1eG2CuwM.esm.js → redirectToMobileManager-Mmhx7Xrr.esm.js} +3 -3
  112. package/dist/{redirectToMobileStateMachine-BjcIvJuk.esm.js → redirectToMobileStateMachine-jfg8fHus.esm.js} +1 -1
  113. package/dist/{runChildModule-YdxACVvJ.esm.js → runChildModule-DPYbTHqF.esm.js} +2 -2
  114. package/dist/selfie.d.ts +16 -9
  115. package/dist/selfie.esm.js +17 -10
  116. package/dist/{selfieManager-C6jYvRAX.esm.js → selfieManager-CXyFrJvi.esm.js} +16 -7
  117. package/dist/{selfieManager-DKRhOzTT.d.ts → selfieManager-imY2dAcH.d.ts} +12 -2
  118. package/dist/{selfieStateMachine-BmLe1og0.esm.js → selfieStateMachine-BoelHbk9.esm.js} +2 -2
  119. package/dist/session.d.ts +4 -4
  120. package/dist/session.esm.js +2 -2
  121. package/dist/{sessionInitializer-BSKJg9bU.esm.js → sessionInitializer-HcxgaiK9.esm.js} +2 -2
  122. package/dist/{setup-dbz5Ecax.esm.js → setup-CUFC_ryX.esm.js} +2 -2
  123. package/dist/signature.esm.js +3 -3
  124. package/dist/{signatureStateMachine-oNUxM1jx.esm.js → signatureStateMachine-d7nQ70Pd.esm.js} +1 -1
  125. package/dist/trust-graph.d.ts +2 -2
  126. package/dist/trust-graph.esm.js +2 -2
  127. package/dist/{types-D8y52YD5.d.ts → types-Dv-9WPJX.d.ts} +2 -2
  128. package/dist/{types-DR2YKE_o.d.ts → types-Z9wv19v2.d.ts} +1 -1
  129. package/dist/wasm.esm.js +3 -3
  130. package/dist/watchlist-for-business.esm.js +3 -3
  131. package/dist/watchlist.esm.js +3 -3
  132. package/dist/{watchlistForBusinessStateMachine-CKK3f8Ds.esm.js → watchlistForBusinessStateMachine-C6oEUo-m.esm.js} +1 -1
  133. package/dist/{watchlistStateMachine-DQuauaAh.esm.js → watchlistStateMachine-BM3u8X--.esm.js} +1 -1
  134. package/dist/workflow.d.ts +145 -145
  135. package/dist/workflow.esm.js +35 -35
  136. package/dist/{xstate.esm-BwZUki12.esm.js → xstate.esm-Dkm1jy5u.esm.js} +9 -0
  137. package/package.json +1 -1
  138. /package/dist/{camera-D0c7ez3w.d.ts → camera-biGPWlmx.d.ts} +0 -0
  139. /package/dist/{types-C1ixFPzO.d.ts → types-DYZja-k9.d.ts} +0 -0
@@ -4,6 +4,23 @@ function setWasmDsFlagSync(enabled) {
4
4
  localStorage.setItem("ds", enabled ? "1" : "0");
5
5
  }
6
6
 
7
+ //#endregion
8
+ //#region ../infra/src/providers/browser/BrowserVisibilityObserverProvider.ts
9
+ var BrowserVisibilityObserverProvider = class {
10
+ isVisible() {
11
+ return !document.hidden;
12
+ }
13
+ onVisibilityChange(listener) {
14
+ const handler = () => {
15
+ listener(!document.hidden);
16
+ };
17
+ document.addEventListener("visibilitychange", handler);
18
+ return () => {
19
+ document.removeEventListener("visibilitychange", handler);
20
+ };
21
+ }
22
+ };
23
+
7
24
  //#endregion
8
25
  //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
9
26
  /**
@@ -59,4 +76,4 @@ var BrowserStorageProvider = class {
59
76
  };
60
77
 
61
78
  //#endregion
62
- export { setWasmDsFlagSync as n, BrowserStorageProvider as t };
79
+ export { BrowserVisibilityObserverProvider as n, setWasmDsFlagSync as r, BrowserStorageProvider as t };
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-D0c7ez3w.js";
1
+ import { t as CameraStream } from "./camera-biGPWlmx.js";
2
2
 
3
3
  //#region ../infra/src/media/canvas.d.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
2
2
  import { t as api } from "./api-DUZwyz0o.esm.js";
3
3
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
4
- import { i as fromCallback } from "./xstate.esm-BwZUki12.esm.js";
4
+ import { i as fromCallback } from "./xstate.esm-Dkm1jy5u.esm.js";
5
5
 
6
6
  //#region src/shared/usStates.ts
7
7
  const usStates = {
@@ -1,4 +1,4 @@
1
- import { t as createElectronicSignatureManager } from "./electronicSignatureManager-DxmlKk00.esm.js";
1
+ import { t as createElectronicSignatureManager } from "./electronicSignatureManager-BaJfp4Uv.esm.js";
2
2
 
3
3
  //#region src/modules/ae-signature/index.ts
4
4
  function createAeSignatureManager(options) {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DPzIjcrz.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-Cj3_GDq0.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -1,11 +1,11 @@
1
1
  import "./api-DUZwyz0o.esm.js";
2
- import "./events-BduWcqZW.esm.js";
2
+ import "./events-DN-u67gb.esm.js";
3
3
  import "./endpoints-B2t80MAM.esm.js";
4
- import "./xstate.esm-BwZUki12.esm.js";
4
+ import "./xstate.esm-Dkm1jy5u.esm.js";
5
5
  import "./apiError-D-GTvFrH.esm.js";
6
6
  import "./urlUtils-8RNHyW3x.esm.js";
7
7
  import "./externalFetch-crimxkN9.esm.js";
8
- import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-DxmlKk00.esm.js";
9
- import { t as createAeSignatureManager } from "./ae-signature-DtMxM9hp.esm.js";
8
+ import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-BaJfp4Uv.esm.js";
9
+ import { t as createAeSignatureManager } from "./ae-signature-D9NZ4lKU.esm.js";
10
10
 
11
11
  export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
@@ -1,8 +1,8 @@
1
1
  import "./api-DUZwyz0o.esm.js";
2
- import "./events-BduWcqZW.esm.js";
2
+ import "./events-DN-u67gb.esm.js";
3
3
  import "./endpoints-B2t80MAM.esm.js";
4
- import "./xstate.esm-BwZUki12.esm.js";
5
- import { t as antifraudMachine } from "./antifraudStateMachine-TpOb33Fe.esm.js";
6
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-e8wx0Nao.esm.js";
4
+ import "./xstate.esm-Dkm1jy5u.esm.js";
5
+ import { t as antifraudMachine } from "./antifraudStateMachine-DLDcyOye.esm.js";
6
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BPKNY0q0.esm.js";
7
7
 
8
8
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
2
- import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
3
- import { t as antifraudMachine } from "./antifraudStateMachine-TpOb33Fe.esm.js";
1
+ import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
2
+ import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
3
+ import { t as antifraudMachine } from "./antifraudStateMachine-DLDcyOye.esm.js";
4
4
 
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-DUZwyz0o.esm.js";
2
2
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
3
- import { a as fromPromise, t as setup } from "./xstate.esm-BwZUki12.esm.js";
3
+ import { a as fromPromise, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
4
4
 
5
5
  //#region src/modules/antifraud/antifraudServices.ts
6
6
  async function processAntifraud(signal) {
@@ -1,13 +1,13 @@
1
1
  import "./warmup--6HA3yUR.js";
2
2
  import "./Manager-B2OEDYqf.js";
3
3
  import "./Actor-fIPLXfoi.js";
4
- import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-Dk07aXxd.js";
5
- import "./camera-D0c7ez3w.js";
6
- import "./types-DR2YKE_o.js";
7
- import "./types-C1ixFPzO.js";
8
- import "./types-D8y52YD5.js";
9
- import "./deepsightService-C7MMvEiJ.js";
4
+ import "./deepsightService-ByNKY5Jv.js";
5
+ import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-CL-7T_vH.js";
6
+ import "./camera-biGPWlmx.js";
7
+ import "./types-Z9wv19v2.js";
8
+ import "./types-DYZja-k9.js";
9
+ import "./types-Dv-9WPJX.js";
10
10
  import "./types-F0IXbaCB.js";
11
- import "./StreamCanvasCapture-uQFmjDCE.js";
12
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DJzD_n6Z.js";
11
+ import "./StreamCanvasCapture-Ctgyx-oD.js";
12
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-Dve7mGLe.js";
13
13
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,17 +1,17 @@
1
1
  import "./WasmUtilProvider-CIu373BZ.esm.js";
2
2
  import "./api-DUZwyz0o.esm.js";
3
- import "./events-BduWcqZW.esm.js";
3
+ import "./events-DN-u67gb.esm.js";
4
4
  import "./endpoints-B2t80MAM.esm.js";
5
5
  import "./stats-32mOt6D8.esm.js";
6
6
  import "./browserSimulation-CGjpdNA1.esm.js";
7
7
  import "./platform-BfoqeM61.esm.js";
8
8
  import "./getBrowser-Dv8LZyHE.esm.js";
9
- import "./xstate.esm-BwZUki12.esm.js";
10
- import "./BrowserStorageProvider-CGCKial0.esm.js";
9
+ import "./xstate.esm-Dkm1jy5u.esm.js";
10
+ import "./BrowserStorageProvider-D5xc7Lqo.esm.js";
11
11
  import "./MotionSensorProvider-C9fPAJdS.esm.js";
12
12
  import "./permissionServices-CPDboRoE.esm.js";
13
13
  import "./camera-x4LjGTjZ.esm.js";
14
- import "./faceCaptureManagerFactory-Juvtt26S.esm.js";
14
+ import "./faceCaptureManagerFactory-BNXZchWX.esm.js";
15
15
  import "./recordingService-DrBGyI6d.esm.js";
16
16
  import "./ITimerCapability-BvH0pDwp.esm.js";
17
17
  import "./canvas-7uX2izHb.esm.js";
@@ -22,8 +22,8 @@ import "./getDeviceClass-rXKlXywy.esm.js";
22
22
  import "./types-BdVOWGGW.esm.js";
23
23
  import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
24
24
  import "./permissionGuards-D-Z-lgNj.esm.js";
25
- import "./faceCaptureSetup-DjRmRo0V.esm.js";
26
- import { t as authenticationMachine } from "./authenticationStateMachine-CY9tW24P.esm.js";
27
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Bwn7fioj.esm.js";
25
+ import "./faceCaptureSetup-kZSE9qaL.esm.js";
26
+ import { t as authenticationMachine } from "./authenticationStateMachine-CYGXzQrw.esm.js";
27
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-HHrQkb1r.esm.js";
28
28
 
29
29
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,19 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
- import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-Dk07aXxd.js";
2
+ import { u as IVisibilityObserverCapability } from "./deepsightService-ByNKY5Jv.js";
3
+ import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-CL-7T_vH.js";
3
4
 
4
5
  //#region src/modules/authentication/authenticationManager.d.ts
5
6
  type AuthenticationState = FaceCaptureManagerState;
6
- declare function createAuthenticationManagerFromActor(actor: AuthenticationActor): Manager<FaceCaptureManagerState> & {
7
+ /**
8
+ * Wraps an authentication actor in a face-capture manager.
9
+ *
10
+ * `visibilityObserver` is an optional override escape-hatch — first-party
11
+ * callers omit it and the downstream factory defaults to
12
+ * `BrowserVisibilityObserverProvider`. Pass a custom or no-op observer to
13
+ * disable `background`/`foreground` tracking or to run in a non-DOM
14
+ * environment (e.g. SSR / tests).
15
+ */
16
+ declare function createAuthenticationManagerFromActor(actor: AuthenticationActor, visibilityObserver?: IVisibilityObserverCapability): Manager<FaceCaptureManagerState> & {
7
17
  load(): void;
8
18
  nextStep(): Promise<void>;
9
19
  requestPermission(): void;
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIu373BZ.esm.js";
2
- import { n as eventModuleNames } from "./events-BduWcqZW.esm.js";
3
- import { s as createActor } from "./xstate.esm-BwZUki12.esm.js";
4
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CGCKial0.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Juvtt26S.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CY9tW24P.esm.js";
2
+ import { n as eventModuleNames } from "./events-DN-u67gb.esm.js";
3
+ import { s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
4
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-D5xc7Lqo.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BNXZchWX.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CYGXzQrw.esm.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
@@ -20,8 +20,17 @@ function createAuthenticationActor(options) {
20
20
 
21
21
  //#endregion
22
22
  //#region src/modules/authentication/authenticationManager.ts
23
- function createAuthenticationManagerFromActor(actor) {
24
- return createFaceCaptureManagerFromActor(actor, eventModuleNames.authFace);
23
+ /**
24
+ * Wraps an authentication actor in a face-capture manager.
25
+ *
26
+ * `visibilityObserver` is an optional override escape-hatch — first-party
27
+ * callers omit it and the downstream factory defaults to
28
+ * `BrowserVisibilityObserverProvider`. Pass a custom or no-op observer to
29
+ * disable `background`/`foreground` tracking or to run in a non-DOM
30
+ * environment (e.g. SSR / tests).
31
+ */
32
+ function createAuthenticationManagerFromActor(actor, visibilityObserver) {
33
+ return createFaceCaptureManagerFromActor(actor, eventModuleNames.authFace, visibilityObserver);
25
34
  }
26
35
  /**
27
36
  * Creates an authentication manager instance for handling face authentication flow.
@@ -1,11 +1,11 @@
1
1
  import { t as api } from "./api-DUZwyz0o.esm.js";
2
2
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-32mOt6D8.esm.js";
4
- import { a as fromPromise, r as assign } from "./xstate.esm-BwZUki12.esm.js";
4
+ import { a as fromPromise, r as assign } from "./xstate.esm-Dkm1jy5u.esm.js";
5
5
  import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-DrBGyI6d.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-rXKlXywy.esm.js";
7
7
  import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DjRmRo0V.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-kZSE9qaL.esm.js";
9
9
 
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
11
11
  const AUTH_ERROR_MAP = {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import * as xstate439 from "xstate";
3
+ import * as xstate799 from "xstate";
4
4
 
5
5
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
6
6
  declare const MIN_PASSWORD_LENGTH = 8;
@@ -39,7 +39,7 @@ type CertificateIssuanceContext = {
39
39
  type CertificateIssuanceInput = {
40
40
  config: CertificateIssuanceConfig;
41
41
  };
42
- declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssuanceContext, {
42
+ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssuanceContext, {
43
43
  type: "LOAD";
44
44
  } | {
45
45
  type: "PASSWORD_CHANGED";
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
53
53
  } | {
54
54
  type: "FINISH";
55
55
  }, {
56
- [x: string]: xstate439.ActorRefFromLogic<xstate439.PromiseActorLogic<IssueCertificateResponse, {
56
+ [x: string]: xstate799.ActorRefFromLogic<xstate799.PromiseActorLogic<IssueCertificateResponse, {
57
57
  password: string;
58
- }, xstate439.EventObject>> | undefined;
58
+ }, xstate799.EventObject>> | undefined;
59
59
  }, {
60
60
  src: "issueCertificate";
61
- logic: xstate439.PromiseActorLogic<IssueCertificateResponse, {
61
+ logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
62
62
  password: string;
63
- }, xstate439.EventObject>;
63
+ }, xstate799.EventObject>;
64
64
  id: string | undefined;
65
- }, xstate439.Values<{
65
+ }, xstate799.Values<{
66
66
  setPassword: {
67
67
  type: "setPassword";
68
- params: xstate439.NonReducibleUnknown;
68
+ params: xstate799.NonReducibleUnknown;
69
69
  };
70
70
  setBlob: {
71
71
  type: "setBlob";
72
- params: xstate439.NonReducibleUnknown;
72
+ params: xstate799.NonReducibleUnknown;
73
73
  };
74
74
  }>, {
75
75
  type: "isPasswordValid";
76
76
  params: unknown;
77
- }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate439.NonReducibleUnknown, xstate439.EventObject, xstate439.MetaObject, {
77
+ }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate799.NonReducibleUnknown, xstate799.EventObject, xstate799.MetaObject, {
78
78
  readonly id: "certificateIssuance";
79
79
  readonly initial: "idle";
80
80
  readonly context: ({
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
83
83
  spawn: {
84
84
  <TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
85
85
  src: "issueCertificate";
86
- logic: xstate439.PromiseActorLogic<IssueCertificateResponse, {
86
+ logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
87
87
  password: string;
88
- }, xstate439.EventObject>;
88
+ }, xstate799.EventObject>;
89
89
  id: string | undefined;
90
90
  } extends infer T ? T extends {
91
91
  src: "issueCertificate";
92
- logic: xstate439.PromiseActorLogic<IssueCertificateResponse, {
92
+ logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
93
93
  password: string;
94
- }, xstate439.EventObject>;
94
+ }, xstate799.EventObject>;
95
95
  id: string | undefined;
96
96
  } ? T extends {
97
97
  src: TSrc;
98
- } ? xstate439.ConditionalRequired<[options?: ({
98
+ } ? xstate799.ConditionalRequired<[options?: ({
99
99
  id?: T["id"] | undefined;
100
100
  systemId?: string;
101
- input?: xstate439.InputFrom<T["logic"]> | undefined;
101
+ input?: xstate799.InputFrom<T["logic"]> | undefined;
102
102
  syncSnapshot?: boolean;
103
- } & { [K in xstate439.RequiredActorOptions<T>]: unknown }) | undefined], xstate439.IsNotNever<xstate439.RequiredActorOptions<T>>> : never : never : never): xstate439.ActorRefFromLogic<xstate439.GetConcreteByKey<{
103
+ } & { [K in xstate799.RequiredActorOptions<T>]: unknown }) | undefined], xstate799.IsNotNever<xstate799.RequiredActorOptions<T>>> : never : never : never): xstate799.ActorRefFromLogic<xstate799.GetConcreteByKey<{
104
104
  src: "issueCertificate";
105
- logic: xstate439.PromiseActorLogic<IssueCertificateResponse, {
105
+ logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
106
106
  password: string;
107
- }, xstate439.EventObject>;
107
+ }, xstate799.EventObject>;
108
108
  id: string | undefined;
109
109
  }, "src", TSrc>["logic"]>;
110
- <TLogic extends xstate439.AnyActorLogic>(src: TLogic, ...[options]: xstate439.ConditionalRequired<[options?: ({
110
+ <TLogic extends xstate799.AnyActorLogic>(src: TLogic, ...[options]: xstate799.ConditionalRequired<[options?: ({
111
111
  id?: never;
112
112
  systemId?: string;
113
- input?: xstate439.InputFrom<TLogic> | undefined;
113
+ input?: xstate799.InputFrom<TLogic> | undefined;
114
114
  syncSnapshot?: boolean;
115
- } & { [K in xstate439.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate439.IsNotNever<xstate439.RequiredLogicInput<TLogic>>>): xstate439.ActorRefFromLogic<TLogic>;
115
+ } & { [K in xstate799.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate799.IsNotNever<xstate799.RequiredLogicInput<TLogic>>>): xstate799.ActorRefFromLogic<TLogic>;
116
116
  };
117
117
  input: CertificateIssuanceInput;
118
- self: xstate439.ActorRef<xstate439.MachineSnapshot<CertificateIssuanceContext, {
118
+ self: xstate799.ActorRef<xstate799.MachineSnapshot<CertificateIssuanceContext, {
119
119
  type: "LOAD";
120
120
  } | {
121
121
  type: "PASSWORD_CHANGED";
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
128
128
  type: "DOWNLOAD_FAILED";
129
129
  } | {
130
130
  type: "FINISH";
131
- }, Record<string, xstate439.AnyActorRef | undefined>, xstate439.StateValue, string, unknown, any, any>, {
131
+ }, Record<string, xstate799.AnyActorRef | undefined>, xstate799.StateValue, string, unknown, any, any>, {
132
132
  type: "LOAD";
133
133
  } | {
134
134
  type: "PASSWORD_CHANGED";
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
141
141
  type: "DOWNLOAD_FAILED";
142
142
  } | {
143
143
  type: "FINISH";
144
- }, xstate439.AnyEventObject>;
144
+ }, xstate799.AnyEventObject>;
145
145
  }) => {
146
146
  config: CertificateIssuanceConfig;
147
147
  password: string;
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
189
189
  } | {
190
190
  type: "FINISH";
191
191
  };
192
- self: xstate439.ActorRef<xstate439.MachineSnapshot<CertificateIssuanceContext, {
192
+ self: xstate799.ActorRef<xstate799.MachineSnapshot<CertificateIssuanceContext, {
193
193
  type: "LOAD";
194
194
  } | {
195
195
  type: "PASSWORD_CHANGED";
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
202
202
  type: "DOWNLOAD_FAILED";
203
203
  } | {
204
204
  type: "FINISH";
205
- }, Record<string, xstate439.AnyActorRef>, xstate439.StateValue, string, unknown, any, any>, {
205
+ }, Record<string, xstate799.AnyActorRef>, xstate799.StateValue, string, unknown, any, any>, {
206
206
  type: "LOAD";
207
207
  } | {
208
208
  type: "PASSWORD_CHANGED";
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate439.StateMachine<CertificateIssu
215
215
  type: "DOWNLOAD_FAILED";
216
216
  } | {
217
217
  type: "FINISH";
218
- }, xstate439.AnyEventObject>;
218
+ }, xstate799.AnyEventObject>;
219
219
  }) => {
220
220
  password: string;
221
221
  };
@@ -1,10 +1,10 @@
1
1
  import "./api-DUZwyz0o.esm.js";
2
- import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
2
+ import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
3
3
  import "./endpoints-B2t80MAM.esm.js";
4
- import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
4
+ import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
5
5
  import "./urlUtils-8RNHyW3x.esm.js";
6
6
  import "./externalFetch-crimxkN9.esm.js";
7
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DZng9Ecy.esm.js";
7
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DY3X6WsV.esm.js";
8
8
 
9
9
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
10
10
  /**
@@ -1,6 +1,6 @@
1
1
  import { n as getApi, r as getToken } from "./api-DUZwyz0o.esm.js";
2
2
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-BwZUki12.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
4
4
  import { t as externalFetch } from "./externalFetch-crimxkN9.esm.js";
5
5
 
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
package/dist/consent.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-BFuU3KoB.js";
3
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-CNdr6JTS.js";
4
4
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,8 +1,8 @@
1
1
  import "./api-DUZwyz0o.esm.js";
2
- import "./events-BduWcqZW.esm.js";
2
+ import "./events-DN-u67gb.esm.js";
3
3
  import "./endpoints-B2t80MAM.esm.js";
4
- import "./xstate.esm-BwZUki12.esm.js";
5
- import { t as consentMachine } from "./consentStateMachine-BzCJuC_B.esm.js";
6
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-iFzpsbOt.esm.js";
4
+ import "./xstate.esm-Dkm1jy5u.esm.js";
5
+ import { t as consentMachine } from "./consentStateMachine-C6ialHPb.esm.js";
6
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CNV5Dnm0.esm.js";
7
7
 
8
8
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
2
- import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
3
- import { t as consentMachine } from "./consentStateMachine-BzCJuC_B.esm.js";
1
+ import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
2
+ import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
3
+ import { t as consentMachine } from "./consentStateMachine-C6ialHPb.esm.js";
4
4
 
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {