@incodetech/core 2.1.0-rc.4 → 2.1.0-rc.6

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 (68) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/authentication.esm.js +12 -12
  3. package/dist/{authenticationManager-BnPgoiL_.esm.js → authenticationManager-7J-EmPRB.esm.js} +2 -2
  4. package/dist/{authenticationStateMachine-D50Q6Nvp.esm.js → authenticationStateMachine-PRBkRdGA.esm.js} +2 -2
  5. package/dist/{backCameraStream-POavVKz4.esm.js → backCameraStream-Cz2EvzSR.esm.js} +6 -10
  6. package/dist/{browserSimulation-DFpmweuc.esm.js → browserSimulation-CWJhFPZ2.esm.js} +1216 -153
  7. package/dist/certificate-issuance.d.ts +28 -28
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-BuiDVAGn.d.ts → consentManager-mc7QdTMo.d.ts} +47 -47
  10. package/dist/cpf-ocr.d.ts +1 -1
  11. package/dist/{cpfOcrManager-D_cnGuB7.d.ts → cpfOcrManager-zBticiCF.d.ts} +17 -17
  12. package/dist/{deepsightLoader-CgK9h2KF.esm.js → deepsightLoader-76UnowS7.esm.js} +5 -5
  13. package/dist/{deepsightService-BsLpJT8o.esm.js → deepsightService-DU9yBWg_.esm.js} +2 -2
  14. package/dist/device.d.ts +1 -9
  15. package/dist/device.esm.js +3 -3
  16. package/dist/document-capture.d.ts +171 -171
  17. package/dist/document-capture.esm.js +3 -3
  18. package/dist/document-upload.d.ts +40 -40
  19. package/dist/document-upload.esm.js +2 -2
  20. package/dist/{documentCaptureStateMachine-DK3nD2UZ.esm.js → documentCaptureStateMachine-C9Sk-unD.esm.js} +1 -1
  21. package/dist/ekyb.esm.js +6 -6
  22. package/dist/{ekybStateMachine-DJ9lWfdc.esm.js → ekybStateMachine-nxlJMOLd.esm.js} +1 -1
  23. package/dist/electronic-signature.d.ts +1 -1
  24. package/dist/extensibility.d.ts +5 -5
  25. package/dist/extensibility.esm.js +19 -19
  26. package/dist/{faceCaptureManagerFactory-bJiqzRoj.esm.js → faceCaptureManagerFactory-CzKGFnko.esm.js} +1 -1
  27. package/dist/{faceCaptureSetup-jYJNhw2K.esm.js → faceCaptureSetup-Cj5StqIj.esm.js} +2 -2
  28. package/dist/fiscal-qr.esm.js +2 -2
  29. package/dist/flow.d.ts +2 -2
  30. package/dist/flow.esm.js +5 -5
  31. package/dist/{flowServices-DTQUals9.esm.js → flowServices-B-U4LBEz.esm.js} +1 -1
  32. package/dist/geolocation.esm.js +3 -3
  33. package/dist/{geolocationManager-CVKUo6a4.esm.js → geolocationManager-Dmbh6TXA.esm.js} +1 -1
  34. package/dist/{geolocationStateMachine-CdYh-pwi.esm.js → geolocationStateMachine-BRLIXR1x.esm.js} +1 -1
  35. package/dist/getBrowser-1yNcfFZR.esm.js +8 -0
  36. package/dist/home.d.ts +10 -10
  37. package/dist/id-ocr.d.ts +1 -1
  38. package/dist/id-verification.d.ts +25 -25
  39. package/dist/id.esm.js +11 -11
  40. package/dist/{idCaptureManager-Cd7THjha.esm.js → idCaptureManager-Bf48zlCL.esm.js} +1 -1
  41. package/dist/{idCaptureStateMachine-BFMIWmBu.esm.js → idCaptureStateMachine-yJYkHYD0.esm.js} +6 -6
  42. package/dist/{idOcrManager-CDIHkP-v.d.ts → idOcrManager-BPrIg5Np.d.ts} +52 -52
  43. package/dist/identity-reuse.d.ts +1 -1
  44. package/dist/{identityReuseManager-BlJpsh9U.d.ts → identityReuseManager-CM-Jjztz.d.ts} +34 -34
  45. package/dist/{index-BgJYOyFO.d.ts → index-DzfsIaNl.d.ts} +150 -150
  46. package/dist/index.esm.js +5 -5
  47. package/dist/mandatory-consent.d.ts +1 -1
  48. package/dist/{mandatoryConsentManager-Da8pFx0L.d.ts → mandatoryConsentManager-D6UNv_fb.d.ts} +50 -50
  49. package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-DuYelylE.esm.js} +1 -1
  50. package/dist/{onDeviceFaceResults-BdfKrQrf.esm.js → onDeviceFaceResults-sz7Ixft7.esm.js} +3 -3
  51. package/dist/personhood.esm.js +7 -7
  52. package/dist/qe-signature.d.ts +1 -1
  53. package/dist/{recordingService-B5QNBYnv.esm.js → recordingService-C49IUSu_.esm.js} +3 -3
  54. package/dist/selfie.esm.js +12 -12
  55. package/dist/{selfieManager-Cw29cKuL.esm.js → selfieManager-BpeRqH4P.esm.js} +2 -2
  56. package/dist/{selfieStateMachine-DUruCKBS.esm.js → selfieStateMachine-n7bnt0gx.esm.js} +2 -2
  57. package/dist/session.esm.js +4 -4
  58. package/dist/{sessionInitializer-CzPdr0Q1.esm.js → sessionInitializer-C54RAOch.esm.js} +119 -4
  59. package/dist/{setup-hKBHwm6K.esm.js → setup-CqrU2DM3.esm.js} +1 -1
  60. package/dist/trust-graph.d.ts +2 -2
  61. package/dist/video-selfie.d.ts +5 -3
  62. package/dist/video-selfie.esm.js +84 -70
  63. package/dist/wasm.esm.js +5 -5
  64. package/dist/workflow.d.ts +102 -102
  65. package/dist/workflow.esm.js +17 -17
  66. package/package.json +3 -3
  67. package/dist/thumbmarkAdapter-CVyiGp0-.esm.js +0 -1194
  68. /package/dist/{platform-BoeUeUrV.esm.js → platform-0Ot-bF_a.esm.js} +0 -0
@@ -2,15 +2,15 @@ import "./WasmUtilProvider-ADG54T6M.esm.js";
2
2
  import "./api-DsbUi7TO.esm.js";
3
3
  import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
- import "./platform-BoeUeUrV.esm.js";
5
+ import "./platform-0Ot-bF_a.esm.js";
6
6
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
7
7
  import "./MotionSensorProvider-BkHKMCPE.esm.js";
8
8
  import "./permissionServices-D9lmzFYc.esm.js";
9
9
  import "./camera-B0yWS33x.esm.js";
10
10
  import "./ITimerCapability-G7lQg-be.esm.js";
11
- import "./backCameraStream-POavVKz4.esm.js";
11
+ import "./backCameraStream-Cz2EvzSR.esm.js";
12
12
  import "./permissionGuards-CaZl9t7f.esm.js";
13
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DK3nD2UZ.esm.js";
13
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9Sk-unD.esm.js";
14
14
 
15
15
  //#region src/modules/document-capture/documentCaptureActor.ts
16
16
  function createDocumentCaptureActor(options) {
@@ -3,10 +3,10 @@ import { t as Manager } from "./Manager-BfBOhrjh.js";
3
3
  import "./Actor-DYjXVMQm.js";
4
4
  import "./camera-CWO06Lu5.js";
5
5
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-B_YCuHZx.js";
6
- import * as xstate485 from "xstate";
6
+ import * as xstate808 from "xstate";
7
7
 
8
8
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
9
- declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContext, {
9
+ declare const documentUploadMachine: xstate808.StateMachine<DocumentUploadContext, {
10
10
  type: "START";
11
11
  } | {
12
12
  type: "CAPTURE";
@@ -19,52 +19,52 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
19
19
  } | {
20
20
  type: "CLOSE";
21
21
  }, {
22
- [x: string]: xstate485.ActorRefFromLogic<xstate485.PromiseActorLogic<void, {
22
+ [x: string]: xstate808.ActorRefFromLogic<xstate808.PromiseActorLogic<void, {
23
23
  imageBase64: string;
24
24
  documentType: string;
25
25
  onProgress: (progress: number) => void;
26
- }, xstate485.EventObject>> | xstate485.ActorRefFromLogic<xstate485.PromiseActorLogic<MediaStream, void, xstate485.EventObject>> | undefined;
27
- }, xstate485.Values<{
26
+ }, xstate808.EventObject>> | xstate808.ActorRefFromLogic<xstate808.PromiseActorLogic<MediaStream, void, xstate808.EventObject>> | undefined;
27
+ }, xstate808.Values<{
28
28
  uploadDocument: {
29
29
  src: "uploadDocument";
30
- logic: xstate485.PromiseActorLogic<void, {
30
+ logic: xstate808.PromiseActorLogic<void, {
31
31
  imageBase64: string;
32
32
  documentType: string;
33
33
  onProgress: (progress: number) => void;
34
- }, xstate485.EventObject>;
34
+ }, xstate808.EventObject>;
35
35
  id: string | undefined;
36
36
  };
37
37
  initCamera: {
38
38
  src: "initCamera";
39
- logic: xstate485.PromiseActorLogic<MediaStream, void, xstate485.EventObject>;
39
+ logic: xstate808.PromiseActorLogic<MediaStream, void, xstate808.EventObject>;
40
40
  id: string | undefined;
41
41
  };
42
- }>, xstate485.Values<{
42
+ }>, xstate808.Values<{
43
43
  setError: {
44
44
  type: "setError";
45
- params: xstate485.NonReducibleUnknown;
45
+ params: xstate808.NonReducibleUnknown;
46
46
  };
47
47
  clearError: {
48
48
  type: "clearError";
49
- params: xstate485.NonReducibleUnknown;
49
+ params: xstate808.NonReducibleUnknown;
50
50
  };
51
51
  setStream: {
52
52
  type: "setStream";
53
- params: xstate485.NonReducibleUnknown;
53
+ params: xstate808.NonReducibleUnknown;
54
54
  };
55
55
  setImageAndClearError: {
56
56
  type: "setImageAndClearError";
57
- params: xstate485.NonReducibleUnknown;
57
+ params: xstate808.NonReducibleUnknown;
58
58
  };
59
59
  setProgress: {
60
60
  type: "setProgress";
61
- params: xstate485.NonReducibleUnknown;
61
+ params: xstate808.NonReducibleUnknown;
62
62
  };
63
63
  stopStream: {
64
64
  type: "stopStream";
65
- params: xstate485.NonReducibleUnknown;
65
+ params: xstate808.NonReducibleUnknown;
66
66
  };
67
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "capturing" | "initCamera", string, DocumentUploadInput, xstate485.NonReducibleUnknown, xstate485.EventObject, xstate485.MetaObject, {
67
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate808.NonReducibleUnknown, xstate808.EventObject, xstate808.MetaObject, {
68
68
  readonly id: "documentUpload";
69
69
  readonly initial: "idle";
70
70
  readonly context: ({
@@ -73,67 +73,67 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
73
73
  spawn: {
74
74
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
75
75
  src: "uploadDocument";
76
- logic: xstate485.PromiseActorLogic<void, {
76
+ logic: xstate808.PromiseActorLogic<void, {
77
77
  imageBase64: string;
78
78
  documentType: string;
79
79
  onProgress: (progress: number) => void;
80
- }, xstate485.EventObject>;
80
+ }, xstate808.EventObject>;
81
81
  id: string | undefined;
82
82
  } extends infer T ? T extends {
83
83
  src: "uploadDocument";
84
- logic: xstate485.PromiseActorLogic<void, {
84
+ logic: xstate808.PromiseActorLogic<void, {
85
85
  imageBase64: string;
86
86
  documentType: string;
87
87
  onProgress: (progress: number) => void;
88
- }, xstate485.EventObject>;
88
+ }, xstate808.EventObject>;
89
89
  id: string | undefined;
90
90
  } ? T extends {
91
91
  src: TSrc;
92
- } ? xstate485.ConditionalRequired<[options?: ({
92
+ } ? xstate808.ConditionalRequired<[options?: ({
93
93
  id?: T["id"] | undefined;
94
94
  systemId?: string;
95
- input?: xstate485.InputFrom<T["logic"]> | undefined;
95
+ input?: xstate808.InputFrom<T["logic"]> | undefined;
96
96
  syncSnapshot?: boolean;
97
- } & { [K in xstate485.RequiredActorOptions<T>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredActorOptions<T>>> : never : never : never) | ({
97
+ } & { [K in xstate808.RequiredActorOptions<T>]: unknown }) | undefined], xstate808.IsNotNever<xstate808.RequiredActorOptions<T>>> : never : never : never) | ({
98
98
  src: "initCamera";
99
- logic: xstate485.PromiseActorLogic<MediaStream, void, xstate485.EventObject>;
99
+ logic: xstate808.PromiseActorLogic<MediaStream, void, xstate808.EventObject>;
100
100
  id: string | undefined;
101
101
  } extends infer T_1 ? T_1 extends {
102
102
  src: "initCamera";
103
- logic: xstate485.PromiseActorLogic<MediaStream, void, xstate485.EventObject>;
103
+ logic: xstate808.PromiseActorLogic<MediaStream, void, xstate808.EventObject>;
104
104
  id: string | undefined;
105
105
  } ? T_1 extends {
106
106
  src: TSrc;
107
- } ? xstate485.ConditionalRequired<[options?: ({
107
+ } ? xstate808.ConditionalRequired<[options?: ({
108
108
  id?: T_1["id"] | undefined;
109
109
  systemId?: string;
110
- input?: xstate485.InputFrom<T_1["logic"]> | undefined;
110
+ input?: xstate808.InputFrom<T_1["logic"]> | undefined;
111
111
  syncSnapshot?: boolean;
112
- } & { [K_1 in xstate485.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredActorOptions<T_1>>> : never : never : never)): xstate485.ActorRefFromLogic<xstate485.GetConcreteByKey<xstate485.Values<{
112
+ } & { [K_1 in xstate808.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate808.IsNotNever<xstate808.RequiredActorOptions<T_1>>> : never : never : never)): xstate808.ActorRefFromLogic<xstate808.GetConcreteByKey<xstate808.Values<{
113
113
  uploadDocument: {
114
114
  src: "uploadDocument";
115
- logic: xstate485.PromiseActorLogic<void, {
115
+ logic: xstate808.PromiseActorLogic<void, {
116
116
  imageBase64: string;
117
117
  documentType: string;
118
118
  onProgress: (progress: number) => void;
119
- }, xstate485.EventObject>;
119
+ }, xstate808.EventObject>;
120
120
  id: string | undefined;
121
121
  };
122
122
  initCamera: {
123
123
  src: "initCamera";
124
- logic: xstate485.PromiseActorLogic<MediaStream, void, xstate485.EventObject>;
124
+ logic: xstate808.PromiseActorLogic<MediaStream, void, xstate808.EventObject>;
125
125
  id: string | undefined;
126
126
  };
127
127
  }>, "src", TSrc>["logic"]>;
128
- <TLogic extends xstate485.AnyActorLogic>(src: TLogic, ...[options]: xstate485.ConditionalRequired<[options?: ({
128
+ <TLogic extends xstate808.AnyActorLogic>(src: TLogic, ...[options]: xstate808.ConditionalRequired<[options?: ({
129
129
  id?: never;
130
130
  systemId?: string;
131
- input?: xstate485.InputFrom<TLogic> | undefined;
131
+ input?: xstate808.InputFrom<TLogic> | undefined;
132
132
  syncSnapshot?: boolean;
133
- } & { [K in xstate485.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredLogicInput<TLogic>>>): xstate485.ActorRefFromLogic<TLogic>;
133
+ } & { [K in xstate808.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate808.IsNotNever<xstate808.RequiredLogicInput<TLogic>>>): xstate808.ActorRefFromLogic<TLogic>;
134
134
  };
135
135
  input: DocumentUploadInput;
136
- self: xstate485.ActorRef<xstate485.MachineSnapshot<DocumentUploadContext, {
136
+ self: xstate808.ActorRef<xstate808.MachineSnapshot<DocumentUploadContext, {
137
137
  type: "START";
138
138
  } | {
139
139
  type: "CAPTURE";
@@ -145,7 +145,7 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
145
145
  type: "RETRY";
146
146
  } | {
147
147
  type: "CLOSE";
148
- }, Record<string, xstate485.AnyActorRef | undefined>, xstate485.StateValue, string, unknown, any, any>, {
148
+ }, Record<string, xstate808.AnyActorRef | undefined>, xstate808.StateValue, string, unknown, any, any>, {
149
149
  type: "START";
150
150
  } | {
151
151
  type: "CAPTURE";
@@ -157,7 +157,7 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
157
157
  type: "RETRY";
158
158
  } | {
159
159
  type: "CLOSE";
160
- }, xstate485.AnyEventObject>;
160
+ }, xstate808.AnyEventObject>;
161
161
  }) => {
162
162
  config: DocumentUploadConfig;
163
163
  stream: undefined;
@@ -227,7 +227,7 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
227
227
  } | {
228
228
  type: "CLOSE";
229
229
  };
230
- self: xstate485.ActorRef<xstate485.MachineSnapshot<DocumentUploadContext, {
230
+ self: xstate808.ActorRef<xstate808.MachineSnapshot<DocumentUploadContext, {
231
231
  type: "START";
232
232
  } | {
233
233
  type: "CAPTURE";
@@ -239,7 +239,7 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
239
239
  type: "RETRY";
240
240
  } | {
241
241
  type: "CLOSE";
242
- }, Record<string, xstate485.AnyActorRef>, xstate485.StateValue, string, unknown, any, any>, {
242
+ }, Record<string, xstate808.AnyActorRef>, xstate808.StateValue, string, unknown, any, any>, {
243
243
  type: "START";
244
244
  } | {
245
245
  type: "CAPTURE";
@@ -251,7 +251,7 @@ declare const documentUploadMachine: xstate485.StateMachine<DocumentUploadContex
251
251
  type: "RETRY";
252
252
  } | {
253
253
  type: "CLOSE";
254
- }, xstate485.AnyEventObject>;
254
+ }, xstate808.AnyEventObject>;
255
255
  }) => {
256
256
  imageBase64: string;
257
257
  documentType: string;
@@ -1,11 +1,11 @@
1
1
  import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
4
- import "./platform-BoeUeUrV.esm.js";
4
+ import "./platform-0Ot-bF_a.esm.js";
5
5
  import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
7
7
  import "./ITimerCapability-G7lQg-be.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-POavVKz4.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
9
9
 
10
10
  //#region src/modules/document-upload/documentUploadServices.ts
11
11
  async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
@@ -3,7 +3,7 @@ import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D9lmzFYc.esm.js";
5
5
  import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
6
- import { n as getBackCameraStream } from "./backCameraStream-POavVKz4.esm.js";
6
+ import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
7
7
  import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CaZl9t7f.esm.js";
8
8
 
9
9
  //#region src/modules/document-capture/types.ts
package/dist/ekyb.esm.js CHANGED
@@ -3,18 +3,18 @@ import "./api-DsbUi7TO.esm.js";
3
3
  import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
5
  import "./stats-BVy52wLy.esm.js";
6
- import "./browserSimulation-DFpmweuc.esm.js";
7
- import "./sessionInitializer-CzPdr0Q1.esm.js";
8
- import "./thumbmarkAdapter-CVyiGp0-.esm.js";
9
- import "./platform-BoeUeUrV.esm.js";
6
+ import "./sessionInitializer-C54RAOch.esm.js";
7
+ import "./browserSimulation-CWJhFPZ2.esm.js";
8
+ import "./platform-0Ot-bF_a.esm.js";
9
+ import "./getBrowser-1yNcfFZR.esm.js";
10
10
  import "./tri-CFBjqf5E.esm.js";
11
11
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
12
12
  import "./apiError-DkOXfFBu.esm.js";
13
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-DJ9lWfdc.esm.js";
13
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-nxlJMOLd.esm.js";
14
14
  import "./addressSearch-B9iJdbn8.esm.js";
15
15
  import "./session-BWCjVIr6.esm.js";
16
16
  import "./videoSelfieSteps-C6E7mKFt.esm.js";
17
- import "./flowServices-DTQUals9.esm.js";
17
+ import "./flowServices-B-U4LBEz.esm.js";
18
18
 
19
19
  //#region src/modules/ekyb/ekybActor.ts
20
20
  /**
@@ -2,7 +2,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
4
4
  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-B9iJdbn8.esm.js";
5
- import { t as getFlow } from "./flowServices-DTQUals9.esm.js";
5
+ import { t as getFlow } from "./flowServices-B-U4LBEz.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
@@ -1,5 +1,5 @@
1
1
  import "./StateMachine-20ahmASR.js";
2
2
  import "./Manager-BfBOhrjh.js";
3
3
  import "./Actor-DYjXVMQm.js";
4
- 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-BgJYOyFO.js";
4
+ 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-DzfsIaNl.js";
5
5
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -19,18 +19,18 @@ import "./StreamCanvasCapture-DHDxv6hH.js";
19
19
  import "./deepsightService-CbaqT7bP.js";
20
20
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CXmUuCSV.js";
21
21
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BnAY9lOO.js";
22
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BuiDVAGn.js";
23
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-D_cnGuB7.js";
22
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-mc7QdTMo.js";
23
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-zBticiCF.js";
24
24
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CJdVrCex.js";
25
25
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-B_4qA_CB.js";
26
26
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CTOXMlVd.js";
27
27
  import "./otp-CETbFjXH.js";
28
28
  import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-58R91WU3.js";
29
29
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-CG1vTJiG.js";
30
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BlJpsh9U.js";
30
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CM-Jjztz.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-BOEgiOw_.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Da8pFx0L.js";
33
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CDIHkP-v.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-D6UNv_fb.js";
33
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BPrIg5Np.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-D7U9k-Xs.js";
35
35
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-B3lahU1a.js";
36
36
 
@@ -4,39 +4,39 @@ import "./api-DsbUi7TO.esm.js";
4
4
  import "./events-1wxZ97yf.esm.js";
5
5
  import "./endpoints-CwrFQfW7.esm.js";
6
6
  import "./stats-BVy52wLy.esm.js";
7
- import "./browserSimulation-DFpmweuc.esm.js";
8
- import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-CzPdr0Q1.esm.js";
9
- import "./thumbmarkAdapter-CVyiGp0-.esm.js";
10
- import "./platform-BoeUeUrV.esm.js";
7
+ import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-C54RAOch.esm.js";
8
+ import "./browserSimulation-CWJhFPZ2.esm.js";
9
+ import "./platform-0Ot-bF_a.esm.js";
10
+ import "./getBrowser-1yNcfFZR.esm.js";
11
11
  import "./tri-CFBjqf5E.esm.js";
12
12
  import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
13
13
  import "./urlUtils-CpiYwn7w.esm.js";
14
14
  import "./apiError-DkOXfFBu.esm.js";
15
15
  import "./antifraudStateMachine-BQVw46N5.esm.js";
16
16
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-5KA84wtF.esm.js";
17
- import { t as faceCaptureMachine } from "./faceCaptureSetup-jYJNhw2K.esm.js";
17
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Cj5StqIj.esm.js";
18
18
  import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
19
19
  import "./MotionSensorProvider-BkHKMCPE.esm.js";
20
20
  import "./permissionServices-D9lmzFYc.esm.js";
21
21
  import "./camera-B0yWS33x.esm.js";
22
- import "./faceCaptureManagerFactory-bJiqzRoj.esm.js";
22
+ import "./faceCaptureManagerFactory-CzKGFnko.esm.js";
23
23
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
24
- import "./onDeviceFaceResults-BdfKrQrf.esm.js";
24
+ import "./onDeviceFaceResults-sz7Ixft7.esm.js";
25
25
  import "./ITimerCapability-G7lQg-be.esm.js";
26
26
  import "./canvas-DsJa51yU.esm.js";
27
- import "./backCameraStream-POavVKz4.esm.js";
27
+ import "./backCameraStream-Cz2EvzSR.esm.js";
28
28
  import "./video-DXf5H9rY.esm.js";
29
29
  import "./getDeviceClass-BdgmyOOu.esm.js";
30
- import "./deepsightService-BsLpJT8o.esm.js";
30
+ import "./deepsightService-DU9yBWg_.esm.js";
31
31
  import "./getDeviceClass-QxbJwsOO.esm.js";
32
32
  import "./types-Db2ooXIu.esm.js";
33
33
  import "./createFaceAvatar-CpmQJA8E.esm.js";
34
34
  import "./StreamCanvasCapture-CRk7c7u7.esm.js";
35
35
  import "./permissionGuards-CaZl9t7f.esm.js";
36
- import "./recordingService-B5QNBYnv.esm.js";
37
- import "./mediaRecorderOptions-BIn657lu.esm.js";
38
- import "./authenticationStateMachine-D50Q6Nvp.esm.js";
39
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BnPgoiL_.esm.js";
36
+ import "./recordingService-C49IUSu_.esm.js";
37
+ import "./mediaRecorderOptions-DuYelylE.esm.js";
38
+ import "./authenticationStateMachine-PRBkRdGA.esm.js";
39
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-7J-EmPRB.esm.js";
40
40
  import "./consentStateMachine-DnqwsZ7o.esm.js";
41
41
  import { n as createConsentManagerFromActor } from "./consentManager-DL93cPSU.esm.js";
42
42
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-BW8wlEU_.esm.js";
@@ -50,11 +50,11 @@ import "./session-BWCjVIr6.esm.js";
50
50
  import "./emailStateMachine-Bk4pkysV.esm.js";
51
51
  import "./otp-DepQPUIA.esm.js";
52
52
  import { n as createEmailManagerFromActor } from "./emailManager-C9O7k0-m.esm.js";
53
- import "./selfieStateMachine-DUruCKBS.esm.js";
54
- import { n as createSelfieManagerFromActor } from "./selfieManager-Cw29cKuL.esm.js";
55
- import "./idCaptureStateMachine-BFMIWmBu.esm.js";
53
+ import "./selfieStateMachine-n7bnt0gx.esm.js";
54
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BpeRqH4P.esm.js";
55
+ import "./idCaptureStateMachine-yJYkHYD0.esm.js";
56
56
  import "./idCaptureDefaults-DJmo-U3D.esm.js";
57
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cd7THjha.esm.js";
57
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Bf48zlCL.esm.js";
58
58
  import "./phoneStateMachine-MqNDf1Nh.esm.js";
59
59
  import { n as createPhoneManagerFromActor } from "./phoneManager-DNTrIq-D.esm.js";
60
60
  import "./identityReuseStateMachine-Do_M-z6z.esm.js";
@@ -66,8 +66,8 @@ import "./idOcrStateMachine-CGeY01rX.esm.js";
66
66
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-CiEzYor8.esm.js";
67
67
  import "./redirectToMobileStateMachine-WVg-n2is.esm.js";
68
68
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DuD03ggR.esm.js";
69
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-CVKUo6a4.esm.js";
70
- import "./geolocationStateMachine-CdYh-pwi.esm.js";
69
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Dmbh6TXA.esm.js";
70
+ import "./geolocationStateMachine-BRLIXR1x.esm.js";
71
71
 
72
72
  //#region src/internal/fingerprint/fingerprintApi.ts
73
73
  async function getFingerprint(disableIpify) {
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
2
2
  import { l as createManager } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { n as concealmentToAvatar } from "./faceCaptureSetup-jYJNhw2K.esm.js";
3
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-Cj5StqIj.esm.js";
4
4
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
5
5
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D9lmzFYc.esm.js";
6
6
 
@@ -1,12 +1,12 @@
1
1
  import { r as getToken } from "./api-DsbUi7TO.esm.js";
2
2
  import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
3
3
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D9lmzFYc.esm.js";
4
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BdfKrQrf.esm.js";
4
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-sz7Ixft7.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
6
6
  import { t as createFaceAvatar } from "./createFaceAvatar-CpmQJA8E.esm.js";
7
7
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
8
8
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CaZl9t7f.esm.js";
9
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-B5QNBYnv.esm.js";
9
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-C49IUSu_.esm.js";
10
10
 
11
11
  //#region src/internal/avatar/concealment.ts
12
12
  /**
@@ -2,12 +2,12 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.j
2
2
  import { t as api } from "./api-DsbUi7TO.esm.js";
3
3
  import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
5
- import "./platform-BoeUeUrV.esm.js";
5
+ import "./platform-0Ot-bF_a.esm.js";
6
6
  import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
7
7
  import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
8
8
  import "./ITimerCapability-G7lQg-be.esm.js";
9
9
  import "./canvas-DsJa51yU.esm.js";
10
- import { n as getBackCameraStream } from "./backCameraStream-POavVKz4.esm.js";
10
+ import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
11
11
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
12
12
  import "./http-CBbBcnBa.esm.js";
13
13
  import { BrowserQRCodeReader } from "@zxing/browser";
package/dist/flow.d.ts CHANGED
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Cyi3g
10
10
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-nF7e8At0.js";
11
11
  import { o as FlowEventSubscribable } from "./index-CVgIGwUy.js";
12
12
  import { n as ModuleRegistry } from "./types-CRPns2d9.js";
13
- import * as xstate880 from "xstate";
13
+ import * as xstate1253 from "xstate";
14
14
 
15
15
  //#region src/modules/flow/flowUtils.d.ts
16
16
  type NormalizeFlowModulesOptions = {
@@ -62,7 +62,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
62
62
  declare const getFlow: GetFlow;
63
63
  //#endregion
64
64
  //#region src/modules/flow/noOpFlowModuleMachine.d.ts
65
- declare const noOpFlowModuleMachine: xstate880.StateMachine<xstate880.MachineContext, xstate880.AnyEventObject, {}, never, never, never, never, "finished", string, xstate880.NonReducibleUnknown, xstate880.NonReducibleUnknown, xstate880.EventObject, xstate880.MetaObject, {
65
+ declare const noOpFlowModuleMachine: xstate1253.StateMachine<xstate1253.MachineContext, xstate1253.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1253.NonReducibleUnknown, xstate1253.NonReducibleUnknown, xstate1253.EventObject, xstate1253.MetaObject, {
66
66
  readonly id: "noOpFlowModule";
67
67
  readonly initial: "finished";
68
68
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -3,17 +3,17 @@ import "./api-DsbUi7TO.esm.js";
3
3
  import { g as addEvent } from "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
5
  import "./stats-BVy52wLy.esm.js";
6
- import "./browserSimulation-DFpmweuc.esm.js";
7
- import "./sessionInitializer-CzPdr0Q1.esm.js";
8
- import "./thumbmarkAdapter-CVyiGp0-.esm.js";
9
- import "./platform-BoeUeUrV.esm.js";
6
+ import "./sessionInitializer-C54RAOch.esm.js";
7
+ import "./browserSimulation-CWJhFPZ2.esm.js";
8
+ import "./platform-0Ot-bF_a.esm.js";
9
+ import "./getBrowser-1yNcfFZR.esm.js";
10
10
  import "./tri-CFBjqf5E.esm.js";
11
11
  import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
12
12
  import "./apiError-DkOXfFBu.esm.js";
13
13
  import "./types-Db2ooXIu.esm.js";
14
14
  import "./session-BWCjVIr6.esm.js";
15
15
  import "./videoSelfieSteps-C6E7mKFt.esm.js";
16
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DTQUals9.esm.js";
16
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-B-U4LBEz.esm.js";
17
17
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BDcDfyoA.esm.js";
18
18
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-XHWWqs39.esm.js";
19
19
 
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CzPdr0Q1.esm.js";
3
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-C54RAOch.esm.js";
4
4
  import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
5
5
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-C6E7mKFt.esm.js";
6
6
 
@@ -1,9 +1,9 @@
1
1
  import "./api-DsbUi7TO.esm.js";
2
2
  import "./events-1wxZ97yf.esm.js";
3
3
  import "./endpoints-CwrFQfW7.esm.js";
4
- import "./platform-BoeUeUrV.esm.js";
4
+ import "./platform-0Ot-bF_a.esm.js";
5
5
  import "./xstate.esm-nY3M5UYm.esm.js";
6
- import { t as createGeolocationManager } from "./geolocationManager-CVKUo6a4.esm.js";
7
- import { t as geolocationMachine } from "./geolocationStateMachine-CdYh-pwi.esm.js";
6
+ import { t as createGeolocationManager } from "./geolocationManager-Dmbh6TXA.esm.js";
7
+ import { t as geolocationMachine } from "./geolocationStateMachine-BRLIXR1x.esm.js";
8
8
 
9
9
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
2
2
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-CdYh-pwi.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-BRLIXR1x.esm.js";
4
4
 
5
5
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
6
6
  var BrowserGeolocationProvider = class {
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { r as isIOS, t as isAndroid } from "./platform-BoeUeUrV.esm.js";
3
+ import { r as isIOS, t as isAndroid } from "./platform-0Ot-bF_a.esm.js";
4
4
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
5
5
 
6
6
  //#region src/modules/geolocation/geolocationServices.ts
@@ -0,0 +1,8 @@
1
+ //#region ../infra/src/device/getBrowser.ts
2
+ function getUserAgent() {
3
+ if (typeof navigator === "undefined") return "";
4
+ return navigator.userAgent;
5
+ }
6
+
7
+ //#endregion
8
+ export { getUserAgent as t };
package/dist/home.d.ts CHANGED
@@ -6,7 +6,7 @@ import "./types-CTnn7kUK.js";
6
6
  import "./canvas-pLrXU1id.js";
7
7
  import "./createFaceAvatar-DNMSIcRb.js";
8
8
  import { t as EmptyConfig } from "./types-Cyi3gwPK.js";
9
- import * as xstate188 from "xstate";
9
+ import * as xstate0 from "xstate";
10
10
 
11
11
  //#region src/modules/home/types.d.ts
12
12
  type HomeConfig = EmptyConfig;
@@ -38,41 +38,41 @@ type HomeContext = {
38
38
  type HomeInput = {
39
39
  config: EmptyConfig;
40
40
  };
41
- declare const homeMachine: xstate188.StateMachine<HomeContext, {
41
+ declare const homeMachine: xstate0.StateMachine<HomeContext, {
42
42
  type: "LOAD";
43
43
  } | {
44
44
  type: "COMPLETE";
45
45
  } | {
46
46
  type: "RESET";
47
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate188.NonReducibleUnknown, xstate188.EventObject, xstate188.MetaObject, {
47
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
48
48
  readonly id: "home";
49
49
  readonly initial: "idle";
50
50
  readonly context: ({
51
51
  input
52
52
  }: {
53
53
  spawn: {
54
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate188.ActorRefFromLogic<never>;
55
- <TLogic extends xstate188.AnyActorLogic>(src: TLogic, ...[options]: xstate188.ConditionalRequired<[options?: ({
54
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate0.ActorRefFromLogic<never>;
55
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
56
56
  id?: never;
57
57
  systemId?: string;
58
- input?: xstate188.InputFrom<TLogic> | undefined;
58
+ input?: xstate0.InputFrom<TLogic> | undefined;
59
59
  syncSnapshot?: boolean;
60
- } & { [K in xstate188.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate188.IsNotNever<xstate188.RequiredLogicInput<TLogic>>>): xstate188.ActorRefFromLogic<TLogic>;
60
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
61
61
  };
62
62
  input: HomeInput;
63
- self: xstate188.ActorRef<xstate188.MachineSnapshot<HomeContext, {
63
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<HomeContext, {
64
64
  type: "LOAD";
65
65
  } | {
66
66
  type: "COMPLETE";
67
67
  } | {
68
68
  type: "RESET";
69
- }, Record<string, xstate188.AnyActorRef | undefined>, xstate188.StateValue, string, unknown, any, any>, {
69
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
70
70
  type: "LOAD";
71
71
  } | {
72
72
  type: "COMPLETE";
73
73
  } | {
74
74
  type: "RESET";
75
- }, xstate188.AnyEventObject>;
75
+ }, xstate0.AnyEventObject>;
76
76
  }) => {
77
77
  config: EmptyConfig;
78
78
  };
package/dist/id-ocr.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./StateMachine-20ahmASR.js";
2
2
  import "./Manager-BfBOhrjh.js";
3
3
  import "./Actor-DYjXVMQm.js";
4
- import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-CDIHkP-v.js";
4
+ import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-BPrIg5Np.js";
5
5
 
6
6
  //#region src/modules/id-ocr/idOcrFields.d.ts
7
7
  declare const OCR_FIELDS: OcrFieldConfig[];