@incodetech/core 0.0.0-dev-20260505-78432a2 → 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 (40) 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/ae-signature.d.ts +1 -1
  4. package/dist/authentication.esm.js +6 -6
  5. package/dist/{authenticationManager-32vStqcp.esm.js → authenticationManager-BlExOsgX.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-CrITAfcp.esm.js → authenticationStateMachine-B2KkS-0r.esm.js} +2 -2
  7. package/dist/consent.d.ts +52 -52
  8. package/dist/cpf-ocr.d.ts +20 -20
  9. package/dist/{deepsightLoader-BnMFKE9b.esm.js → deepsightLoader-nn8-Chjr.esm.js} +2 -2
  10. package/dist/document-capture.d.ts +77 -77
  11. package/dist/document-upload.d.ts +49 -49
  12. package/dist/ekyb.esm.js +3 -3
  13. package/dist/{ekybStateMachine-B_Hy_til.esm.js → ekybStateMachine-BLfzFOAD.esm.js} +1 -1
  14. package/dist/electronic-signature.d.ts +1 -1
  15. package/dist/extensibility.esm.js +11 -11
  16. package/dist/{faceCaptureSetup-DMDxVTF7.esm.js → faceCaptureSetup-GGxPo8Cc.esm.js} +1 -1
  17. package/dist/flow.d.ts +2 -2
  18. package/dist/flow.esm.js +2 -2
  19. package/dist/{flowServices-C888w7m0.esm.js → flowServices-QTK0C4Ek.esm.js} +1 -1
  20. package/dist/home.d.ts +10 -10
  21. package/dist/id-ocr.d.ts +52 -52
  22. package/dist/id.esm.js +5 -5
  23. package/dist/{idCaptureManager-R-u_QwYp.esm.js → idCaptureManager-BtqsBcWw.esm.js} +1 -1
  24. package/dist/{idCaptureStateMachine-VS6QlY1i.esm.js → idCaptureStateMachine-CvdoaLtU.esm.js} +4 -4
  25. package/dist/identity-reuse.d.ts +47 -47
  26. package/dist/{index-zCeaDx6H.d.ts → index-B7qp9qsj.d.ts} +119 -119
  27. package/dist/index.esm.js +4 -4
  28. package/dist/mandatory-consent.d.ts +52 -52
  29. package/dist/qe-signature.d.ts +1 -1
  30. package/dist/{recordingService-Xq_JbS3R.esm.js → recordingService-Nn-BBO6j.esm.js} +2 -2
  31. package/dist/selfie.esm.js +6 -6
  32. package/dist/{selfieManager-CC-e4wqv.esm.js → selfieManager-BI4smYEE.esm.js} +2 -2
  33. package/dist/{selfieStateMachine-C4PGfd-j.esm.js → selfieStateMachine-B-stjSD5.esm.js} +2 -2
  34. package/dist/{session-DvzV3QxE.esm.js → session-oIjERqhS.esm.js} +1 -1
  35. package/dist/session.esm.js +1 -1
  36. package/dist/{setup-BEUx0p_-.esm.js → setup-BIkp7Hbm.esm.js} +3 -3
  37. package/dist/wasm.esm.js +4 -4
  38. package/dist/workflow.d.ts +85 -85
  39. package/dist/workflow.esm.js +9 -9
  40. package/package.json +3 -3
@@ -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
4
  import "./events-s0VL5FYh.esm.js";
5
- import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-DvzV3QxE.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
8
  import { a as createActor, i as fromPromise } from "./xstate.esm-cL1KdW6d.esm.js";
9
9
  import "./faceCaptureManagerFactory-Dix0LYX3.esm.js";
10
10
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
11
- import "./recordingService-Xq_JbS3R.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,16 +19,16 @@ 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-DMDxVTF7.esm.js";
23
- import "./authenticationStateMachine-CrITAfcp.esm.js";
24
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-32vStqcp.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
26
  import "./emailStateMachine-Df_AcoGW.esm.js";
27
27
  import { n as createEmailManagerFromActor } from "./emailManager-C2W-MJQ8.esm.js";
28
- import "./selfieStateMachine-C4PGfd-j.esm.js";
29
- import { n as createSelfieManagerFromActor } from "./selfieManager-CC-e4wqv.esm.js";
30
- import "./idCaptureStateMachine-VS6QlY1i.esm.js";
31
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-R-u_QwYp.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
32
  import "./phoneStateMachine-CswpoAaH.esm.js";
33
33
  import { n as createPhoneManagerFromActor } from "./phoneManager-DskgpnGL.esm.js";
34
34
 
@@ -1,6 +1,6 @@
1
1
  import { r as getToken } from "./api-3IquGyW5.esm.js";
2
2
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
3
- import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-Xq_JbS3R.esm.js";
3
+ import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-Nn-BBO6j.esm.js";
4
4
  import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DiAThhLg.esm.js";
5
5
 
6
6
  //#region src/internal/faceCapture/faceCaptureSetup.ts
package/dist/flow.d.ts CHANGED
@@ -7,7 +7,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DFwAu
7
7
  import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-U6Ov6LFb.js";
8
8
  import { o as FlowEventSubscribable } from "./index-BIhqszMN.js";
9
9
  import { t as ModuleRegistry } from "./types-DxQ9z4r7.js";
10
- import * as xstate820 from "xstate";
10
+ import * as xstate961 from "xstate";
11
11
 
12
12
  //#region src/modules/flow/flowUtils.d.ts
13
13
  type NormalizeFlowModulesOptions = {
@@ -55,7 +55,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
55
55
  declare const getFlow: GetFlow;
56
56
  //#endregion
57
57
  //#region src/modules/flow/noOpFlowModuleMachine.d.ts
58
- declare const noOpFlowModuleMachine: xstate820.StateMachine<xstate820.MachineContext, xstate820.AnyEventObject, {}, never, never, never, never, "finished", string, xstate820.NonReducibleUnknown, xstate820.NonReducibleUnknown, xstate820.EventObject, xstate820.MetaObject, {
58
+ declare const noOpFlowModuleMachine: xstate961.StateMachine<xstate961.MachineContext, xstate961.AnyEventObject, {}, never, never, never, never, "finished", string, xstate961.NonReducibleUnknown, xstate961.NonReducibleUnknown, xstate961.EventObject, xstate961.MetaObject, {
59
59
  readonly id: "noOpFlowModule";
60
60
  readonly initial: "finished";
61
61
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import "./api-3IquGyW5.esm.js";
2
2
  import "./events-s0VL5FYh.esm.js";
3
- import "./session-DvzV3QxE.esm.js";
3
+ import "./session-oIjERqhS.esm.js";
4
4
  import "./IpifyProvider-CVIOst3c.esm.js";
5
5
  import "./browserSimulation-DMJIC-23.esm.js";
6
6
  import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
7
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-C888w7m0.esm.js";
7
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-QTK0C4Ek.esm.js";
8
8
  import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DP-gEBHS.esm.js";
9
9
  import { t as getFinishStatus } from "./flowCompletionService-DhTdMWSB.esm.js";
10
10
 
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-3IquGyW5.esm.js";
2
2
  import { v as endpoints } from "./events-s0VL5FYh.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-DvzV3QxE.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-oIjERqhS.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
package/dist/home.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import "./camera-CS1twtEg.js";
3
3
  import "./types-DdYIMV6w.js";
4
4
  import { t as EmptyConfig } from "./types-DFwAuzk2.js";
5
- import * as xstate653 from "xstate";
5
+ import * as xstate461 from "xstate";
6
6
 
7
7
  //#region src/modules/home/types.d.ts
8
8
  type HomeConfig = EmptyConfig;
@@ -34,41 +34,41 @@ type HomeContext = {
34
34
  type HomeInput = {
35
35
  config: EmptyConfig;
36
36
  };
37
- declare const homeMachine: xstate653.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate461.StateMachine<HomeContext, {
38
38
  type: "LOAD";
39
39
  } | {
40
40
  type: "COMPLETE";
41
41
  } | {
42
42
  type: "RESET";
43
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate653.NonReducibleUnknown, xstate653.EventObject, xstate653.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate461.NonReducibleUnknown, xstate461.EventObject, xstate461.MetaObject, {
44
44
  readonly id: "home";
45
45
  readonly initial: "idle";
46
46
  readonly context: ({
47
47
  input
48
48
  }: {
49
49
  spawn: {
50
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate653.ActorRefFromLogic<never>;
51
- <TLogic extends xstate653.AnyActorLogic>(src: TLogic, ...[options]: xstate653.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate461.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate461.AnyActorLogic>(src: TLogic, ...[options]: xstate461.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate653.InputFrom<TLogic> | undefined;
54
+ input?: xstate461.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate653.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate653.IsNotNever<xstate653.RequiredLogicInput<TLogic>>>): xstate653.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate461.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate461.IsNotNever<xstate461.RequiredLogicInput<TLogic>>>): xstate461.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate653.ActorRef<xstate653.MachineSnapshot<HomeContext, {
59
+ self: xstate461.ActorRef<xstate461.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate653.AnyActorRef | undefined>, xstate653.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate461.AnyActorRef | undefined>, xstate461.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate653.AnyEventObject>;
71
+ }, xstate461.AnyEventObject>;
72
72
  }) => {
73
73
  config: EmptyConfig;
74
74
  };
package/dist/id-ocr.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import "./Actor-CazhiaK7.js";
3
- import * as xstate1190 from "xstate";
3
+ import * as xstate388 from "xstate";
4
4
 
5
5
  //#region src/modules/id-ocr/types.d.ts
6
6
  type IdOcrConfig = {
@@ -177,7 +177,7 @@ type IdOcrContext = {
177
177
  type IdOcrInput = {
178
178
  config: IdOcrConfig;
179
179
  };
180
- declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
180
+ declare const idOcrStateMachine: xstate388.StateMachine<IdOcrContext, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "DATA_CHANGED";
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
191
191
  } | {
192
192
  type: "RETRY";
193
193
  }, {
194
- [x: string]: xstate1190.ActorRefFromLogic<xstate1190.PromiseActorLogic<OcrData, {
194
+ [x: string]: xstate388.ActorRefFromLogic<xstate388.PromiseActorLogic<OcrData, {
195
195
  isSecondId: boolean;
196
- }, xstate1190.EventObject>> | xstate1190.ActorRefFromLogic<xstate1190.PromiseActorLogic<UpdateOcrResponse, {
196
+ }, xstate388.EventObject>> | xstate388.ActorRefFromLogic<xstate388.PromiseActorLogic<UpdateOcrResponse, {
197
197
  params: UpdateOcrDataParams;
198
198
  isSecondId: boolean;
199
- }, xstate1190.EventObject>> | undefined;
200
- }, xstate1190.Values<{
199
+ }, xstate388.EventObject>> | undefined;
200
+ }, xstate388.Values<{
201
201
  getOcrData: {
202
202
  src: "getOcrData";
203
- logic: xstate1190.PromiseActorLogic<OcrData, {
203
+ logic: xstate388.PromiseActorLogic<OcrData, {
204
204
  isSecondId: boolean;
205
- }, xstate1190.EventObject>;
205
+ }, xstate388.EventObject>;
206
206
  id: string | undefined;
207
207
  };
208
208
  updateOcrData: {
209
209
  src: "updateOcrData";
210
- logic: xstate1190.PromiseActorLogic<UpdateOcrResponse, {
210
+ logic: xstate388.PromiseActorLogic<UpdateOcrResponse, {
211
211
  params: UpdateOcrDataParams;
212
212
  isSecondId: boolean;
213
- }, xstate1190.EventObject>;
213
+ }, xstate388.EventObject>;
214
214
  id: string | undefined;
215
215
  };
216
- }>, xstate1190.Values<{
216
+ }>, xstate388.Values<{
217
217
  setError: {
218
218
  type: "setError";
219
- params: xstate1190.NonReducibleUnknown;
219
+ params: xstate388.NonReducibleUnknown;
220
220
  };
221
221
  setInitialData: {
222
222
  type: "setInitialData";
223
- params: xstate1190.NonReducibleUnknown;
223
+ params: xstate388.NonReducibleUnknown;
224
224
  };
225
225
  updateField: {
226
226
  type: "updateField";
227
- params: xstate1190.NonReducibleUnknown;
227
+ params: xstate388.NonReducibleUnknown;
228
228
  };
229
229
  clearFieldValidationError: {
230
230
  type: "clearFieldValidationError";
231
- params: xstate1190.NonReducibleUnknown;
231
+ params: xstate388.NonReducibleUnknown;
232
232
  };
233
233
  setOcrValidationErrors: {
234
234
  type: "setOcrValidationErrors";
235
- params: xstate1190.NonReducibleUnknown;
235
+ params: xstate388.NonReducibleUnknown;
236
236
  };
237
237
  validateFormField: {
238
238
  type: "validateFormField";
239
- params: xstate1190.NonReducibleUnknown;
239
+ params: xstate388.NonReducibleUnknown;
240
240
  };
241
241
  beginSecondIdOcrPhase: {
242
242
  type: "beginSecondIdOcrPhase";
243
- params: xstate1190.NonReducibleUnknown;
243
+ params: xstate388.NonReducibleUnknown;
244
244
  };
245
245
  resetForRetry: {
246
246
  type: "resetForRetry";
247
- params: xstate1190.NonReducibleUnknown;
247
+ params: xstate388.NonReducibleUnknown;
248
248
  };
249
249
  computeValidationResult: {
250
250
  type: "computeValidationResult";
251
- params: xstate1190.NonReducibleUnknown;
251
+ params: xstate388.NonReducibleUnknown;
252
252
  };
253
- }>, xstate1190.Values<{
253
+ }>, xstate388.Values<{
254
254
  isOcrEditable: {
255
255
  type: "isOcrEditable";
256
256
  params: unknown;
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "submitting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate1190.NonReducibleUnknown, xstate1190.EventObject, xstate1190.MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate388.NonReducibleUnknown, xstate388.EventObject, xstate388.MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
280
280
  spawn: {
281
281
  <TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
282
282
  src: "getOcrData";
283
- logic: xstate1190.PromiseActorLogic<OcrData, {
283
+ logic: xstate388.PromiseActorLogic<OcrData, {
284
284
  isSecondId: boolean;
285
- }, xstate1190.EventObject>;
285
+ }, xstate388.EventObject>;
286
286
  id: string | undefined;
287
287
  } extends infer T ? T extends {
288
288
  src: "getOcrData";
289
- logic: xstate1190.PromiseActorLogic<OcrData, {
289
+ logic: xstate388.PromiseActorLogic<OcrData, {
290
290
  isSecondId: boolean;
291
- }, xstate1190.EventObject>;
291
+ }, xstate388.EventObject>;
292
292
  id: string | undefined;
293
293
  } ? T extends {
294
294
  src: TSrc;
295
- } ? xstate1190.ConditionalRequired<[options?: ({
295
+ } ? xstate388.ConditionalRequired<[options?: ({
296
296
  id?: T["id"] | undefined;
297
297
  systemId?: string;
298
- input?: xstate1190.InputFrom<T["logic"]> | undefined;
298
+ input?: xstate388.InputFrom<T["logic"]> | undefined;
299
299
  syncSnapshot?: boolean;
300
- } & { [K in xstate1190.RequiredActorOptions<T>]: unknown }) | undefined], xstate1190.IsNotNever<xstate1190.RequiredActorOptions<T>>> : never : never : never) | ({
300
+ } & { [K in xstate388.RequiredActorOptions<T>]: unknown }) | undefined], xstate388.IsNotNever<xstate388.RequiredActorOptions<T>>> : never : never : never) | ({
301
301
  src: "updateOcrData";
302
- logic: xstate1190.PromiseActorLogic<UpdateOcrResponse, {
302
+ logic: xstate388.PromiseActorLogic<UpdateOcrResponse, {
303
303
  params: UpdateOcrDataParams;
304
304
  isSecondId: boolean;
305
- }, xstate1190.EventObject>;
305
+ }, xstate388.EventObject>;
306
306
  id: string | undefined;
307
307
  } extends infer T_1 ? T_1 extends {
308
308
  src: "updateOcrData";
309
- logic: xstate1190.PromiseActorLogic<UpdateOcrResponse, {
309
+ logic: xstate388.PromiseActorLogic<UpdateOcrResponse, {
310
310
  params: UpdateOcrDataParams;
311
311
  isSecondId: boolean;
312
- }, xstate1190.EventObject>;
312
+ }, xstate388.EventObject>;
313
313
  id: string | undefined;
314
314
  } ? T_1 extends {
315
315
  src: TSrc;
316
- } ? xstate1190.ConditionalRequired<[options?: ({
316
+ } ? xstate388.ConditionalRequired<[options?: ({
317
317
  id?: T_1["id"] | undefined;
318
318
  systemId?: string;
319
- input?: xstate1190.InputFrom<T_1["logic"]> | undefined;
319
+ input?: xstate388.InputFrom<T_1["logic"]> | undefined;
320
320
  syncSnapshot?: boolean;
321
- } & { [K_1 in xstate1190.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1190.IsNotNever<xstate1190.RequiredActorOptions<T_1>>> : never : never : never)): xstate1190.ActorRefFromLogic<xstate1190.GetConcreteByKey<xstate1190.Values<{
321
+ } & { [K_1 in xstate388.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate388.IsNotNever<xstate388.RequiredActorOptions<T_1>>> : never : never : never)): xstate388.ActorRefFromLogic<xstate388.GetConcreteByKey<xstate388.Values<{
322
322
  getOcrData: {
323
323
  src: "getOcrData";
324
- logic: xstate1190.PromiseActorLogic<OcrData, {
324
+ logic: xstate388.PromiseActorLogic<OcrData, {
325
325
  isSecondId: boolean;
326
- }, xstate1190.EventObject>;
326
+ }, xstate388.EventObject>;
327
327
  id: string | undefined;
328
328
  };
329
329
  updateOcrData: {
330
330
  src: "updateOcrData";
331
- logic: xstate1190.PromiseActorLogic<UpdateOcrResponse, {
331
+ logic: xstate388.PromiseActorLogic<UpdateOcrResponse, {
332
332
  params: UpdateOcrDataParams;
333
333
  isSecondId: boolean;
334
- }, xstate1190.EventObject>;
334
+ }, xstate388.EventObject>;
335
335
  id: string | undefined;
336
336
  };
337
337
  }>, "src", TSrc>["logic"]>;
338
- <TLogic extends xstate1190.AnyActorLogic>(src: TLogic, ...[options]: xstate1190.ConditionalRequired<[options?: ({
338
+ <TLogic extends xstate388.AnyActorLogic>(src: TLogic, ...[options]: xstate388.ConditionalRequired<[options?: ({
339
339
  id?: never;
340
340
  systemId?: string;
341
- input?: xstate1190.InputFrom<TLogic> | undefined;
341
+ input?: xstate388.InputFrom<TLogic> | undefined;
342
342
  syncSnapshot?: boolean;
343
- } & { [K in xstate1190.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1190.IsNotNever<xstate1190.RequiredLogicInput<TLogic>>>): xstate1190.ActorRefFromLogic<TLogic>;
343
+ } & { [K in xstate388.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate388.IsNotNever<xstate388.RequiredLogicInput<TLogic>>>): xstate388.ActorRefFromLogic<TLogic>;
344
344
  };
345
345
  input: IdOcrInput;
346
- self: xstate1190.ActorRef<xstate1190.MachineSnapshot<IdOcrContext, {
346
+ self: xstate388.ActorRef<xstate388.MachineSnapshot<IdOcrContext, {
347
347
  type: "LOAD";
348
348
  } | {
349
349
  type: "DATA_CHANGED";
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
356
356
  type: "CONTINUE";
357
357
  } | {
358
358
  type: "RETRY";
359
- }, Record<string, xstate1190.AnyActorRef | undefined>, xstate1190.StateValue, string, unknown, any, any>, {
359
+ }, Record<string, xstate388.AnyActorRef | undefined>, xstate388.StateValue, string, unknown, any, any>, {
360
360
  type: "LOAD";
361
361
  } | {
362
362
  type: "DATA_CHANGED";
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
369
369
  type: "CONTINUE";
370
370
  } | {
371
371
  type: "RETRY";
372
- }, xstate1190.AnyEventObject>;
372
+ }, xstate388.AnyEventObject>;
373
373
  }) => {
374
374
  config: IdOcrConfig;
375
375
  formData: UpdateOcrDataParams;
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
405
405
  } | {
406
406
  type: "RETRY";
407
407
  };
408
- self: xstate1190.ActorRef<xstate1190.MachineSnapshot<IdOcrContext, {
408
+ self: xstate388.ActorRef<xstate388.MachineSnapshot<IdOcrContext, {
409
409
  type: "LOAD";
410
410
  } | {
411
411
  type: "DATA_CHANGED";
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
418
418
  type: "CONTINUE";
419
419
  } | {
420
420
  type: "RETRY";
421
- }, Record<string, xstate1190.AnyActorRef>, xstate1190.StateValue, string, unknown, any, any>, {
421
+ }, Record<string, xstate388.AnyActorRef>, xstate388.StateValue, string, unknown, any, any>, {
422
422
  type: "LOAD";
423
423
  } | {
424
424
  type: "DATA_CHANGED";
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
431
431
  type: "CONTINUE";
432
432
  } | {
433
433
  type: "RETRY";
434
- }, xstate1190.AnyEventObject>;
434
+ }, xstate388.AnyEventObject>;
435
435
  }) => {
436
436
  isSecondId: boolean;
437
437
  };
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
510
510
  } | {
511
511
  type: "RETRY";
512
512
  };
513
- self: xstate1190.ActorRef<xstate1190.MachineSnapshot<IdOcrContext, {
513
+ self: xstate388.ActorRef<xstate388.MachineSnapshot<IdOcrContext, {
514
514
  type: "LOAD";
515
515
  } | {
516
516
  type: "DATA_CHANGED";
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
523
523
  type: "CONTINUE";
524
524
  } | {
525
525
  type: "RETRY";
526
- }, Record<string, xstate1190.AnyActorRef>, xstate1190.StateValue, string, unknown, any, any>, {
526
+ }, Record<string, xstate388.AnyActorRef>, xstate388.StateValue, string, unknown, any, any>, {
527
527
  type: "LOAD";
528
528
  } | {
529
529
  type: "DATA_CHANGED";
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate1190.StateMachine<IdOcrContext, {
536
536
  type: "CONTINUE";
537
537
  } | {
538
538
  type: "RETRY";
539
- }, xstate1190.AnyEventObject>;
539
+ }, xstate388.AnyEventObject>;
540
540
  }) => {
541
541
  params: UpdateOcrDataParams;
542
542
  isSecondId: boolean;
package/dist/id.esm.js CHANGED
@@ -1,12 +1,12 @@
1
- import "./BaseWasmProvider-BTKqWpeB.esm.js";
1
+ import "./BaseWasmProvider-CkIHbYdx.esm.js";
2
2
  import "./api-3IquGyW5.esm.js";
3
3
  import "./events-s0VL5FYh.esm.js";
4
- import "./session-DvzV3QxE.esm.js";
4
+ import "./session-oIjERqhS.esm.js";
5
5
  import "./IpifyProvider-CVIOst3c.esm.js";
6
6
  import "./browserSimulation-DMJIC-23.esm.js";
7
7
  import "./xstate.esm-cL1KdW6d.esm.js";
8
8
  import "./BrowserStorageProvider-DeByegPK.esm.js";
9
- import "./recordingService-Xq_JbS3R.esm.js";
9
+ import "./recordingService-Nn-BBO6j.esm.js";
10
10
  import "./deepsightService-CU4xtxzz.esm.js";
11
11
  import "./permissionServices-DiAThhLg.esm.js";
12
12
  import "./camera-CSPAwp2o.esm.js";
@@ -18,7 +18,7 @@ import "./ITimerCapability-r7XXQS6a.esm.js";
18
18
  import "./backCameraStream-BIzYKDy2.esm.js";
19
19
  import "./getDeviceClass-AjL3Pr7R.esm.js";
20
20
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
21
- import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-VS6QlY1i.esm.js";
22
- import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-R-u_QwYp.esm.js";
21
+ import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-CvdoaLtU.esm.js";
22
+ import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-BtqsBcWw.esm.js";
23
23
 
24
24
  export { ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
2
2
  import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
4
- import { t as idCaptureMachine } from "./idCaptureStateMachine-VS6QlY1i.esm.js";
4
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-CvdoaLtU.esm.js";
5
5
 
6
6
  //#region src/modules/id/idCaptureActor.ts
7
7
  function createIdCaptureActor(options) {
@@ -1,9 +1,9 @@
1
- import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-BTKqWpeB.esm.js";
1
+ import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-CkIHbYdx.esm.js";
2
2
  import { r as getToken, t as api } from "./api-3IquGyW5.esm.js";
3
3
  import { b as revokeObjectURL, v as endpoints } from "./events-s0VL5FYh.esm.js";
4
- import { t as getDisableIpify } from "./session-DvzV3QxE.esm.js";
4
+ import { t as getDisableIpify } from "./session-oIjERqhS.esm.js";
5
5
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
6
- import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-Xq_JbS3R.esm.js";
6
+ import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-Nn-BBO6j.esm.js";
7
7
  import { n as IncodeCanvas } from "./deepsightService-CU4xtxzz.esm.js";
8
8
  import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DiAThhLg.esm.js";
9
9
  import { r as getWindowDimensions } from "./getBrowser-bVw76elx.esm.js";
@@ -840,7 +840,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
840
840
  });
841
841
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
842
842
  if (!input.dependencies) return;
843
- const { loadDeepsightSession } = await import("./deepsightLoader-BnMFKE9b.esm.js");
843
+ const { loadDeepsightSession } = await import("./deepsightLoader-nn8-Chjr.esm.js");
844
844
  return loadDeepsightSession({
845
845
  ds: input.ds,
846
846
  storage: input.dependencies.storage,