@incodetech/core 0.0.0-dev-20260320-2b71e13 → 0.0.0-dev-20260320-80a2d6d

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 (78) hide show
  1. package/dist/{addressSearch-O-LFYClt.esm.js → addressSearch-BpdtojH_.esm.js} +4 -4
  2. package/dist/authentication.d.ts +10 -10
  3. package/dist/authentication.esm.js +10 -11
  4. package/dist/{authenticationManager-BH1ZY_16.d.ts → authenticationManager-BjTgDn8A.d.ts} +2 -2
  5. package/dist/{authenticationManager-BDCN6xbG.esm.js → authenticationManager-Yjdutfo0.esm.js} +8 -9
  6. package/dist/{backCameraStream-D-_dxon_.esm.js → backCameraStream-DQY36Tsq.esm.js} +1 -1
  7. package/dist/consent.d.ts +47 -47
  8. package/dist/consent.esm.js +6 -6
  9. package/dist/curp-validation.d.ts +4 -4
  10. package/dist/curp-validation.esm.js +6 -6
  11. package/dist/{deepsightLoader-DXU9BgO8.esm.js → deepsightLoader-De-U_lRn.esm.js} +4 -4
  12. package/dist/{deepsightService-B4HcyNDh.d.ts → deepsightService-CdGGD_BP.d.ts} +1 -1
  13. package/dist/{deepsightService-B4jCQAh8.esm.js → deepsightService-PlHPx0yD.esm.js} +3 -3
  14. package/dist/document-capture.d.ts +2 -2
  15. package/dist/document-capture.esm.js +7 -7
  16. package/dist/document-upload.d.ts +46 -46
  17. package/dist/document-upload.esm.js +7 -6
  18. package/dist/ekyb.d.ts +2 -2
  19. package/dist/ekyb.esm.js +8 -15
  20. package/dist/ekyc.d.ts +2 -2
  21. package/dist/ekyc.esm.js +7 -14
  22. package/dist/email.d.ts +3 -3
  23. package/dist/email.esm.js +5 -6
  24. package/dist/{emailManager-BWKRZIDo.esm.js → emailManager-B5pmZ3O4.esm.js} +8 -7
  25. package/dist/{emailManager-jXfroijR.d.ts → emailManager-lUXVfa0R.d.ts} +2 -2
  26. package/dist/{xstate.esm-nEixMy7s.esm.js → events-BKOSYNaw.esm.js} +299 -1
  27. package/dist/extensibility.d.ts +14 -14
  28. package/dist/extensibility.esm.js +14 -15
  29. package/dist/face-match.d.ts +1 -1
  30. package/dist/face-match.esm.js +7 -17
  31. package/dist/{faceCaptureManagerFactory-CULlsJHa.d.ts → faceCaptureManagerFactory-BulU7xFu.d.ts} +8 -8
  32. package/dist/{faceCaptureSetup-ePWTb1VF.esm.js → faceCaptureSetup-BQ7cV8vo.esm.js} +11 -11
  33. package/dist/flow.d.ts +7 -7
  34. package/dist/flow.esm.js +10 -8
  35. package/dist/{flowCompletionService-BJ1cHA-d.esm.js → flowCompletionService-C-pC9OZ9.esm.js} +2 -2
  36. package/dist/{flowServices-B5BTeA3c.esm.js → flowServices-Cc1HxYIC.esm.js} +2 -2
  37. package/dist/geolocation.d.ts +1 -1
  38. package/dist/geolocation.esm.js +6 -6
  39. package/dist/government-validation.d.ts +1 -1
  40. package/dist/government-validation.esm.js +6 -5
  41. package/dist/id.d.ts +9 -9
  42. package/dist/id.esm.js +10 -11
  43. package/dist/{idCaptureManager-DY9Le1U5.d.ts → idCaptureManager-DCXMoCXo.d.ts} +6 -6
  44. package/dist/{idCaptureManager-DJaBQlDY.esm.js → idCaptureManager-hbqwL7Qt.esm.js} +13 -12
  45. package/dist/index.d.ts +10 -10
  46. package/dist/index.esm.js +10 -11
  47. package/dist/phone.d.ts +3 -3
  48. package/dist/phone.esm.js +5 -6
  49. package/dist/{phoneManager-CQKg7NiP.esm.js → phoneManager-CXYPFfUs.esm.js} +8 -7
  50. package/dist/{phoneManager-BXeQetqQ.d.ts → phoneManager-pTIOvlCD.d.ts} +2 -2
  51. package/dist/redirect-to-mobile.d.ts +1 -1
  52. package/dist/redirect-to-mobile.esm.js +6 -5
  53. package/dist/selfie.d.ts +10 -10
  54. package/dist/selfie.esm.js +10 -11
  55. package/dist/{selfieManager-BzVXhKYT.d.ts → selfieManager-BqX2VFj1.d.ts} +2 -2
  56. package/dist/{selfieManager-DBIy2tuK.esm.js → selfieManager-DMnrP5LU.esm.js} +5 -6
  57. package/dist/session.d.ts +1 -1
  58. package/dist/session.esm.js +3 -3
  59. package/dist/{src-LjezYyPe.esm.js → src-xUbMTjnz.esm.js} +7 -2
  60. package/dist/{stats-DJ3CICeP.esm.js → stats-D76Thmqp.esm.js} +1 -1
  61. package/dist/stats.esm.js +2 -2
  62. package/dist/{streamingEvents-JeLmnOFf.esm.js → streamingEvents-BNVENF4-.esm.js} +3 -3
  63. package/dist/{types-CSgWWTDb.d.ts → types-CHzupruc.d.ts} +1 -1
  64. package/dist/{types-S1nlDDGB.d.ts → types-DSJflCEU.d.ts} +1 -1
  65. package/package.json +1 -1
  66. package/dist/events-CcXL3VWp.esm.js +0 -289
  67. /package/dist/{Actor-Bd72Yikw.d.ts → Actor-D6rhGxJy.d.ts} +0 -0
  68. /package/dist/{Manager-DKHVvCA1.d.ts → Manager-CVDYGoSq.d.ts} +0 -0
  69. /package/dist/{StateMachine-D-N4dLZo.d.ts → StateMachine-BqtRw_hz.d.ts} +0 -0
  70. /package/dist/{api-G4JA8CXK.esm.js → api-3fZO5bmj.esm.js} +0 -0
  71. /package/dist/{camera-pEBK1r31.d.ts → camera-CVBwqx-j.d.ts} +0 -0
  72. /package/dist/{displayErrors-mVWkbnVw.d.ts → displayErrors-BgtBHbfb.d.ts} +0 -0
  73. /package/dist/{endpoints-BGaT9ldX.esm.js → endpoints-Bydn-Ave.esm.js} +0 -0
  74. /package/dist/{flowCompletionService-B89QmIQg.d.ts → flowCompletionService-De8JDo87.d.ts} +0 -0
  75. /package/dist/{id-B1BwT5Nd.esm.js → id-r_CoQ3r-.esm.js} +0 -0
  76. /package/dist/{index-DwdIY3SO.d.ts → index-LKrIp3Oo.d.ts} +0 -0
  77. /package/dist/{lib-DCX3_IAU.esm.js → lib-3ivDs79I.esm.js} +0 -0
  78. /package/dist/{warmup-LifmFv5i.d.ts → warmup-DoQLFT3z.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
- import { g as BrowserTimerProvider } from "./src-LjezYyPe.esm.js";
2
- import { r as fromCallback } from "./xstate.esm-nEixMy7s.esm.js";
3
- import { t as api } from "./api-G4JA8CXK.esm.js";
4
- import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
1
+ import { _ as fromCallback } from "./events-BKOSYNaw.esm.js";
2
+ import { g as BrowserTimerProvider } from "./src-xUbMTjnz.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
5
5
 
6
6
  //#region src/shared/usStates.ts
7
7
  const usStates = {
@@ -1,11 +1,11 @@
1
- import "./deepsightService-B4HcyNDh.js";
2
- import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-CULlsJHa.js";
3
- import "./warmup-LifmFv5i.js";
4
- import "./Manager-DKHVvCA1.js";
5
- import "./camera-pEBK1r31.js";
6
- import "./Actor-Bd72Yikw.js";
7
- import "./StateMachine-D-N4dLZo.js";
8
- import "./types-CSgWWTDb.js";
9
- import "./types-S1nlDDGB.js";
10
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BH1ZY_16.js";
1
+ import "./deepsightService-CdGGD_BP.js";
2
+ import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-BulU7xFu.js";
3
+ import "./warmup-DoQLFT3z.js";
4
+ import "./Manager-CVDYGoSq.js";
5
+ import "./camera-CVBwqx-j.js";
6
+ import "./Actor-D6rhGxJy.js";
7
+ import "./StateMachine-BqtRw_hz.js";
8
+ import "./types-CHzupruc.js";
9
+ import "./types-DSJflCEU.js";
10
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BjTgDn8A.js";
11
11
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,13 +1,12 @@
1
- import "./events-CcXL3VWp.esm.js";
2
- import "./backCameraStream-D-_dxon_.esm.js";
3
- import "./src-LjezYyPe.esm.js";
4
- import "./xstate.esm-nEixMy7s.esm.js";
5
- import "./streamingEvents-JeLmnOFf.esm.js";
6
- import "./deepsightService-B4jCQAh8.esm.js";
7
- import "./api-G4JA8CXK.esm.js";
8
- import "./endpoints-BGaT9ldX.esm.js";
9
- import "./stats-DJ3CICeP.esm.js";
10
- import "./faceCaptureSetup-ePWTb1VF.esm.js";
11
- import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BDCN6xbG.esm.js";
1
+ import "./events-BKOSYNaw.esm.js";
2
+ import "./backCameraStream-DQY36Tsq.esm.js";
3
+ import "./src-xUbMTjnz.esm.js";
4
+ import "./streamingEvents-BNVENF4-.esm.js";
5
+ import "./deepsightService-PlHPx0yD.esm.js";
6
+ import "./api-3fZO5bmj.esm.js";
7
+ import "./endpoints-Bydn-Ave.esm.js";
8
+ import "./stats-D76Thmqp.esm.js";
9
+ import "./faceCaptureSetup-BQ7cV8vo.esm.js";
10
+ import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Yjdutfo0.esm.js";
12
11
 
13
12
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,5 +1,5 @@
1
- import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CULlsJHa.js";
2
- import { t as Manager } from "./Manager-DKHVvCA1.js";
1
+ import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BulU7xFu.js";
2
+ import { t as Manager } from "./Manager-CVDYGoSq.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
@@ -1,10 +1,9 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-CcXL3VWp.esm.js";
2
- import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-LjezYyPe.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-nEixMy7s.esm.js";
4
- import { l as getDeviceClass } from "./streamingEvents-JeLmnOFf.esm.js";
5
- import { t as api } from "./api-G4JA8CXK.esm.js";
6
- import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
7
- import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManagerFromActor, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-ePWTb1VF.esm.js";
1
+ import { f as addEvent, g as assign, n as eventModuleNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
2
+ import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-xUbMTjnz.esm.js";
3
+ import { l as getDeviceClass } from "./streamingEvents-BNVENF4-.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
6
+ import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManagerFromActor, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-BQ7cV8vo.esm.js";
8
7
 
9
8
  //#region src/modules/authentication/authenticationErrorUtils.ts
10
9
  const AUTH_ERROR_MAP = {
@@ -151,7 +150,7 @@ function createAuthenticationActor(options) {
151
150
  //#endregion
152
151
  //#region src/modules/authentication/authenticationManager.ts
153
152
  function createAuthenticationManagerFromActor(actor) {
154
- return createFaceCaptureManagerFromActor(actor);
153
+ return createFaceCaptureManagerFromActor(actor, eventModuleNames.authentication);
155
154
  }
156
155
  /**
157
156
  * Creates an authentication manager instance for handling face authentication flow.
@@ -190,7 +189,7 @@ function createAuthenticationManagerFromActor(actor) {
190
189
  * ```
191
190
  */
192
191
  function createAuthenticationManager(options) {
193
- return createFaceCaptureManagerFromActor(createAuthenticationActor(options));
192
+ return createFaceCaptureManagerFromActor(createAuthenticationActor(options), eventModuleNames.authentication);
194
193
  }
195
194
 
196
195
  //#endregion
@@ -1,4 +1,4 @@
1
- import { B as isSafari, D as enumerateVideoDevices, E as applyTrackConstraints, F as isAndroid, L as isIOS, O as requestCameraAccess, k as stopCameraStream, z as isIPhone14OrHigher } from "./src-LjezYyPe.esm.js";
1
+ import { B as isSafari, D as enumerateVideoDevices, E as applyTrackConstraints, F as isAndroid, L as isIOS, O as requestCameraAccess, k as stopCameraStream, z as isIPhone14OrHigher } from "./src-xUbMTjnz.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/ITimerCapability.ts
4
4
  function sleep(ms) {
package/dist/consent.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-DKHVvCA1.js";
2
- import * as xstate58 from "xstate";
1
+ import { t as Manager } from "./Manager-CVDYGoSq.js";
2
+ import * as xstate122 from "xstate";
3
3
 
4
4
  //#region src/modules/consent/types.d.ts
5
5
  type ConsentConfig = {
@@ -35,7 +35,7 @@ type ConsentContext = {
35
35
  type ConsentInput = {
36
36
  config: ConsentConfig;
37
37
  };
38
- declare const consentMachine: xstate58.StateMachine<ConsentContext, {
38
+ declare const consentMachine: xstate122.StateMachine<ConsentContext, {
39
39
  type: "LOAD";
40
40
  } | {
41
41
  type: "TOGGLE_CHECKBOX";
@@ -47,33 +47,37 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
47
47
  } | {
48
48
  type: "RESET";
49
49
  }, {
50
- [x: string]: xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<FetchCombinedConsentResponse, {
50
+ [x: string]: xstate122.ActorRefFromLogic<xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
51
51
  consentId: string;
52
- }, xstate58.EventObject>> | xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<void, {
52
+ }, xstate122.EventObject>> | xstate122.ActorRefFromLogic<xstate122.PromiseActorLogic<void, {
53
53
  languageConsentId: string;
54
54
  checkboxes: ConsentCheckbox[];
55
- }, xstate58.EventObject>> | undefined;
56
- }, xstate58.Values<{
55
+ }, xstate122.EventObject>> | undefined;
56
+ }, xstate122.Values<{
57
57
  fetchConsent: {
58
58
  src: "fetchConsent";
59
- logic: xstate58.PromiseActorLogic<FetchCombinedConsentResponse, {
59
+ logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
60
60
  consentId: string;
61
- }, xstate58.EventObject>;
61
+ }, xstate122.EventObject>;
62
62
  id: string | undefined;
63
63
  };
64
64
  submitConsent: {
65
65
  src: "submitConsent";
66
- logic: xstate58.PromiseActorLogic<void, {
66
+ logic: xstate122.PromiseActorLogic<void, {
67
67
  languageConsentId: string;
68
68
  checkboxes: ConsentCheckbox[];
69
- }, xstate58.EventObject>;
69
+ }, xstate122.EventObject>;
70
70
  id: string | undefined;
71
71
  };
72
- }>, xstate58.Values<{
72
+ }>, xstate122.Values<{
73
73
  clearError: {
74
74
  type: "clearError";
75
75
  params: unknown;
76
76
  };
77
+ setError: {
78
+ type: "setError";
79
+ params: unknown;
80
+ };
77
81
  setConsentData: {
78
82
  type: "setConsentData";
79
83
  params: unknown;
@@ -82,10 +86,6 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
82
86
  type: "toggleCheckbox";
83
87
  params: unknown;
84
88
  };
85
- setError: {
86
- type: "setError";
87
- params: unknown;
88
- };
89
89
  resetContext: {
90
90
  type: "resetContext";
91
91
  params: unknown;
@@ -97,7 +97,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
100
- }, never, "error" | "finished" | "idle" | "loading" | "display" | "submitting", string, ConsentInput, xstate58.NonReducibleUnknown, xstate58.EventObject, xstate58.MetaObject, {
100
+ }, never, "error" | "finished" | "idle" | "loading" | "display" | "submitting", string, ConsentInput, xstate122.NonReducibleUnknown, xstate122.EventObject, xstate122.MetaObject, {
101
101
  readonly id: "consent";
102
102
  readonly initial: "idle";
103
103
  readonly context: ({
@@ -106,70 +106,70 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
106
106
  spawn: {
107
107
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
108
108
  src: "fetchConsent";
109
- logic: xstate58.PromiseActorLogic<FetchCombinedConsentResponse, {
109
+ logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
110
110
  consentId: string;
111
- }, xstate58.EventObject>;
111
+ }, xstate122.EventObject>;
112
112
  id: string | undefined;
113
113
  } extends infer T ? T extends {
114
114
  src: "fetchConsent";
115
- logic: xstate58.PromiseActorLogic<FetchCombinedConsentResponse, {
115
+ logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
116
116
  consentId: string;
117
- }, xstate58.EventObject>;
117
+ }, xstate122.EventObject>;
118
118
  id: string | undefined;
119
119
  } ? T extends {
120
120
  src: TSrc;
121
- } ? xstate58.ConditionalRequired<[options?: ({
121
+ } ? xstate122.ConditionalRequired<[options?: ({
122
122
  id?: T["id"] | undefined;
123
123
  systemId?: string;
124
- input?: xstate58.InputFrom<T["logic"]> | undefined;
124
+ input?: xstate122.InputFrom<T["logic"]> | undefined;
125
125
  syncSnapshot?: boolean;
126
- } & { [K in xstate58.RequiredActorOptions<T>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T>>> : never : never : never) | ({
126
+ } & { [K in xstate122.RequiredActorOptions<T>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredActorOptions<T>>> : never : never : never) | ({
127
127
  src: "submitConsent";
128
- logic: xstate58.PromiseActorLogic<void, {
128
+ logic: xstate122.PromiseActorLogic<void, {
129
129
  languageConsentId: string;
130
130
  checkboxes: ConsentCheckbox[];
131
- }, xstate58.EventObject>;
131
+ }, xstate122.EventObject>;
132
132
  id: string | undefined;
133
133
  } extends infer T_1 ? T_1 extends {
134
134
  src: "submitConsent";
135
- logic: xstate58.PromiseActorLogic<void, {
135
+ logic: xstate122.PromiseActorLogic<void, {
136
136
  languageConsentId: string;
137
137
  checkboxes: ConsentCheckbox[];
138
- }, xstate58.EventObject>;
138
+ }, xstate122.EventObject>;
139
139
  id: string | undefined;
140
140
  } ? T_1 extends {
141
141
  src: TSrc;
142
- } ? xstate58.ConditionalRequired<[options?: ({
142
+ } ? xstate122.ConditionalRequired<[options?: ({
143
143
  id?: T_1["id"] | undefined;
144
144
  systemId?: string;
145
- input?: xstate58.InputFrom<T_1["logic"]> | undefined;
145
+ input?: xstate122.InputFrom<T_1["logic"]> | undefined;
146
146
  syncSnapshot?: boolean;
147
- } & { [K_1 in xstate58.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T_1>>> : never : never : never)): xstate58.ActorRefFromLogic<xstate58.GetConcreteByKey<xstate58.Values<{
147
+ } & { [K_1 in xstate122.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredActorOptions<T_1>>> : never : never : never)): xstate122.ActorRefFromLogic<xstate122.GetConcreteByKey<xstate122.Values<{
148
148
  fetchConsent: {
149
149
  src: "fetchConsent";
150
- logic: xstate58.PromiseActorLogic<FetchCombinedConsentResponse, {
150
+ logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
151
151
  consentId: string;
152
- }, xstate58.EventObject>;
152
+ }, xstate122.EventObject>;
153
153
  id: string | undefined;
154
154
  };
155
155
  submitConsent: {
156
156
  src: "submitConsent";
157
- logic: xstate58.PromiseActorLogic<void, {
157
+ logic: xstate122.PromiseActorLogic<void, {
158
158
  languageConsentId: string;
159
159
  checkboxes: ConsentCheckbox[];
160
- }, xstate58.EventObject>;
160
+ }, xstate122.EventObject>;
161
161
  id: string | undefined;
162
162
  };
163
163
  }>, "src", TSrc>["logic"]>;
164
- <TLogic extends xstate58.AnyActorLogic>(src: TLogic, ...[options]: xstate58.ConditionalRequired<[options?: ({
164
+ <TLogic extends xstate122.AnyActorLogic>(src: TLogic, ...[options]: xstate122.ConditionalRequired<[options?: ({
165
165
  id?: never;
166
166
  systemId?: string;
167
- input?: xstate58.InputFrom<TLogic> | undefined;
167
+ input?: xstate122.InputFrom<TLogic> | undefined;
168
168
  syncSnapshot?: boolean;
169
- } & { [K in xstate58.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredLogicInput<TLogic>>>): xstate58.ActorRefFromLogic<TLogic>;
169
+ } & { [K in xstate122.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredLogicInput<TLogic>>>): xstate122.ActorRefFromLogic<TLogic>;
170
170
  };
171
171
  input: ConsentInput;
172
- self: xstate58.ActorRef<xstate58.MachineSnapshot<ConsentContext, {
172
+ self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
173
173
  type: "LOAD";
174
174
  } | {
175
175
  type: "TOGGLE_CHECKBOX";
@@ -180,7 +180,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
180
180
  type: "RETRY";
181
181
  } | {
182
182
  type: "RESET";
183
- }, Record<string, xstate58.AnyActorRef | undefined>, xstate58.StateValue, string, unknown, any, any>, {
183
+ }, Record<string, xstate122.AnyActorRef | undefined>, xstate122.StateValue, string, unknown, any, any>, {
184
184
  type: "LOAD";
185
185
  } | {
186
186
  type: "TOGGLE_CHECKBOX";
@@ -191,7 +191,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
191
191
  type: "RETRY";
192
192
  } | {
193
193
  type: "RESET";
194
- }, xstate58.AnyEventObject>;
194
+ }, xstate122.AnyEventObject>;
195
195
  }) => {
196
196
  config: ConsentConfig;
197
197
  title: string;
@@ -229,7 +229,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
229
229
  } | {
230
230
  type: "RESET";
231
231
  };
232
- self: xstate58.ActorRef<xstate58.MachineSnapshot<ConsentContext, {
232
+ self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
233
233
  type: "LOAD";
234
234
  } | {
235
235
  type: "TOGGLE_CHECKBOX";
@@ -240,7 +240,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
240
240
  type: "RETRY";
241
241
  } | {
242
242
  type: "RESET";
243
- }, Record<string, xstate58.AnyActorRef>, xstate58.StateValue, string, unknown, any, any>, {
243
+ }, Record<string, xstate122.AnyActorRef>, xstate122.StateValue, string, unknown, any, any>, {
244
244
  type: "LOAD";
245
245
  } | {
246
246
  type: "TOGGLE_CHECKBOX";
@@ -251,7 +251,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
251
251
  type: "RETRY";
252
252
  } | {
253
253
  type: "RESET";
254
- }, xstate58.AnyEventObject>;
254
+ }, xstate122.AnyEventObject>;
255
255
  }) => {
256
256
  consentId: string;
257
257
  };
@@ -300,7 +300,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
300
300
  } | {
301
301
  type: "RESET";
302
302
  };
303
- self: xstate58.ActorRef<xstate58.MachineSnapshot<ConsentContext, {
303
+ self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
304
304
  type: "LOAD";
305
305
  } | {
306
306
  type: "TOGGLE_CHECKBOX";
@@ -311,7 +311,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
311
311
  type: "RETRY";
312
312
  } | {
313
313
  type: "RESET";
314
- }, Record<string, xstate58.AnyActorRef>, xstate58.StateValue, string, unknown, any, any>, {
314
+ }, Record<string, xstate122.AnyActorRef>, xstate122.StateValue, string, unknown, any, any>, {
315
315
  type: "LOAD";
316
316
  } | {
317
317
  type: "TOGGLE_CHECKBOX";
@@ -322,7 +322,7 @@ declare const consentMachine: xstate58.StateMachine<ConsentContext, {
322
322
  type: "RETRY";
323
323
  } | {
324
324
  type: "RESET";
325
- }, xstate58.AnyEventObject>;
325
+ }, xstate122.AnyEventObject>;
326
326
  }) => {
327
327
  languageConsentId: string;
328
328
  checkboxes: ConsentCheckbox[];
@@ -1,8 +1,7 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-CcXL3VWp.esm.js";
2
- import { A as createManager } from "./src-LjezYyPe.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-nEixMy7s.esm.js";
4
- import { t as api } from "./api-G4JA8CXK.esm.js";
5
- import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
1
+ import { f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
2
+ import { A as createManager } from "./src-xUbMTjnz.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
6
5
 
7
6
  //#region src/modules/consent/consentServices.ts
8
7
  async function fetchCombinedConsent(consentId, signal) {
@@ -223,7 +222,8 @@ function createConsentManager(options) {
223
222
  return createManager({
224
223
  actor: createConsentActor(options),
225
224
  mapState,
226
- createApi
225
+ createApi,
226
+ instrumentation: createManagerInstrumentation(eventModuleNames.combinedConsent)
227
227
  });
228
228
  }
229
229
 
@@ -1,7 +1,7 @@
1
- import { t as Manager } from "./Manager-DKHVvCA1.js";
2
- import "./camera-pEBK1r31.js";
3
- import "./types-CSgWWTDb.js";
4
- import { r as FlowModuleConfig } from "./types-S1nlDDGB.js";
1
+ import { t as Manager } from "./Manager-CVDYGoSq.js";
2
+ import "./camera-CVBwqx-j.js";
3
+ import "./types-CHzupruc.js";
4
+ import { r as FlowModuleConfig } from "./types-DSJflCEU.js";
5
5
 
6
6
  //#region src/modules/curp-validation/types.d.ts
7
7
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
@@ -1,8 +1,7 @@
1
- import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-CcXL3VWp.esm.js";
2
- import { A as createManager } from "./src-LjezYyPe.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-nEixMy7s.esm.js";
4
- import { t as api } from "./api-G4JA8CXK.esm.js";
5
- import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
1
+ import { d as screenOpened, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
2
+ import { A as createManager } from "./src-xUbMTjnz.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
6
5
 
7
6
  //#region src/modules/curp-validation/curpValidationUtils.ts
8
7
  const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
@@ -541,7 +540,8 @@ function createCurpValidationManager(options) {
541
540
  return createManager({
542
541
  actor: createCurpValidationActor(options),
543
542
  mapState,
544
- createApi
543
+ createApi,
544
+ instrumentation: createManagerInstrumentation(eventModuleNames.curpValidation)
545
545
  });
546
546
  }
547
547
 
@@ -1,7 +1,7 @@
1
- import { a as WasmUtilProvider, f as MotionSensorProvider, l as VisibilityProvider, y as BrowserEnvironmentProvider } from "./src-LjezYyPe.esm.js";
2
- import { t as createDeepsightService } from "./deepsightService-B4jCQAh8.esm.js";
3
- import "./api-G4JA8CXK.esm.js";
4
- import "./stats-DJ3CICeP.esm.js";
1
+ import { a as WasmUtilProvider, f as MotionSensorProvider, l as VisibilityProvider, y as BrowserEnvironmentProvider } from "./src-xUbMTjnz.esm.js";
2
+ import { t as createDeepsightService } from "./deepsightService-PlHPx0yD.esm.js";
3
+ import "./api-3fZO5bmj.esm.js";
4
+ import "./stats-D76Thmqp.esm.js";
5
5
 
6
6
  //#region src/internal/deepsight/deepsightLoader.ts
7
7
  const SDK_VERSION = "2.0.0";
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-pEBK1r31.js";
1
+ import { t as CameraStream } from "./camera-CVBwqx-j.js";
2
2
 
3
3
  //#region ../infra/src/media/canvas.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, T as IncodeCanvas, k as stopCameraStream, w as createHiddenVideoElement } from "./src-LjezYyPe.esm.js";
2
- import { t as api } from "./api-G4JA8CXK.esm.js";
3
- import { t as addDeviceStats } from "./stats-DJ3CICeP.esm.js";
1
+ import { M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, T as IncodeCanvas, k as stopCameraStream, w as createHiddenVideoElement } from "./src-xUbMTjnz.esm.js";
2
+ import { t as api } from "./api-3fZO5bmj.esm.js";
3
+ import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
4
4
 
5
5
  //#region src/internal/device/browserSimulation.ts
6
6
  const AUTOMATION_MARKERS = {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-DKHVvCA1.js";
2
- import { t as CameraStream } from "./camera-pEBK1r31.js";
1
+ import { t as Manager } from "./Manager-CVDYGoSq.js";
2
+ import { t as CameraStream } from "./camera-CVBwqx-j.js";
3
3
  import * as xstate0 from "xstate";
4
4
 
5
5
  //#region src/modules/document-capture/types.d.ts
@@ -1,9 +1,8 @@
1
- import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-CcXL3VWp.esm.js";
2
- import { t as getBackCameraStream } from "./backCameraStream-D-_dxon_.esm.js";
3
- import { A as createManager, k as stopCameraStream } from "./src-LjezYyPe.esm.js";
4
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-nEixMy7s.esm.js";
5
- import { t as api } from "./api-G4JA8CXK.esm.js";
6
- import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
1
+ import { d as screenOpened, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
2
+ import { t as getBackCameraStream } from "./backCameraStream-DQY36Tsq.esm.js";
3
+ import { A as createManager, k as stopCameraStream } from "./src-xUbMTjnz.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
7
6
 
8
7
  //#region src/modules/document-capture/types.ts
9
8
  const PROCESSING_TYPE_MAP = {
@@ -425,7 +424,8 @@ function createDocumentCaptureManager(options) {
425
424
  return createManager({
426
425
  actor: createDocumentCaptureActor(options),
427
426
  mapState,
428
- createApi
427
+ createApi,
428
+ instrumentation: createManagerInstrumentation(eventModuleNames.document)
429
429
  });
430
430
  }
431
431