@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.
package/dist/flow.d.ts CHANGED
@@ -7,7 +7,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BP1m8
7
7
  import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DhkT4SRY.js";
8
8
  import { o as FlowEventSubscribable } from "./index-BcRG8rtJ.js";
9
9
  import { n as ModuleRegistry } from "./types-B06Ypu2F.js";
10
- import * as xstate651 from "xstate";
10
+ import * as xstate1002 from "xstate";
11
11
 
12
12
  //#region src/modules/flow/flowUtils.d.ts
13
13
  type NormalizeFlowModulesOptions = {
@@ -59,7 +59,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
59
59
  declare const getFlow: GetFlow;
60
60
  //#endregion
61
61
  //#region src/modules/flow/noOpFlowModuleMachine.d.ts
62
- declare const noOpFlowModuleMachine: xstate651.StateMachine<xstate651.MachineContext, xstate651.AnyEventObject, {}, never, never, never, never, "finished", string, xstate651.NonReducibleUnknown, xstate651.NonReducibleUnknown, xstate651.EventObject, xstate651.MetaObject, {
62
+ declare const noOpFlowModuleMachine: xstate1002.StateMachine<xstate1002.MachineContext, xstate1002.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1002.NonReducibleUnknown, xstate1002.NonReducibleUnknown, xstate1002.EventObject, xstate1002.MetaObject, {
63
63
  readonly id: "noOpFlowModule";
64
64
  readonly initial: "finished";
65
65
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./api-CESGtpbH.esm.js";
2
2
  import "./events-D6-e4vok.esm.js";
3
3
  import "./endpoints-CnN3SyDa.esm.js";
4
- import "./session-CGtQJJzB.esm.js";
4
+ import "./session-CrkWAs-q.esm.js";
5
5
  import "./IpifyProvider-D7jx52AL.esm.js";
6
6
  import "./browserSimulation-gxD8cSpM.esm.js";
7
7
  import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
8
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DG3IdWw6.esm.js";
8
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-PiNsxLfK.esm.js";
9
9
  import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CqqwqAkW.esm.js";
10
10
  import { t as getFinishStatus } from "./flowCompletionService-P54yzGvA.esm.js";
11
11
 
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-CESGtpbH.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CGtQJJzB.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CrkWAs-q.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-C8PrhBOx.js";
2
2
  import "./camera-DBSxa6ML.js";
3
3
  import "./types-CFV9G_7j.js";
4
4
  import { t as EmptyConfig } from "./types-BP1m8VRw.js";
5
- import * as xstate634 from "xstate";
5
+ import * as xstate721 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: xstate634.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate721.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, xstate634.NonReducibleUnknown, xstate634.EventObject, xstate634.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate721.NonReducibleUnknown, xstate721.EventObject, xstate721.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): xstate634.ActorRefFromLogic<never>;
51
- <TLogic extends xstate634.AnyActorLogic>(src: TLogic, ...[options]: xstate634.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate721.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate721.AnyActorLogic>(src: TLogic, ...[options]: xstate721.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate634.InputFrom<TLogic> | undefined;
54
+ input?: xstate721.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate634.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate634.IsNotNever<xstate634.RequiredLogicInput<TLogic>>>): xstate634.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate721.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredLogicInput<TLogic>>>): xstate721.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate634.ActorRef<xstate634.MachineSnapshot<HomeContext, {
59
+ self: xstate721.ActorRef<xstate721.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate634.AnyActorRef | undefined>, xstate634.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate721.AnyActorRef | undefined>, xstate721.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate634.AnyEventObject>;
71
+ }, xstate721.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-C8PrhBOx.js";
2
2
  import "./Actor-CI32dTbG.js";
3
- import * as xstate561 from "xstate";
3
+ import * as xstate929 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: xstate561.StateMachine<IdOcrContext, {
180
+ declare const idOcrStateMachine: xstate929.StateMachine<IdOcrContext, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "DATA_CHANGED";
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
191
191
  } | {
192
192
  type: "RETRY";
193
193
  }, {
194
- [x: string]: xstate561.ActorRefFromLogic<xstate561.PromiseActorLogic<OcrData, {
194
+ [x: string]: xstate929.ActorRefFromLogic<xstate929.PromiseActorLogic<OcrData, {
195
195
  isSecondId: boolean;
196
- }, xstate561.EventObject>> | xstate561.ActorRefFromLogic<xstate561.PromiseActorLogic<UpdateOcrResponse, {
196
+ }, xstate929.EventObject>> | xstate929.ActorRefFromLogic<xstate929.PromiseActorLogic<UpdateOcrResponse, {
197
197
  params: UpdateOcrDataParams;
198
198
  isSecondId: boolean;
199
- }, xstate561.EventObject>> | undefined;
200
- }, xstate561.Values<{
199
+ }, xstate929.EventObject>> | undefined;
200
+ }, xstate929.Values<{
201
201
  getOcrData: {
202
202
  src: "getOcrData";
203
- logic: xstate561.PromiseActorLogic<OcrData, {
203
+ logic: xstate929.PromiseActorLogic<OcrData, {
204
204
  isSecondId: boolean;
205
- }, xstate561.EventObject>;
205
+ }, xstate929.EventObject>;
206
206
  id: string | undefined;
207
207
  };
208
208
  updateOcrData: {
209
209
  src: "updateOcrData";
210
- logic: xstate561.PromiseActorLogic<UpdateOcrResponse, {
210
+ logic: xstate929.PromiseActorLogic<UpdateOcrResponse, {
211
211
  params: UpdateOcrDataParams;
212
212
  isSecondId: boolean;
213
- }, xstate561.EventObject>;
213
+ }, xstate929.EventObject>;
214
214
  id: string | undefined;
215
215
  };
216
- }>, xstate561.Values<{
216
+ }>, xstate929.Values<{
217
217
  setError: {
218
218
  type: "setError";
219
- params: xstate561.NonReducibleUnknown;
219
+ params: xstate929.NonReducibleUnknown;
220
220
  };
221
221
  setInitialData: {
222
222
  type: "setInitialData";
223
- params: xstate561.NonReducibleUnknown;
223
+ params: xstate929.NonReducibleUnknown;
224
224
  };
225
225
  updateField: {
226
226
  type: "updateField";
227
- params: xstate561.NonReducibleUnknown;
227
+ params: xstate929.NonReducibleUnknown;
228
228
  };
229
229
  clearFieldValidationError: {
230
230
  type: "clearFieldValidationError";
231
- params: xstate561.NonReducibleUnknown;
231
+ params: xstate929.NonReducibleUnknown;
232
232
  };
233
233
  setOcrValidationErrors: {
234
234
  type: "setOcrValidationErrors";
235
- params: xstate561.NonReducibleUnknown;
235
+ params: xstate929.NonReducibleUnknown;
236
236
  };
237
237
  validateFormField: {
238
238
  type: "validateFormField";
239
- params: xstate561.NonReducibleUnknown;
239
+ params: xstate929.NonReducibleUnknown;
240
240
  };
241
241
  beginSecondIdOcrPhase: {
242
242
  type: "beginSecondIdOcrPhase";
243
- params: xstate561.NonReducibleUnknown;
243
+ params: xstate929.NonReducibleUnknown;
244
244
  };
245
245
  resetForRetry: {
246
246
  type: "resetForRetry";
247
- params: xstate561.NonReducibleUnknown;
247
+ params: xstate929.NonReducibleUnknown;
248
248
  };
249
249
  computeValidationResult: {
250
250
  type: "computeValidationResult";
251
- params: xstate561.NonReducibleUnknown;
251
+ params: xstate929.NonReducibleUnknown;
252
252
  };
253
- }>, xstate561.Values<{
253
+ }>, xstate929.Values<{
254
254
  isOcrEditable: {
255
255
  type: "isOcrEditable";
256
256
  params: unknown;
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate561.NonReducibleUnknown, xstate561.EventObject, xstate561.MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate929.NonReducibleUnknown, xstate929.EventObject, xstate929.MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
280
280
  spawn: {
281
281
  <TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
282
282
  src: "getOcrData";
283
- logic: xstate561.PromiseActorLogic<OcrData, {
283
+ logic: xstate929.PromiseActorLogic<OcrData, {
284
284
  isSecondId: boolean;
285
- }, xstate561.EventObject>;
285
+ }, xstate929.EventObject>;
286
286
  id: string | undefined;
287
287
  } extends infer T ? T extends {
288
288
  src: "getOcrData";
289
- logic: xstate561.PromiseActorLogic<OcrData, {
289
+ logic: xstate929.PromiseActorLogic<OcrData, {
290
290
  isSecondId: boolean;
291
- }, xstate561.EventObject>;
291
+ }, xstate929.EventObject>;
292
292
  id: string | undefined;
293
293
  } ? T extends {
294
294
  src: TSrc;
295
- } ? xstate561.ConditionalRequired<[options?: ({
295
+ } ? xstate929.ConditionalRequired<[options?: ({
296
296
  id?: T["id"] | undefined;
297
297
  systemId?: string;
298
- input?: xstate561.InputFrom<T["logic"]> | undefined;
298
+ input?: xstate929.InputFrom<T["logic"]> | undefined;
299
299
  syncSnapshot?: boolean;
300
- } & { [K in xstate561.RequiredActorOptions<T>]: unknown }) | undefined], xstate561.IsNotNever<xstate561.RequiredActorOptions<T>>> : never : never : never) | ({
300
+ } & { [K in xstate929.RequiredActorOptions<T>]: unknown }) | undefined], xstate929.IsNotNever<xstate929.RequiredActorOptions<T>>> : never : never : never) | ({
301
301
  src: "updateOcrData";
302
- logic: xstate561.PromiseActorLogic<UpdateOcrResponse, {
302
+ logic: xstate929.PromiseActorLogic<UpdateOcrResponse, {
303
303
  params: UpdateOcrDataParams;
304
304
  isSecondId: boolean;
305
- }, xstate561.EventObject>;
305
+ }, xstate929.EventObject>;
306
306
  id: string | undefined;
307
307
  } extends infer T_1 ? T_1 extends {
308
308
  src: "updateOcrData";
309
- logic: xstate561.PromiseActorLogic<UpdateOcrResponse, {
309
+ logic: xstate929.PromiseActorLogic<UpdateOcrResponse, {
310
310
  params: UpdateOcrDataParams;
311
311
  isSecondId: boolean;
312
- }, xstate561.EventObject>;
312
+ }, xstate929.EventObject>;
313
313
  id: string | undefined;
314
314
  } ? T_1 extends {
315
315
  src: TSrc;
316
- } ? xstate561.ConditionalRequired<[options?: ({
316
+ } ? xstate929.ConditionalRequired<[options?: ({
317
317
  id?: T_1["id"] | undefined;
318
318
  systemId?: string;
319
- input?: xstate561.InputFrom<T_1["logic"]> | undefined;
319
+ input?: xstate929.InputFrom<T_1["logic"]> | undefined;
320
320
  syncSnapshot?: boolean;
321
- } & { [K_1 in xstate561.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate561.IsNotNever<xstate561.RequiredActorOptions<T_1>>> : never : never : never)): xstate561.ActorRefFromLogic<xstate561.GetConcreteByKey<xstate561.Values<{
321
+ } & { [K_1 in xstate929.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate929.IsNotNever<xstate929.RequiredActorOptions<T_1>>> : never : never : never)): xstate929.ActorRefFromLogic<xstate929.GetConcreteByKey<xstate929.Values<{
322
322
  getOcrData: {
323
323
  src: "getOcrData";
324
- logic: xstate561.PromiseActorLogic<OcrData, {
324
+ logic: xstate929.PromiseActorLogic<OcrData, {
325
325
  isSecondId: boolean;
326
- }, xstate561.EventObject>;
326
+ }, xstate929.EventObject>;
327
327
  id: string | undefined;
328
328
  };
329
329
  updateOcrData: {
330
330
  src: "updateOcrData";
331
- logic: xstate561.PromiseActorLogic<UpdateOcrResponse, {
331
+ logic: xstate929.PromiseActorLogic<UpdateOcrResponse, {
332
332
  params: UpdateOcrDataParams;
333
333
  isSecondId: boolean;
334
- }, xstate561.EventObject>;
334
+ }, xstate929.EventObject>;
335
335
  id: string | undefined;
336
336
  };
337
337
  }>, "src", TSrc>["logic"]>;
338
- <TLogic extends xstate561.AnyActorLogic>(src: TLogic, ...[options]: xstate561.ConditionalRequired<[options?: ({
338
+ <TLogic extends xstate929.AnyActorLogic>(src: TLogic, ...[options]: xstate929.ConditionalRequired<[options?: ({
339
339
  id?: never;
340
340
  systemId?: string;
341
- input?: xstate561.InputFrom<TLogic> | undefined;
341
+ input?: xstate929.InputFrom<TLogic> | undefined;
342
342
  syncSnapshot?: boolean;
343
- } & { [K in xstate561.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate561.IsNotNever<xstate561.RequiredLogicInput<TLogic>>>): xstate561.ActorRefFromLogic<TLogic>;
343
+ } & { [K in xstate929.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate929.IsNotNever<xstate929.RequiredLogicInput<TLogic>>>): xstate929.ActorRefFromLogic<TLogic>;
344
344
  };
345
345
  input: IdOcrInput;
346
- self: xstate561.ActorRef<xstate561.MachineSnapshot<IdOcrContext, {
346
+ self: xstate929.ActorRef<xstate929.MachineSnapshot<IdOcrContext, {
347
347
  type: "LOAD";
348
348
  } | {
349
349
  type: "DATA_CHANGED";
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
356
356
  type: "CONTINUE";
357
357
  } | {
358
358
  type: "RETRY";
359
- }, Record<string, xstate561.AnyActorRef | undefined>, xstate561.StateValue, string, unknown, any, any>, {
359
+ }, Record<string, xstate929.AnyActorRef | undefined>, xstate929.StateValue, string, unknown, any, any>, {
360
360
  type: "LOAD";
361
361
  } | {
362
362
  type: "DATA_CHANGED";
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
369
369
  type: "CONTINUE";
370
370
  } | {
371
371
  type: "RETRY";
372
- }, xstate561.AnyEventObject>;
372
+ }, xstate929.AnyEventObject>;
373
373
  }) => {
374
374
  config: IdOcrConfig;
375
375
  formData: UpdateOcrDataParams;
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
405
405
  } | {
406
406
  type: "RETRY";
407
407
  };
408
- self: xstate561.ActorRef<xstate561.MachineSnapshot<IdOcrContext, {
408
+ self: xstate929.ActorRef<xstate929.MachineSnapshot<IdOcrContext, {
409
409
  type: "LOAD";
410
410
  } | {
411
411
  type: "DATA_CHANGED";
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
418
418
  type: "CONTINUE";
419
419
  } | {
420
420
  type: "RETRY";
421
- }, Record<string, xstate561.AnyActorRef>, xstate561.StateValue, string, unknown, any, any>, {
421
+ }, Record<string, xstate929.AnyActorRef>, xstate929.StateValue, string, unknown, any, any>, {
422
422
  type: "LOAD";
423
423
  } | {
424
424
  type: "DATA_CHANGED";
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
431
431
  type: "CONTINUE";
432
432
  } | {
433
433
  type: "RETRY";
434
- }, xstate561.AnyEventObject>;
434
+ }, xstate929.AnyEventObject>;
435
435
  }) => {
436
436
  isSecondId: boolean;
437
437
  };
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
510
510
  } | {
511
511
  type: "RETRY";
512
512
  };
513
- self: xstate561.ActorRef<xstate561.MachineSnapshot<IdOcrContext, {
513
+ self: xstate929.ActorRef<xstate929.MachineSnapshot<IdOcrContext, {
514
514
  type: "LOAD";
515
515
  } | {
516
516
  type: "DATA_CHANGED";
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
523
523
  type: "CONTINUE";
524
524
  } | {
525
525
  type: "RETRY";
526
- }, Record<string, xstate561.AnyActorRef>, xstate561.StateValue, string, unknown, any, any>, {
526
+ }, Record<string, xstate929.AnyActorRef>, xstate929.StateValue, string, unknown, any, any>, {
527
527
  type: "LOAD";
528
528
  } | {
529
529
  type: "DATA_CHANGED";
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate561.StateMachine<IdOcrContext, {
536
536
  type: "CONTINUE";
537
537
  } | {
538
538
  type: "RETRY";
539
- }, xstate561.AnyEventObject>;
539
+ }, xstate929.AnyEventObject>;
540
540
  }) => {
541
541
  params: UpdateOcrDataParams;
542
542
  isSecondId: boolean;
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C8PrhBOx.js";
2
2
  import "./Actor-CI32dTbG.js";
3
- import * as xstate522 from "xstate";
3
+ import * as xstate682 from "xstate";
4
4
 
5
5
  //#region src/modules/id-verification/types.d.ts
6
6
  type IdVerificationConfig = {
@@ -32,26 +32,26 @@ type IdVerificationContext = {
32
32
  type IdVerificationInput = {
33
33
  config: IdVerificationConfig;
34
34
  };
35
- declare const idVerificationMachine: xstate522.StateMachine<IdVerificationContext, {
35
+ declare const idVerificationMachine: xstate682.StateMachine<IdVerificationContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "CONTINUE";
39
39
  }, {
40
- [x: string]: xstate522.ActorRefFromLogic<xstate522.PromiseActorLogic<ProcessIdResponse, {
40
+ [x: string]: xstate682.ActorRefFromLogic<xstate682.PromiseActorLogic<ProcessIdResponse, {
41
41
  isSecondId: boolean;
42
42
  queueName: string;
43
- }, xstate522.EventObject>> | undefined;
43
+ }, xstate682.EventObject>> | undefined;
44
44
  }, {
45
45
  src: "processId";
46
- logic: xstate522.PromiseActorLogic<ProcessIdResponse, {
46
+ logic: xstate682.PromiseActorLogic<ProcessIdResponse, {
47
47
  isSecondId: boolean;
48
48
  queueName: string;
49
- }, xstate522.EventObject>;
49
+ }, xstate682.EventObject>;
50
50
  id: string | undefined;
51
51
  }, never, {
52
52
  type: "isDocumentExpired";
53
53
  params: unknown;
54
- }, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate522.NonReducibleUnknown, xstate522.EventObject, xstate522.MetaObject, {
54
+ }, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate682.NonReducibleUnknown, xstate682.EventObject, xstate682.MetaObject, {
55
55
  readonly id: "idVerification";
56
56
  readonly initial: "idle";
57
57
  readonly context: ({
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate522.StateMachine<IdVerificationContex
60
60
  spawn: {
61
61
  <TSrc extends "processId">(logic: TSrc, ...[options]: {
62
62
  src: "processId";
63
- logic: xstate522.PromiseActorLogic<ProcessIdResponse, {
63
+ logic: xstate682.PromiseActorLogic<ProcessIdResponse, {
64
64
  isSecondId: boolean;
65
65
  queueName: string;
66
- }, xstate522.EventObject>;
66
+ }, xstate682.EventObject>;
67
67
  id: string | undefined;
68
68
  } extends infer T ? T extends {
69
69
  src: "processId";
70
- logic: xstate522.PromiseActorLogic<ProcessIdResponse, {
70
+ logic: xstate682.PromiseActorLogic<ProcessIdResponse, {
71
71
  isSecondId: boolean;
72
72
  queueName: string;
73
- }, xstate522.EventObject>;
73
+ }, xstate682.EventObject>;
74
74
  id: string | undefined;
75
75
  } ? T extends {
76
76
  src: TSrc;
77
- } ? xstate522.ConditionalRequired<[options?: ({
77
+ } ? xstate682.ConditionalRequired<[options?: ({
78
78
  id?: T["id"] | undefined;
79
79
  systemId?: string;
80
- input?: xstate522.InputFrom<T["logic"]> | undefined;
80
+ input?: xstate682.InputFrom<T["logic"]> | undefined;
81
81
  syncSnapshot?: boolean;
82
- } & { [K in xstate522.RequiredActorOptions<T>]: unknown }) | undefined], xstate522.IsNotNever<xstate522.RequiredActorOptions<T>>> : never : never : never): xstate522.ActorRefFromLogic<xstate522.GetConcreteByKey<{
82
+ } & { [K in xstate682.RequiredActorOptions<T>]: unknown }) | undefined], xstate682.IsNotNever<xstate682.RequiredActorOptions<T>>> : never : never : never): xstate682.ActorRefFromLogic<xstate682.GetConcreteByKey<{
83
83
  src: "processId";
84
- logic: xstate522.PromiseActorLogic<ProcessIdResponse, {
84
+ logic: xstate682.PromiseActorLogic<ProcessIdResponse, {
85
85
  isSecondId: boolean;
86
86
  queueName: string;
87
- }, xstate522.EventObject>;
87
+ }, xstate682.EventObject>;
88
88
  id: string | undefined;
89
89
  }, "src", TSrc>["logic"]>;
90
- <TLogic extends xstate522.AnyActorLogic>(src: TLogic, ...[options]: xstate522.ConditionalRequired<[options?: ({
90
+ <TLogic extends xstate682.AnyActorLogic>(src: TLogic, ...[options]: xstate682.ConditionalRequired<[options?: ({
91
91
  id?: never;
92
92
  systemId?: string;
93
- input?: xstate522.InputFrom<TLogic> | undefined;
93
+ input?: xstate682.InputFrom<TLogic> | undefined;
94
94
  syncSnapshot?: boolean;
95
- } & { [K in xstate522.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate522.IsNotNever<xstate522.RequiredLogicInput<TLogic>>>): xstate522.ActorRefFromLogic<TLogic>;
95
+ } & { [K in xstate682.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate682.IsNotNever<xstate682.RequiredLogicInput<TLogic>>>): xstate682.ActorRefFromLogic<TLogic>;
96
96
  };
97
97
  input: IdVerificationInput;
98
- self: xstate522.ActorRef<xstate522.MachineSnapshot<IdVerificationContext, {
98
+ self: xstate682.ActorRef<xstate682.MachineSnapshot<IdVerificationContext, {
99
99
  type: "LOAD";
100
100
  } | {
101
101
  type: "CONTINUE";
102
- }, Record<string, xstate522.AnyActorRef | undefined>, xstate522.StateValue, string, unknown, any, any>, {
102
+ }, Record<string, xstate682.AnyActorRef | undefined>, xstate682.StateValue, string, unknown, any, any>, {
103
103
  type: "LOAD";
104
104
  } | {
105
105
  type: "CONTINUE";
106
- }, xstate522.AnyEventObject>;
106
+ }, xstate682.AnyEventObject>;
107
107
  }) => {
108
108
  config: IdVerificationConfig;
109
109
  isSecondId: boolean;
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate522.StateMachine<IdVerificationContex
127
127
  } | {
128
128
  type: "CONTINUE";
129
129
  };
130
- self: xstate522.ActorRef<xstate522.MachineSnapshot<IdVerificationContext, {
130
+ self: xstate682.ActorRef<xstate682.MachineSnapshot<IdVerificationContext, {
131
131
  type: "LOAD";
132
132
  } | {
133
133
  type: "CONTINUE";
134
- }, Record<string, xstate522.AnyActorRef>, xstate522.StateValue, string, unknown, any, any>, {
134
+ }, Record<string, xstate682.AnyActorRef>, xstate682.StateValue, string, unknown, any, any>, {
135
135
  type: "LOAD";
136
136
  } | {
137
137
  type: "CONTINUE";
138
- }, xstate522.AnyEventObject>;
138
+ }, xstate682.AnyEventObject>;
139
139
  }) => {
140
140
  isSecondId: boolean;
141
141
  queueName: string;
package/dist/id.esm.js CHANGED
@@ -3,7 +3,7 @@ import "./BrowserTimerProvider-DhNc_x02.esm.js";
3
3
  import "./api-CESGtpbH.esm.js";
4
4
  import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
5
5
  import "./endpoints-CnN3SyDa.esm.js";
6
- import "./session-CGtQJJzB.esm.js";
6
+ import "./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, r as assign, s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
@@ -19,8 +19,8 @@ import "./stats-CIfiPzb1.esm.js";
19
19
  import "./getDeviceClass-BSntT9_j.esm.js";
20
20
  import "./MotionSensorProvider-4v7xkqAp.esm.js";
21
21
  import "./permissionServices-D_i6nzEw.esm.js";
22
- 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-BK0bPHoc.esm.js";
23
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-ZPkD7Gjk.esm.js";
22
+ 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-dwlBUjbC.esm.js";
23
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-D0ktk7Hh.esm.js";
24
24
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-rc6kBHo5.esm.js";
25
25
 
26
26
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
2
2
  import { c as createManager, s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CuOW1Er2.esm.js";
4
- import { h as mapDigitalIdScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-BK0bPHoc.esm.js";
4
+ import { h as mapDigitalIdScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-dwlBUjbC.esm.js";
5
5
 
6
6
  //#region src/internal/idCapture/idCaptureManagerFactory.ts
7
7
  function getPermissionStatus(snapshot) {
@@ -3,7 +3,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.j
3
3
  import { r as getToken, t as api } from "./api-CESGtpbH.esm.js";
4
4
  import { S as revokeObjectURL } from "./events-D6-e4vok.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
6
- import { t as getDisableIpify } from "./session-CGtQJJzB.esm.js";
6
+ import { t as getDisableIpify } from "./session-CrkWAs-q.esm.js";
7
7
  import { a as fromPromise, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
8
8
  import { n as IncodeCanvas } from "./deepsightService-O74l4Y__.esm.js";
9
9
  import { _ as stopRecording$1, a as StreamCanvasCapture, g as startRecording, h as createRecordingSession, i as flagIdManualReview, n as preloadOpenViduProvider, v as StreamCanvasProcessingSession } from "./recordingService-Ig2UgbLv.esm.js";