@incodetech/core 0.0.0-dev-20260407-4677d7f → 0.0.0-dev-20260407-2c382da

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 (109) hide show
  1. package/dist/{BaseWasmProvider-CQgeReKV.esm.js → BaseWasmProvider--AzPfwOm.esm.js} +785 -1
  2. package/dist/{xstate.esm-BXrcOcSC.esm.js → Manager-C6AGXEq_.esm.js} +507 -103
  3. package/dist/{warmup-CEOVQKby.d.ts → StateMachine-CM_aOfNL.d.ts} +4 -1
  4. package/dist/{recordingsRepository-blYn-iKZ.esm.js → StreamCanvasCapture-DkpkIgyL.esm.js} +215 -157
  5. package/dist/{WasmUtilProvider-C45HStLj.esm.js → WasmUtilProvider-BonqBWdj.esm.js} +1 -1
  6. package/dist/{addressSearch-C5qzDvkN.esm.js → addressSearch-B8Fo4v9V.esm.js} +4 -4
  7. package/dist/antifraud.d.ts +1 -1
  8. package/dist/antifraud.esm.js +3 -3
  9. package/dist/authentication.d.ts +9 -11
  10. package/dist/authentication.esm.js +13 -18
  11. package/dist/{authenticationManager-CW4qxgcq.esm.js → authenticationManager-B4gSCgrO.esm.js} +6 -7
  12. package/dist/{authenticationManager-CiXsOTdM.d.ts → authenticationManager-Bd10YGSO.d.ts} +2 -2
  13. package/dist/{backCameraStream-CUo1USCT.esm.js → backCameraStream-DF_d7hTz.esm.js} +2 -2
  14. package/dist/consent.d.ts +52 -52
  15. package/dist/consent.esm.js +3 -3
  16. package/dist/curp-validation.d.ts +5 -5
  17. package/dist/curp-validation.esm.js +3 -3
  18. package/dist/{deepsightLoader-Bs5jHgca.esm.js → deepsightLoader-DKgEdLIS.esm.js} +7 -10
  19. package/dist/{deepsightService-CMAtxAC9.d.ts → deepsightService-Ciu0atv5.d.ts} +197 -193
  20. package/dist/document-capture.d.ts +70 -70
  21. package/dist/document-capture.esm.js +6 -6
  22. package/dist/document-upload.d.ts +4 -4
  23. package/dist/document-upload.esm.js +6 -6
  24. package/dist/ekyb.d.ts +3 -3
  25. package/dist/ekyb.esm.js +9 -9
  26. package/dist/ekyc.d.ts +3 -3
  27. package/dist/ekyc.esm.js +5 -5
  28. package/dist/email.d.ts +3 -3
  29. package/dist/email.esm.js +5 -5
  30. package/dist/{emailManager-DEIxY7l6.d.ts → emailManager-BQPIJR_O.d.ts} +2 -2
  31. package/dist/{emailManager-CZ2IGW0g.esm.js → emailManager-CpAwvP3v.esm.js} +4 -4
  32. package/dist/endpoints-CI5-28jT.esm.js +69 -0
  33. package/dist/extensibility.d.ts +13 -15
  34. package/dist/extensibility.esm.js +20 -25
  35. package/dist/face-match.d.ts +1 -1
  36. package/dist/face-match.esm.js +3 -3
  37. package/dist/{faceCaptureManagerFactory-CWj-nXdx.d.ts → faceCaptureManagerFactory-CdwpYykv.d.ts} +6 -8
  38. package/dist/{faceCaptureSetup-DIE5cftl.esm.js → faceCaptureSetup-DbXgtcp7.esm.js} +10 -13
  39. package/dist/flow.d.ts +6 -7
  40. package/dist/flow.esm.js +8 -8
  41. package/dist/{flowCompletionService-N6-xypy-.esm.js → flowCompletionService-TnWijsSw.esm.js} +2 -2
  42. package/dist/{flowServices-xgqnJ64L.esm.js → flowServices-CO2sIR3D.esm.js} +3 -3
  43. package/dist/geolocation.d.ts +2 -2
  44. package/dist/geolocation.esm.js +4 -4
  45. package/dist/government-validation.d.ts +2 -2
  46. package/dist/government-validation.esm.js +4 -4
  47. package/dist/id-CzDAG_kM.esm.js +0 -0
  48. package/dist/id.d.ts +10 -11
  49. package/dist/id.esm.js +15 -19
  50. package/dist/{idCaptureManager-SHBRQ-X_.esm.js → idCaptureManager-DaLU1ug7.esm.js} +11 -15
  51. package/dist/{idCaptureManager-H-rkXnbK.d.ts → idCaptureManager-IdqsAASp.d.ts} +6 -7
  52. package/dist/index-BuVKc9bv.d.ts +1 -0
  53. package/dist/index.d.ts +611 -3
  54. package/dist/index.esm.js +562 -10
  55. package/dist/{lib-Cq5Wc-Hd.esm.js → lib-i-4qLKdG.esm.js} +1 -1
  56. package/dist/mandatory-consent.d.ts +55 -55
  57. package/dist/mandatory-consent.esm.js +3 -3
  58. package/dist/phone.d.ts +3 -3
  59. package/dist/phone.esm.js +5 -5
  60. package/dist/{phoneManager-CscgaER2.esm.js → phoneManager-BAPHSXx8.esm.js} +4 -4
  61. package/dist/{phoneManager-Clfbrs6b.d.ts → phoneManager-DA8WUJtl.d.ts} +2 -2
  62. package/dist/redirect-to-mobile.d.ts +2 -2
  63. package/dist/redirect-to-mobile.esm.js +4 -4
  64. package/dist/selfie.d.ts +9 -11
  65. package/dist/selfie.esm.js +13 -18
  66. package/dist/{selfieManager-DeGqD5aN.esm.js → selfieManager-BSkzncsa.esm.js} +4 -5
  67. package/dist/{selfieManager-h_hhEefT.d.ts → selfieManager-Dft5wZQ_.d.ts} +2 -2
  68. package/dist/{session-PLjFj_T3.esm.js → session-OglUYC9l.esm.js} +19 -5
  69. package/dist/session.d.ts +2 -46
  70. package/dist/session.esm.js +4 -7
  71. package/dist/signature.d.ts +2 -2
  72. package/dist/signature.esm.js +3 -3
  73. package/dist/{stats-BZ1kFW4p.esm.js → stats-BVigf5Rn.esm.js} +1 -1
  74. package/dist/stats.esm.js +2 -2
  75. package/dist/{types-T0VjZW3T.d.ts → types-CiLyvJGb.d.ts} +1 -1
  76. package/dist/{types-zH5PDmSe.d.ts → types-D8Y1faI5.d.ts} +1 -1
  77. package/package.json +2 -18
  78. package/dist/MotionSensorProvider-BTDLt08l.esm.js +0 -254
  79. package/dist/StateMachine-8d441d6x.d.ts +0 -2
  80. package/dist/camera.d.ts +0 -16
  81. package/dist/camera.esm.js +0 -5
  82. package/dist/deepsightService-C3gQ_9Ml.esm.js +0 -493
  83. package/dist/device.d.ts +0 -46
  84. package/dist/device.esm.js +0 -106
  85. package/dist/events-BlVGS-8F.esm.js +0 -472
  86. package/dist/events.d.ts +0 -232
  87. package/dist/events.esm.js +0 -4
  88. package/dist/getBrowser-B800KRAi.esm.js +0 -41
  89. package/dist/getDeviceClass-BKd2FOAf.esm.js +0 -14
  90. package/dist/http.d.ts +0 -57
  91. package/dist/http.esm.js +0 -3
  92. package/dist/permissionServices-CDqkkway.esm.js +0 -50
  93. package/dist/setup-DJ3dFl5k.d.ts +0 -120
  94. package/dist/setup-fvDWE7f8.esm.js +0 -450
  95. package/dist/types-qhLxpptI.d.ts +0 -5
  96. package/dist/wasm.d.ts +0 -15
  97. package/dist/wasm.esm.js +0 -10
  98. /package/dist/{Actor-C-jivmFF.d.ts → Actor-By8WNHi-.d.ts} +0 -0
  99. /package/dist/{BrowserEnvironmentProvider--xQUs3sg.esm.js → BrowserEnvironmentProvider-BECjyw3_.esm.js} +0 -0
  100. /package/dist/{BrowserTimerProvider-CkHEwJFa.esm.js → BrowserTimerProvider-CIqH6hJp.esm.js} +0 -0
  101. /package/dist/{Manager-BqFybBV-.d.ts → Manager-CCT_-HuZ.d.ts} +0 -0
  102. /package/dist/{api-CyI8qTie.esm.js → api-C2uzxrpN.esm.js} +0 -0
  103. /package/dist/{browserSimulation-yzDdWSBf.esm.js → browserSimulation-DYAk0Ipe.esm.js} +0 -0
  104. /package/dist/{camera-CKsQVNlH.d.ts → camera-6XJdOeBF.d.ts} +0 -0
  105. /package/dist/{camera-CsT06Zqy.esm.js → camera-DAuRUvnp.esm.js} +0 -0
  106. /package/dist/{chunk-BcQWkoAq.esm.js → chunk-D6hkk-hd.esm.js} +0 -0
  107. /package/dist/{displayErrors-CjMXlBnu.d.ts → displayErrors-CGJwvrTl.d.ts} +0 -0
  108. /package/dist/{flowCompletionService-BV6ThEJ1.d.ts → flowCompletionService-BOd4Rk8n.d.ts} +0 -0
  109. /package/dist/{platform-Dcuv6w60.esm.js → platform-DdhkonXk.esm.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { t as Manager } from "./Manager-BqFybBV-.js";
2
- import "./Actor-C-jivmFF.js";
3
- import "./camera-CKsQVNlH.js";
4
- import "./types-T0VjZW3T.js";
5
- import { i as RegulationTypes } from "./types-zH5PDmSe.js";
6
- import * as xstate344 from "xstate";
1
+ import "./Actor-By8WNHi-.js";
2
+ import "./camera-6XJdOeBF.js";
3
+ import "./types-CiLyvJGb.js";
4
+ import { i as RegulationTypes } from "./types-D8Y1faI5.js";
5
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
6
+ import * as xstate160 from "xstate";
7
7
 
8
8
  //#region src/modules/mandatory-consent/types.d.ts
9
9
  type MandatoryConsentConfig = {
@@ -30,7 +30,7 @@ type MandatoryConsentContext = {
30
30
  type MandatoryConsentInput = {
31
31
  config: MandatoryConsentConfig;
32
32
  };
33
- declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentContext, {
33
+ declare const mandatoryConsentMachine: xstate160.StateMachine<MandatoryConsentContext, {
34
34
  type: "LOAD";
35
35
  } | {
36
36
  type: "TOGGLE";
@@ -43,53 +43,53 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
43
43
  } | {
44
44
  type: "RESET";
45
45
  }, {
46
- [x: string]: xstate344.ActorRefFromLogic<xstate344.PromiseActorLogic<FetchMandatoryConsentResponse, {
46
+ [x: string]: xstate160.ActorRefFromLogic<xstate160.PromiseActorLogic<FetchMandatoryConsentResponse, {
47
47
  config: MandatoryConsentConfig;
48
- }, xstate344.EventObject>> | xstate344.ActorRefFromLogic<xstate344.PromiseActorLogic<void, {
48
+ }, xstate160.EventObject>> | xstate160.ActorRefFromLogic<xstate160.PromiseActorLogic<void, {
49
49
  consentId: string;
50
50
  isSigned: boolean;
51
- }, xstate344.EventObject>> | undefined;
52
- }, xstate344.Values<{
51
+ }, xstate160.EventObject>> | undefined;
52
+ }, xstate160.Values<{
53
53
  fetchConsent: {
54
54
  src: "fetchConsent";
55
- logic: xstate344.PromiseActorLogic<FetchMandatoryConsentResponse, {
55
+ logic: xstate160.PromiseActorLogic<FetchMandatoryConsentResponse, {
56
56
  config: MandatoryConsentConfig;
57
- }, xstate344.EventObject>;
57
+ }, xstate160.EventObject>;
58
58
  id: string | undefined;
59
59
  };
60
60
  submitConsent: {
61
61
  src: "submitConsent";
62
- logic: xstate344.PromiseActorLogic<void, {
62
+ logic: xstate160.PromiseActorLogic<void, {
63
63
  consentId: string;
64
64
  isSigned: boolean;
65
- }, xstate344.EventObject>;
65
+ }, xstate160.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
- }>, xstate344.Values<{
68
+ }>, xstate160.Values<{
69
69
  setError: {
70
70
  type: "setError";
71
- params: xstate344.NonReducibleUnknown;
71
+ params: xstate160.NonReducibleUnknown;
72
72
  };
73
73
  clearError: {
74
74
  type: "clearError";
75
- params: xstate344.NonReducibleUnknown;
76
- };
77
- resetContext: {
78
- type: "resetContext";
79
- params: xstate344.NonReducibleUnknown;
75
+ params: xstate160.NonReducibleUnknown;
80
76
  };
81
77
  setConsent: {
82
78
  type: "setConsent";
83
- params: xstate344.NonReducibleUnknown;
79
+ params: xstate160.NonReducibleUnknown;
84
80
  };
85
81
  toggleSigned: {
86
82
  type: "toggleSigned";
87
- params: xstate344.NonReducibleUnknown;
83
+ params: xstate160.NonReducibleUnknown;
84
+ };
85
+ resetContext: {
86
+ type: "resetContext";
87
+ params: xstate160.NonReducibleUnknown;
88
88
  };
89
89
  }>, {
90
90
  type: "canSubmit";
91
91
  params: unknown;
92
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate344.NonReducibleUnknown, xstate344.EventObject, xstate344.MetaObject, {
92
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate160.NonReducibleUnknown, xstate160.EventObject, xstate160.MetaObject, {
93
93
  readonly id: "mandatoryConsent";
94
94
  readonly initial: "idle";
95
95
  readonly context: ({
@@ -98,70 +98,70 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
98
98
  spawn: {
99
99
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
100
100
  src: "fetchConsent";
101
- logic: xstate344.PromiseActorLogic<FetchMandatoryConsentResponse, {
101
+ logic: xstate160.PromiseActorLogic<FetchMandatoryConsentResponse, {
102
102
  config: MandatoryConsentConfig;
103
- }, xstate344.EventObject>;
103
+ }, xstate160.EventObject>;
104
104
  id: string | undefined;
105
105
  } extends infer T ? T extends {
106
106
  src: "fetchConsent";
107
- logic: xstate344.PromiseActorLogic<FetchMandatoryConsentResponse, {
107
+ logic: xstate160.PromiseActorLogic<FetchMandatoryConsentResponse, {
108
108
  config: MandatoryConsentConfig;
109
- }, xstate344.EventObject>;
109
+ }, xstate160.EventObject>;
110
110
  id: string | undefined;
111
111
  } ? T extends {
112
112
  src: TSrc;
113
- } ? xstate344.ConditionalRequired<[options?: ({
113
+ } ? xstate160.ConditionalRequired<[options?: ({
114
114
  id?: T["id"] | undefined;
115
115
  systemId?: string;
116
- input?: xstate344.InputFrom<T["logic"]> | undefined;
116
+ input?: xstate160.InputFrom<T["logic"]> | undefined;
117
117
  syncSnapshot?: boolean;
118
- } & { [K in xstate344.RequiredActorOptions<T>]: unknown }) | undefined], xstate344.IsNotNever<xstate344.RequiredActorOptions<T>>> : never : never : never) | ({
118
+ } & { [K in xstate160.RequiredActorOptions<T>]: unknown }) | undefined], xstate160.IsNotNever<xstate160.RequiredActorOptions<T>>> : never : never : never) | ({
119
119
  src: "submitConsent";
120
- logic: xstate344.PromiseActorLogic<void, {
120
+ logic: xstate160.PromiseActorLogic<void, {
121
121
  consentId: string;
122
122
  isSigned: boolean;
123
- }, xstate344.EventObject>;
123
+ }, xstate160.EventObject>;
124
124
  id: string | undefined;
125
125
  } extends infer T_1 ? T_1 extends {
126
126
  src: "submitConsent";
127
- logic: xstate344.PromiseActorLogic<void, {
127
+ logic: xstate160.PromiseActorLogic<void, {
128
128
  consentId: string;
129
129
  isSigned: boolean;
130
- }, xstate344.EventObject>;
130
+ }, xstate160.EventObject>;
131
131
  id: string | undefined;
132
132
  } ? T_1 extends {
133
133
  src: TSrc;
134
- } ? xstate344.ConditionalRequired<[options?: ({
134
+ } ? xstate160.ConditionalRequired<[options?: ({
135
135
  id?: T_1["id"] | undefined;
136
136
  systemId?: string;
137
- input?: xstate344.InputFrom<T_1["logic"]> | undefined;
137
+ input?: xstate160.InputFrom<T_1["logic"]> | undefined;
138
138
  syncSnapshot?: boolean;
139
- } & { [K_1 in xstate344.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate344.IsNotNever<xstate344.RequiredActorOptions<T_1>>> : never : never : never)): xstate344.ActorRefFromLogic<xstate344.GetConcreteByKey<xstate344.Values<{
139
+ } & { [K_1 in xstate160.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate160.IsNotNever<xstate160.RequiredActorOptions<T_1>>> : never : never : never)): xstate160.ActorRefFromLogic<xstate160.GetConcreteByKey<xstate160.Values<{
140
140
  fetchConsent: {
141
141
  src: "fetchConsent";
142
- logic: xstate344.PromiseActorLogic<FetchMandatoryConsentResponse, {
142
+ logic: xstate160.PromiseActorLogic<FetchMandatoryConsentResponse, {
143
143
  config: MandatoryConsentConfig;
144
- }, xstate344.EventObject>;
144
+ }, xstate160.EventObject>;
145
145
  id: string | undefined;
146
146
  };
147
147
  submitConsent: {
148
148
  src: "submitConsent";
149
- logic: xstate344.PromiseActorLogic<void, {
149
+ logic: xstate160.PromiseActorLogic<void, {
150
150
  consentId: string;
151
151
  isSigned: boolean;
152
- }, xstate344.EventObject>;
152
+ }, xstate160.EventObject>;
153
153
  id: string | undefined;
154
154
  };
155
155
  }>, "src", TSrc>["logic"]>;
156
- <TLogic extends xstate344.AnyActorLogic>(src: TLogic, ...[options]: xstate344.ConditionalRequired<[options?: ({
156
+ <TLogic extends xstate160.AnyActorLogic>(src: TLogic, ...[options]: xstate160.ConditionalRequired<[options?: ({
157
157
  id?: never;
158
158
  systemId?: string;
159
- input?: xstate344.InputFrom<TLogic> | undefined;
159
+ input?: xstate160.InputFrom<TLogic> | undefined;
160
160
  syncSnapshot?: boolean;
161
- } & { [K in xstate344.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate344.IsNotNever<xstate344.RequiredLogicInput<TLogic>>>): xstate344.ActorRefFromLogic<TLogic>;
161
+ } & { [K in xstate160.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate160.IsNotNever<xstate160.RequiredLogicInput<TLogic>>>): xstate160.ActorRefFromLogic<TLogic>;
162
162
  };
163
163
  input: MandatoryConsentInput;
164
- self: xstate344.ActorRef<xstate344.MachineSnapshot<MandatoryConsentContext, {
164
+ self: xstate160.ActorRef<xstate160.MachineSnapshot<MandatoryConsentContext, {
165
165
  type: "LOAD";
166
166
  } | {
167
167
  type: "TOGGLE";
@@ -173,7 +173,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
173
173
  type: "RETRY";
174
174
  } | {
175
175
  type: "RESET";
176
- }, Record<string, xstate344.AnyActorRef | undefined>, xstate344.StateValue, string, unknown, any, any>, {
176
+ }, Record<string, xstate160.AnyActorRef | undefined>, xstate160.StateValue, string, unknown, any, any>, {
177
177
  type: "LOAD";
178
178
  } | {
179
179
  type: "TOGGLE";
@@ -185,7 +185,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
185
185
  type: "RETRY";
186
186
  } | {
187
187
  type: "RESET";
188
- }, xstate344.AnyEventObject>;
188
+ }, xstate160.AnyEventObject>;
189
189
  }) => {
190
190
  config: MandatoryConsentConfig;
191
191
  consent: undefined;
@@ -222,7 +222,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
222
222
  } | {
223
223
  type: "RESET";
224
224
  };
225
- self: xstate344.ActorRef<xstate344.MachineSnapshot<MandatoryConsentContext, {
225
+ self: xstate160.ActorRef<xstate160.MachineSnapshot<MandatoryConsentContext, {
226
226
  type: "LOAD";
227
227
  } | {
228
228
  type: "TOGGLE";
@@ -234,7 +234,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
234
234
  type: "RETRY";
235
235
  } | {
236
236
  type: "RESET";
237
- }, Record<string, xstate344.AnyActorRef>, xstate344.StateValue, string, unknown, any, any>, {
237
+ }, Record<string, xstate160.AnyActorRef>, xstate160.StateValue, string, unknown, any, any>, {
238
238
  type: "LOAD";
239
239
  } | {
240
240
  type: "TOGGLE";
@@ -246,7 +246,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
246
246
  type: "RETRY";
247
247
  } | {
248
248
  type: "RESET";
249
- }, xstate344.AnyEventObject>;
249
+ }, xstate160.AnyEventObject>;
250
250
  }) => {
251
251
  config: MandatoryConsentConfig;
252
252
  };
@@ -299,7 +299,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
299
299
  } | {
300
300
  type: "RESET";
301
301
  };
302
- self: xstate344.ActorRef<xstate344.MachineSnapshot<MandatoryConsentContext, {
302
+ self: xstate160.ActorRef<xstate160.MachineSnapshot<MandatoryConsentContext, {
303
303
  type: "LOAD";
304
304
  } | {
305
305
  type: "TOGGLE";
@@ -311,7 +311,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
311
311
  type: "RETRY";
312
312
  } | {
313
313
  type: "RESET";
314
- }, Record<string, xstate344.AnyActorRef>, xstate344.StateValue, string, unknown, any, any>, {
314
+ }, Record<string, xstate160.AnyActorRef>, xstate160.StateValue, string, unknown, any, any>, {
315
315
  type: "LOAD";
316
316
  } | {
317
317
  type: "TOGGLE";
@@ -323,7 +323,7 @@ declare const mandatoryConsentMachine: xstate344.StateMachine<MandatoryConsentCo
323
323
  type: "RETRY";
324
324
  } | {
325
325
  type: "RESET";
326
- }, xstate344.AnyEventObject>;
326
+ }, xstate160.AnyEventObject>;
327
327
  }) => {
328
328
  consentId: string;
329
329
  isSigned: boolean;
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-CyI8qTie.esm.js";
2
- import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BlVGS-8F.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BXrcOcSC.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentServices.ts
6
6
  async function fetchMandatoryConsent(regulationType, signal) {
package/dist/phone.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./Manager-BqFybBV-.js";
2
- import "./Actor-C-jivmFF.js";
3
- import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-Clfbrs6b.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import "./Manager-CCT_-HuZ.js";
3
+ import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-DA8WUJtl.js";
4
4
  export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
package/dist/phone.esm.js CHANGED
@@ -1,7 +1,7 @@
1
- import "./api-CyI8qTie.esm.js";
2
- import "./events-BlVGS-8F.esm.js";
3
- import "./xstate.esm-BXrcOcSC.esm.js";
4
- import "./BrowserTimerProvider-CkHEwJFa.esm.js";
5
- import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-CscgaER2.esm.js";
1
+ import "./api-C2uzxrpN.esm.js";
2
+ import "./Manager-C6AGXEq_.esm.js";
3
+ import "./endpoints-CI5-28jT.esm.js";
4
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
+ import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-BAPHSXx8.esm.js";
6
6
 
7
7
  export { createPhoneManager, phoneMachine };
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-CyI8qTie.esm.js";
2
- import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BlVGS-8F.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, r as fromCallback, t as setup } from "./xstate.esm-BXrcOcSC.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CkHEwJFa.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
5
 
6
6
  //#region src/modules/phone/phoneServices.ts
7
7
  async function fetchPhone(signal) {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BqFybBV-.js";
2
- import { t as ActorRefFrom } from "./Actor-C-jivmFF.js";
1
+ import { t as ActorRefFrom } from "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region src/modules/phone/types.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BqFybBV-.js";
2
- import "./Actor-C-jivmFF.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region src/modules/redirect-to-mobile/types.d.ts
5
5
  type RedirectToMobileConfig = {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-CyI8qTie.esm.js";
2
- import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BlVGS-8F.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, r as fromCallback, t as setup } from "./xstate.esm-BXrcOcSC.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CkHEwJFa.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
5
 
6
6
  //#region ../infra/src/url/urlUtils.ts
7
7
  function getUrlSearchParam(url, param) {
package/dist/selfie.d.ts CHANGED
@@ -1,12 +1,10 @@
1
- import "./warmup-CEOVQKby.js";
2
- import "./Manager-BqFybBV-.js";
3
- import "./Actor-C-jivmFF.js";
4
- import "./StateMachine-8d441d6x.js";
5
- import { a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as DetectionStatus, y as FaceErrorCode } from "./faceCaptureManagerFactory-CWj-nXdx.js";
6
- import { t as CameraStream } from "./camera-CKsQVNlH.js";
7
- import "./types-T0VjZW3T.js";
8
- import "./types-zH5PDmSe.js";
9
- import { t as DeepsightService } from "./deepsightService-CMAtxAC9.js";
10
- import { n as PermissionStatus, t as PermissionResult } from "./types-qhLxpptI.js";
11
- import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-h_hhEefT.js";
1
+ import "./StateMachine-CM_aOfNL.js";
2
+ import "./Actor-By8WNHi-.js";
3
+ import { c as PermissionResult, l as PermissionStatus, t as DeepsightService } from "./deepsightService-Ciu0atv5.js";
4
+ import { t as CameraStream } from "./camera-6XJdOeBF.js";
5
+ import "./types-CiLyvJGb.js";
6
+ import "./types-D8Y1faI5.js";
7
+ import "./Manager-CCT_-HuZ.js";
8
+ import { a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as DetectionStatus, y as FaceErrorCode } from "./faceCaptureManagerFactory-CdwpYykv.js";
9
+ import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-Dft5wZQ_.js";
12
10
  export { type CameraStream, type DeepsightService, type DetectionStatus, type FaceErrorCode, type PermissionResult, type PermissionStatus, type ProcessFaceResponse, type SelfieConfig, type SelfieMachine, type SelfieManager, type SelfieState, createSelfieManager, processFace, selfieMachine };
@@ -1,20 +1,15 @@
1
- import "./BaseWasmProvider-CQgeReKV.esm.js";
2
- import "./WasmUtilProvider-C45HStLj.esm.js";
3
- import "./api-CyI8qTie.esm.js";
4
- import "./events-BlVGS-8F.esm.js";
5
- import "./browserSimulation-yzDdWSBf.esm.js";
6
- import "./xstate.esm-BXrcOcSC.esm.js";
7
- import { n as processFace } from "./faceCaptureSetup-DIE5cftl.esm.js";
8
- import "./recordingsRepository-blYn-iKZ.esm.js";
9
- import "./deepsightService-C3gQ_9Ml.esm.js";
10
- import "./camera-CsT06Zqy.esm.js";
11
- import "./getBrowser-B800KRAi.esm.js";
12
- import "./stats-BZ1kFW4p.esm.js";
13
- import "./MotionSensorProvider-BTDLt08l.esm.js";
14
- import "./permissionServices-CDqkkway.esm.js";
15
- import "./platform-Dcuv6w60.esm.js";
16
- import "./backCameraStream-CUo1USCT.esm.js";
17
- import "./getDeviceClass-BKd2FOAf.esm.js";
18
- import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-DeGqD5aN.esm.js";
1
+ import "./platform-DdhkonXk.esm.js";
2
+ import "./BaseWasmProvider--AzPfwOm.esm.js";
3
+ import "./StreamCanvasCapture-DkpkIgyL.esm.js";
4
+ import "./browserSimulation-DYAk0Ipe.esm.js";
5
+ import "./api-C2uzxrpN.esm.js";
6
+ import "./Manager-C6AGXEq_.esm.js";
7
+ import "./endpoints-CI5-28jT.esm.js";
8
+ import "./camera-DAuRUvnp.esm.js";
9
+ import "./stats-BVigf5Rn.esm.js";
10
+ import "./backCameraStream-DF_d7hTz.esm.js";
11
+ import "./WasmUtilProvider-BonqBWdj.esm.js";
12
+ import { n as processFace } from "./faceCaptureSetup-DbXgtcp7.esm.js";
13
+ import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-BSkzncsa.esm.js";
19
14
 
20
15
  export { createSelfieManager, processFace, selfieMachine };
@@ -1,8 +1,7 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-C45HStLj.esm.js";
2
- import { n as eventModuleNames } from "./events-BlVGS-8F.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-BXrcOcSC.esm.js";
4
- import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, n as processFace, r as uploadSelfie, t as faceCaptureMachine } from "./faceCaptureSetup-DIE5cftl.esm.js";
5
- import { u as BrowserStorageProvider } from "./recordingsRepository-blYn-iKZ.esm.js";
1
+ import { f as BrowserStorageProvider } from "./StreamCanvasCapture-DkpkIgyL.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-BonqBWdj.esm.js";
4
+ import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, n as processFace, r as uploadSelfie, t as faceCaptureMachine } from "./faceCaptureSetup-DbXgtcp7.esm.js";
6
5
 
7
6
  //#region src/modules/selfie/selfieErrorUtils.ts
8
7
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BqFybBV-.js";
2
- import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CWj-nXdx.js";
1
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
2
+ import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CdwpYykv.js";
3
3
 
4
4
  //#region src/modules/selfie/selfieUploadService.d.ts
5
5
  type ProcessFaceImageType = 'selfie' | 'videoSelfie';
@@ -1,7 +1,8 @@
1
- import { n as getApi, t as api } from "./api-CyI8qTie.esm.js";
2
- import { _ as endpoints, m as addEvent } from "./events-BlVGS-8F.esm.js";
3
- import { t as BrowserEnvironmentProvider } from "./BrowserEnvironmentProvider--xQUs3sg.esm.js";
4
- import { t as isBrowserSimulation } from "./browserSimulation-yzDdWSBf.esm.js";
1
+ import { t as isBrowserSimulation } from "./browserSimulation-DYAk0Ipe.esm.js";
2
+ import { n as getApi, t as api } from "./api-C2uzxrpN.esm.js";
3
+ import { h as addEvent } from "./Manager-C6AGXEq_.esm.js";
4
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
5
+ import { t as BrowserEnvironmentProvider } from "./BrowserEnvironmentProvider-BECjyw3_.esm.js";
5
6
 
6
7
  //#region src/internal/session/sessionService.ts
7
8
  /**
@@ -3089,6 +3090,13 @@ async function initializeSession(options = {}) {
3089
3090
  return sessionInitPromise;
3090
3091
  }
3091
3092
  /**
3093
+ * Gets the cached feature configuration.
3094
+ * Returns undefined if session hasn't been initialized.
3095
+ */
3096
+ function getSessionFeatures() {
3097
+ return cachedFeatures ?? void 0;
3098
+ }
3099
+ /**
3092
3100
  * Gets the cached disableIpify flag.
3093
3101
  * Returns false if session hasn't been initialized.
3094
3102
  */
@@ -3099,6 +3107,12 @@ function getSessionFingerprintResult() {
3099
3107
  return cachedFingerprintResult;
3100
3108
  }
3101
3109
  /**
3110
+ * Checks if the session has been initialized.
3111
+ */
3112
+ function isSessionInitialized() {
3113
+ return sessionInitialized;
3114
+ }
3115
+ /**
3102
3116
  * Resets session initialization state.
3103
3117
  * Useful for testing or when starting a new session.
3104
3118
  */
@@ -3113,4 +3127,4 @@ function resetSessionInit() {
3113
3127
  }
3114
3128
 
3115
3129
  //#endregion
3116
- export { IpifyProvider as a, createSession as c, resetSessionInit as i, getSessionFingerprintResult as n, FingerprintProvider as o, initializeSession as r, getDeviceFingerprintInfo as s, getDisableIpify as t };
3130
+ export { isSessionInitialized as a, FingerprintProvider as c, initializeSession as i, getDeviceFingerprintInfo as l, getSessionFeatures as n, resetSessionInit as o, getSessionFingerprintResult as r, IpifyProvider as s, getDisableIpify as t, createSession as u };
package/dist/session.d.ts CHANGED
@@ -1,46 +1,2 @@
1
- import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BV6ThEJ1.js";
2
-
3
- //#region src/internal/session/sessionService.d.ts
4
- type CreateSessionOptions = {
5
- /** The configuration/flow ID from the Incode dashboard */
6
- configurationId: string;
7
- /** External ID to associate with this session */
8
- externalId?: string;
9
- /** External customer ID */
10
- externalCustomerId?: string;
11
- /** Language for the session (e.g., 'en-US', 'es-MX') */
12
- language?: string;
13
- /** Custom fields to attach to the session */
14
- customFields?: Record<string, unknown>;
15
- /** UUID for continuing an existing session */
16
- uuid?: string;
17
- /** Interview ID for continuing an existing interview */
18
- interviewId?: string;
19
- };
20
- type Session = {
21
- token: string;
22
- interviewId: string;
23
- uuid?: string;
24
- regulationType?: string;
25
- showMandatoryConsent?: boolean;
26
- };
27
- /**
28
- * Creates a new onboarding session.
29
- *
30
- * @param apiKey - The API key from the Incode dashboard
31
- * @param options - Session creation options
32
- * @param signal - Optional AbortSignal for request cancellation
33
- * @returns The created session with token
34
- *
35
- * @example
36
- * ```ts
37
- * const session = await createSession('your-api-key', {
38
- * configurationId: 'your-flow-id',
39
- * language: 'en-US',
40
- * });
41
- * console.log(session.token); // Use this token for subsequent API calls
42
- * ```
43
- */
44
- declare function createSession(apiKey: string, options: CreateSessionOptions, signal?: AbortSignal): Promise<Session>;
45
- //#endregion
46
- export { type CreateSessionOptions, type FinishStatus, type GetFinishStatusFn, type Session, createSession, getFinishStatus };
1
+ import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BOd4Rk8n.js";
2
+ export { type FinishStatus, type GetFinishStatusFn, getFinishStatus };
@@ -1,8 +1,5 @@
1
- import "./api-CyI8qTie.esm.js";
2
- import "./events-BlVGS-8F.esm.js";
3
- import { c as createSession } from "./session-PLjFj_T3.esm.js";
4
- import "./BrowserEnvironmentProvider--xQUs3sg.esm.js";
5
- import "./browserSimulation-yzDdWSBf.esm.js";
6
- import { t as getFinishStatus } from "./flowCompletionService-N6-xypy-.esm.js";
1
+ import "./api-C2uzxrpN.esm.js";
2
+ import "./endpoints-CI5-28jT.esm.js";
3
+ import { t as getFinishStatus } from "./flowCompletionService-TnWijsSw.esm.js";
7
4
 
8
- export { createSession, getFinishStatus };
5
+ export { getFinishStatus };
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BqFybBV-.js";
2
- import "./Actor-C-jivmFF.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region src/modules/signature/types.d.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-CyI8qTie.esm.js";
2
- import { _ as endpoints, m as addEvent, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-BlVGS-8F.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BXrcOcSC.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, h as addEvent, i as eventScreenNames, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
4
 
5
5
  //#region src/modules/signature/signatureServices.ts
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-CyI8qTie.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
2
 
3
3
  //#region src/modules/stats/statsServices.ts
4
4
  /**
package/dist/stats.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-CyI8qTie.esm.js";
2
- import { t as addDeviceStats } from "./stats-BZ1kFW4p.esm.js";
1
+ import "./api-C2uzxrpN.esm.js";
2
+ import { t as addDeviceStats } from "./stats-BVigf5Rn.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-CKsQVNlH.js";
1
+ import { t as CameraStream } from "./camera-6XJdOeBF.js";
2
2
 
3
3
  //#region src/modules/document-upload/types.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as DocumentUploadConfig } from "./types-T0VjZW3T.js";
1
+ import { t as DocumentUploadConfig } from "./types-CiLyvJGb.js";
2
2
 
3
3
  //#region src/modules/flow/types.d.ts
4
4
  type EmptyConfig = Record<string, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260407-4677d7f",
3
+ "version": "0.0.0-dev-20260407-2c382da",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -81,22 +81,6 @@
81
81
  "types": "./dist/session.d.ts",
82
82
  "import": "./dist/session.esm.js"
83
83
  },
84
- "./wasm": {
85
- "types": "./dist/wasm.d.ts",
86
- "import": "./dist/wasm.esm.js"
87
- },
88
- "./device": {
89
- "types": "./dist/device.d.ts",
90
- "import": "./dist/device.esm.js"
91
- },
92
- "./events": {
93
- "types": "./dist/events.d.ts",
94
- "import": "./dist/events.esm.js"
95
- },
96
- "./http": {
97
- "types": "./dist/http.d.ts",
98
- "import": "./dist/http.esm.js"
99
- },
100
84
  "./extensibility": {
101
85
  "types": "./dist/extensibility.d.ts",
102
86
  "import": "./dist/extensibility.esm.js"
@@ -127,7 +111,7 @@
127
111
  },
128
112
  "scripts": {
129
113
  "build": "tsdown -c tsdown.config.ts",
130
- "build:dev": "tsdown -c tsdown.config.ts",
114
+ "dev": "tsdown -c tsdown.config.ts --watch",
131
115
  "test": "vitest run",
132
116
  "coverage": "vitest run --coverage",
133
117
  "lint": "eslint .",