@incodetech/core 0.0.0-dev-20260331-55774da → 0.0.0-dev-20260331-b713a7b

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.
package/dist/consent.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { f as Manager } from "./index-BTaLQSj9.js";
2
- import * as xstate140 from "xstate";
2
+ import * as xstate417 from "xstate";
3
3
 
4
4
  //#region src/modules/consent/types.d.ts
5
5
  type ConsentConfig = {
@@ -35,7 +35,7 @@ type ConsentContext = {
35
35
  type ConsentInput = {
36
36
  config: ConsentConfig;
37
37
  };
38
- declare const consentMachine: xstate140.StateMachine<ConsentContext, {
38
+ declare const consentMachine: xstate417.StateMachine<ConsentContext, {
39
39
  type: "LOAD";
40
40
  } | {
41
41
  type: "TOGGLE_CHECKBOX";
@@ -47,53 +47,53 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
47
47
  } | {
48
48
  type: "RESET";
49
49
  }, {
50
- [x: string]: xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<FetchCombinedConsentResponse, {
50
+ [x: string]: xstate417.ActorRefFromLogic<xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
51
51
  consentId: string;
52
- }, xstate140.EventObject>> | xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<void, {
52
+ }, xstate417.EventObject>> | xstate417.ActorRefFromLogic<xstate417.PromiseActorLogic<void, {
53
53
  languageConsentId: string;
54
54
  checkboxes: ConsentCheckbox[];
55
- }, xstate140.EventObject>> | undefined;
56
- }, xstate140.Values<{
55
+ }, xstate417.EventObject>> | undefined;
56
+ }, xstate417.Values<{
57
57
  fetchConsent: {
58
58
  src: "fetchConsent";
59
- logic: xstate140.PromiseActorLogic<FetchCombinedConsentResponse, {
59
+ logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
60
60
  consentId: string;
61
- }, xstate140.EventObject>;
61
+ }, xstate417.EventObject>;
62
62
  id: string | undefined;
63
63
  };
64
64
  submitConsent: {
65
65
  src: "submitConsent";
66
- logic: xstate140.PromiseActorLogic<void, {
66
+ logic: xstate417.PromiseActorLogic<void, {
67
67
  languageConsentId: string;
68
68
  checkboxes: ConsentCheckbox[];
69
- }, xstate140.EventObject>;
69
+ }, xstate417.EventObject>;
70
70
  id: string | undefined;
71
71
  };
72
- }>, xstate140.Values<{
72
+ }>, xstate417.Values<{
73
73
  clearError: {
74
74
  type: "clearError";
75
- params: xstate140.NonReducibleUnknown;
75
+ params: xstate417.NonReducibleUnknown;
76
76
  };
77
77
  setError: {
78
78
  type: "setError";
79
- params: xstate140.NonReducibleUnknown;
79
+ params: xstate417.NonReducibleUnknown;
80
80
  };
81
81
  resetContext: {
82
82
  type: "resetContext";
83
- params: xstate140.NonReducibleUnknown;
83
+ params: xstate417.NonReducibleUnknown;
84
84
  };
85
85
  setConsentData: {
86
86
  type: "setConsentData";
87
- params: xstate140.NonReducibleUnknown;
87
+ params: xstate417.NonReducibleUnknown;
88
88
  };
89
89
  toggleCheckbox: {
90
90
  type: "toggleCheckbox";
91
- params: xstate140.NonReducibleUnknown;
91
+ params: xstate417.NonReducibleUnknown;
92
92
  };
93
93
  }>, {
94
94
  type: "canSubmit";
95
95
  params: unknown;
96
- }, never, "error" | "finished" | "idle" | "loading" | "display" | "submitting", string, ConsentInput, xstate140.NonReducibleUnknown, xstate140.EventObject, xstate140.MetaObject, {
96
+ }, never, "error" | "finished" | "idle" | "loading" | "display" | "submitting", string, ConsentInput, xstate417.NonReducibleUnknown, xstate417.EventObject, xstate417.MetaObject, {
97
97
  readonly id: "consent";
98
98
  readonly initial: "idle";
99
99
  readonly context: ({
@@ -102,70 +102,70 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
102
102
  spawn: {
103
103
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
104
104
  src: "fetchConsent";
105
- logic: xstate140.PromiseActorLogic<FetchCombinedConsentResponse, {
105
+ logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
106
106
  consentId: string;
107
- }, xstate140.EventObject>;
107
+ }, xstate417.EventObject>;
108
108
  id: string | undefined;
109
109
  } extends infer T ? T extends {
110
110
  src: "fetchConsent";
111
- logic: xstate140.PromiseActorLogic<FetchCombinedConsentResponse, {
111
+ logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
112
112
  consentId: string;
113
- }, xstate140.EventObject>;
113
+ }, xstate417.EventObject>;
114
114
  id: string | undefined;
115
115
  } ? T extends {
116
116
  src: TSrc;
117
- } ? xstate140.ConditionalRequired<[options?: ({
117
+ } ? xstate417.ConditionalRequired<[options?: ({
118
118
  id?: T["id"] | undefined;
119
119
  systemId?: string;
120
- input?: xstate140.InputFrom<T["logic"]> | undefined;
120
+ input?: xstate417.InputFrom<T["logic"]> | undefined;
121
121
  syncSnapshot?: boolean;
122
- } & { [K in xstate140.RequiredActorOptions<T>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T>>> : never : never : never) | ({
122
+ } & { [K in xstate417.RequiredActorOptions<T>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredActorOptions<T>>> : never : never : never) | ({
123
123
  src: "submitConsent";
124
- logic: xstate140.PromiseActorLogic<void, {
124
+ logic: xstate417.PromiseActorLogic<void, {
125
125
  languageConsentId: string;
126
126
  checkboxes: ConsentCheckbox[];
127
- }, xstate140.EventObject>;
127
+ }, xstate417.EventObject>;
128
128
  id: string | undefined;
129
129
  } extends infer T_1 ? T_1 extends {
130
130
  src: "submitConsent";
131
- logic: xstate140.PromiseActorLogic<void, {
131
+ logic: xstate417.PromiseActorLogic<void, {
132
132
  languageConsentId: string;
133
133
  checkboxes: ConsentCheckbox[];
134
- }, xstate140.EventObject>;
134
+ }, xstate417.EventObject>;
135
135
  id: string | undefined;
136
136
  } ? T_1 extends {
137
137
  src: TSrc;
138
- } ? xstate140.ConditionalRequired<[options?: ({
138
+ } ? xstate417.ConditionalRequired<[options?: ({
139
139
  id?: T_1["id"] | undefined;
140
140
  systemId?: string;
141
- input?: xstate140.InputFrom<T_1["logic"]> | undefined;
141
+ input?: xstate417.InputFrom<T_1["logic"]> | undefined;
142
142
  syncSnapshot?: boolean;
143
- } & { [K_1 in xstate140.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T_1>>> : never : never : never)): xstate140.ActorRefFromLogic<xstate140.GetConcreteByKey<xstate140.Values<{
143
+ } & { [K_1 in xstate417.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredActorOptions<T_1>>> : never : never : never)): xstate417.ActorRefFromLogic<xstate417.GetConcreteByKey<xstate417.Values<{
144
144
  fetchConsent: {
145
145
  src: "fetchConsent";
146
- logic: xstate140.PromiseActorLogic<FetchCombinedConsentResponse, {
146
+ logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
147
147
  consentId: string;
148
- }, xstate140.EventObject>;
148
+ }, xstate417.EventObject>;
149
149
  id: string | undefined;
150
150
  };
151
151
  submitConsent: {
152
152
  src: "submitConsent";
153
- logic: xstate140.PromiseActorLogic<void, {
153
+ logic: xstate417.PromiseActorLogic<void, {
154
154
  languageConsentId: string;
155
155
  checkboxes: ConsentCheckbox[];
156
- }, xstate140.EventObject>;
156
+ }, xstate417.EventObject>;
157
157
  id: string | undefined;
158
158
  };
159
159
  }>, "src", TSrc>["logic"]>;
160
- <TLogic extends xstate140.AnyActorLogic>(src: TLogic, ...[options]: xstate140.ConditionalRequired<[options?: ({
160
+ <TLogic extends xstate417.AnyActorLogic>(src: TLogic, ...[options]: xstate417.ConditionalRequired<[options?: ({
161
161
  id?: never;
162
162
  systemId?: string;
163
- input?: xstate140.InputFrom<TLogic> | undefined;
163
+ input?: xstate417.InputFrom<TLogic> | undefined;
164
164
  syncSnapshot?: boolean;
165
- } & { [K in xstate140.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredLogicInput<TLogic>>>): xstate140.ActorRefFromLogic<TLogic>;
165
+ } & { [K in xstate417.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredLogicInput<TLogic>>>): xstate417.ActorRefFromLogic<TLogic>;
166
166
  };
167
167
  input: ConsentInput;
168
- self: xstate140.ActorRef<xstate140.MachineSnapshot<ConsentContext, {
168
+ self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
169
169
  type: "LOAD";
170
170
  } | {
171
171
  type: "TOGGLE_CHECKBOX";
@@ -176,7 +176,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
176
176
  type: "RETRY";
177
177
  } | {
178
178
  type: "RESET";
179
- }, Record<string, xstate140.AnyActorRef | undefined>, xstate140.StateValue, string, unknown, any, any>, {
179
+ }, Record<string, xstate417.AnyActorRef | undefined>, xstate417.StateValue, string, unknown, any, any>, {
180
180
  type: "LOAD";
181
181
  } | {
182
182
  type: "TOGGLE_CHECKBOX";
@@ -187,7 +187,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
187
187
  type: "RETRY";
188
188
  } | {
189
189
  type: "RESET";
190
- }, xstate140.AnyEventObject>;
190
+ }, xstate417.AnyEventObject>;
191
191
  }) => {
192
192
  config: ConsentConfig;
193
193
  title: string;
@@ -225,7 +225,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
225
225
  } | {
226
226
  type: "RESET";
227
227
  };
228
- self: xstate140.ActorRef<xstate140.MachineSnapshot<ConsentContext, {
228
+ self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
229
229
  type: "LOAD";
230
230
  } | {
231
231
  type: "TOGGLE_CHECKBOX";
@@ -236,7 +236,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "RESET";
239
- }, Record<string, xstate140.AnyActorRef>, xstate140.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate417.AnyActorRef>, xstate417.StateValue, string, unknown, any, any>, {
240
240
  type: "LOAD";
241
241
  } | {
242
242
  type: "TOGGLE_CHECKBOX";
@@ -247,7 +247,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
247
247
  type: "RETRY";
248
248
  } | {
249
249
  type: "RESET";
250
- }, xstate140.AnyEventObject>;
250
+ }, xstate417.AnyEventObject>;
251
251
  }) => {
252
252
  consentId: string;
253
253
  };
@@ -296,7 +296,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
296
296
  } | {
297
297
  type: "RESET";
298
298
  };
299
- self: xstate140.ActorRef<xstate140.MachineSnapshot<ConsentContext, {
299
+ self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
300
300
  type: "LOAD";
301
301
  } | {
302
302
  type: "TOGGLE_CHECKBOX";
@@ -307,7 +307,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
307
307
  type: "RETRY";
308
308
  } | {
309
309
  type: "RESET";
310
- }, Record<string, xstate140.AnyActorRef>, xstate140.StateValue, string, unknown, any, any>, {
310
+ }, Record<string, xstate417.AnyActorRef>, xstate417.StateValue, string, unknown, any, any>, {
311
311
  type: "LOAD";
312
312
  } | {
313
313
  type: "TOGGLE_CHECKBOX";
@@ -318,7 +318,7 @@ declare const consentMachine: xstate140.StateMachine<ConsentContext, {
318
318
  type: "RETRY";
319
319
  } | {
320
320
  type: "RESET";
321
- }, xstate140.AnyEventObject>;
321
+ }, xstate417.AnyEventObject>;
322
322
  }) => {
323
323
  languageConsentId: string;
324
324
  checkboxes: ConsentCheckbox[];
@@ -1,9 +1,9 @@
1
1
  import { f as Manager } from "./index-BTaLQSj9.js";
2
2
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-oveF7RrS.js";
3
- import * as xstate208 from "xstate";
3
+ import * as xstate140 from "xstate";
4
4
 
5
5
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
6
- declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContext, {
6
+ declare const documentUploadMachine: xstate140.StateMachine<DocumentUploadContext, {
7
7
  type: "START";
8
8
  } | {
9
9
  type: "CAPTURE";
@@ -16,52 +16,52 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
16
16
  } | {
17
17
  type: "CLOSE";
18
18
  }, {
19
- [x: string]: xstate208.ActorRefFromLogic<xstate208.PromiseActorLogic<MediaStream, void, xstate208.EventObject>> | xstate208.ActorRefFromLogic<xstate208.PromiseActorLogic<void, {
19
+ [x: string]: xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>> | xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<void, {
20
20
  imageBase64: string;
21
21
  documentType: string;
22
22
  onProgress: (progress: number) => void;
23
- }, xstate208.EventObject>> | undefined;
24
- }, xstate208.Values<{
23
+ }, xstate140.EventObject>> | undefined;
24
+ }, xstate140.Values<{
25
25
  initCamera: {
26
26
  src: "initCamera";
27
- logic: xstate208.PromiseActorLogic<MediaStream, void, xstate208.EventObject>;
27
+ logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
28
28
  id: string | undefined;
29
29
  };
30
30
  uploadDocument: {
31
31
  src: "uploadDocument";
32
- logic: xstate208.PromiseActorLogic<void, {
32
+ logic: xstate140.PromiseActorLogic<void, {
33
33
  imageBase64: string;
34
34
  documentType: string;
35
35
  onProgress: (progress: number) => void;
36
- }, xstate208.EventObject>;
36
+ }, xstate140.EventObject>;
37
37
  id: string | undefined;
38
38
  };
39
- }>, xstate208.Values<{
39
+ }>, xstate140.Values<{
40
40
  setStream: {
41
41
  type: "setStream";
42
- params: xstate208.NonReducibleUnknown;
42
+ params: xstate140.NonReducibleUnknown;
43
43
  };
44
44
  setProgress: {
45
45
  type: "setProgress";
46
- params: xstate208.NonReducibleUnknown;
46
+ params: xstate140.NonReducibleUnknown;
47
47
  };
48
48
  clearError: {
49
49
  type: "clearError";
50
- params: xstate208.NonReducibleUnknown;
50
+ params: xstate140.NonReducibleUnknown;
51
51
  };
52
52
  stopStream: {
53
53
  type: "stopStream";
54
- params: xstate208.NonReducibleUnknown;
54
+ params: xstate140.NonReducibleUnknown;
55
55
  };
56
56
  setError: {
57
57
  type: "setError";
58
- params: xstate208.NonReducibleUnknown;
58
+ params: xstate140.NonReducibleUnknown;
59
59
  };
60
60
  setImageAndClearError: {
61
61
  type: "setImageAndClearError";
62
- params: xstate208.NonReducibleUnknown;
62
+ params: xstate140.NonReducibleUnknown;
63
63
  };
64
- }>, never, never, "error" | "initCamera" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput, xstate208.NonReducibleUnknown, xstate208.EventObject, xstate208.MetaObject, {
64
+ }>, never, never, "initCamera" | "error" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput, xstate140.NonReducibleUnknown, xstate140.EventObject, xstate140.MetaObject, {
65
65
  readonly id: "documentUpload";
66
66
  readonly initial: "idle";
67
67
  readonly context: ({
@@ -70,67 +70,67 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
70
70
  spawn: {
71
71
  <TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
72
72
  src: "initCamera";
73
- logic: xstate208.PromiseActorLogic<MediaStream, void, xstate208.EventObject>;
73
+ logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
74
74
  id: string | undefined;
75
75
  } extends infer T ? T extends {
76
76
  src: "initCamera";
77
- logic: xstate208.PromiseActorLogic<MediaStream, void, xstate208.EventObject>;
77
+ logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
78
78
  id: string | undefined;
79
79
  } ? T extends {
80
80
  src: TSrc;
81
- } ? xstate208.ConditionalRequired<[options?: ({
81
+ } ? xstate140.ConditionalRequired<[options?: ({
82
82
  id?: T["id"] | undefined;
83
83
  systemId?: string;
84
- input?: xstate208.InputFrom<T["logic"]> | undefined;
84
+ input?: xstate140.InputFrom<T["logic"]> | undefined;
85
85
  syncSnapshot?: boolean;
86
- } & { [K in xstate208.RequiredActorOptions<T>]: unknown }) | undefined], xstate208.IsNotNever<xstate208.RequiredActorOptions<T>>> : never : never : never) | ({
86
+ } & { [K in xstate140.RequiredActorOptions<T>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T>>> : never : never : never) | ({
87
87
  src: "uploadDocument";
88
- logic: xstate208.PromiseActorLogic<void, {
88
+ logic: xstate140.PromiseActorLogic<void, {
89
89
  imageBase64: string;
90
90
  documentType: string;
91
91
  onProgress: (progress: number) => void;
92
- }, xstate208.EventObject>;
92
+ }, xstate140.EventObject>;
93
93
  id: string | undefined;
94
94
  } extends infer T_1 ? T_1 extends {
95
95
  src: "uploadDocument";
96
- logic: xstate208.PromiseActorLogic<void, {
96
+ logic: xstate140.PromiseActorLogic<void, {
97
97
  imageBase64: string;
98
98
  documentType: string;
99
99
  onProgress: (progress: number) => void;
100
- }, xstate208.EventObject>;
100
+ }, xstate140.EventObject>;
101
101
  id: string | undefined;
102
102
  } ? T_1 extends {
103
103
  src: TSrc;
104
- } ? xstate208.ConditionalRequired<[options?: ({
104
+ } ? xstate140.ConditionalRequired<[options?: ({
105
105
  id?: T_1["id"] | undefined;
106
106
  systemId?: string;
107
- input?: xstate208.InputFrom<T_1["logic"]> | undefined;
107
+ input?: xstate140.InputFrom<T_1["logic"]> | undefined;
108
108
  syncSnapshot?: boolean;
109
- } & { [K_1 in xstate208.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate208.IsNotNever<xstate208.RequiredActorOptions<T_1>>> : never : never : never)): xstate208.ActorRefFromLogic<xstate208.GetConcreteByKey<xstate208.Values<{
109
+ } & { [K_1 in xstate140.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T_1>>> : never : never : never)): xstate140.ActorRefFromLogic<xstate140.GetConcreteByKey<xstate140.Values<{
110
110
  initCamera: {
111
111
  src: "initCamera";
112
- logic: xstate208.PromiseActorLogic<MediaStream, void, xstate208.EventObject>;
112
+ logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
113
113
  id: string | undefined;
114
114
  };
115
115
  uploadDocument: {
116
116
  src: "uploadDocument";
117
- logic: xstate208.PromiseActorLogic<void, {
117
+ logic: xstate140.PromiseActorLogic<void, {
118
118
  imageBase64: string;
119
119
  documentType: string;
120
120
  onProgress: (progress: number) => void;
121
- }, xstate208.EventObject>;
121
+ }, xstate140.EventObject>;
122
122
  id: string | undefined;
123
123
  };
124
124
  }>, "src", TSrc>["logic"]>;
125
- <TLogic extends xstate208.AnyActorLogic>(src: TLogic, ...[options]: xstate208.ConditionalRequired<[options?: ({
125
+ <TLogic extends xstate140.AnyActorLogic>(src: TLogic, ...[options]: xstate140.ConditionalRequired<[options?: ({
126
126
  id?: never;
127
127
  systemId?: string;
128
- input?: xstate208.InputFrom<TLogic> | undefined;
128
+ input?: xstate140.InputFrom<TLogic> | undefined;
129
129
  syncSnapshot?: boolean;
130
- } & { [K in xstate208.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate208.IsNotNever<xstate208.RequiredLogicInput<TLogic>>>): xstate208.ActorRefFromLogic<TLogic>;
130
+ } & { [K in xstate140.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredLogicInput<TLogic>>>): xstate140.ActorRefFromLogic<TLogic>;
131
131
  };
132
132
  input: DocumentUploadInput;
133
- self: xstate208.ActorRef<xstate208.MachineSnapshot<DocumentUploadContext, {
133
+ self: xstate140.ActorRef<xstate140.MachineSnapshot<DocumentUploadContext, {
134
134
  type: "START";
135
135
  } | {
136
136
  type: "CAPTURE";
@@ -142,7 +142,7 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
142
142
  type: "RETRY";
143
143
  } | {
144
144
  type: "CLOSE";
145
- }, Record<string, xstate208.AnyActorRef | undefined>, xstate208.StateValue, string, unknown, any, any>, {
145
+ }, Record<string, xstate140.AnyActorRef | undefined>, xstate140.StateValue, string, unknown, any, any>, {
146
146
  type: "START";
147
147
  } | {
148
148
  type: "CAPTURE";
@@ -154,7 +154,7 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
154
154
  type: "RETRY";
155
155
  } | {
156
156
  type: "CLOSE";
157
- }, xstate208.AnyEventObject>;
157
+ }, xstate140.AnyEventObject>;
158
158
  }) => {
159
159
  config: DocumentUploadConfig;
160
160
  stream: undefined;
@@ -224,7 +224,7 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
224
224
  } | {
225
225
  type: "CLOSE";
226
226
  };
227
- self: xstate208.ActorRef<xstate208.MachineSnapshot<DocumentUploadContext, {
227
+ self: xstate140.ActorRef<xstate140.MachineSnapshot<DocumentUploadContext, {
228
228
  type: "START";
229
229
  } | {
230
230
  type: "CAPTURE";
@@ -236,7 +236,7 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "CLOSE";
239
- }, Record<string, xstate208.AnyActorRef>, xstate208.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate140.AnyActorRef>, xstate140.StateValue, string, unknown, any, any>, {
240
240
  type: "START";
241
241
  } | {
242
242
  type: "CAPTURE";
@@ -248,7 +248,7 @@ declare const documentUploadMachine: xstate208.StateMachine<DocumentUploadContex
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "CLOSE";
251
- }, xstate208.AnyEventObject>;
251
+ }, xstate140.AnyEventObject>;
252
252
  }) => {
253
253
  imageBase64: string;
254
254
  documentType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260331-55774da",
3
+ "version": "0.0.0-dev-20260331-b713a7b",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",