@incodetech/core 0.0.0-dev-20260617-8a69e08c → 0.0.0-dev-20260617-7cc8f894

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 (159) hide show
  1. package/dist/{OpenViduRecordingProvider-BDIlX9Cq.esm.js → OpenViduRecordingProvider-DF7A4ZNJ.esm.js} +1 -1
  2. package/dist/{StreamCanvasCapture-uQFmjDCE.d.ts → StreamCanvasCapture-CDN2Apbm.d.ts} +1 -1
  3. package/dist/ae-signature.d.ts +3 -3
  4. package/dist/antifraud.d.ts +3 -3
  5. package/dist/{antifraudManager-vkuogwAe.d.ts → antifraudManager-DbrsuESv.d.ts} +2 -2
  6. package/dist/authentication.d.ts +13 -13
  7. package/dist/authentication.esm.js +5 -5
  8. package/dist/{authenticationManager-Dz4IJIrK.esm.js → authenticationManager-DVgli_vD.esm.js} +1 -1
  9. package/dist/{authenticationManager-CDxVMHF1.d.ts → authenticationManager-DnOZ0hIZ.d.ts} +2 -2
  10. package/dist/{authenticationStateMachine-ZqIWl4M4.esm.js → authenticationStateMachine-PtGChFaq.esm.js} +15 -18
  11. package/dist/camera.d.ts +1 -1
  12. package/dist/certificate-issuance.d.ts +30 -30
  13. package/dist/consent.d.ts +3 -3
  14. package/dist/{consentManager-WjRO-QwM.d.ts → consentManager-CDgMJdcr.d.ts} +49 -49
  15. package/dist/cpf-ocr.d.ts +3 -3
  16. package/dist/{cpfOcrManager-DV-v9XjQ.d.ts → cpfOcrManager-D3lUVFbI.d.ts} +19 -19
  17. package/dist/cross-document-data-match.d.ts +1 -1
  18. package/dist/curp-validation.d.ts +7 -7
  19. package/dist/{curpValidationManager-CeXO_2dN.d.ts → curpValidationManager-Cmv2orSI.d.ts} +3 -3
  20. package/dist/custom-fields.d.ts +2 -2
  21. package/dist/custom-watchlist.d.ts +1 -1
  22. package/dist/{deepsightService-BpVpDm2O.d.ts → deepsightService-DpHuyW3G.d.ts} +1 -1
  23. package/dist/document-capture.d.ts +235 -235
  24. package/dist/document-upload.d.ts +47 -47
  25. package/dist/dynamic-forms.d.ts +2 -2
  26. package/dist/dynamic-forms.esm.js +5 -282
  27. package/dist/dynamicFormsStateMachine-p7MuNqYk.esm.js +284 -0
  28. package/dist/ekyb.d.ts +6 -6
  29. package/dist/ekyb.esm.js +5 -5
  30. package/dist/{ekybStateMachine-LYbmoerq.esm.js → ekybStateMachine-CRSuNnsu.esm.js} +2 -2
  31. package/dist/ekyc.d.ts +3 -3
  32. package/dist/ekyc.esm.js +2 -2
  33. package/dist/{ekycStateMachine-dXnYshTa.esm.js → ekycStateMachine-BqzVRrZz.esm.js} +1 -1
  34. package/dist/electronic-signature.d.ts +3 -3
  35. package/dist/email.d.ts +4 -4
  36. package/dist/email.esm.js +3 -3
  37. package/dist/{emailManager-DLFWfHIl.d.ts → emailManager-DbZkzbPP.d.ts} +3 -3
  38. package/dist/{emailManager-DQJIAsix.esm.js → emailManager-DfgCL3O0.esm.js} +2 -2
  39. package/dist/{emailStateMachine-C1DabizS.esm.js → emailStateMachine-DWzBDO0i.esm.js} +1 -1
  40. package/dist/extensibility.d.ts +26 -26
  41. package/dist/extensibility.esm.js +23 -23
  42. package/dist/face-match.d.ts +1 -1
  43. package/dist/face-match.esm.js +1 -1
  44. package/dist/{faceCaptureManagerFactory-BQg4HVQ0.d.ts → faceCaptureManagerFactory-B2Vhybvk.d.ts} +10 -9
  45. package/dist/{faceCaptureSetup-B2H2mNGa.esm.js → faceCaptureSetup-D3yv2HY3.esm.js} +2 -2
  46. package/dist/field-comparison.d.ts +3 -3
  47. package/dist/field-comparison.esm.js +1 -1
  48. package/dist/{fieldComparisonManager-CgJctoEw.d.ts → fieldComparisonManager-6YiDreZW.d.ts} +2 -2
  49. package/dist/fiscal-qr.d.ts +3 -3
  50. package/dist/fiscal-qr.esm.js +1 -1
  51. package/dist/flow-events.d.ts +6 -6
  52. package/dist/flow.d.ts +12 -12
  53. package/dist/flow.esm.js +6 -6
  54. package/dist/{flowServices-D_FMT6Fi.esm.js → flowServices-BLUYSdW9.esm.js} +1 -1
  55. package/dist/geolocation.d.ts +2 -2
  56. package/dist/geolocation.esm.js +1 -1
  57. package/dist/government-validation.d.ts +3 -3
  58. package/dist/government-validation.esm.js +2 -2
  59. package/dist/{governmentValidationStateMachine-DXqbvuKL.esm.js → governmentValidationStateMachine-CC_MEsWI.esm.js} +1 -1
  60. package/dist/home.d.ts +15 -15
  61. package/dist/http.esm.js +1 -1
  62. package/dist/id-ocr.d.ts +2 -2
  63. package/dist/id-ocr.esm.js +1 -1
  64. package/dist/id-verification.d.ts +27 -27
  65. package/dist/id-verification.esm.js +1 -1
  66. package/dist/id.d.ts +12 -12
  67. package/dist/id.esm.js +7 -7
  68. package/dist/{idCaptureManager-k5tfqV1x.esm.js → idCaptureManager-BsyVVBx7.esm.js} +1 -1
  69. package/dist/{idCaptureManager-Wn84cPTa.d.ts → idCaptureManager-CV3Tioi4.d.ts} +8 -8
  70. package/dist/{idCaptureStateMachine-BY5csicv.esm.js → idCaptureStateMachine-DQkygy-A.esm.js} +4 -4
  71. package/dist/identity-reuse.d.ts +3 -3
  72. package/dist/identity-reuse.esm.js +2 -2
  73. package/dist/{identityReuseManager-Bew667Pj.esm.js → identityReuseManager-CqBkUE4l.esm.js} +1 -1
  74. package/dist/{identityReuseManager-ByGgS8ML.d.ts → identityReuseManager-Dei197Hq.d.ts} +33 -33
  75. package/dist/{index-Bna2s_tk.d.ts → index-BFqpqVT2.d.ts} +169 -169
  76. package/dist/{index-cIuvyWMa.d.ts → index-DCwyzc5q.d.ts} +2 -2
  77. package/dist/index.d.ts +3 -3
  78. package/dist/index.esm.js +3 -3
  79. package/dist/mandatory-consent.d.ts +7 -7
  80. package/dist/mandatory-consent.esm.js +2 -2
  81. package/dist/{mandatoryConsentManager-DDs8TlGY.d.ts → mandatoryConsentManager-BJRO5-0a.d.ts} +50 -50
  82. package/dist/{mandatoryConsentManager-kbO0Dr65.esm.js → mandatoryConsentManager-Qub7zBH8.esm.js} +1 -1
  83. package/dist/openviduLazy-B_s6jnEk.esm.js +3 -0
  84. package/dist/{openviduLazy-BapX8Ljx.esm.js → openviduLazy-oAXXI9w_.esm.js} +1 -1
  85. package/dist/phone.d.ts +4 -4
  86. package/dist/phone.esm.js +3 -3
  87. package/dist/{phoneManager-CZA4CST1.esm.js → phoneManager-ApM3CWwR.esm.js} +2 -2
  88. package/dist/{phoneManager-CkEiuAuM.d.ts → phoneManager-h6NgdQCA.d.ts} +3 -3
  89. package/dist/{phoneStateMachine-BQNuJGjq.esm.js → phoneStateMachine-Nn0ifgsM.esm.js} +1 -1
  90. package/dist/qe-signature.d.ts +3 -3
  91. package/dist/qe-signature.esm.js +1 -1
  92. package/dist/{recordingService-Cw3hJgT2.esm.js → recordingService-D6wX1gjP.esm.js} +5 -5
  93. package/dist/redirect-to-mobile.d.ts +3 -3
  94. package/dist/redirect-to-mobile.esm.js +2 -2
  95. package/dist/{redirectToMobileManager-B4PTmB3H.esm.js → redirectToMobileManager-Bw0Dew2v.esm.js} +1 -1
  96. package/dist/{redirectToMobileManager-DYQsXMqo.d.ts → redirectToMobileManager-DYv4-nNn.d.ts} +2 -2
  97. package/dist/{runChildModule-DaOsL9FE.esm.js → runChildModule-BGecSlg0.esm.js} +8 -21
  98. package/dist/selfie.d.ts +13 -13
  99. package/dist/selfie.esm.js +6 -6
  100. package/dist/{selfieManager-CxktnRiy.d.ts → selfieManager-BjwgTTSs.d.ts} +2 -2
  101. package/dist/{selfieManager-MGv9xxlB.esm.js → selfieManager-DgUgks9i.esm.js} +1 -1
  102. package/dist/{selfieStateMachine-DIep8sRA.esm.js → selfieStateMachine-YDCX3Ew4.esm.js} +3 -3
  103. package/dist/session.d.ts +5 -5
  104. package/dist/session.esm.js +3 -3
  105. package/dist/{sessionInitializer-CMFY9E5w.esm.js → sessionInitializer-zHt8j5xW.esm.js} +1 -1
  106. package/dist/{setup-CuLzlVAN.esm.js → setup-BqOF4vbP.esm.js} +2 -2
  107. package/dist/{setup-CbuQnURW.d.ts → setup-DHGBjYDo.d.ts} +2 -2
  108. package/dist/signature.d.ts +2 -2
  109. package/dist/signature.esm.js +1 -1
  110. package/dist/{tri-BO556jKl.esm.js → tri-Dm8DCwTc.esm.js} +1 -1
  111. package/dist/tri.d.ts +1 -1
  112. package/dist/{tri.esm-Drm5tKql.esm.js → tri.esm-Cb1T14_N.esm.js} +1 -1
  113. package/dist/tri.esm.js +1 -1
  114. package/dist/trust-graph.d.ts +3 -3
  115. package/dist/{types-C3Yf5jrM.esm.js → types-BdVOWGGW.esm.js} +2 -1
  116. package/dist/{types-CNiMvUpA.d.ts → types-Cjx73NNd.d.ts} +1 -1
  117. package/dist/{types-D8y52YD5.d.ts → types-Dv-9WPJX.d.ts} +2 -2
  118. package/dist/{types-DR2YKE_o.d.ts → types-Z9wv19v2.d.ts} +1 -1
  119. package/dist/wasm.d.ts +3 -3
  120. package/dist/wasm.esm.js +3 -3
  121. package/dist/watchlist-for-business.d.ts +1 -1
  122. package/dist/watchlist-for-business.esm.js +1 -1
  123. package/dist/watchlist.d.ts +1 -1
  124. package/dist/watchlist.esm.js +1 -1
  125. package/dist/workflow.d.ts +94 -94
  126. package/dist/workflow.esm.js +33 -30
  127. package/package.json +1 -1
  128. package/dist/openviduLazy--VDjpeVq.esm.js +0 -3
  129. /package/dist/{Actor-CeqUTqL9.d.ts → Actor-fIPLXfoi.d.ts} +0 -0
  130. /package/dist/{Manager-CHiHBvMT.d.ts → Manager-Dsj-sPxS.d.ts} +0 -0
  131. /package/dist/{StateMachine-HpHVxl3G.d.ts → StateMachine-BIfEYukU.d.ts} +0 -0
  132. /package/dist/{addressSearch-4xxBiFtH.esm.js → addressSearch-Byq4gwCN.esm.js} +0 -0
  133. /package/dist/{browser-8Za96B1X-CUY3snMa.esm.js → browser-8Za96B1X-2HhouIRF.esm.js} +0 -0
  134. /package/dist/{camera-D0c7ez3w.d.ts → camera-biGPWlmx.d.ts} +0 -0
  135. /package/dist/{deepsightLoader-cR0EgL9O.esm.js → deepsightLoader-D8lOvUfM.esm.js} +0 -0
  136. /package/dist/{faceMatchStateMachine-eQOGyK1R.esm.js → faceMatchStateMachine-BzP_cdwX.esm.js} +0 -0
  137. /package/dist/{fieldComparisonManager-IaJfvmEt.esm.js → fieldComparisonManager-m1j9K66T.esm.js} +0 -0
  138. /package/dist/{flowCompletionService-DSPt5J5M.d.ts → flowCompletionService-BAFssHBk.d.ts} +0 -0
  139. /package/dist/{flowCompletionService-D9l6fDFY.esm.js → flowCompletionService-Y1UICFg1.esm.js} +0 -0
  140. /package/dist/{geolocationStateMachine-CB4yyRz1.esm.js → geolocationStateMachine-BRas1Frw.esm.js} +0 -0
  141. /package/dist/{http-B2UWIXGr.esm.js → http-CfVTgMfU.esm.js} +0 -0
  142. /package/dist/{idOcrStateMachine-BwksZ-bt.esm.js → idOcrStateMachine-DBR2PV3V.esm.js} +0 -0
  143. /package/dist/{idVerificationStateMachine-BMzgkkbQ.esm.js → idVerificationStateMachine-9pEdKmP9.esm.js} +0 -0
  144. /package/dist/{identityReuseStateMachine-CbR5itoo.esm.js → identityReuseStateMachine-Mhf3pwuo.esm.js} +0 -0
  145. /package/dist/{index-B6TAFzyx.d.ts → index-Cu5ZqstL.d.ts} +0 -0
  146. /package/dist/{invokeOnCaptureCallback-DyJrH089.esm.js → invokeOnCaptureCallback-BlFdnfoh.esm.js} +0 -0
  147. /package/dist/{lib-DOI53AqI.esm.js → lib-7ZQ9BdKH.esm.js} +0 -0
  148. /package/dist/{mandatoryConsentStateMachine-DtjGqH2e.esm.js → mandatoryConsentStateMachine-OCd0A55c.esm.js} +0 -0
  149. /package/dist/{otp-BHJnjEEc.d.ts → otp-BwLdGT6f.d.ts} +0 -0
  150. /package/dist/{otp-BcSa5nTM.esm.js → otp-D87RTwrx.esm.js} +0 -0
  151. /package/dist/{qe-signature-BVUV3TE_.esm.js → qe-signature-D6-Qpyfo.esm.js} +0 -0
  152. /package/dist/{redirectToMobileStateMachine-BWrpS_sN.esm.js → redirectToMobileStateMachine-60oeuo-V.esm.js} +0 -0
  153. /package/dist/{session-C_G3d7av.esm.js → session-Da435G0o.esm.js} +0 -0
  154. /package/dist/{signatureStateMachine-B7hxdXio.esm.js → signatureStateMachine-BTkVm04g.esm.js} +0 -0
  155. /package/dist/{types-F0IXbaCB.d.ts → types-D3dxOdyZ.d.ts} +0 -0
  156. /package/dist/{types-C1ixFPzO.d.ts → types-DYZja-k9.d.ts} +0 -0
  157. /package/dist/{warmup-CdT_pVcp.d.ts → warmup--6HA3yUR.d.ts} +0 -0
  158. /package/dist/{watchlistForBusinessStateMachine-D3W0_TEt.esm.js → watchlistForBusinessStateMachine-fEpRdtnj.esm.js} +0 -0
  159. /package/dist/{watchlistStateMachine-D8EXhr5W.esm.js → watchlistStateMachine-C92XRtlP.esm.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as Flow } from "./types-D8y52YD5.js";
2
- import { t as FinishStatus } from "./flowCompletionService-DSPt5J5M.js";
1
+ import { n as Flow } from "./types-Dv-9WPJX.js";
2
+ import { t as FinishStatus } from "./flowCompletionService-BAFssHBk.js";
3
3
 
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./warmup-CdT_pVcp.js";
2
- import "./index-B6TAFzyx.js";
3
- import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-CbuQnURW.js";
1
+ import "./warmup--6HA3yUR.js";
2
+ import "./index-Cu5ZqstL.js";
3
+ import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-DHGBjYDo.js";
4
4
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./WasmUtilProvider-CAZ4AD98.esm.js";
2
- import { a as setup, n as isConfigured, r as reset } from "./setup-CuLzlVAN.esm.js";
2
+ import { a as setup, n as isConfigured, r as reset } from "./setup-BqOF4vbP.esm.js";
3
3
  import "./BrowserTimerProvider-BVgutW_b.esm.js";
4
4
  import "./api-DUZwyz0o.esm.js";
5
5
  import "./events-CmarQoum.esm.js";
@@ -7,9 +7,9 @@ import "./endpoints-B2t80MAM.esm.js";
7
7
  import "./stats-32mOt6D8.esm.js";
8
8
  import "./IpifyProvider-oZf7Ke1O.esm.js";
9
9
  import "./browserSimulation-CGjpdNA1.esm.js";
10
- import "./sessionInitializer-CMFY9E5w.esm.js";
10
+ import "./sessionInitializer-zHt8j5xW.esm.js";
11
11
  import "./platform-BfoqeM61.esm.js";
12
12
  import "./getBrowser-Dv8LZyHE.esm.js";
13
- import "./tri-BO556jKl.esm.js";
13
+ import "./tri-Dm8DCwTc.esm.js";
14
14
 
15
15
  export { isConfigured, reset, setup };
@@ -1,8 +1,8 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import "./camera-D0c7ez3w.js";
4
- import "./types-DR2YKE_o.js";
5
- import "./types-C1ixFPzO.js";
6
- import "./types-D8y52YD5.js";
7
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-DDs8TlGY.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import "./camera-biGPWlmx.js";
4
+ import "./types-Z9wv19v2.js";
5
+ import "./types-DYZja-k9.js";
6
+ import "./types-Dv-9WPJX.js";
7
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BJRO5-0a.js";
8
8
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -2,7 +2,7 @@ import "./api-DUZwyz0o.esm.js";
2
2
  import "./events-CmarQoum.esm.js";
3
3
  import "./endpoints-B2t80MAM.esm.js";
4
4
  import "./xstate.esm-CbU9dpcC.esm.js";
5
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
6
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-kbO0Dr65.esm.js";
5
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-OCd0A55c.esm.js";
6
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-Qub7zBH8.esm.js";
7
7
 
8
8
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,7 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
3
- import { a as RegulationTypes } from "./types-D8y52YD5.js";
4
- import * as xstate1433 from "xstate";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
+ import { a as RegulationTypes } from "./types-Dv-9WPJX.js";
4
+ import * as xstate1222 from "xstate";
5
5
 
6
6
  //#region src/modules/mandatory-consent/types.d.ts
7
7
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
32
32
  type MandatoryConsentInput = {
33
33
  config: MandatoryConsentConfig;
34
34
  };
35
- declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentContext, {
35
+ declare const mandatoryConsentMachine: xstate1222.StateMachine<MandatoryConsentContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "TOGGLE";
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
45
45
  } | {
46
46
  type: "RESET";
47
47
  }, {
48
- [x: string]: xstate1433.ActorRefFromLogic<xstate1433.PromiseActorLogic<FetchMandatoryConsentResponse, {
48
+ [x: string]: xstate1222.ActorRefFromLogic<xstate1222.PromiseActorLogic<FetchMandatoryConsentResponse, {
49
49
  config: MandatoryConsentConfig;
50
- }, xstate1433.EventObject>> | xstate1433.ActorRefFromLogic<xstate1433.PromiseActorLogic<void, {
50
+ }, xstate1222.EventObject>> | xstate1222.ActorRefFromLogic<xstate1222.PromiseActorLogic<void, {
51
51
  consentId: string;
52
52
  isSigned: boolean;
53
- }, xstate1433.EventObject>> | undefined;
54
- }, xstate1433.Values<{
53
+ }, xstate1222.EventObject>> | undefined;
54
+ }, xstate1222.Values<{
55
55
  fetchConsent: {
56
56
  src: "fetchConsent";
57
- logic: xstate1433.PromiseActorLogic<FetchMandatoryConsentResponse, {
57
+ logic: xstate1222.PromiseActorLogic<FetchMandatoryConsentResponse, {
58
58
  config: MandatoryConsentConfig;
59
- }, xstate1433.EventObject>;
59
+ }, xstate1222.EventObject>;
60
60
  id: string | undefined;
61
61
  };
62
62
  submitConsent: {
63
63
  src: "submitConsent";
64
- logic: xstate1433.PromiseActorLogic<void, {
64
+ logic: xstate1222.PromiseActorLogic<void, {
65
65
  consentId: string;
66
66
  isSigned: boolean;
67
- }, xstate1433.EventObject>;
67
+ }, xstate1222.EventObject>;
68
68
  id: string | undefined;
69
69
  };
70
- }>, xstate1433.Values<{
70
+ }>, xstate1222.Values<{
71
71
  setConsent: {
72
72
  type: "setConsent";
73
- params: xstate1433.NonReducibleUnknown;
73
+ params: xstate1222.NonReducibleUnknown;
74
74
  };
75
75
  setError: {
76
76
  type: "setError";
77
- params: xstate1433.NonReducibleUnknown;
77
+ params: xstate1222.NonReducibleUnknown;
78
78
  };
79
79
  clearError: {
80
80
  type: "clearError";
81
- params: xstate1433.NonReducibleUnknown;
81
+ params: xstate1222.NonReducibleUnknown;
82
82
  };
83
83
  resetContext: {
84
84
  type: "resetContext";
85
- params: xstate1433.NonReducibleUnknown;
85
+ params: xstate1222.NonReducibleUnknown;
86
86
  };
87
87
  toggleSigned: {
88
88
  type: "toggleSigned";
89
- params: xstate1433.NonReducibleUnknown;
89
+ params: xstate1222.NonReducibleUnknown;
90
90
  };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1433.NonReducibleUnknown, xstate1433.EventObject, xstate1433.MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1222.NonReducibleUnknown, xstate1222.EventObject, xstate1222.MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
100
100
  spawn: {
101
101
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
102
102
  src: "fetchConsent";
103
- logic: xstate1433.PromiseActorLogic<FetchMandatoryConsentResponse, {
103
+ logic: xstate1222.PromiseActorLogic<FetchMandatoryConsentResponse, {
104
104
  config: MandatoryConsentConfig;
105
- }, xstate1433.EventObject>;
105
+ }, xstate1222.EventObject>;
106
106
  id: string | undefined;
107
107
  } extends infer T ? T extends {
108
108
  src: "fetchConsent";
109
- logic: xstate1433.PromiseActorLogic<FetchMandatoryConsentResponse, {
109
+ logic: xstate1222.PromiseActorLogic<FetchMandatoryConsentResponse, {
110
110
  config: MandatoryConsentConfig;
111
- }, xstate1433.EventObject>;
111
+ }, xstate1222.EventObject>;
112
112
  id: string | undefined;
113
113
  } ? T extends {
114
114
  src: TSrc;
115
- } ? xstate1433.ConditionalRequired<[options?: ({
115
+ } ? xstate1222.ConditionalRequired<[options?: ({
116
116
  id?: T["id"] | undefined;
117
117
  systemId?: string;
118
- input?: xstate1433.InputFrom<T["logic"]> | undefined;
118
+ input?: xstate1222.InputFrom<T["logic"]> | undefined;
119
119
  syncSnapshot?: boolean;
120
- } & { [K in xstate1433.RequiredActorOptions<T>]: unknown }) | undefined], xstate1433.IsNotNever<xstate1433.RequiredActorOptions<T>>> : never : never : never) | ({
120
+ } & { [K in xstate1222.RequiredActorOptions<T>]: unknown }) | undefined], xstate1222.IsNotNever<xstate1222.RequiredActorOptions<T>>> : never : never : never) | ({
121
121
  src: "submitConsent";
122
- logic: xstate1433.PromiseActorLogic<void, {
122
+ logic: xstate1222.PromiseActorLogic<void, {
123
123
  consentId: string;
124
124
  isSigned: boolean;
125
- }, xstate1433.EventObject>;
125
+ }, xstate1222.EventObject>;
126
126
  id: string | undefined;
127
127
  } extends infer T_1 ? T_1 extends {
128
128
  src: "submitConsent";
129
- logic: xstate1433.PromiseActorLogic<void, {
129
+ logic: xstate1222.PromiseActorLogic<void, {
130
130
  consentId: string;
131
131
  isSigned: boolean;
132
- }, xstate1433.EventObject>;
132
+ }, xstate1222.EventObject>;
133
133
  id: string | undefined;
134
134
  } ? T_1 extends {
135
135
  src: TSrc;
136
- } ? xstate1433.ConditionalRequired<[options?: ({
136
+ } ? xstate1222.ConditionalRequired<[options?: ({
137
137
  id?: T_1["id"] | undefined;
138
138
  systemId?: string;
139
- input?: xstate1433.InputFrom<T_1["logic"]> | undefined;
139
+ input?: xstate1222.InputFrom<T_1["logic"]> | undefined;
140
140
  syncSnapshot?: boolean;
141
- } & { [K_1 in xstate1433.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1433.IsNotNever<xstate1433.RequiredActorOptions<T_1>>> : never : never : never)): xstate1433.ActorRefFromLogic<xstate1433.GetConcreteByKey<xstate1433.Values<{
141
+ } & { [K_1 in xstate1222.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1222.IsNotNever<xstate1222.RequiredActorOptions<T_1>>> : never : never : never)): xstate1222.ActorRefFromLogic<xstate1222.GetConcreteByKey<xstate1222.Values<{
142
142
  fetchConsent: {
143
143
  src: "fetchConsent";
144
- logic: xstate1433.PromiseActorLogic<FetchMandatoryConsentResponse, {
144
+ logic: xstate1222.PromiseActorLogic<FetchMandatoryConsentResponse, {
145
145
  config: MandatoryConsentConfig;
146
- }, xstate1433.EventObject>;
146
+ }, xstate1222.EventObject>;
147
147
  id: string | undefined;
148
148
  };
149
149
  submitConsent: {
150
150
  src: "submitConsent";
151
- logic: xstate1433.PromiseActorLogic<void, {
151
+ logic: xstate1222.PromiseActorLogic<void, {
152
152
  consentId: string;
153
153
  isSigned: boolean;
154
- }, xstate1433.EventObject>;
154
+ }, xstate1222.EventObject>;
155
155
  id: string | undefined;
156
156
  };
157
157
  }>, "src", TSrc>["logic"]>;
158
- <TLogic extends xstate1433.AnyActorLogic>(src: TLogic, ...[options]: xstate1433.ConditionalRequired<[options?: ({
158
+ <TLogic extends xstate1222.AnyActorLogic>(src: TLogic, ...[options]: xstate1222.ConditionalRequired<[options?: ({
159
159
  id?: never;
160
160
  systemId?: string;
161
- input?: xstate1433.InputFrom<TLogic> | undefined;
161
+ input?: xstate1222.InputFrom<TLogic> | undefined;
162
162
  syncSnapshot?: boolean;
163
- } & { [K in xstate1433.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1433.IsNotNever<xstate1433.RequiredLogicInput<TLogic>>>): xstate1433.ActorRefFromLogic<TLogic>;
163
+ } & { [K in xstate1222.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1222.IsNotNever<xstate1222.RequiredLogicInput<TLogic>>>): xstate1222.ActorRefFromLogic<TLogic>;
164
164
  };
165
165
  input: MandatoryConsentInput;
166
- self: xstate1433.ActorRef<xstate1433.MachineSnapshot<MandatoryConsentContext, {
166
+ self: xstate1222.ActorRef<xstate1222.MachineSnapshot<MandatoryConsentContext, {
167
167
  type: "LOAD";
168
168
  } | {
169
169
  type: "TOGGLE";
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
175
175
  type: "RETRY";
176
176
  } | {
177
177
  type: "RESET";
178
- }, Record<string, xstate1433.AnyActorRef | undefined>, xstate1433.StateValue, string, unknown, any, any>, {
178
+ }, Record<string, xstate1222.AnyActorRef | undefined>, xstate1222.StateValue, string, unknown, any, any>, {
179
179
  type: "LOAD";
180
180
  } | {
181
181
  type: "TOGGLE";
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
187
187
  type: "RETRY";
188
188
  } | {
189
189
  type: "RESET";
190
- }, xstate1433.AnyEventObject>;
190
+ }, xstate1222.AnyEventObject>;
191
191
  }) => {
192
192
  config: MandatoryConsentConfig;
193
193
  consent: undefined;
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
224
224
  } | {
225
225
  type: "RESET";
226
226
  };
227
- self: xstate1433.ActorRef<xstate1433.MachineSnapshot<MandatoryConsentContext, {
227
+ self: xstate1222.ActorRef<xstate1222.MachineSnapshot<MandatoryConsentContext, {
228
228
  type: "LOAD";
229
229
  } | {
230
230
  type: "TOGGLE";
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "RESET";
239
- }, Record<string, xstate1433.AnyActorRef>, xstate1433.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate1222.AnyActorRef>, xstate1222.StateValue, string, unknown, any, any>, {
240
240
  type: "LOAD";
241
241
  } | {
242
242
  type: "TOGGLE";
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate1433.AnyEventObject>;
251
+ }, xstate1222.AnyEventObject>;
252
252
  }) => {
253
253
  config: MandatoryConsentConfig;
254
254
  };
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
301
301
  } | {
302
302
  type: "RESET";
303
303
  };
304
- self: xstate1433.ActorRef<xstate1433.MachineSnapshot<MandatoryConsentContext, {
304
+ self: xstate1222.ActorRef<xstate1222.MachineSnapshot<MandatoryConsentContext, {
305
305
  type: "LOAD";
306
306
  } | {
307
307
  type: "TOGGLE";
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
313
313
  type: "RETRY";
314
314
  } | {
315
315
  type: "RESET";
316
- }, Record<string, xstate1433.AnyActorRef>, xstate1433.StateValue, string, unknown, any, any>, {
316
+ }, Record<string, xstate1222.AnyActorRef>, xstate1222.StateValue, string, unknown, any, any>, {
317
317
  type: "LOAD";
318
318
  } | {
319
319
  type: "TOGGLE";
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1433.StateMachine<MandatoryConsentC
325
325
  type: "RETRY";
326
326
  } | {
327
327
  type: "RESET";
328
- }, xstate1433.AnyEventObject>;
328
+ }, xstate1222.AnyEventObject>;
329
329
  }) => {
330
330
  consentId: string;
331
331
  isSigned: boolean;
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
2
2
  import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
3
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
3
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-OCd0A55c.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
6
6
  function createMandatoryConsentActor(options) {
@@ -0,0 +1,3 @@
1
+ import { t as loadOpenVidu } from "./openviduLazy-oAXXI9w_.esm.js";
2
+
3
+ export { loadOpenVidu };
@@ -4,7 +4,7 @@ import { a as __toDynamicImportESM } from "./chunk-BK1xu56N.esm.js";
4
4
  let openViduImport;
5
5
  async function loadOpenVidu() {
6
6
  if (openViduImport) return openViduImport;
7
- openViduImport = import("./lib-DOI53AqI.esm.js").then(__toDynamicImportESM(1));
7
+ openViduImport = import("./lib-7ZQ9BdKH.esm.js").then(__toDynamicImportESM(1));
8
8
  return openViduImport;
9
9
  }
10
10
 
package/dist/phone.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import "./otp-BHJnjEEc.js";
4
- import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-CkEiuAuM.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import "./otp-BwLdGT6f.js";
4
+ import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-h6NgdQCA.js";
5
5
  export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
package/dist/phone.esm.js CHANGED
@@ -3,8 +3,8 @@ import "./api-DUZwyz0o.esm.js";
3
3
  import "./events-CmarQoum.esm.js";
4
4
  import "./endpoints-B2t80MAM.esm.js";
5
5
  import "./xstate.esm-CbU9dpcC.esm.js";
6
- import "./otp-BcSa5nTM.esm.js";
7
- import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
8
- import { t as createPhoneManager } from "./phoneManager-CZA4CST1.esm.js";
6
+ import "./otp-D87RTwrx.esm.js";
7
+ import { t as phoneMachine } from "./phoneStateMachine-Nn0ifgsM.esm.js";
8
+ import { t as createPhoneManager } from "./phoneManager-ApM3CWwR.esm.js";
9
9
 
10
10
  export { createPhoneManager, phoneMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
2
2
  import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
3
- import { t as OTP_CODE_LENGTH } from "./otp-BcSa5nTM.esm.js";
4
- import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
3
+ import { t as OTP_CODE_LENGTH } from "./otp-D87RTwrx.esm.js";
4
+ import { t as phoneMachine } from "./phoneStateMachine-Nn0ifgsM.esm.js";
5
5
 
6
6
  //#region src/modules/phone/phoneActor.ts
7
7
  function createPhoneActor(options) {
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
3
- import { t as OtpValidationErrors } from "./otp-BHJnjEEc.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
+ import { t as OtpValidationErrors } from "./otp-BwLdGT6f.js";
4
4
 
5
5
  //#region src/modules/phone/types.d.ts
6
6
 
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.j
2
2
  import { t as api } from "./api-DUZwyz0o.esm.js";
3
3
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
4
4
  import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
5
- import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-BcSa5nTM.esm.js";
5
+ import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-D87RTwrx.esm.js";
6
6
 
7
7
  //#region src/modules/phone/phoneServices.ts
8
8
  function getPhoneServerFailureReason(error, invalidStatus) {
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-Bna2s_tk.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-BFqpqVT2.js";
4
4
 
5
5
  //#region src/modules/qe-signature/index.d.ts
6
6
 
@@ -6,6 +6,6 @@ import "./apiError-D-GTvFrH.esm.js";
6
6
  import "./urlUtils-8RNHyW3x.esm.js";
7
7
  import "./externalFetch-crimxkN9.esm.js";
8
8
  import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-Db9SeoGj.esm.js";
9
- import { t as createQeSignatureManager } from "./qe-signature-BVUV3TE_.esm.js";
9
+ import { t as createQeSignatureManager } from "./qe-signature-D6-Qpyfo.esm.js";
10
10
 
11
11
  export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
@@ -8,7 +8,7 @@ import { t as sleep } from "./ITimerCapability-BvH0pDwp.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-7uX2izHb.esm.js";
9
9
  import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-iftkf3rd.esm.js";
10
10
  import { t as getDeviceClass } from "./getDeviceClass-rXKlXywy.esm.js";
11
- import { t as FACE_ERROR_CODES } from "./types-C3Yf5jrM.esm.js";
11
+ import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
12
12
 
13
13
  //#region ../infra/src/scheduling/yieldUntilNextPaint.ts
14
14
  /**
@@ -490,7 +490,7 @@ function buildResolutionFromStream(stream) {
490
490
  if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
491
491
  }
492
492
  async function createOpenViduRecordingProvider() {
493
- const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-BDIlX9Cq.esm.js");
493
+ const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-DF7A4ZNJ.esm.js");
494
494
  return new OpenViduRecordingProvider();
495
495
  }
496
496
  async function startRecordingSession(params) {
@@ -530,7 +530,7 @@ async function stopRecording(session) {
530
530
  }
531
531
  }
532
532
  async function initializeDeepsightSession(options) {
533
- const { loadDeepsightSession } = await import("./deepsightLoader-cR0EgL9O.esm.js");
533
+ const { loadDeepsightSession } = await import("./deepsightLoader-D8lOvUfM.esm.js");
534
534
  return loadDeepsightSession({
535
535
  ds: options.ds,
536
536
  storage: options.storage
@@ -913,12 +913,12 @@ var LocalRecordingProvider = class {
913
913
  let openViduProviderImportPromise;
914
914
  let openViduBrowserImportPromise;
915
915
  function loadOpenViduProviderModule() {
916
- if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-BDIlX9Cq.esm.js");
916
+ if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-DF7A4ZNJ.esm.js");
917
917
  return openViduProviderImportPromise;
918
918
  }
919
919
  function loadOpenViduBrowserModule() {
920
920
  if (!openViduBrowserImportPromise) openViduBrowserImportPromise = (async () => {
921
- return (await import("./openviduLazy--VDjpeVq.esm.js")).loadOpenVidu();
921
+ return (await import("./openviduLazy-B_s6jnEk.esm.js")).loadOpenVidu();
922
922
  })();
923
923
  return openViduBrowserImportPromise;
924
924
  }
@@ -1,6 +1,6 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-DYQsXMqo.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-DYv4-nNn.js";
4
4
 
5
5
  //#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
6
6
 
@@ -4,7 +4,7 @@ import "./events-CmarQoum.esm.js";
4
4
  import "./endpoints-B2t80MAM.esm.js";
5
5
  import "./xstate.esm-CbU9dpcC.esm.js";
6
6
  import "./urlUtils-8RNHyW3x.esm.js";
7
- import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BWrpS_sN.esm.js";
8
- import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-B4PTmB3H.esm.js";
7
+ import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-60oeuo-V.esm.js";
8
+ import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-Bw0Dew2v.esm.js";
9
9
 
10
10
  export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
@@ -1,7 +1,7 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
2
2
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
3
3
  import { a as fromPromise, c as createManager, i as fromCallback, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
4
- import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BWrpS_sN.esm.js";
4
+ import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-60oeuo-V.esm.js";
5
5
 
6
6
  //#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
7
7
  const POLL_INTERVAL_MS = 5e3;
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
3
 
4
4
  //#region src/modules/redirect-to-mobile/types.d.ts
5
5
  type RedirectToMobileConfig = {
@@ -1,6 +1,6 @@
1
1
  import { S as getTimestamp, x as createEventBus } from "./events-CmarQoum.esm.js";
2
2
  import { i as fromCallback, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
3
- import { t as FACE_ERROR_CODES } from "./types-C3Yf5jrM.esm.js";
3
+ import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
4
4
 
5
5
  //#region src/internal/flow-events/flowEvents.ts
6
6
  function createFlowEventBus() {
@@ -195,30 +195,17 @@ function attachFlowEventEmitter(manager, options = {}) {
195
195
  //#endregion
196
196
  //#region src/internal/orchestration/advanceableErrors.ts
197
197
  /**
198
- * Module terminal-error codes that an orchestrator (workflow / flow) should
199
- * treat as "advance to the next step" rather than "fail the flow". The
200
- * advance-vs-fail decision lives here, at the orchestration layer, so every
201
- * consumer (UI workflow, headless) behaves identically.
202
- *
203
- * The codes are currently all `FaceErrorCode`s because the face/auth module is
204
- * the only producer of advanceable terminal errors today; at this layer they
205
- * are matched against the opaque `moduleErrorCode` string a module reports.
206
- *
207
- * "Advanceable" is independent of "retryable" — it only decides what the flow
208
- * does *after* a module reports a terminal error. Whether the module retried
209
- * first is the module's own concern (e.g. the auth module's
210
- * `NON_RETRYABLE_AUTH_ERROR_CODES`):
211
- * - `NONEXISTENT_CUSTOMER` / `HINT_NOT_PROVIDED`: retrying the capture is
212
- * pointless, so the auth module fails on the first attempt, then the flow
213
- * advances (e.g. route the customer to enrollment / ID capture).
214
- * - `USER_IS_NOT_RECOGNIZED`: a better-lit / better-aligned retry can still flip
215
- * a borderline match, so the auth module retries up to the attempt limit; once
216
- * attempts are exhausted the flow advances.
198
+ * Module terminal-error codes an orchestrator should treat as "advance to the
199
+ * next step" rather than "fail the flow". Decided here, at the orchestration
200
+ * layer, so every consumer behaves identically. "Advanceable" is independent of
201
+ * "retryable" (the module's own concern): it only decides what the flow does
202
+ * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
203
+ * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
217
204
  */
218
205
  const ADVANCEABLE_ERROR_CODES = [
219
206
  FACE_ERROR_CODES.NONEXISTENT_CUSTOMER,
220
207
  FACE_ERROR_CODES.HINT_NOT_PROVIDED,
221
- FACE_ERROR_CODES.USER_IS_NOT_RECOGNIZED
208
+ FACE_ERROR_CODES.NO_MORE_ATTEMPTS
222
209
  ];
223
210
  /** True when the given code is a module terminal error the flow should advance past rather than fail on. */
224
211
  const isAdvanceableError = (moduleErrorCode) => moduleErrorCode !== void 0 && ADVANCEABLE_ERROR_CODES.includes(moduleErrorCode);
package/dist/selfie.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import "./warmup-CdT_pVcp.js";
2
- import "./Manager-CHiHBvMT.js";
3
- import "./Actor-CeqUTqL9.js";
4
- import "./StateMachine-HpHVxl3G.js";
5
- import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-BQg4HVQ0.js";
6
- import { t as CameraStream } from "./camera-D0c7ez3w.js";
7
- import "./types-DR2YKE_o.js";
8
- import "./types-C1ixFPzO.js";
9
- import "./types-D8y52YD5.js";
10
- import { t as DeepsightService } from "./deepsightService-BpVpDm2O.js";
11
- import { n as PermissionStatus, t as PermissionResult } from "./types-F0IXbaCB.js";
12
- import "./StreamCanvasCapture-uQFmjDCE.js";
13
- import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-CxktnRiy.js";
1
+ import "./warmup--6HA3yUR.js";
2
+ import "./Manager-Dsj-sPxS.js";
3
+ import "./Actor-fIPLXfoi.js";
4
+ import "./StateMachine-BIfEYukU.js";
5
+ import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-B2Vhybvk.js";
6
+ import { t as CameraStream } from "./camera-biGPWlmx.js";
7
+ import "./types-Z9wv19v2.js";
8
+ import "./types-DYZja-k9.js";
9
+ import "./types-Dv-9WPJX.js";
10
+ import { t as DeepsightService } from "./deepsightService-DpHuyW3G.js";
11
+ import { n as PermissionStatus, t as PermissionResult } from "./types-D3dxOdyZ.js";
12
+ import "./StreamCanvasCapture-CDN2Apbm.js";
13
+ import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BjwgTTSs.js";
14
14
 
15
15
  //#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
16
16
  type SelfieCaptureOnlyState = FaceCaptureManagerState;
@@ -12,20 +12,20 @@ import "./MotionSensorProvider-C9fPAJdS.esm.js";
12
12
  import "./permissionServices-BApXq7a0.esm.js";
13
13
  import "./camera-x4LjGTjZ.esm.js";
14
14
  import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ByC4Qa8y.esm.js";
15
- import { m as processFace } from "./recordingService-Cw3hJgT2.esm.js";
15
+ import { m as processFace } from "./recordingService-D6wX1gjP.esm.js";
16
16
  import "./ITimerCapability-BvH0pDwp.esm.js";
17
17
  import "./canvas-7uX2izHb.esm.js";
18
18
  import "./backCameraStream-iftkf3rd.esm.js";
19
19
  import "./deepsightService-40p8oygL.esm.js";
20
20
  import "./getDeviceClass-C0zrM97a.esm.js";
21
21
  import "./getDeviceClass-rXKlXywy.esm.js";
22
- import "./types-C3Yf5jrM.esm.js";
22
+ import "./types-BdVOWGGW.esm.js";
23
23
  import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
24
24
  import "./permissionGuards-MDEdZAXO.esm.js";
25
- import { t as faceCaptureMachine } from "./faceCaptureSetup-B2H2mNGa.esm.js";
26
- import { t as selfieMachine } from "./selfieStateMachine-DIep8sRA.esm.js";
27
- import { t as createSelfieManager } from "./selfieManager-MGv9xxlB.esm.js";
28
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DyJrH089.esm.js";
25
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D3yv2HY3.esm.js";
26
+ import { t as selfieMachine } from "./selfieStateMachine-YDCX3Ew4.esm.js";
27
+ import { t as createSelfieManager } from "./selfieManager-DgUgks9i.esm.js";
28
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BlFdnfoh.esm.js";
29
29
 
30
30
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
31
31
  /**
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BQg4HVQ0.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-B2Vhybvk.js";
3
3
 
4
4
  //#region src/modules/selfie/selfieUploadService.d.ts
5
5
  type ProcessFaceImageType = 'selfie' | 'videoSelfie';