@incodetech/core 0.0.0-dev-20260728-dcd649b0 → 0.0.0-dev-20260728-ee28c8bd

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 (71) hide show
  1. package/dist/authentication.d.ts +3 -3
  2. package/dist/authentication.esm.js +2 -2
  3. package/dist/{authenticationManager-DqyCzK3H.d.ts → authenticationManager-B2KZQ9zw.d.ts} +1 -1
  4. package/dist/{authenticationManager-CXhA0lc5.esm.js → authenticationManager-DhKmbcZh.esm.js} +2 -2
  5. package/dist/{authenticationStateMachine-CwH4siI_.esm.js → authenticationStateMachine-DrOepYhJ.esm.js} +2 -2
  6. package/dist/curp-validation.d.ts +1 -1
  7. package/dist/{curpValidationManager-DRQrbEhj.d.ts → curpValidationManager-BEWD-Lvo.d.ts} +1 -1
  8. package/dist/{deepsightLoader-CXK44MVG.esm.js → deepsightLoader-ChJdVAcM.esm.js} +1 -1
  9. package/dist/ekyb.d.ts +1 -1
  10. package/dist/ekyb.esm.js +3 -3
  11. package/dist/{ekybManager-kWGFMAN5.esm.js → ekybManager-x5RT5Hit.esm.js} +1 -1
  12. package/dist/{ekybStateMachine-DmwnW772.esm.js → ekybStateMachine-D9KpHlgz.esm.js} +1 -1
  13. package/dist/ekyc.esm.js +2 -2
  14. package/dist/{ekycManager-DRrG5I6e.esm.js → ekycManager-Cl2e4Knv.esm.js} +1 -1
  15. package/dist/extensibility.d.ts +10 -11
  16. package/dist/extensibility.esm.js +9 -10
  17. package/dist/{faceCaptureManagerFactory-BpVpExwX.d.ts → faceCaptureManagerFactory-B2TUje5s.d.ts} +3 -3
  18. package/dist/{faceCaptureManagerFactory-DjcsAq8u.esm.js → faceCaptureManagerFactory-ysDDYfpc.esm.js} +1 -1
  19. package/dist/{faceCaptureSetup-8qt4c6tR.esm.js → faceCaptureSetup-BRMhr-XT.esm.js} +2 -2
  20. package/dist/flow-events.d.ts +1 -1
  21. package/dist/flow.d.ts +6 -6
  22. package/dist/flow.esm.js +1 -1
  23. package/dist/{flowServices-BcWQgzDl.esm.js → flowServices-DyZkh-5Q.esm.js} +13 -10
  24. package/dist/home.d.ts +1 -1
  25. package/dist/id-ocr.d.ts +8 -4
  26. package/dist/id-ocr.esm.js +20 -3
  27. package/dist/id.d.ts +2 -2
  28. package/dist/id.esm.js +2 -2
  29. package/dist/{idCaptureManager-Cb7aXt7D.esm.js → idCaptureManager-DrmMKLDi.esm.js} +1 -1
  30. package/dist/{idCaptureManager-DmVmaxd9.d.ts → idCaptureManager-Dxv7cHUT.d.ts} +2 -2
  31. package/dist/{idCaptureStateMachine-DuQgO4_L.esm.js → idCaptureStateMachine-CtqVhBjq.esm.js} +5 -5
  32. package/dist/{idOcrManager-5vi0uwLZ.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
  33. package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CnIWzuqU.esm.js} +1 -1
  34. package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-Cqi8173Y.esm.js} +2 -2
  35. package/dist/{index-Ci9wEPiD.d.ts → index-X9serOZT.d.ts} +1 -1
  36. package/dist/index.esm.js +1 -1
  37. package/dist/mandatory-consent.d.ts +2 -2
  38. package/dist/{mandatoryConsentManager-Ck2e2W4o.d.ts → mandatoryConsentManager-M6QI0nB0.d.ts} +1 -1
  39. package/dist/{onDeviceFaceResults-B7udIDIL.esm.js → onDeviceFaceResults-BbjULJyT.esm.js} +1 -1
  40. package/dist/personhood.d.ts +1 -1
  41. package/dist/personhood.esm.js +2 -2
  42. package/dist/{recordingService-DXircQgK.esm.js → recordingService-CqKPwPvN.esm.js} +1 -1
  43. package/dist/selfie.d.ts +3 -3
  44. package/dist/selfie.esm.js +4 -4
  45. package/dist/{selfieManager-5iJjQHdZ.esm.js → selfieManager-5QzVKTV3.esm.js} +2 -2
  46. package/dist/{selfieManager-DR-EIsRb.d.ts → selfieManager-BT7dmOHi.d.ts} +1 -1
  47. package/dist/{selfieStateMachine-DyoAe6Uh.esm.js → selfieStateMachine-6SSh-uFp.esm.js} +2 -2
  48. package/dist/session-BO17OfFa.esm.js +1 -0
  49. package/dist/session.d.ts +1 -1
  50. package/dist/session.esm.js +2 -2
  51. package/dist/{sessionInitializer-oAi9ICPo.esm.js → sessionInitializer-DuZWsy2u.esm.js} +1 -1
  52. package/dist/{setup-BpjU9IYU.esm.js → setup-ItZ5fsL_.esm.js} +2 -2
  53. package/dist/{types-DMMk51Ec.d.ts → types-BK-v1UYb.d.ts} +1 -1
  54. package/dist/{types-CBJI9n6h2.d.ts → types-CJ7Yl9K-.d.ts} +1 -0
  55. package/dist/{types-DByREvr1.d.ts → types-CfwPB1PL.d.ts} +1 -1
  56. package/dist/{types-BQgIv5p8.d.ts → types-DjHL5Wa9.d.ts} +1 -1
  57. package/dist/{types-BjTTkLmd.d.ts → types-NSJbROLr.d.ts} +1 -1
  58. package/dist/types-sK-eGomM.d.ts +6 -0
  59. package/dist/video-selfie.d.ts +2 -2
  60. package/dist/video-selfie.esm.js +3 -3
  61. package/dist/wasm.esm.js +1 -1
  62. package/dist/workflow.d.ts +1 -1
  63. package/dist/workflow.esm.js +8 -8
  64. package/package.json +3 -8
  65. package/dist/cpf-ocr.d.ts +0 -6
  66. package/dist/cpf-ocr.esm.js +0 -2
  67. package/dist/cpfOcrManager-Bu32le9u.esm.js +0 -185
  68. package/dist/cpfOcrManager-C-3PWS2h.d.ts +0 -214
  69. package/dist/session-BzSGKQL2.esm.js +0 -1
  70. package/dist/types-BAvkiv6L.d.ts +0 -6
  71. package/dist/{ekycStateMachine-DRbbavZy.esm.js → ekycStateMachine-9Mm7LBea.esm.js} +1 -1
@@ -1,214 +0,0 @@
1
- import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, c as AnyEventObject, i as ActorRefFrom, k as MachineSnapshot, p as EventObject, r as ActorRef, s as AnyActorRef, v as MetaObject, w as Values, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import "./StateMachine-EDpYWy0i.js";
3
- import { t as Manager } from "./Manager-CQQ99QOI.js";
4
- import "./Actor-iTq7YY48.js";
5
- //#region src/modules/cpf-ocr/types.d.ts
6
- type CpfOcrDataResponse = {
7
- documentNumber?: string;
8
- };
9
- type CpfOcrUpdateResponse = {
10
- success?: boolean;
11
- };
12
- //#endregion
13
- //#region src/modules/cpf-ocr/cpfOcrStateMachine.d.ts
14
- type CpfOcrContext = {
15
- cpf: string;
16
- isValid: boolean;
17
- error: string | undefined;
18
- };
19
- type CpfOcrInput = Record<string, never>;
20
- declare const cpfOcrMachine: StateMachine<CpfOcrContext, {
21
- type: "LOAD";
22
- } | {
23
- type: "SET_CPF";
24
- cpf: string;
25
- } | {
26
- type: "SUBMIT";
27
- } | {
28
- type: "RETRY";
29
- }, {
30
- [x: string]: ActorRefFromLogic<PromiseActorLogic<CpfOcrDataResponse, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<CpfOcrUpdateResponse, {
31
- cpf: string;
32
- }, EventObject>> | undefined;
33
- }, Values<{
34
- fetchCpfOcrData: {
35
- src: "fetchCpfOcrData";
36
- logic: PromiseActorLogic<CpfOcrDataResponse, void, EventObject>;
37
- id: string | undefined;
38
- };
39
- submitCpfOcr: {
40
- src: "submitCpfOcr";
41
- logic: PromiseActorLogic<CpfOcrUpdateResponse, {
42
- cpf: string;
43
- }, EventObject>;
44
- id: string | undefined;
45
- };
46
- }>, Values<{
47
- setError: {
48
- type: "setError";
49
- params: NonReducibleUnknown;
50
- };
51
- clearError: {
52
- type: "clearError";
53
- params: NonReducibleUnknown;
54
- };
55
- setPrefill: {
56
- type: "setPrefill";
57
- params: NonReducibleUnknown;
58
- };
59
- setCpf: {
60
- type: "setCpf";
61
- params: NonReducibleUnknown;
62
- };
63
- }>, {
64
- type: "isValid";
65
- params: unknown;
66
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "inputting", string, CpfOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
67
- readonly id: "cpfOcr";
68
- readonly initial: "idle";
69
- readonly context: {
70
- readonly cpf: "";
71
- readonly isValid: false;
72
- readonly error: undefined;
73
- };
74
- readonly states: {
75
- readonly idle: {
76
- readonly on: {
77
- readonly LOAD: "loading";
78
- };
79
- };
80
- readonly loading: {
81
- readonly invoke: {
82
- readonly src: "fetchCpfOcrData";
83
- readonly onDone: {
84
- readonly target: "inputting";
85
- readonly actions: "setPrefill";
86
- };
87
- readonly onError: {
88
- readonly target: "error";
89
- readonly actions: "setError";
90
- };
91
- };
92
- };
93
- readonly inputting: {
94
- readonly on: {
95
- readonly SET_CPF: {
96
- readonly actions: "setCpf";
97
- };
98
- readonly SUBMIT: {
99
- readonly guard: "isValid";
100
- readonly target: "submitting";
101
- };
102
- };
103
- };
104
- readonly submitting: {
105
- readonly invoke: {
106
- readonly src: "submitCpfOcr";
107
- readonly input: ({ context }: {
108
- context: CpfOcrContext;
109
- event: {
110
- type: "LOAD";
111
- } | {
112
- type: "SET_CPF";
113
- cpf: string;
114
- } | {
115
- type: "SUBMIT";
116
- } | {
117
- type: "RETRY";
118
- };
119
- self: ActorRef<MachineSnapshot<CpfOcrContext, {
120
- type: "LOAD";
121
- } | {
122
- type: "SET_CPF";
123
- cpf: string;
124
- } | {
125
- type: "SUBMIT";
126
- } | {
127
- type: "RETRY";
128
- }, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
129
- type: "LOAD";
130
- } | {
131
- type: "SET_CPF";
132
- cpf: string;
133
- } | {
134
- type: "SUBMIT";
135
- } | {
136
- type: "RETRY";
137
- }, AnyEventObject>;
138
- }) => {
139
- cpf: string;
140
- };
141
- readonly onDone: {
142
- readonly target: "finished";
143
- };
144
- readonly onError: {
145
- readonly target: "error";
146
- readonly actions: "setError";
147
- };
148
- };
149
- };
150
- readonly error: {
151
- readonly on: {
152
- readonly RETRY: {
153
- readonly target: "loading";
154
- readonly actions: "clearError";
155
- };
156
- readonly SET_CPF: {
157
- readonly target: "inputting";
158
- readonly actions: "setCpf";
159
- };
160
- };
161
- };
162
- readonly finished: {
163
- readonly type: "final";
164
- };
165
- };
166
- }>;
167
- type CpfOcrMachine = typeof cpfOcrMachine;
168
- //#endregion
169
- //#region src/modules/cpf-ocr/cpfOcrActor.d.ts
170
- type CpfOcrActor = ActorRefFrom<CpfOcrMachine>;
171
- //#endregion
172
- //#region src/modules/cpf-ocr/cpfOcrManager.d.ts
173
- type CpfOcrIdleState = {
174
- status: 'idle';
175
- };
176
- type CpfOcrLoadingState = {
177
- status: 'loading';
178
- };
179
- type CpfOcrInputtingState = {
180
- status: 'inputting';
181
- cpf: string;
182
- isValid: boolean;
183
- };
184
- type CpfOcrSubmittingState = {
185
- status: 'submitting';
186
- };
187
- type CpfOcrErrorState = {
188
- status: 'error';
189
- error: string;
190
- };
191
- type CpfOcrFinishedState = {
192
- status: 'finished';
193
- };
194
- type CpfOcrState = CpfOcrIdleState | CpfOcrLoadingState | CpfOcrInputtingState | CpfOcrSubmittingState | CpfOcrErrorState | CpfOcrFinishedState;
195
- declare function createCpfOcrManager(): Manager<CpfOcrState> & {
196
- load(): void;
197
- setCpf(cpf: string): void;
198
- submit(): void;
199
- retry(): void;
200
- };
201
- /**
202
- * Creates a CPF-OCR manager from a pre-built actor.
203
- * Use this when overriding the machine via `.provide()` for custom backends
204
- * or for story-isolation testing.
205
- */
206
- declare function createCpfOcrManagerFromActor(actor: CpfOcrActor): Manager<CpfOcrState> & {
207
- load(): void;
208
- setCpf(cpf: string): void;
209
- submit(): void;
210
- retry(): void;
211
- };
212
- type CpfOcrManager = ReturnType<typeof createCpfOcrManager>;
213
- //#endregion
214
- export { CpfOcrActor as a, createCpfOcrManagerFromActor as i, CpfOcrState as n, cpfOcrMachine as o, createCpfOcrManager as r, CpfOcrManager as t };
@@ -1 +0,0 @@
1
- import "./sessionInitializer-oAi9ICPo.esm.js";
@@ -1,6 +0,0 @@
1
- import { i as FlowModuleConfig } from "./types-BjTTkLmd.js";
2
- import { t as BaseFaceCaptureConfig } from "./types-DMMk51Ec.js";
3
- //#region src/modules/authentication/types.d.ts
4
- type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
- //#endregion
6
- export { AuthenticationConfig as t };
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { a as ADDRESS_STATE_SOURCES, c as EMAIL_SOURCES, d as NAME_SOURCES, f as POSTAL_CODE_SOURCES, h as TAX_ID_SOURCES, i as toEkycConfig, l as HOUSE_NO_SOURCES, m as STREET_SOURCES, n as getEKYCFields, o as CITY_SOURCES, p as STATE_CODE_HINTS, r as isFieldOptional, s as COUNTRY_SELECTOR_DISABLED_SOURCES, t as getEKYCCountry, u as MIDDLE_NAME_SOURCES } from "./ekycUtils-Dew1rBG0.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
7
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
7
+ import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
9
9
  var metadata_min_json_default = {
10
10
  "version": 4,