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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/{BrowserEnvironmentProvider-CfUNEigg.esm.js → IpifyProvider-QIevJQOm.esm.js} +51 -1
  2. package/dist/{addressSearch-C6eGEbdK.esm.js → addressSearch-BbwH6Lf7.esm.js} +1 -1
  3. package/dist/{ae-signature-DvF-yLWx.esm.js → ae-signature-BsCJAnDL.esm.js} +1 -1
  4. package/dist/ae-signature.d.ts +1 -1
  5. package/dist/ae-signature.esm.js +3 -3
  6. package/dist/antifraud.esm.js +2 -2
  7. package/dist/{antifraudStateMachine-BEP9IYFN.esm.js → antifraudStateMachine-ilKa4wC7.esm.js} +1 -1
  8. package/dist/authentication.esm.js +7 -7
  9. package/dist/{authenticationManager-FMfiLmyj.esm.js → authenticationManager-CSLd6bOj.esm.js} +3 -3
  10. package/dist/{authenticationStateMachine-CeFBXnnM.esm.js → authenticationStateMachine-DXODPzBc.esm.js} +3 -3
  11. package/dist/consent.d.ts +50 -50
  12. package/dist/consent.esm.js +2 -2
  13. package/dist/{consentStateMachine-DZTzztq9.esm.js → consentStateMachine-VmgqnPgU.esm.js} +1 -1
  14. package/dist/cross-document-data-match.esm.js +1 -1
  15. package/dist/curp-validation.esm.js +2 -2
  16. package/dist/{curpValidationStateMachine-BcVkABa_.esm.js → curpValidationStateMachine-CxouBL3m.esm.js} +1 -1
  17. package/dist/custom-fields.esm.js +1 -1
  18. package/dist/{deepsightLoader-CoBxhuhG.esm.js → deepsightLoader-TuwwW8Pr.esm.js} +4 -3
  19. package/dist/{deepsightService-Df3Ad9a2.esm.js → deepsightService-C966kOVA.esm.js} +3 -7
  20. package/dist/document-capture.d.ts +70 -70
  21. package/dist/document-capture.esm.js +2 -2
  22. package/dist/document-upload.d.ts +46 -46
  23. package/dist/document-upload.esm.js +1 -1
  24. package/dist/{documentCaptureStateMachine-AEeMd_sA.esm.js → documentCaptureStateMachine-nDAGCe88.esm.js} +1 -1
  25. package/dist/ekyb.esm.js +6 -6
  26. package/dist/{ekybStateMachine-LC7KeVbs.esm.js → ekybStateMachine-hPeFDVI2.esm.js} +3 -3
  27. package/dist/ekyc.esm.js +3 -3
  28. package/dist/{ekycStateMachine-C_NGgk5Y.esm.js → ekycStateMachine-BSm6DESz.esm.js} +2 -2
  29. package/dist/electronic-signature.d.ts +1 -1
  30. package/dist/electronic-signature.esm.js +2 -2
  31. package/dist/{electronicSignatureManager-BHuZgDfX.esm.js → electronicSignatureManager-eKhvmNl5.esm.js} +1 -1
  32. package/dist/email.esm.js +3 -3
  33. package/dist/{emailManager-BbRpgtAL.esm.js → emailManager-UqlpfLu-.esm.js} +2 -2
  34. package/dist/{emailStateMachine-Bcv-dM_k.esm.js → emailStateMachine-BiDeKm0B.esm.js} +1 -1
  35. package/dist/{events-D6rNtFDO.esm.js → events-_dFJXIHR.esm.js} +0 -2
  36. package/dist/events.d.ts +0 -1
  37. package/dist/events.esm.js +1 -1
  38. package/dist/extensibility.esm.js +17 -17
  39. package/dist/face-match.esm.js +2 -2
  40. package/dist/{faceCaptureManagerFactory-D1R5A-s3.esm.js → faceCaptureManagerFactory-9jP_53qG.esm.js} +1 -1
  41. package/dist/{faceCaptureSetup-FUncr8AV.esm.js → faceCaptureSetup-BsXUlz8p.esm.js} +1 -1
  42. package/dist/{faceMatchStateMachine-Bm0RrtNZ.esm.js → faceMatchStateMachine-Bhjfheg2.esm.js} +1 -1
  43. package/dist/flow.d.ts +6 -0
  44. package/dist/flow.esm.js +14 -9
  45. package/dist/{flowCompletionService-DNwDhild.esm.js → flowCompletionService-DLIP99tr.esm.js} +1 -1
  46. package/dist/{flowServices-COjf6aN_.esm.js → flowServices-CwrZcQI2.esm.js} +4 -3
  47. package/dist/geolocation.esm.js +2 -2
  48. package/dist/{geolocationStateMachine-nhuJw6Da.esm.js → geolocationStateMachine-CqMNzkrB.esm.js} +1 -1
  49. package/dist/government-validation.esm.js +2 -2
  50. package/dist/{governmentValidationStateMachine-Ksonp_gh.esm.js → governmentValidationStateMachine-BvFCJeyw.esm.js} +1 -1
  51. package/dist/home.d.ts +10 -10
  52. package/dist/home.esm.js +1 -1
  53. package/dist/id.esm.js +7 -7
  54. package/dist/{idCaptureManager-C5RQfRPT.esm.js → idCaptureManager-DJK5Onmh.esm.js} +2 -2
  55. package/dist/{idCaptureStateMachine-WmW7bDGZ.esm.js → idCaptureStateMachine-DN_vbCuB.esm.js} +5 -5
  56. package/dist/identity-reuse.d.ts +40 -40
  57. package/dist/identity-reuse.esm.js +1 -1
  58. package/dist/{index-SUQ4OOw8.d.ts → index-nSJUy_Aq.d.ts} +119 -119
  59. package/dist/index.esm.js +4 -4
  60. package/dist/mandatory-consent.d.ts +50 -50
  61. package/dist/mandatory-consent.esm.js +2 -2
  62. package/dist/{mandatoryConsentStateMachine-D_ljDR9e.esm.js → mandatoryConsentStateMachine-C-IIJ8SX.esm.js} +1 -1
  63. package/dist/phone.esm.js +3 -3
  64. package/dist/{phoneManager-B9NF66Bk.esm.js → phoneManager-Bxc_-4Dr.esm.js} +2 -2
  65. package/dist/{phoneStateMachine-DHaPFdWu.esm.js → phoneStateMachine-0gwBStCm.esm.js} +1 -1
  66. package/dist/{qe-signature-BGmul0lF.esm.js → qe-signature-BboU3Wcl.esm.js} +1 -1
  67. package/dist/qe-signature.d.ts +1 -1
  68. package/dist/qe-signature.esm.js +3 -3
  69. package/dist/{recordingService-0YxgQN6u.esm.js → recordingService-XpMolMxi.esm.js} +3 -3
  70. package/dist/redirect-to-mobile.esm.js +2 -2
  71. package/dist/{redirectToMobileStateMachine-CsfV3Enr.esm.js → redirectToMobileStateMachine-vxFra6KF.esm.js} +1 -1
  72. package/dist/selfie.esm.js +7 -7
  73. package/dist/{selfieManager-D57rdQLg.esm.js → selfieManager-1aK28sG1.esm.js} +3 -3
  74. package/dist/{selfieStateMachine-Bd7WGYZs.esm.js → selfieStateMachine-DSIrMOLQ.esm.js} +2 -2
  75. package/dist/{session-D3XXfTZP.esm.js → session-4BhYmzdE.esm.js} +4 -31
  76. package/dist/session.esm.js +4 -4
  77. package/dist/{setup-CEbsLRbC.esm.js → setup-BXAs1PK0.esm.js} +2 -2
  78. package/dist/signature.d.ts +7 -6
  79. package/dist/signature.esm.js +3 -18
  80. package/dist/{signatureStateMachine-C-MP8GI1.esm.js → signatureStateMachine-BQkKFNPe.esm.js} +8 -66
  81. package/dist/wasm.esm.js +4 -4
  82. package/dist/watchlist.esm.js +1 -1
  83. package/dist/workflow.d.ts +114 -114
  84. package/dist/workflow.esm.js +29 -29
  85. package/package.json +3 -3
package/dist/index.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { a as setup, n as isConfigured, r as reset } from "./setup-CEbsLRbC.esm.js";
1
+ import { a as setup, n as isConfigured, r as reset } from "./setup-BXAs1PK0.esm.js";
2
2
  import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
3
3
  import "./WasmUtilProvider-DLgdRyEg.esm.js";
4
4
  import "./api-Bq5aVL0-.esm.js";
5
- import "./events-D6rNtFDO.esm.js";
6
- import "./session-D3XXfTZP.esm.js";
7
- import "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
5
+ import "./events-_dFJXIHR.esm.js";
6
+ import "./session-4BhYmzdE.esm.js";
7
+ import "./IpifyProvider-QIevJQOm.esm.js";
8
8
  import "./browserSimulation-D5C2Zw4l.esm.js";
9
9
 
10
10
  export { isConfigured, reset, setup };
@@ -3,7 +3,7 @@ import "./Actor-BS3rbtoo.js";
3
3
  import "./camera-ZjE1I_AX.js";
4
4
  import "./types-BWYMM3Em.js";
5
5
  import { a as RegulationTypes } from "./types-CfsXFnOc.js";
6
- import * as xstate166 from "xstate";
6
+ import * as xstate228 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: xstate166.StateMachine<MandatoryConsentContext, {
33
+ declare const mandatoryConsentMachine: xstate228.StateMachine<MandatoryConsentContext, {
34
34
  type: "LOAD";
35
35
  } | {
36
36
  type: "TOGGLE";
@@ -43,53 +43,53 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
43
43
  } | {
44
44
  type: "RESET";
45
45
  }, {
46
- [x: string]: xstate166.ActorRefFromLogic<xstate166.PromiseActorLogic<FetchMandatoryConsentResponse, {
46
+ [x: string]: xstate228.ActorRefFromLogic<xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
47
47
  config: MandatoryConsentConfig;
48
- }, xstate166.EventObject>> | xstate166.ActorRefFromLogic<xstate166.PromiseActorLogic<void, {
48
+ }, xstate228.EventObject>> | xstate228.ActorRefFromLogic<xstate228.PromiseActorLogic<void, {
49
49
  consentId: string;
50
50
  isSigned: boolean;
51
- }, xstate166.EventObject>> | undefined;
52
- }, xstate166.Values<{
51
+ }, xstate228.EventObject>> | undefined;
52
+ }, xstate228.Values<{
53
53
  fetchConsent: {
54
54
  src: "fetchConsent";
55
- logic: xstate166.PromiseActorLogic<FetchMandatoryConsentResponse, {
55
+ logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
56
56
  config: MandatoryConsentConfig;
57
- }, xstate166.EventObject>;
57
+ }, xstate228.EventObject>;
58
58
  id: string | undefined;
59
59
  };
60
60
  submitConsent: {
61
61
  src: "submitConsent";
62
- logic: xstate166.PromiseActorLogic<void, {
62
+ logic: xstate228.PromiseActorLogic<void, {
63
63
  consentId: string;
64
64
  isSigned: boolean;
65
- }, xstate166.EventObject>;
65
+ }, xstate228.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
- }>, xstate166.Values<{
68
+ }>, xstate228.Values<{
69
69
  setConsent: {
70
70
  type: "setConsent";
71
- params: xstate166.NonReducibleUnknown;
71
+ params: xstate228.NonReducibleUnknown;
72
72
  };
73
73
  setError: {
74
74
  type: "setError";
75
- params: xstate166.NonReducibleUnknown;
76
- };
77
- toggleSigned: {
78
- type: "toggleSigned";
79
- params: xstate166.NonReducibleUnknown;
75
+ params: xstate228.NonReducibleUnknown;
80
76
  };
81
77
  clearError: {
82
78
  type: "clearError";
83
- params: xstate166.NonReducibleUnknown;
79
+ params: xstate228.NonReducibleUnknown;
84
80
  };
85
81
  resetContext: {
86
82
  type: "resetContext";
87
- params: xstate166.NonReducibleUnknown;
83
+ params: xstate228.NonReducibleUnknown;
84
+ };
85
+ toggleSigned: {
86
+ type: "toggleSigned";
87
+ params: xstate228.NonReducibleUnknown;
88
88
  };
89
89
  }>, {
90
90
  type: "canSubmit";
91
91
  params: unknown;
92
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate166.NonReducibleUnknown, xstate166.EventObject, xstate166.MetaObject, {
92
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate228.NonReducibleUnknown, xstate228.EventObject, xstate228.MetaObject, {
93
93
  readonly id: "mandatoryConsent";
94
94
  readonly initial: "idle";
95
95
  readonly context: ({
@@ -98,70 +98,70 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
98
98
  spawn: {
99
99
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
100
100
  src: "fetchConsent";
101
- logic: xstate166.PromiseActorLogic<FetchMandatoryConsentResponse, {
101
+ logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
102
102
  config: MandatoryConsentConfig;
103
- }, xstate166.EventObject>;
103
+ }, xstate228.EventObject>;
104
104
  id: string | undefined;
105
105
  } extends infer T ? T extends {
106
106
  src: "fetchConsent";
107
- logic: xstate166.PromiseActorLogic<FetchMandatoryConsentResponse, {
107
+ logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
108
108
  config: MandatoryConsentConfig;
109
- }, xstate166.EventObject>;
109
+ }, xstate228.EventObject>;
110
110
  id: string | undefined;
111
111
  } ? T extends {
112
112
  src: TSrc;
113
- } ? xstate166.ConditionalRequired<[options?: ({
113
+ } ? xstate228.ConditionalRequired<[options?: ({
114
114
  id?: T["id"] | undefined;
115
115
  systemId?: string;
116
- input?: xstate166.InputFrom<T["logic"]> | undefined;
116
+ input?: xstate228.InputFrom<T["logic"]> | undefined;
117
117
  syncSnapshot?: boolean;
118
- } & { [K in xstate166.RequiredActorOptions<T>]: unknown }) | undefined], xstate166.IsNotNever<xstate166.RequiredActorOptions<T>>> : never : never : never) | ({
118
+ } & { [K in xstate228.RequiredActorOptions<T>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredActorOptions<T>>> : never : never : never) | ({
119
119
  src: "submitConsent";
120
- logic: xstate166.PromiseActorLogic<void, {
120
+ logic: xstate228.PromiseActorLogic<void, {
121
121
  consentId: string;
122
122
  isSigned: boolean;
123
- }, xstate166.EventObject>;
123
+ }, xstate228.EventObject>;
124
124
  id: string | undefined;
125
125
  } extends infer T_1 ? T_1 extends {
126
126
  src: "submitConsent";
127
- logic: xstate166.PromiseActorLogic<void, {
127
+ logic: xstate228.PromiseActorLogic<void, {
128
128
  consentId: string;
129
129
  isSigned: boolean;
130
- }, xstate166.EventObject>;
130
+ }, xstate228.EventObject>;
131
131
  id: string | undefined;
132
132
  } ? T_1 extends {
133
133
  src: TSrc;
134
- } ? xstate166.ConditionalRequired<[options?: ({
134
+ } ? xstate228.ConditionalRequired<[options?: ({
135
135
  id?: T_1["id"] | undefined;
136
136
  systemId?: string;
137
- input?: xstate166.InputFrom<T_1["logic"]> | undefined;
137
+ input?: xstate228.InputFrom<T_1["logic"]> | undefined;
138
138
  syncSnapshot?: boolean;
139
- } & { [K_1 in xstate166.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate166.IsNotNever<xstate166.RequiredActorOptions<T_1>>> : never : never : never)): xstate166.ActorRefFromLogic<xstate166.GetConcreteByKey<xstate166.Values<{
139
+ } & { [K_1 in xstate228.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredActorOptions<T_1>>> : never : never : never)): xstate228.ActorRefFromLogic<xstate228.GetConcreteByKey<xstate228.Values<{
140
140
  fetchConsent: {
141
141
  src: "fetchConsent";
142
- logic: xstate166.PromiseActorLogic<FetchMandatoryConsentResponse, {
142
+ logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
143
143
  config: MandatoryConsentConfig;
144
- }, xstate166.EventObject>;
144
+ }, xstate228.EventObject>;
145
145
  id: string | undefined;
146
146
  };
147
147
  submitConsent: {
148
148
  src: "submitConsent";
149
- logic: xstate166.PromiseActorLogic<void, {
149
+ logic: xstate228.PromiseActorLogic<void, {
150
150
  consentId: string;
151
151
  isSigned: boolean;
152
- }, xstate166.EventObject>;
152
+ }, xstate228.EventObject>;
153
153
  id: string | undefined;
154
154
  };
155
155
  }>, "src", TSrc>["logic"]>;
156
- <TLogic extends xstate166.AnyActorLogic>(src: TLogic, ...[options]: xstate166.ConditionalRequired<[options?: ({
156
+ <TLogic extends xstate228.AnyActorLogic>(src: TLogic, ...[options]: xstate228.ConditionalRequired<[options?: ({
157
157
  id?: never;
158
158
  systemId?: string;
159
- input?: xstate166.InputFrom<TLogic> | undefined;
159
+ input?: xstate228.InputFrom<TLogic> | undefined;
160
160
  syncSnapshot?: boolean;
161
- } & { [K in xstate166.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate166.IsNotNever<xstate166.RequiredLogicInput<TLogic>>>): xstate166.ActorRefFromLogic<TLogic>;
161
+ } & { [K in xstate228.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredLogicInput<TLogic>>>): xstate228.ActorRefFromLogic<TLogic>;
162
162
  };
163
163
  input: MandatoryConsentInput;
164
- self: xstate166.ActorRef<xstate166.MachineSnapshot<MandatoryConsentContext, {
164
+ self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
165
165
  type: "LOAD";
166
166
  } | {
167
167
  type: "TOGGLE";
@@ -173,7 +173,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
173
173
  type: "RETRY";
174
174
  } | {
175
175
  type: "RESET";
176
- }, Record<string, xstate166.AnyActorRef | undefined>, xstate166.StateValue, string, unknown, any, any>, {
176
+ }, Record<string, xstate228.AnyActorRef | undefined>, xstate228.StateValue, string, unknown, any, any>, {
177
177
  type: "LOAD";
178
178
  } | {
179
179
  type: "TOGGLE";
@@ -185,7 +185,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
185
185
  type: "RETRY";
186
186
  } | {
187
187
  type: "RESET";
188
- }, xstate166.AnyEventObject>;
188
+ }, xstate228.AnyEventObject>;
189
189
  }) => {
190
190
  config: MandatoryConsentConfig;
191
191
  consent: undefined;
@@ -222,7 +222,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
222
222
  } | {
223
223
  type: "RESET";
224
224
  };
225
- self: xstate166.ActorRef<xstate166.MachineSnapshot<MandatoryConsentContext, {
225
+ self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
226
226
  type: "LOAD";
227
227
  } | {
228
228
  type: "TOGGLE";
@@ -234,7 +234,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
234
234
  type: "RETRY";
235
235
  } | {
236
236
  type: "RESET";
237
- }, Record<string, xstate166.AnyActorRef>, xstate166.StateValue, string, unknown, any, any>, {
237
+ }, Record<string, xstate228.AnyActorRef>, xstate228.StateValue, string, unknown, any, any>, {
238
238
  type: "LOAD";
239
239
  } | {
240
240
  type: "TOGGLE";
@@ -246,7 +246,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
246
246
  type: "RETRY";
247
247
  } | {
248
248
  type: "RESET";
249
- }, xstate166.AnyEventObject>;
249
+ }, xstate228.AnyEventObject>;
250
250
  }) => {
251
251
  config: MandatoryConsentConfig;
252
252
  };
@@ -299,7 +299,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
299
299
  } | {
300
300
  type: "RESET";
301
301
  };
302
- self: xstate166.ActorRef<xstate166.MachineSnapshot<MandatoryConsentContext, {
302
+ self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
303
303
  type: "LOAD";
304
304
  } | {
305
305
  type: "TOGGLE";
@@ -311,7 +311,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
311
311
  type: "RETRY";
312
312
  } | {
313
313
  type: "RESET";
314
- }, Record<string, xstate166.AnyActorRef>, xstate166.StateValue, string, unknown, any, any>, {
314
+ }, Record<string, xstate228.AnyActorRef>, xstate228.StateValue, string, unknown, any, any>, {
315
315
  type: "LOAD";
316
316
  } | {
317
317
  type: "TOGGLE";
@@ -323,7 +323,7 @@ declare const mandatoryConsentMachine: xstate166.StateMachine<MandatoryConsentCo
323
323
  type: "RETRY";
324
324
  } | {
325
325
  type: "RESET";
326
- }, xstate166.AnyEventObject>;
326
+ }, xstate228.AnyEventObject>;
327
327
  }) => {
328
328
  consentId: string;
329
329
  isSigned: boolean;
@@ -1,7 +1,7 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-D_ljDR9e.esm.js";
4
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-C-IIJ8SX.esm.js";
5
5
 
6
6
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
7
7
  function createMandatoryConsentActor(options) {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentServices.ts
package/dist/phone.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import "./events-D6rNtFDO.esm.js";
2
+ import "./events-_dFJXIHR.esm.js";
3
3
  import "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
- import { t as phoneMachine } from "./phoneStateMachine-DHaPFdWu.esm.js";
6
- import { t as createPhoneManager } from "./phoneManager-B9NF66Bk.esm.js";
5
+ import { t as phoneMachine } from "./phoneStateMachine-0gwBStCm.esm.js";
6
+ import { t as createPhoneManager } from "./phoneManager-Bxc_-4Dr.esm.js";
7
7
 
8
8
  export { createPhoneManager, phoneMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
2
2
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
3
- import { t as phoneMachine } from "./phoneStateMachine-DHaPFdWu.esm.js";
3
+ import { t as phoneMachine } from "./phoneStateMachine-0gwBStCm.esm.js";
4
4
 
5
5
  //#region src/modules/phone/phoneActor.ts
6
6
  function createPhoneActor(options) {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
5
 
@@ -1,4 +1,4 @@
1
- import { t as createElectronicSignatureManager } from "./electronicSignatureManager-BHuZgDfX.esm.js";
1
+ import { t as createElectronicSignatureManager } from "./electronicSignatureManager-eKhvmNl5.esm.js";
2
2
 
3
3
  //#region src/modules/qe-signature/index.ts
4
4
  function createQeSignatureManager(options) {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B8qNVwIm.js";
2
2
  import "./Actor-BS3rbtoo.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-SUQ4OOw8.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-nSJUy_Aq.js";
4
4
 
5
5
  //#region src/modules/qe-signature/index.d.ts
6
6
 
@@ -1,7 +1,7 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import "./events-D6rNtFDO.esm.js";
2
+ import "./events-_dFJXIHR.esm.js";
3
3
  import "./xstate.esm-BR-OL9fa.esm.js";
4
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-BHuZgDfX.esm.js";
5
- import { t as createQeSignatureManager } from "./qe-signature-BGmul0lF.esm.js";
4
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-eKhvmNl5.esm.js";
5
+ import { t as createQeSignatureManager } from "./qe-signature-BboU3Wcl.esm.js";
6
6
 
7
7
  export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
@@ -1,7 +1,7 @@
1
1
  import { i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import { t as api } from "./api-Bq5aVL0-.esm.js";
3
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
4
- import { n as IncodeCanvas } from "./deepsightService-Df3Ad9a2.esm.js";
3
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
4
+ import { n as IncodeCanvas } from "./deepsightService-C966kOVA.esm.js";
5
5
  import { i as stopCameraStream, r as requestCameraAccess } from "./camera-BToe85ME.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-DVL1TL6Q.esm.js";
7
7
  import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-CwFB3DeY.esm.js";
@@ -633,7 +633,7 @@ async function stopRecording(session) {
633
633
  }
634
634
  }
635
635
  async function initializeDeepsightSession(options) {
636
- const { loadDeepsightSession } = await import("./deepsightLoader-CoBxhuhG.esm.js");
636
+ const { loadDeepsightSession } = await import("./deepsightLoader-TuwwW8Pr.esm.js");
637
637
  return loadDeepsightSession({
638
638
  ds: options.ds,
639
639
  storage: options.storage
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
- import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-CsfV3Enr.esm.js";
5
+ import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-vxFra6KF.esm.js";
6
6
 
7
7
  //#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
8
8
  function createRedirectToMobileActor(options) {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints } from "./events-D6rNtFDO.esm.js";
2
+ import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
3
3
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
5
5
 
@@ -1,13 +1,13 @@
1
1
  import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import "./WasmUtilProvider-DLgdRyEg.esm.js";
3
3
  import "./api-Bq5aVL0-.esm.js";
4
- import "./events-D6rNtFDO.esm.js";
4
+ import "./events-_dFJXIHR.esm.js";
5
5
  import "./browserSimulation-D5C2Zw4l.esm.js";
6
6
  import "./xstate.esm-BR-OL9fa.esm.js";
7
- import "./faceCaptureManagerFactory-D1R5A-s3.esm.js";
7
+ import "./faceCaptureManagerFactory-9jP_53qG.esm.js";
8
8
  import "./BrowserStorageProvider-Bww9xk7g.esm.js";
9
- import { l as processFace } from "./recordingService-0YxgQN6u.esm.js";
10
- import "./deepsightService-Df3Ad9a2.esm.js";
9
+ import { l as processFace } from "./recordingService-XpMolMxi.esm.js";
10
+ import "./deepsightService-C966kOVA.esm.js";
11
11
  import "./permissionServices-Y2PDGdE5.esm.js";
12
12
  import "./camera-BToe85ME.esm.js";
13
13
  import "./getBrowser-BnEXznKu.esm.js";
@@ -17,8 +17,8 @@ import "./platform-CwFB3DeY.esm.js";
17
17
  import "./ITimerCapability-C-3gFxPH.esm.js";
18
18
  import "./backCameraStream-BtLt5ZMq.esm.js";
19
19
  import "./getDeviceClass-ByKIa-2E.esm.js";
20
- import "./faceCaptureSetup-FUncr8AV.esm.js";
21
- import { t as selfieMachine } from "./selfieStateMachine-Bd7WGYZs.esm.js";
22
- import { t as createSelfieManager } from "./selfieManager-D57rdQLg.esm.js";
20
+ import "./faceCaptureSetup-BsXUlz8p.esm.js";
21
+ import { t as selfieMachine } from "./selfieStateMachine-DSIrMOLQ.esm.js";
22
+ import { t as createSelfieManager } from "./selfieManager-1aK28sG1.esm.js";
23
23
 
24
24
  export { createSelfieManager, processFace, selfieMachine };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DLgdRyEg.esm.js";
2
- import { n as eventModuleNames } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor } from "./xstate.esm-BR-OL9fa.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D1R5A-s3.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-9jP_53qG.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Bww9xk7g.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-Bd7WGYZs.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DSIrMOLQ.esm.js";
7
7
 
8
8
  //#region src/modules/selfie/selfieActor.ts
9
9
  function createSelfieActor(options) {
@@ -1,6 +1,6 @@
1
1
  import { i as fromPromise, n as assign } from "./xstate.esm-BR-OL9fa.esm.js";
2
- import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-0YxgQN6u.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-FUncr8AV.esm.js";
2
+ import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-XpMolMxi.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BsXUlz8p.esm.js";
4
4
 
5
5
  //#region src/modules/selfie/selfieErrorUtils.ts
6
6
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
@@ -1,6 +1,6 @@
1
1
  import { n as getApi, t as api } from "./api-Bq5aVL0-.esm.js";
2
- import { _ as endpoints, m as addEvent } from "./events-D6rNtFDO.esm.js";
3
- import { t as BrowserEnvironmentProvider } from "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
2
+ import { _ as endpoints, m as addEvent } from "./events-_dFJXIHR.esm.js";
3
+ import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-QIevJQOm.esm.js";
4
4
  import { t as isBrowserSimulation } from "./browserSimulation-D5C2Zw4l.esm.js";
5
5
 
6
6
  //#region src/internal/session/sessionService.ts
@@ -2933,34 +2933,6 @@ var FingerprintProvider = class {
2933
2933
  }
2934
2934
  };
2935
2935
 
2936
- //#endregion
2937
- //#region ../infra/src/providers/browser/IpifyProvider.ts
2938
- var IpifyProvider = class {
2939
- async getIp() {
2940
- try {
2941
- if (typeof fetch === "undefined") return "";
2942
- let timeoutId = 0;
2943
- const controller = new AbortController();
2944
- if (AbortSignal.timeout) {
2945
- const signal = AbortSignal.timeout(3e3);
2946
- return (await (await fetch("https://api.ipify.org?format=json", { signal })).json()).ip;
2947
- }
2948
- const timeoutPromise = new Promise((_$1, reject) => {
2949
- timeoutId = setTimeout(() => {
2950
- controller.abort();
2951
- reject(/* @__PURE__ */ new Error("Request timeout"));
2952
- }, 3e3);
2953
- });
2954
- const fetchPromise = fetch("https://api.ipify.org?format=json", { signal: controller.signal }).then((res) => res.json()).then((data) => data.ip);
2955
- const result = await Promise.race([fetchPromise, timeoutPromise]);
2956
- clearTimeout(timeoutId);
2957
- return result;
2958
- } catch {
2959
- return "";
2960
- }
2961
- }
2962
- };
2963
-
2964
2936
  //#endregion
2965
2937
  //#region src/internal/featureConfig/featureConfigService.ts
2966
2938
  let cachedFeatures$1 = null;
@@ -3143,7 +3115,8 @@ function resetSessionInit() {
3143
3115
  cachedFingerprintResult = void 0;
3144
3116
  sessionInitPromise = null;
3145
3117
  resetFeatureConfigCache();
3118
+ resetIpifyCache();
3146
3119
  }
3147
3120
 
3148
3121
  //#endregion
3149
- export { IpifyProvider as a, QrValidationError as c, resetSessionInit as i, createSession as l, getSessionFingerprintResult as n, FingerprintProvider as o, initializeSession as r, getDeviceFingerprintInfo as s, getDisableIpify as t, validateQrUuid as u };
3122
+ export { FingerprintProvider as a, createSession as c, resetSessionInit as i, validateQrUuid as l, getSessionFingerprintResult as n, getDeviceFingerprintInfo as o, initializeSession as r, QrValidationError as s, getDisableIpify as t };
@@ -1,8 +1,8 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import "./events-D6rNtFDO.esm.js";
3
- import { c as QrValidationError, l as createSession, u as validateQrUuid } from "./session-D3XXfTZP.esm.js";
4
- import "./BrowserEnvironmentProvider-CfUNEigg.esm.js";
2
+ import "./events-_dFJXIHR.esm.js";
3
+ import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-4BhYmzdE.esm.js";
4
+ import "./IpifyProvider-QIevJQOm.esm.js";
5
5
  import "./browserSimulation-D5C2Zw4l.esm.js";
6
- import { t as getFinishStatus } from "./flowCompletionService-DNwDhild.esm.js";
6
+ import { t as getFinishStatus } from "./flowCompletionService-DLIP99tr.esm.js";
7
7
 
8
8
  export { QrValidationError, createSession, getFinishStatus, validateQrUuid };
@@ -1,8 +1,8 @@
1
1
  import { n as warmupWasm } from "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DLgdRyEg.esm.js";
3
3
  import { a as resetApi, o as setClient, s as setToken } from "./api-Bq5aVL0-.esm.js";
4
- import { h as flushEventQueue } from "./events-D6rNtFDO.esm.js";
5
- import { i as resetSessionInit, r as initializeSession } from "./session-D3XXfTZP.esm.js";
4
+ import { h as flushEventQueue } from "./events-_dFJXIHR.esm.js";
5
+ import { i as resetSessionInit, r as initializeSession } from "./session-4BhYmzdE.esm.js";
6
6
 
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -4,13 +4,12 @@ import "./Actor-BS3rbtoo.js";
4
4
  //#region src/modules/signature/types.d.ts
5
5
  /**
6
6
  * Configuration options for Signature.
7
- * The flow is always: initials (Continue) → full signature (Done), then success.
8
7
  */
9
8
  type SignatureConfig = {
10
9
  type?: string;
11
10
  /**
12
11
  * Optional header title for both steps. When omitted, the UI uses per-step defaults
13
- * (“Write your initials” / “Draw your signature”).
12
+ * (“Draw your signature”).
14
13
  */
15
14
  title?: string;
16
15
  /**
@@ -38,6 +37,11 @@ type SignatureConfig = {
38
37
  * When omitted, the default signature pen color from theme tokens is used.
39
38
  */
40
39
  penColor?: string;
40
+ /**
41
+ * Optional border color for the drawing area (same format as `penColor`).
42
+ * When omitted, the default input border token from the signature UI is used.
43
+ */
44
+ canvasBorderColor?: string;
41
45
  };
42
46
  /** Response body from Omni add-signature endpoints. */
43
47
  type AddSignatureResponse = {
@@ -55,7 +59,6 @@ type CreateSignatureActorOptions = {
55
59
  };
56
60
  //#endregion
57
61
  //#region src/modules/signature/signatureManager.d.ts
58
- type CapturePhase = 'initials' | 'signature';
59
62
  type SignatureIdleState = {
60
63
  status: 'idle';
61
64
  };
@@ -63,12 +66,10 @@ type SignatureCaptureState = {
63
66
  status: 'capture';
64
67
  title: string | undefined;
65
68
  subtitle: string | undefined;
66
- phase: CapturePhase;
67
69
  canContinue: boolean;
68
70
  };
69
71
  type SignatureSubmittingState = {
70
72
  status: 'submitting';
71
- phase: CapturePhase;
72
73
  };
73
74
  type SignatureFinishedState = {
74
75
  status: 'finished';
@@ -90,4 +91,4 @@ declare function createSignatureManager(options: CreateSignatureActorOptions): M
90
91
  };
91
92
  type SignatureManager = ReturnType<typeof createSignatureManager>;
92
93
  //#endregion
93
- export { type CapturePhase, type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, signatureMachine };
94
+ export { type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, signatureMachine };
@@ -1,7 +1,7 @@
1
1
  import "./api-Bq5aVL0-.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6rNtFDO.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
3
3
  import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
4
- import { t as signatureMachine } from "./signatureStateMachine-C-MP8GI1.esm.js";
4
+ import { t as signatureMachine } from "./signatureStateMachine-BQkKFNPe.esm.js";
5
5
 
6
6
  //#region src/modules/signature/signatureActor.ts
7
7
  function createSignatureActor(options) {
@@ -14,28 +14,13 @@ function mapState(snapshot) {
14
14
  const typedSnapshot = snapshot;
15
15
  const { context } = typedSnapshot;
16
16
  if (typedSnapshot.matches("idle")) return { status: "idle" };
17
- if (typedSnapshot.matches("captureInitials")) return {
18
- status: "capture",
19
- title: context.config.title,
20
- subtitle: context.config.subTitle,
21
- phase: "initials",
22
- canContinue: context.isValid
23
- };
24
17
  if (typedSnapshot.matches("captureSignature")) return {
25
18
  status: "capture",
26
19
  title: context.config.title,
27
20
  subtitle: context.config.subTitle,
28
- phase: "signature",
29
21
  canContinue: context.isValid
30
22
  };
31
- if (typedSnapshot.matches("submittingInitials")) return {
32
- status: "submitting",
33
- phase: "initials"
34
- };
35
- if (typedSnapshot.matches("submittingSignature")) return {
36
- status: "submitting",
37
- phase: "signature"
38
- };
23
+ if (typedSnapshot.matches("submittingSignature")) return { status: "submitting" };
39
24
  if (typedSnapshot.matches("success")) return { status: "success" };
40
25
  if (typedSnapshot.matches("finished")) return {
41
26
  status: "finished",