@incodetech/core 0.0.0-dev-20260505-e06a25f → 0.0.0-dev-20260505-4dd3003

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 (100) hide show
  1. package/dist/{BaseWasmProvider-BTKqWpeB.esm.js → BaseWasmProvider-CkIHbYdx.esm.js} +112 -60
  2. package/dist/{WasmUtilProvider-DqCiPXV6.esm.js → WasmUtilProvider-DsAa3yqJ.esm.js} +1 -1
  3. package/dist/{addressSearch-CGORc_Ur.esm.js → addressSearch-B-gRk55b.esm.js} +2 -2
  4. package/dist/{ae-signature-BHcbLPOX.esm.js → ae-signature-CD2xVkh6.esm.js} +1 -1
  5. package/dist/ae-signature.d.ts +1 -1
  6. package/dist/ae-signature.esm.js +4 -4
  7. package/dist/antifraud.esm.js +3 -3
  8. package/dist/{antifraudStateMachine-DAo-TkJ8.esm.js → antifraudStateMachine-BpA9DsDL.esm.js} +2 -2
  9. package/dist/authentication.d.ts +2 -2
  10. package/dist/authentication.esm.js +9 -9
  11. package/dist/{authenticationManager-DzBrRrX7.esm.js → authenticationManager-BlExOsgX.esm.js} +7 -7
  12. package/dist/{authenticationManager-DBgL1B8m.d.ts → authenticationManager-D53H93OW.d.ts} +1 -1
  13. package/dist/{authenticationStateMachine-Dg19Awyc.esm.js → authenticationStateMachine-B2KkS-0r.esm.js} +4 -4
  14. package/dist/consent.d.ts +50 -50
  15. package/dist/consent.esm.js +3 -3
  16. package/dist/{consentStateMachine-BVxTa1A4.esm.js → consentStateMachine-DSGt1SyM.esm.js} +2 -2
  17. package/dist/cpf-ocr.d.ts +20 -20
  18. package/dist/cpf-ocr.esm.js +2 -2
  19. package/dist/cross-document-data-match.esm.js +2 -2
  20. package/dist/curp-validation.esm.js +3 -3
  21. package/dist/{curpValidationStateMachine-Cm2EjX_L.esm.js → curpValidationStateMachine-B_cFIz9T.esm.js} +2 -2
  22. package/dist/custom-fields.esm.js +2 -2
  23. package/dist/custom-watchlist.esm.js +3 -3
  24. package/dist/{deepsightLoader-BnMFKE9b.esm.js → deepsightLoader-nn8-Chjr.esm.js} +2 -2
  25. package/dist/document-capture.d.ts +77 -77
  26. package/dist/document-capture.esm.js +3 -3
  27. package/dist/document-upload.d.ts +46 -46
  28. package/dist/document-upload.esm.js +2 -2
  29. package/dist/{documentCaptureStateMachine-Jwp09yGJ.esm.js → documentCaptureStateMachine-DWZUY2Aw.esm.js} +2 -2
  30. package/dist/ekyb.esm.js +6 -6
  31. package/dist/{ekybStateMachine-6pezQvlL.esm.js → ekybStateMachine-BLfzFOAD.esm.js} +4 -4
  32. package/dist/ekyc.esm.js +4 -4
  33. package/dist/{ekycStateMachine-CWWeCUx5.esm.js → ekycStateMachine-02EweGtj.esm.js} +3 -3
  34. package/dist/electronic-signature.d.ts +1 -1
  35. package/dist/electronic-signature.esm.js +3 -3
  36. package/dist/{electronicSignatureManager-C0UgrX1L.esm.js → electronicSignatureManager-BbRP-Oph.esm.js} +2 -2
  37. package/dist/email.esm.js +4 -4
  38. package/dist/{emailManager-_gunG-AE.esm.js → emailManager-C2W-MJQ8.esm.js} +3 -3
  39. package/dist/{emailStateMachine-DWrTdkZY.esm.js → emailStateMachine-Df_AcoGW.esm.js} +2 -2
  40. package/dist/{events-237AXtL7.esm.js → events-s0VL5FYh.esm.js} +9 -2
  41. package/dist/events.d.ts +3 -1
  42. package/dist/events.esm.js +1 -1
  43. package/dist/extensibility.d.ts +3 -3
  44. package/dist/extensibility.esm.js +18 -18
  45. package/dist/face-match.esm.js +3 -3
  46. package/dist/{faceCaptureManagerFactory-CgwUMlyj.d.ts → faceCaptureManagerFactory-Cf6AcIJI.d.ts} +1 -1
  47. package/dist/faceCaptureManagerFactory-Dix0LYX3.esm.js +288 -0
  48. package/dist/{faceCaptureSetup-Cclz77d6.esm.js → faceCaptureSetup-GGxPo8Cc.esm.js} +2 -2
  49. package/dist/{faceMatchStateMachine-Cd70G-3Q.esm.js → faceMatchStateMachine-Cjc-2700.esm.js} +2 -2
  50. package/dist/flow.d.ts +2 -2
  51. package/dist/flow.esm.js +8 -10
  52. package/dist/{flowCompletionService-DKHUsKiX.esm.js → flowCompletionService-DhTdMWSB.esm.js} +1 -1
  53. package/dist/{flowServices-Bh4UKZez.esm.js → flowServices-QTK0C4Ek.esm.js} +2 -2
  54. package/dist/geolocation.esm.js +3 -3
  55. package/dist/{geolocationStateMachine-CFsc46Hs.esm.js → geolocationStateMachine-BUp3qs8o.esm.js} +2 -2
  56. package/dist/government-validation.esm.js +3 -3
  57. package/dist/{governmentValidationStateMachine-BGGZE44p.esm.js → governmentValidationStateMachine-DBAuZdbq.esm.js} +2 -2
  58. package/dist/home.d.ts +10 -10
  59. package/dist/home.esm.js +2 -2
  60. package/dist/id-ocr.d.ts +52 -52
  61. package/dist/id-ocr.esm.js +2 -2
  62. package/dist/id.esm.js +7 -7
  63. package/dist/{idCaptureManager-D8nzFJJv.esm.js → idCaptureManager-BtqsBcWw.esm.js} +107 -48
  64. package/dist/{idCaptureStateMachine-B-KOFEK9.esm.js → idCaptureStateMachine-CvdoaLtU.esm.js} +6 -6
  65. package/dist/identity-reuse.d.ts +43 -43
  66. package/dist/identity-reuse.esm.js +2 -2
  67. package/dist/{index-BaZskbWt.d.ts → index-B7qp9qsj.d.ts} +119 -119
  68. package/dist/index.esm.js +5 -5
  69. package/dist/mandatory-consent.d.ts +52 -52
  70. package/dist/mandatory-consent.esm.js +3 -3
  71. package/dist/{mandatoryConsentStateMachine-nVfQa5zS.esm.js → mandatoryConsentStateMachine-BJF3K6w1.esm.js} +2 -2
  72. package/dist/phone.esm.js +4 -4
  73. package/dist/{phoneManager-L4XCPUwQ.esm.js → phoneManager-DskgpnGL.esm.js} +3 -3
  74. package/dist/{phoneStateMachine-Dl0c8Bs4.esm.js → phoneStateMachine-CswpoAaH.esm.js} +2 -2
  75. package/dist/{qe-signature-D-CUO7mB.esm.js → qe-signature-Dy3nLSvu.esm.js} +1 -1
  76. package/dist/qe-signature.d.ts +1 -1
  77. package/dist/qe-signature.esm.js +4 -4
  78. package/dist/{recordingService-Cen0Qmop.esm.js → recordingService-Nn-BBO6j.esm.js} +4 -4
  79. package/dist/redirect-to-mobile.esm.js +3 -3
  80. package/dist/{redirectToMobileStateMachine-DFBsB5IY.esm.js → redirectToMobileStateMachine-DmY7A9iM.esm.js} +2 -2
  81. package/dist/{runChildModule-BiTJSa1K.esm.js → runChildModule-DP-gEBHS.esm.js} +2 -2
  82. package/dist/selfie.d.ts +2 -2
  83. package/dist/selfie.esm.js +9 -9
  84. package/dist/{selfieManager-DGAsMXpK.esm.js → selfieManager-BI4smYEE.esm.js} +7 -7
  85. package/dist/{selfieManager-BtyIr64h.d.ts → selfieManager-xZ0EHWY3.d.ts} +1 -1
  86. package/dist/{selfieStateMachine-C_VXHzeA.esm.js → selfieStateMachine-B-stjSD5.esm.js} +3 -3
  87. package/dist/{session-DcLfiFln.esm.js → session-oIjERqhS.esm.js} +2 -2
  88. package/dist/session.esm.js +3 -3
  89. package/dist/{setup-CGmPXQZb.esm.js → setup-BIkp7Hbm.esm.js} +4 -4
  90. package/dist/signature.esm.js +3 -3
  91. package/dist/{signatureStateMachine-C0dnpux6.esm.js → signatureStateMachine-CW8TVU_C.esm.js} +2 -2
  92. package/dist/wasm.esm.js +5 -5
  93. package/dist/watchlist-for-business.esm.js +2 -2
  94. package/dist/watchlist.esm.js +3 -3
  95. package/dist/{watchlistServices-xsf8fmMG.esm.js → watchlistServices-DuWR27Y8.esm.js} +1 -1
  96. package/dist/workflow.d.ts +114 -114
  97. package/dist/workflow.esm.js +30 -30
  98. package/dist/{xstate.esm-CSiDcEjt.esm.js → xstate.esm-cL1KdW6d.esm.js} +16 -16
  99. package/package.json +1 -1
  100. package/dist/faceCaptureManagerFactory-DM_o6znS.esm.js +0 -187
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import "./Actor-CazhiaK7.js";
3
3
  import "./camera-CS1twtEg.js";
4
4
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-DdYIMV6w.js";
5
- import * as xstate325 from "xstate";
5
+ import * as xstate897 from "xstate";
6
6
 
7
7
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
8
- declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContext, {
8
+ declare const documentUploadMachine: xstate897.StateMachine<DocumentUploadContext, {
9
9
  type: "START";
10
10
  } | {
11
11
  type: "CAPTURE";
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
18
18
  } | {
19
19
  type: "CLOSE";
20
20
  }, {
21
- [x: string]: xstate325.ActorRefFromLogic<xstate325.PromiseActorLogic<void, {
21
+ [x: string]: xstate897.ActorRefFromLogic<xstate897.PromiseActorLogic<MediaStream, void, xstate897.EventObject>> | xstate897.ActorRefFromLogic<xstate897.PromiseActorLogic<void, {
22
22
  imageBase64: string;
23
23
  documentType: string;
24
24
  onProgress: (progress: number) => void;
25
- }, xstate325.EventObject>> | xstate325.ActorRefFromLogic<xstate325.PromiseActorLogic<MediaStream, void, xstate325.EventObject>> | undefined;
26
- }, xstate325.Values<{
25
+ }, xstate897.EventObject>> | undefined;
26
+ }, xstate897.Values<{
27
27
  uploadDocument: {
28
28
  src: "uploadDocument";
29
- logic: xstate325.PromiseActorLogic<void, {
29
+ logic: xstate897.PromiseActorLogic<void, {
30
30
  imageBase64: string;
31
31
  documentType: string;
32
32
  onProgress: (progress: number) => void;
33
- }, xstate325.EventObject>;
33
+ }, xstate897.EventObject>;
34
34
  id: string | undefined;
35
35
  };
36
36
  initCamera: {
37
37
  src: "initCamera";
38
- logic: xstate325.PromiseActorLogic<MediaStream, void, xstate325.EventObject>;
38
+ logic: xstate897.PromiseActorLogic<MediaStream, void, xstate897.EventObject>;
39
39
  id: string | undefined;
40
40
  };
41
- }>, xstate325.Values<{
41
+ }>, xstate897.Values<{
42
42
  setStream: {
43
43
  type: "setStream";
44
- params: xstate325.NonReducibleUnknown;
45
- };
46
- setImageAndClearError: {
47
- type: "setImageAndClearError";
48
- params: xstate325.NonReducibleUnknown;
44
+ params: xstate897.NonReducibleUnknown;
49
45
  };
50
46
  setProgress: {
51
47
  type: "setProgress";
52
- params: xstate325.NonReducibleUnknown;
53
- };
54
- setError: {
55
- type: "setError";
56
- params: xstate325.NonReducibleUnknown;
48
+ params: xstate897.NonReducibleUnknown;
57
49
  };
58
50
  clearError: {
59
51
  type: "clearError";
60
- params: xstate325.NonReducibleUnknown;
52
+ params: xstate897.NonReducibleUnknown;
61
53
  };
62
54
  stopStream: {
63
55
  type: "stopStream";
64
- params: xstate325.NonReducibleUnknown;
56
+ params: xstate897.NonReducibleUnknown;
57
+ };
58
+ setError: {
59
+ type: "setError";
60
+ params: xstate897.NonReducibleUnknown;
61
+ };
62
+ setImageAndClearError: {
63
+ type: "setImageAndClearError";
64
+ params: xstate897.NonReducibleUnknown;
65
65
  };
66
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate325.NonReducibleUnknown, xstate325.EventObject, xstate325.MetaObject, {
66
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate897.NonReducibleUnknown, xstate897.EventObject, xstate897.MetaObject, {
67
67
  readonly id: "documentUpload";
68
68
  readonly initial: "idle";
69
69
  readonly context: ({
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
72
72
  spawn: {
73
73
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
74
74
  src: "uploadDocument";
75
- logic: xstate325.PromiseActorLogic<void, {
75
+ logic: xstate897.PromiseActorLogic<void, {
76
76
  imageBase64: string;
77
77
  documentType: string;
78
78
  onProgress: (progress: number) => void;
79
- }, xstate325.EventObject>;
79
+ }, xstate897.EventObject>;
80
80
  id: string | undefined;
81
81
  } extends infer T ? T extends {
82
82
  src: "uploadDocument";
83
- logic: xstate325.PromiseActorLogic<void, {
83
+ logic: xstate897.PromiseActorLogic<void, {
84
84
  imageBase64: string;
85
85
  documentType: string;
86
86
  onProgress: (progress: number) => void;
87
- }, xstate325.EventObject>;
87
+ }, xstate897.EventObject>;
88
88
  id: string | undefined;
89
89
  } ? T extends {
90
90
  src: TSrc;
91
- } ? xstate325.ConditionalRequired<[options?: ({
91
+ } ? xstate897.ConditionalRequired<[options?: ({
92
92
  id?: T["id"] | undefined;
93
93
  systemId?: string;
94
- input?: xstate325.InputFrom<T["logic"]> | undefined;
94
+ input?: xstate897.InputFrom<T["logic"]> | undefined;
95
95
  syncSnapshot?: boolean;
96
- } & { [K in xstate325.RequiredActorOptions<T>]: unknown }) | undefined], xstate325.IsNotNever<xstate325.RequiredActorOptions<T>>> : never : never : never) | ({
96
+ } & { [K in xstate897.RequiredActorOptions<T>]: unknown }) | undefined], xstate897.IsNotNever<xstate897.RequiredActorOptions<T>>> : never : never : never) | ({
97
97
  src: "initCamera";
98
- logic: xstate325.PromiseActorLogic<MediaStream, void, xstate325.EventObject>;
98
+ logic: xstate897.PromiseActorLogic<MediaStream, void, xstate897.EventObject>;
99
99
  id: string | undefined;
100
100
  } extends infer T_1 ? T_1 extends {
101
101
  src: "initCamera";
102
- logic: xstate325.PromiseActorLogic<MediaStream, void, xstate325.EventObject>;
102
+ logic: xstate897.PromiseActorLogic<MediaStream, void, xstate897.EventObject>;
103
103
  id: string | undefined;
104
104
  } ? T_1 extends {
105
105
  src: TSrc;
106
- } ? xstate325.ConditionalRequired<[options?: ({
106
+ } ? xstate897.ConditionalRequired<[options?: ({
107
107
  id?: T_1["id"] | undefined;
108
108
  systemId?: string;
109
- input?: xstate325.InputFrom<T_1["logic"]> | undefined;
109
+ input?: xstate897.InputFrom<T_1["logic"]> | undefined;
110
110
  syncSnapshot?: boolean;
111
- } & { [K_1 in xstate325.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate325.IsNotNever<xstate325.RequiredActorOptions<T_1>>> : never : never : never)): xstate325.ActorRefFromLogic<xstate325.GetConcreteByKey<xstate325.Values<{
111
+ } & { [K_1 in xstate897.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate897.IsNotNever<xstate897.RequiredActorOptions<T_1>>> : never : never : never)): xstate897.ActorRefFromLogic<xstate897.GetConcreteByKey<xstate897.Values<{
112
112
  uploadDocument: {
113
113
  src: "uploadDocument";
114
- logic: xstate325.PromiseActorLogic<void, {
114
+ logic: xstate897.PromiseActorLogic<void, {
115
115
  imageBase64: string;
116
116
  documentType: string;
117
117
  onProgress: (progress: number) => void;
118
- }, xstate325.EventObject>;
118
+ }, xstate897.EventObject>;
119
119
  id: string | undefined;
120
120
  };
121
121
  initCamera: {
122
122
  src: "initCamera";
123
- logic: xstate325.PromiseActorLogic<MediaStream, void, xstate325.EventObject>;
123
+ logic: xstate897.PromiseActorLogic<MediaStream, void, xstate897.EventObject>;
124
124
  id: string | undefined;
125
125
  };
126
126
  }>, "src", TSrc>["logic"]>;
127
- <TLogic extends xstate325.AnyActorLogic>(src: TLogic, ...[options]: xstate325.ConditionalRequired<[options?: ({
127
+ <TLogic extends xstate897.AnyActorLogic>(src: TLogic, ...[options]: xstate897.ConditionalRequired<[options?: ({
128
128
  id?: never;
129
129
  systemId?: string;
130
- input?: xstate325.InputFrom<TLogic> | undefined;
130
+ input?: xstate897.InputFrom<TLogic> | undefined;
131
131
  syncSnapshot?: boolean;
132
- } & { [K in xstate325.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate325.IsNotNever<xstate325.RequiredLogicInput<TLogic>>>): xstate325.ActorRefFromLogic<TLogic>;
132
+ } & { [K in xstate897.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate897.IsNotNever<xstate897.RequiredLogicInput<TLogic>>>): xstate897.ActorRefFromLogic<TLogic>;
133
133
  };
134
134
  input: DocumentUploadInput;
135
- self: xstate325.ActorRef<xstate325.MachineSnapshot<DocumentUploadContext, {
135
+ self: xstate897.ActorRef<xstate897.MachineSnapshot<DocumentUploadContext, {
136
136
  type: "START";
137
137
  } | {
138
138
  type: "CAPTURE";
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
144
144
  type: "RETRY";
145
145
  } | {
146
146
  type: "CLOSE";
147
- }, Record<string, xstate325.AnyActorRef | undefined>, xstate325.StateValue, string, unknown, any, any>, {
147
+ }, Record<string, xstate897.AnyActorRef | undefined>, xstate897.StateValue, string, unknown, any, any>, {
148
148
  type: "START";
149
149
  } | {
150
150
  type: "CAPTURE";
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
156
156
  type: "RETRY";
157
157
  } | {
158
158
  type: "CLOSE";
159
- }, xstate325.AnyEventObject>;
159
+ }, xstate897.AnyEventObject>;
160
160
  }) => {
161
161
  config: DocumentUploadConfig;
162
162
  stream: undefined;
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
226
226
  } | {
227
227
  type: "CLOSE";
228
228
  };
229
- self: xstate325.ActorRef<xstate325.MachineSnapshot<DocumentUploadContext, {
229
+ self: xstate897.ActorRef<xstate897.MachineSnapshot<DocumentUploadContext, {
230
230
  type: "START";
231
231
  } | {
232
232
  type: "CAPTURE";
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
238
238
  type: "RETRY";
239
239
  } | {
240
240
  type: "CLOSE";
241
- }, Record<string, xstate325.AnyActorRef>, xstate325.StateValue, string, unknown, any, any>, {
241
+ }, Record<string, xstate897.AnyActorRef>, xstate897.StateValue, string, unknown, any, any>, {
242
242
  type: "START";
243
243
  } | {
244
244
  type: "CAPTURE";
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate325.StateMachine<DocumentUploadContex
250
250
  type: "RETRY";
251
251
  } | {
252
252
  type: "CLOSE";
253
- }, xstate325.AnyEventObject>;
253
+ }, xstate897.AnyEventObject>;
254
254
  }) => {
255
255
  imageBase64: string;
256
256
  documentType: string;
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import { i as stopCameraStream } from "./camera-CSPAwp2o.esm.js";
5
5
  import "./platform-BtdVAeAg.esm.js";
6
6
  import "./ITimerCapability-r7XXQS6a.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import { i as stopCameraStream } from "./camera-CSPAwp2o.esm.js";
5
5
  import { t as getBackCameraStream } from "./backCameraStream-BIzYKDy2.esm.js";
6
6
 
package/dist/ekyb.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-237AXtL7.esm.js";
3
- import "./session-DcLfiFln.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
3
+ import "./session-oIjERqhS.esm.js";
4
4
  import "./IpifyProvider-CVIOst3c.esm.js";
5
5
  import "./browserSimulation-DMJIC-23.esm.js";
6
- import { a as createActor, o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
7
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-6pezQvlL.esm.js";
8
- import "./addressSearch-CGORc_Ur.esm.js";
9
- import "./flowServices-Bh4UKZez.esm.js";
6
+ import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
7
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BLfzFOAD.esm.js";
8
+ import "./addressSearch-B-gRk55b.esm.js";
9
+ import "./flowServices-QTK0C4Ek.esm.js";
10
10
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
11
11
 
12
12
  //#region src/modules/ekyb/ekybActor.ts
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
4
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CGORc_Ur.esm.js";
5
- import { t as getFlow } from "./flowServices-Bh4UKZez.esm.js";
2
+ import { v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-B-gRk55b.esm.js";
5
+ import { t as getFlow } from "./flowServices-QTK0C4Ek.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-237AXtL7.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import "./cpf-B42J7pld.esm.js";
5
- import "./addressSearch-CGORc_Ur.esm.js";
5
+ import "./addressSearch-B-gRk55b.esm.js";
6
6
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
7
- import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-CWWeCUx5.esm.js";
7
+ import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-02EweGtj.esm.js";
8
8
 
9
9
  //#region src/modules/ekyc/ekycActor.ts
10
10
  /**
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import { t as validateCPF } from "./cpf-B42J7pld.esm.js";
5
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CGORc_Ur.esm.js";
5
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-B-gRk55b.esm.js";
6
6
 
7
7
  //#region src/modules/ekyc/ekycConsts.ts
8
8
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
@@ -1,4 +1,4 @@
1
1
  import "./Manager-CcbnIt3T.js";
2
2
  import "./Actor-CazhiaK7.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-BaZskbWt.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-B7qp9qsj.js";
4
4
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,6 +1,6 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import "./events-237AXtL7.esm.js";
3
- import "./xstate.esm-CSiDcEjt.esm.js";
4
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-C0UgrX1L.esm.js";
2
+ import "./events-s0VL5FYh.esm.js";
3
+ import "./xstate.esm-cL1KdW6d.esm.js";
4
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BbRP-Oph.esm.js";
5
5
 
6
6
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
 
5
5
  //#region ../infra/src/http/externalFetch.ts
6
6
  async function externalFetch(config) {
package/dist/email.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import "./events-237AXtL7.esm.js";
3
- import "./xstate.esm-CSiDcEjt.esm.js";
2
+ import "./events-s0VL5FYh.esm.js";
3
+ import "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
5
- import { t as emailMachine } from "./emailStateMachine-DWrTdkZY.esm.js";
6
- import { t as createEmailManager } from "./emailManager-_gunG-AE.esm.js";
5
+ import { t as emailMachine } from "./emailStateMachine-Df_AcoGW.esm.js";
6
+ import { t as createEmailManager } from "./emailManager-C2W-MJQ8.esm.js";
7
7
 
8
8
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-237AXtL7.esm.js";
2
- import { a as createActor, o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-DWrTdkZY.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
2
+ import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-Df_AcoGW.esm.js";
4
4
 
5
5
  //#region src/modules/email/emailActor.ts
6
6
  function createEmailActor(options) {
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
- import { v as endpoints } from "./events-237AXtL7.esm.js";
3
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
2
+ import { v as endpoints } from "./events-s0VL5FYh.esm.js";
3
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-Bc6BRm6-.esm.js";
5
5
 
6
6
  //#region src/modules/email/emailServices.ts
@@ -308,6 +308,8 @@ function getDefaultManagerScreenName(snapshot) {
308
308
  return stateValueToScreenSegment(snapshot.value);
309
309
  }
310
310
  function getManagerScreenName(moduleName, snapshot, options) {
311
+ const eventScreen = options?.getEventScreenName?.(snapshot);
312
+ if (eventScreen !== void 0) return eventScreen;
311
313
  const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
312
314
  if (mappedScreen === void 0) return;
313
315
  return buildScreenName(moduleName, mappedScreen);
@@ -334,7 +336,10 @@ function createManagerInstrumentation(moduleName, options) {
334
336
  onErrorTriggered: errorTriggered,
335
337
  onElementClicked: (moduleName$1, screenName, payload) => elementClicked(moduleName$1, screenName, payload),
336
338
  onCaptureAttemptFinished: (moduleName$1, screenName, payload) => captureAttemptFinished(moduleName$1, screenName, payload),
337
- getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, { getScreenName: options?.getScreenName }),
339
+ getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, {
340
+ getEventScreenName: options?.getEventScreenName,
341
+ getScreenName: options?.getScreenName
342
+ }),
338
343
  getErrorName: (snapshot) => {
339
344
  const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
340
345
  if (mappedError === void 0) return;
@@ -348,8 +353,9 @@ function createManagerInstrumentation(moduleName, options) {
348
353
  //#region src/internal/events/types.ts
349
354
  const eventModuleNames = {
350
355
  selfie: "SELFIE",
356
+ faceCapture: "faceCapture",
351
357
  authentication: "AUTHENTICATION",
352
- authFace: "AUTH_FACE",
358
+ authFace: "authFace",
353
359
  mlConsent: "ML_CONSENT",
354
360
  combinedConsent: "COMBINED_CONSENT",
355
361
  curpValidation: "CURP_VALIDATION",
@@ -360,6 +366,7 @@ const eventModuleNames = {
360
366
  front: "ID",
361
367
  back: "ID",
362
368
  id: "ID",
369
+ idCapture: "idCapture",
363
370
  idOcr: "ID_OCR",
364
371
  document: "DOCUMENT_CAPTURE",
365
372
  creditCard: "CREDIT_CARD_FRONT",
package/dist/events.d.ts CHANGED
@@ -15,8 +15,9 @@ type Event = {
15
15
  };
16
16
  declare const eventModuleNames: {
17
17
  readonly selfie: "SELFIE";
18
+ readonly faceCapture: "faceCapture";
18
19
  readonly authentication: "AUTHENTICATION";
19
- readonly authFace: "AUTH_FACE";
20
+ readonly authFace: "authFace";
20
21
  readonly mlConsent: "ML_CONSENT";
21
22
  readonly combinedConsent: "COMBINED_CONSENT";
22
23
  readonly curpValidation: "CURP_VALIDATION";
@@ -27,6 +28,7 @@ declare const eventModuleNames: {
27
28
  readonly front: "ID";
28
29
  readonly back: "ID";
29
30
  readonly id: "ID";
31
+ readonly idCapture: "idCapture";
30
32
  readonly idOcr: "ID_OCR";
31
33
  readonly document: "DOCUMENT_CAPTURE";
32
34
  readonly creditCard: "CREDIT_CARD_FRONT";
@@ -1,4 +1,4 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-237AXtL7.esm.js";
2
+ import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-s0VL5FYh.esm.js";
3
3
 
4
4
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, flushEventQueue, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -2,14 +2,14 @@ import "./warmup-DTtV1QCY.js";
2
2
  import "./Manager-CcbnIt3T.js";
3
3
  import { n as createActor } from "./Actor-CazhiaK7.js";
4
4
  import { r as fromPromise } from "./StateMachine-B3eh3sAE.js";
5
- import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-CgwUMlyj.js";
5
+ import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-Cf6AcIJI.js";
6
6
  import "./camera-CS1twtEg.js";
7
7
  import "./types-DdYIMV6w.js";
8
8
  import "./types-DFwAuzk2.js";
9
9
  import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-Cxp-yJjr.js";
10
10
  import "./types-D5fKjOcr.js";
11
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BtyIr64h.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DBgL1B8m.js";
11
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-xZ0EHWY3.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-D53H93OW.js";
13
13
  import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-D8T6_Ptr.js";
14
14
  import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager--lWVPu7Z.js";
15
15
  import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-DjTBO3bK.js";
@@ -1,14 +1,14 @@
1
- import "./BaseWasmProvider-BTKqWpeB.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DqCiPXV6.esm.js";
1
+ import "./BaseWasmProvider-CkIHbYdx.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DsAa3yqJ.esm.js";
3
3
  import "./api-3IquGyW5.esm.js";
4
- import "./events-237AXtL7.esm.js";
5
- import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-DcLfiFln.esm.js";
4
+ import "./events-s0VL5FYh.esm.js";
5
+ import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-oIjERqhS.esm.js";
6
6
  import { t as IpifyProvider } from "./IpifyProvider-CVIOst3c.esm.js";
7
7
  import "./browserSimulation-DMJIC-23.esm.js";
8
- import { a as createActor, i as fromPromise } from "./xstate.esm-CSiDcEjt.esm.js";
9
- import "./faceCaptureManagerFactory-DM_o6znS.esm.js";
8
+ import { a as createActor, i as fromPromise } from "./xstate.esm-cL1KdW6d.esm.js";
9
+ import "./faceCaptureManagerFactory-Dix0LYX3.esm.js";
10
10
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
11
- import "./recordingService-Cen0Qmop.esm.js";
11
+ import "./recordingService-Nn-BBO6j.esm.js";
12
12
  import "./deepsightService-CU4xtxzz.esm.js";
13
13
  import "./permissionServices-DiAThhLg.esm.js";
14
14
  import "./camera-CSPAwp2o.esm.js";
@@ -19,18 +19,18 @@ import "./platform-BtdVAeAg.esm.js";
19
19
  import "./ITimerCapability-r7XXQS6a.esm.js";
20
20
  import "./backCameraStream-BIzYKDy2.esm.js";
21
21
  import "./getDeviceClass-AjL3Pr7R.esm.js";
22
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Cclz77d6.esm.js";
23
- import "./authenticationStateMachine-Dg19Awyc.esm.js";
24
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DzBrRrX7.esm.js";
22
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-GGxPo8Cc.esm.js";
23
+ import "./authenticationStateMachine-B2KkS-0r.esm.js";
24
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BlExOsgX.esm.js";
25
25
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
26
- import "./emailStateMachine-DWrTdkZY.esm.js";
27
- import { n as createEmailManagerFromActor } from "./emailManager-_gunG-AE.esm.js";
28
- import "./selfieStateMachine-C_VXHzeA.esm.js";
29
- import { n as createSelfieManagerFromActor } from "./selfieManager-DGAsMXpK.esm.js";
30
- import "./idCaptureStateMachine-B-KOFEK9.esm.js";
31
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-D8nzFJJv.esm.js";
32
- import "./phoneStateMachine-Dl0c8Bs4.esm.js";
33
- import { n as createPhoneManagerFromActor } from "./phoneManager-L4XCPUwQ.esm.js";
26
+ import "./emailStateMachine-Df_AcoGW.esm.js";
27
+ import { n as createEmailManagerFromActor } from "./emailManager-C2W-MJQ8.esm.js";
28
+ import "./selfieStateMachine-B-stjSD5.esm.js";
29
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BI4smYEE.esm.js";
30
+ import "./idCaptureStateMachine-CvdoaLtU.esm.js";
31
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-BtqsBcWw.esm.js";
32
+ import "./phoneStateMachine-CswpoAaH.esm.js";
33
+ import { n as createPhoneManagerFromActor } from "./phoneManager-DskgpnGL.esm.js";
34
34
 
35
35
  //#region src/internal/fingerprint/fingerprintApi.ts
36
36
  async function getFingerprint(disableIpify) {
@@ -1,7 +1,7 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-237AXtL7.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
4
- import { t as faceMatchMachine } from "./faceMatchStateMachine-Cd70G-3Q.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
4
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-Cjc-2700.esm.js";
5
5
 
6
6
  //#region src/modules/face-match/faceMatchActor.ts
7
7
  function createFaceMatchActor(options) {
@@ -45,7 +45,7 @@ type FaceCaptureDependencies = {
45
45
  logs: string;
46
46
  }) => void;
47
47
  };
48
- type DetectionStatus = 'idle' | 'detecting' | 'noFace' | 'tooManyFaces' | 'tooClose' | 'tooFar' | 'blur' | 'dark' | 'faceAngle' | 'headWear' | 'lenses' | 'eyesClosed' | 'faceMask' | 'centerFace' | 'manualCapture' | 'success' | 'error' | 'capturing' | 'getReady' | 'getReadyFinished' | 'offline';
48
+ type DetectionStatus = 'idle' | 'detecting' | 'noFace' | 'tooManyFaces' | 'tooClose' | 'tooFar' | 'blur' | 'dark' | 'tooBright' | 'faceAngle' | 'lookAtCamera' | 'headWear' | 'lenses' | 'eyesClosed' | 'faceMask' | 'faceOcclusion' | 'centerFace' | 'moveLeft' | 'moveRight' | 'manualCapture' | 'success' | 'error' | 'capturing' | 'getReady' | 'getReadyFinished' | 'offline';
49
49
  declare const FACE_ERROR_CODES: {
50
50
  readonly FACE_OCCLUDED: "FACE_OCCLUDED";
51
51
  readonly LIVENESS: "LIVENESS_ERROR";