@incodetech/core 2.0.1-rc.0 → 2.0.1

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.
@@ -6,7 +6,7 @@ import "./types-BP1m8VRw.js";
6
6
  import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DhkT4SRY.js";
7
7
  import { o as FlowEventSubscribable } from "./index-BcRG8rtJ.js";
8
8
  import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-B06Ypu2F.js";
9
- import * as xstate0 from "xstate";
9
+ import * as xstate393 from "xstate";
10
10
 
11
11
  //#region src/modules/workflow/types.d.ts
12
12
  /** Possible node types returned by the workflow server. */
@@ -230,7 +230,7 @@ type WorkflowInput = {
230
230
  /** Whether the device is a desktop. Determines desktop-to-mobile redirect injection. Defaults to true. */
231
231
  isDesktop?: boolean;
232
232
  };
233
- declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
233
+ declare const workflowMachine: xstate393.StateMachine<WorkflowContext, {
234
234
  type: "LOAD";
235
235
  } | {
236
236
  type: "MODULE_COMPLETE";
@@ -242,82 +242,82 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
242
242
  } | {
243
243
  type: "HOME_CONTINUE";
244
244
  }, {
245
- [x: string]: xstate0.ActorRefFromLogic<xstate0.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FinishStatus, {
245
+ [x: string]: xstate393.ActorRefFromLogic<xstate393.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate393.EventObject>> | xstate393.ActorRefFromLogic<xstate393.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate393.EventObject>> | xstate393.ActorRefFromLogic<xstate393.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate393.EventObject>> | xstate393.ActorRefFromLogic<xstate393.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate393.EventObject>> | xstate393.ActorRefFromLogic<xstate393.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate393.EventObject>> | xstate393.ActorRefFromLogic<xstate393.PromiseActorLogic<FinishStatus, {
246
246
  getFinishStatus: GetFinishStatusFn;
247
247
  workflowId: string | undefined;
248
- }, xstate0.EventObject>> | undefined;
249
- }, xstate0.Values<{
248
+ }, xstate393.EventObject>> | undefined;
249
+ }, xstate393.Values<{
250
250
  runChildModule: {
251
251
  src: "runChildModule";
252
- logic: xstate0.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate0.EventObject>;
252
+ logic: xstate393.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate393.EventObject>;
253
253
  id: string | undefined;
254
254
  };
255
255
  loadWorkflow: {
256
256
  src: "loadWorkflow";
257
- logic: xstate0.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate0.EventObject>;
257
+ logic: xstate393.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate393.EventObject>;
258
258
  id: string | undefined;
259
259
  };
260
260
  processNextNode: {
261
261
  src: "processNextNode";
262
- logic: xstate0.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate0.EventObject>;
262
+ logic: xstate393.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate393.EventObject>;
263
263
  id: string | undefined;
264
264
  };
265
265
  handleCustomModule: {
266
266
  src: "handleCustomModule";
267
- logic: xstate0.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate0.EventObject>;
267
+ logic: xstate393.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate393.EventObject>;
268
268
  id: string | undefined;
269
269
  };
270
270
  resolveModule: {
271
271
  src: "resolveModule";
272
- logic: xstate0.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate0.EventObject>;
272
+ logic: xstate393.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate393.EventObject>;
273
273
  id: string | undefined;
274
274
  };
275
275
  notifyBackend: {
276
276
  src: "notifyBackend";
277
- logic: xstate0.PromiseActorLogic<FinishStatus, {
277
+ logic: xstate393.PromiseActorLogic<FinishStatus, {
278
278
  getFinishStatus: GetFinishStatusFn;
279
279
  workflowId: string | undefined;
280
- }, xstate0.EventObject>;
280
+ }, xstate393.EventObject>;
281
281
  id: string | undefined;
282
282
  };
283
- }>, xstate0.Values<{
283
+ }>, xstate393.Values<{
284
+ setError: {
285
+ type: "setError";
286
+ params: xstate393.NonReducibleUnknown;
287
+ };
284
288
  setLoadingResult: {
285
289
  type: "setLoadingResult";
286
- params: xstate0.NonReducibleUnknown;
290
+ params: xstate393.NonReducibleUnknown;
287
291
  };
288
292
  setNextNode: {
289
293
  type: "setNextNode";
290
- params: xstate0.NonReducibleUnknown;
294
+ params: xstate393.NonReducibleUnknown;
291
295
  };
292
296
  setCustomModuleResult: {
293
297
  type: "setCustomModuleResult";
294
- params: xstate0.NonReducibleUnknown;
298
+ params: xstate393.NonReducibleUnknown;
295
299
  };
296
300
  setResolvedMachine: {
297
301
  type: "setResolvedMachine";
298
- params: xstate0.NonReducibleUnknown;
302
+ params: xstate393.NonReducibleUnknown;
299
303
  };
300
304
  setFinishStatus: {
301
305
  type: "setFinishStatus";
302
- params: xstate0.NonReducibleUnknown;
303
- };
304
- setError: {
305
- type: "setError";
306
- params: xstate0.NonReducibleUnknown;
306
+ params: xstate393.NonReducibleUnknown;
307
307
  };
308
308
  setModuleError: {
309
309
  type: "setModuleError";
310
- params: xstate0.NonReducibleUnknown;
310
+ params: xstate393.NonReducibleUnknown;
311
311
  };
312
312
  setHomeContinueLoading: {
313
313
  type: "setHomeContinueLoading";
314
- params: xstate0.NonReducibleUnknown;
314
+ params: xstate393.NonReducibleUnknown;
315
315
  };
316
316
  clearHomeContinueLoading: {
317
317
  type: "clearHomeContinueLoading";
318
- params: xstate0.NonReducibleUnknown;
318
+ params: xstate393.NonReducibleUnknown;
319
319
  };
320
- }>, xstate0.Values<{
320
+ }>, xstate393.Values<{
321
321
  isModuleNode: {
322
322
  type: "isModuleNode";
323
323
  params: unknown;
@@ -338,7 +338,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
338
338
  type: "shouldEnterHome";
339
339
  params: unknown;
340
340
  };
341
- }>, never, "error" | "idle" | "closed" | "finished" | "loading" | "home" | "resolvingModule" | "completing" | "asyncResolution" | "handlingCustomModule" | "runningModule" | "processingNode", string, WorkflowInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
341
+ }>, never, "error" | "idle" | "closed" | "finished" | "loading" | "home" | "resolvingModule" | "completing" | "asyncResolution" | "handlingCustomModule" | "runningModule" | "processingNode", string, WorkflowInput, xstate393.NonReducibleUnknown, xstate393.EventObject, xstate393.MetaObject, {
342
342
  readonly id: "workflow";
343
343
  readonly initial: "idle";
344
344
  readonly context: ({
@@ -347,144 +347,144 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
347
347
  spawn: {
348
348
  <TSrc extends "runChildModule" | "loadWorkflow" | "processNextNode" | "handleCustomModule" | "resolveModule" | "notifyBackend">(logic: TSrc, ...[options]: ({
349
349
  src: "runChildModule";
350
- logic: xstate0.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate0.EventObject>;
350
+ logic: xstate393.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate393.EventObject>;
351
351
  id: string | undefined;
352
352
  } extends infer T ? T extends {
353
353
  src: "runChildModule";
354
- logic: xstate0.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate0.EventObject>;
354
+ logic: xstate393.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate393.EventObject>;
355
355
  id: string | undefined;
356
356
  } ? T extends {
357
357
  src: TSrc;
358
- } ? xstate0.ConditionalRequired<[options?: ({
358
+ } ? xstate393.ConditionalRequired<[options?: ({
359
359
  id?: T["id"] | undefined;
360
360
  systemId?: string;
361
- input?: xstate0.InputFrom<T["logic"]> | undefined;
361
+ input?: xstate393.InputFrom<T["logic"]> | undefined;
362
362
  syncSnapshot?: boolean;
363
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
363
+ } & { [K in xstate393.RequiredActorOptions<T>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T>>> : never : never : never) | ({
364
364
  src: "loadWorkflow";
365
- logic: xstate0.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate0.EventObject>;
365
+ logic: xstate393.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate393.EventObject>;
366
366
  id: string | undefined;
367
367
  } extends infer T_1 ? T_1 extends {
368
368
  src: "loadWorkflow";
369
- logic: xstate0.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate0.EventObject>;
369
+ logic: xstate393.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate393.EventObject>;
370
370
  id: string | undefined;
371
371
  } ? T_1 extends {
372
372
  src: TSrc;
373
- } ? xstate0.ConditionalRequired<[options?: ({
373
+ } ? xstate393.ConditionalRequired<[options?: ({
374
374
  id?: T_1["id"] | undefined;
375
375
  systemId?: string;
376
- input?: xstate0.InputFrom<T_1["logic"]> | undefined;
376
+ input?: xstate393.InputFrom<T_1["logic"]> | undefined;
377
377
  syncSnapshot?: boolean;
378
- } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
378
+ } & { [K_1 in xstate393.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T_1>>> : never : never : never) | ({
379
379
  src: "processNextNode";
380
- logic: xstate0.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate0.EventObject>;
380
+ logic: xstate393.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate393.EventObject>;
381
381
  id: string | undefined;
382
382
  } extends infer T_2 ? T_2 extends {
383
383
  src: "processNextNode";
384
- logic: xstate0.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate0.EventObject>;
384
+ logic: xstate393.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate393.EventObject>;
385
385
  id: string | undefined;
386
386
  } ? T_2 extends {
387
387
  src: TSrc;
388
- } ? xstate0.ConditionalRequired<[options?: ({
388
+ } ? xstate393.ConditionalRequired<[options?: ({
389
389
  id?: T_2["id"] | undefined;
390
390
  systemId?: string;
391
- input?: xstate0.InputFrom<T_2["logic"]> | undefined;
391
+ input?: xstate393.InputFrom<T_2["logic"]> | undefined;
392
392
  syncSnapshot?: boolean;
393
- } & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never) | ({
393
+ } & { [K_2 in xstate393.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T_2>>> : never : never : never) | ({
394
394
  src: "handleCustomModule";
395
- logic: xstate0.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate0.EventObject>;
395
+ logic: xstate393.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate393.EventObject>;
396
396
  id: string | undefined;
397
397
  } extends infer T_3 ? T_3 extends {
398
398
  src: "handleCustomModule";
399
- logic: xstate0.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate0.EventObject>;
399
+ logic: xstate393.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate393.EventObject>;
400
400
  id: string | undefined;
401
401
  } ? T_3 extends {
402
402
  src: TSrc;
403
- } ? xstate0.ConditionalRequired<[options?: ({
403
+ } ? xstate393.ConditionalRequired<[options?: ({
404
404
  id?: T_3["id"] | undefined;
405
405
  systemId?: string;
406
- input?: xstate0.InputFrom<T_3["logic"]> | undefined;
406
+ input?: xstate393.InputFrom<T_3["logic"]> | undefined;
407
407
  syncSnapshot?: boolean;
408
- } & { [K_3 in xstate0.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_3>>> : never : never : never) | ({
408
+ } & { [K_3 in xstate393.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T_3>>> : never : never : never) | ({
409
409
  src: "resolveModule";
410
- logic: xstate0.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate0.EventObject>;
410
+ logic: xstate393.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate393.EventObject>;
411
411
  id: string | undefined;
412
412
  } extends infer T_4 ? T_4 extends {
413
413
  src: "resolveModule";
414
- logic: xstate0.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate0.EventObject>;
414
+ logic: xstate393.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate393.EventObject>;
415
415
  id: string | undefined;
416
416
  } ? T_4 extends {
417
417
  src: TSrc;
418
- } ? xstate0.ConditionalRequired<[options?: ({
418
+ } ? xstate393.ConditionalRequired<[options?: ({
419
419
  id?: T_4["id"] | undefined;
420
420
  systemId?: string;
421
- input?: xstate0.InputFrom<T_4["logic"]> | undefined;
421
+ input?: xstate393.InputFrom<T_4["logic"]> | undefined;
422
422
  syncSnapshot?: boolean;
423
- } & { [K_4 in xstate0.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_4>>> : never : never : never) | ({
423
+ } & { [K_4 in xstate393.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T_4>>> : never : never : never) | ({
424
424
  src: "notifyBackend";
425
- logic: xstate0.PromiseActorLogic<FinishStatus, {
425
+ logic: xstate393.PromiseActorLogic<FinishStatus, {
426
426
  getFinishStatus: GetFinishStatusFn;
427
427
  workflowId: string | undefined;
428
- }, xstate0.EventObject>;
428
+ }, xstate393.EventObject>;
429
429
  id: string | undefined;
430
430
  } extends infer T_5 ? T_5 extends {
431
431
  src: "notifyBackend";
432
- logic: xstate0.PromiseActorLogic<FinishStatus, {
432
+ logic: xstate393.PromiseActorLogic<FinishStatus, {
433
433
  getFinishStatus: GetFinishStatusFn;
434
434
  workflowId: string | undefined;
435
- }, xstate0.EventObject>;
435
+ }, xstate393.EventObject>;
436
436
  id: string | undefined;
437
437
  } ? T_5 extends {
438
438
  src: TSrc;
439
- } ? xstate0.ConditionalRequired<[options?: ({
439
+ } ? xstate393.ConditionalRequired<[options?: ({
440
440
  id?: T_5["id"] | undefined;
441
441
  systemId?: string;
442
- input?: xstate0.InputFrom<T_5["logic"]> | undefined;
442
+ input?: xstate393.InputFrom<T_5["logic"]> | undefined;
443
443
  syncSnapshot?: boolean;
444
- } & { [K_5 in xstate0.RequiredActorOptions<T_5>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_5>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
444
+ } & { [K_5 in xstate393.RequiredActorOptions<T_5>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredActorOptions<T_5>>> : never : never : never)): xstate393.ActorRefFromLogic<xstate393.GetConcreteByKey<xstate393.Values<{
445
445
  runChildModule: {
446
446
  src: "runChildModule";
447
- logic: xstate0.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate0.EventObject>;
447
+ logic: xstate393.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate393.EventObject>;
448
448
  id: string | undefined;
449
449
  };
450
450
  loadWorkflow: {
451
451
  src: "loadWorkflow";
452
- logic: xstate0.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate0.EventObject>;
452
+ logic: xstate393.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate393.EventObject>;
453
453
  id: string | undefined;
454
454
  };
455
455
  processNextNode: {
456
456
  src: "processNextNode";
457
- logic: xstate0.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate0.EventObject>;
457
+ logic: xstate393.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate393.EventObject>;
458
458
  id: string | undefined;
459
459
  };
460
460
  handleCustomModule: {
461
461
  src: "handleCustomModule";
462
- logic: xstate0.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate0.EventObject>;
462
+ logic: xstate393.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate393.EventObject>;
463
463
  id: string | undefined;
464
464
  };
465
465
  resolveModule: {
466
466
  src: "resolveModule";
467
- logic: xstate0.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate0.EventObject>;
467
+ logic: xstate393.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate393.EventObject>;
468
468
  id: string | undefined;
469
469
  };
470
470
  notifyBackend: {
471
471
  src: "notifyBackend";
472
- logic: xstate0.PromiseActorLogic<FinishStatus, {
472
+ logic: xstate393.PromiseActorLogic<FinishStatus, {
473
473
  getFinishStatus: GetFinishStatusFn;
474
474
  workflowId: string | undefined;
475
- }, xstate0.EventObject>;
475
+ }, xstate393.EventObject>;
476
476
  id: string | undefined;
477
477
  };
478
478
  }>, "src", TSrc>["logic"]>;
479
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
479
+ <TLogic extends xstate393.AnyActorLogic>(src: TLogic, ...[options]: xstate393.ConditionalRequired<[options?: ({
480
480
  id?: never;
481
481
  systemId?: string;
482
- input?: xstate0.InputFrom<TLogic> | undefined;
482
+ input?: xstate393.InputFrom<TLogic> | undefined;
483
483
  syncSnapshot?: boolean;
484
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
484
+ } & { [K in xstate393.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate393.IsNotNever<xstate393.RequiredLogicInput<TLogic>>>): xstate393.ActorRefFromLogic<TLogic>;
485
485
  };
486
486
  input: WorkflowInput;
487
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
487
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
488
488
  type: "LOAD";
489
489
  } | {
490
490
  type: "MODULE_COMPLETE";
@@ -495,7 +495,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
495
495
  type: "COMPLETE_FLOW";
496
496
  } | {
497
497
  type: "HOME_CONTINUE";
498
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
498
+ }, Record<string, xstate393.AnyActorRef | undefined>, xstate393.StateValue, string, unknown, any, any>, {
499
499
  type: "LOAD";
500
500
  } | {
501
501
  type: "MODULE_COMPLETE";
@@ -506,7 +506,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
506
506
  type: "COMPLETE_FLOW";
507
507
  } | {
508
508
  type: "HOME_CONTINUE";
509
- }, xstate0.AnyEventObject>;
509
+ }, xstate393.AnyEventObject>;
510
510
  }) => {
511
511
  workflowConfig: undefined;
512
512
  currentNode: undefined;
@@ -550,7 +550,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
550
550
  } | {
551
551
  type: "HOME_CONTINUE";
552
552
  };
553
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
553
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
554
554
  type: "LOAD";
555
555
  } | {
556
556
  type: "MODULE_COMPLETE";
@@ -561,7 +561,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
561
561
  type: "COMPLETE_FLOW";
562
562
  } | {
563
563
  type: "HOME_CONTINUE";
564
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
564
+ }, Record<string, xstate393.AnyActorRef>, xstate393.StateValue, string, unknown, any, any>, {
565
565
  type: "LOAD";
566
566
  } | {
567
567
  type: "MODULE_COMPLETE";
@@ -572,7 +572,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
572
572
  type: "COMPLETE_FLOW";
573
573
  } | {
574
574
  type: "HOME_CONTINUE";
575
- }, xstate0.AnyEventObject>;
575
+ }, xstate393.AnyEventObject>;
576
576
  }) => {
577
577
  isDesktop: boolean;
578
578
  };
@@ -631,7 +631,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
631
631
  } | {
632
632
  type: "HOME_CONTINUE";
633
633
  };
634
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
634
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
635
635
  type: "LOAD";
636
636
  } | {
637
637
  type: "MODULE_COMPLETE";
@@ -642,7 +642,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
642
642
  type: "COMPLETE_FLOW";
643
643
  } | {
644
644
  type: "HOME_CONTINUE";
645
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
645
+ }, Record<string, xstate393.AnyActorRef>, xstate393.StateValue, string, unknown, any, any>, {
646
646
  type: "LOAD";
647
647
  } | {
648
648
  type: "MODULE_COMPLETE";
@@ -653,7 +653,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
653
653
  type: "COMPLETE_FLOW";
654
654
  } | {
655
655
  type: "HOME_CONTINUE";
656
- }, xstate0.AnyEventObject>;
656
+ }, xstate393.AnyEventObject>;
657
657
  }) => {
658
658
  moduleKey: string;
659
659
  registeredModules: WorkflowModuleRegistry;
@@ -711,7 +711,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
711
711
  } | {
712
712
  type: "HOME_CONTINUE";
713
713
  };
714
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
714
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
715
715
  type: "LOAD";
716
716
  } | {
717
717
  type: "MODULE_COMPLETE";
@@ -722,7 +722,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
722
722
  type: "COMPLETE_FLOW";
723
723
  } | {
724
724
  type: "HOME_CONTINUE";
725
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
725
+ }, Record<string, xstate393.AnyActorRef>, xstate393.StateValue, string, unknown, any, any>, {
726
726
  type: "LOAD";
727
727
  } | {
728
728
  type: "MODULE_COMPLETE";
@@ -733,7 +733,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
733
733
  type: "COMPLETE_FLOW";
734
734
  } | {
735
735
  type: "HOME_CONTINUE";
736
- }, xstate0.AnyEventObject>;
736
+ }, xstate393.AnyEventObject>;
737
737
  }) => {
738
738
  currentNode: WorkflowNode;
739
739
  interviewId: string;
@@ -778,7 +778,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
778
778
  } | {
779
779
  type: "HOME_CONTINUE";
780
780
  };
781
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
781
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
782
782
  type: "LOAD";
783
783
  } | {
784
784
  type: "MODULE_COMPLETE";
@@ -789,7 +789,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
789
789
  type: "COMPLETE_FLOW";
790
790
  } | {
791
791
  type: "HOME_CONTINUE";
792
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
792
+ }, Record<string, xstate393.AnyActorRef>, xstate393.StateValue, string, unknown, any, any>, {
793
793
  type: "LOAD";
794
794
  } | {
795
795
  type: "MODULE_COMPLETE";
@@ -800,7 +800,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
800
800
  type: "COMPLETE_FLOW";
801
801
  } | {
802
802
  type: "HOME_CONTINUE";
803
- }, xstate0.AnyEventObject>;
803
+ }, xstate393.AnyEventObject>;
804
804
  }) => {
805
805
  isInjectedNode: boolean;
806
806
  firstNode: WorkflowNode | undefined;
@@ -852,7 +852,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
852
852
  } | {
853
853
  type: "HOME_CONTINUE";
854
854
  };
855
- self: xstate0.ActorRef<xstate0.MachineSnapshot<WorkflowContext, {
855
+ self: xstate393.ActorRef<xstate393.MachineSnapshot<WorkflowContext, {
856
856
  type: "LOAD";
857
857
  } | {
858
858
  type: "MODULE_COMPLETE";
@@ -863,7 +863,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
863
863
  type: "COMPLETE_FLOW";
864
864
  } | {
865
865
  type: "HOME_CONTINUE";
866
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
866
+ }, Record<string, xstate393.AnyActorRef>, xstate393.StateValue, string, unknown, any, any>, {
867
867
  type: "LOAD";
868
868
  } | {
869
869
  type: "MODULE_COMPLETE";
@@ -874,7 +874,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
874
874
  type: "COMPLETE_FLOW";
875
875
  } | {
876
876
  type: "HOME_CONTINUE";
877
- }, xstate0.AnyEventObject>;
877
+ }, xstate393.AnyEventObject>;
878
878
  }) => {
879
879
  getFinishStatus: GetFinishStatusFn;
880
880
  workflowId: string | undefined;
@@ -3,7 +3,7 @@ import "./BrowserTimerProvider-DhNc_x02.esm.js";
3
3
  import { t as api } from "./api-CESGtpbH.esm.js";
4
4
  import { o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
6
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CGtQJJzB.esm.js";
6
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CrkWAs-q.esm.js";
7
7
  import "./IpifyProvider-D7jx52AL.esm.js";
8
8
  import "./browserSimulation-gxD8cSpM.esm.js";
9
9
  import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
@@ -27,13 +27,13 @@ import { t as consentMachine } from "./consentStateMachine-CCT-B60O.esm.js";
27
27
  import "./cpf-PPz2Njto.esm.js";
28
28
  import { t as curpValidationMachine } from "./curpValidationStateMachine-CitWLr2c.esm.js";
29
29
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BqzTDy9k.esm.js";
30
- import { r as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-BR2let5f.esm.js";
30
+ import { r as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-CyMx_kg-.esm.js";
31
31
  import "./addressSearch-BpTbTWCa.esm.js";
32
- import "./flowServices-DG3IdWw6.esm.js";
32
+ import "./flowServices-PiNsxLfK.esm.js";
33
33
  import { r as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-oeO0Iekd.esm.js";
34
34
  import { t as emailMachine } from "./emailStateMachine-DOf4j58N.esm.js";
35
35
  import { t as selfieMachine } from "./selfieStateMachine-D76whWEf.esm.js";
36
- import { t as idCaptureMachine } from "./idCaptureStateMachine-BK0bPHoc.esm.js";
36
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-dwlBUjbC.esm.js";
37
37
  import { t as phoneMachine } from "./phoneStateMachine-CuPARRaT.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-DNFrxTFS.esm.js";
39
39
  import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CqqwqAkW.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "2.0.1-rc.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",