@incodetech/core 0.0.0-dev-20260813-2991a679 → 0.0.0-dev-20260814-a427a729

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 (55) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DmU3XcUT.esm.js → BrowserDiagnosticsCryptoProvider-BD9lRz4C.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-C9ewfTXC.esm.js → apiError-Bfl3rVot.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-SxqzvmHf.esm.js → authenticationManager-hUFUlxli.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-BSia2svd.esm.js → authenticationStateMachine-DJcacZPp.esm.js} +2 -2
  7. package/dist/{deepsightLoader-CxhndUYz.esm.js → deepsightLoader-CFVtSxoQ.esm.js} +3 -3
  8. package/dist/document-capture.d.ts +1 -1
  9. package/dist/document-upload.d.ts +4 -4
  10. package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DlGYd-sJ.d.ts} +65 -65
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-BmQJxHYZ.esm.js → dynamicFormsManager-CWtJ-91y.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-BgAfJJQH.esm.js → dynamicFormsStateMachine-nyaMVUdR.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-CUXrRyZ2.esm.js → ekybManager-BAs6UtuS.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-DH3uM8DO.esm.js → ekybStateMachine-BYArZ7Tf.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-BV9xT0cc.esm.js → electronicSignatureManager-CufuTZDv.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +1 -1
  20. package/dist/extensibility.esm.js +9 -9
  21. package/dist/{faceCaptureManagerFactory-C8oK6tdq.esm.js → faceCaptureManagerFactory-tGzXC0uh.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-C9-Fzm8d.esm.js → faceCaptureSetup-BihK6TJg.esm.js} +2 -2
  23. package/dist/flow.esm.js +3 -3
  24. package/dist/{flowCompletionService-B3suP9s_.esm.js → flowCompletionService-BECC46AM.esm.js} +1 -1
  25. package/dist/{flowServices-j7UZkYFu.esm.js → flowServices-ZG93kaCq.esm.js} +3 -3
  26. package/dist/geolocation.esm.js +2 -2
  27. package/dist/{geolocationManager-D4AIjfeN.esm.js → geolocationManager-FtBbSnpq.esm.js} +1 -1
  28. package/dist/{geolocationStateMachine-BeEwZnQx.esm.js → geolocationStateMachine-Bz0EGjcD.esm.js} +1 -1
  29. package/dist/id-selfie-flow.esm.js +6 -6
  30. package/dist/id.esm.js +3 -3
  31. package/dist/{idCaptureManager-CWmt6dp7.esm.js → idCaptureManager-CUCq3lv4.esm.js} +2 -2
  32. package/dist/{idCaptureServices-wlaNQ3ib.esm.js → idCaptureServices-J9lpD4HN.esm.js} +2 -2
  33. package/dist/{idCaptureStateMachine-C6711mJz.esm.js → idCaptureStateMachine-DNvg_Neh.esm.js} +7 -7
  34. package/dist/index.esm.js +1 -1
  35. package/dist/{onDeviceFaceResults-wU4uSbN-.esm.js → onDeviceFaceResults-YnaR-zS4.esm.js} +3 -3
  36. package/dist/personhood.esm.js +3 -3
  37. package/dist/qe-signature.esm.js +1 -1
  38. package/dist/{recordingService-CyT_8BPw.esm.js → recordingService-DALAu3LH.esm.js} +1 -1
  39. package/dist/{runChildModule-Cy8-2m9V.esm.js → runChildModule-EVq3zhv3.esm.js} +1 -1
  40. package/dist/selfie.esm.js +4 -4
  41. package/dist/{selfieManager-BcCcnW3q.esm.js → selfieManager-JGcqSjA7.esm.js} +2 -2
  42. package/dist/{selfieStateMachine-DOEFt4Bo.esm.js → selfieStateMachine-ITeYX2xv.esm.js} +2 -2
  43. package/dist/{session-qR0DAVjz.esm.js → session-DxbLRjX0.esm.js} +4 -4
  44. package/dist/session.esm.js +4 -4
  45. package/dist/{sessionInitializer-DAr2DSlY.esm.js → sessionInitializer-CT_9C-6i.esm.js} +2 -2
  46. package/dist/{setup-GQkY_66u.esm.js → setup-D0ItAKXG.esm.js} +4 -4
  47. package/dist/trueSight-nY_LVTt2.esm.js +1 -0
  48. package/dist/{trueSightService-Bf7-wYag.esm.js → trueSightService-C2YSK7OW.esm.js} +2 -2
  49. package/dist/video-selfie.esm.js +3 -3
  50. package/dist/{videoSelfieCameraWarmer-CVFHbQua.esm.js → videoSelfieCameraWarmer-CYIQiKW-.esm.js} +2 -2
  51. package/dist/wasm.esm.js +1 -1
  52. package/dist/workflow.d.ts +4 -4
  53. package/dist/workflow.esm.js +14 -14
  54. package/package.json +3 -3
  55. package/dist/trueSight-XzLKY-t_.esm.js +0 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("5D0nPlA87ZpQtwyn4H9A2pJ2bhpGZZ6ieWkOlpXuJZQ=", "qU+fxOlGqkFmd9k5tjv2KoJBRh2555HjZoSeRcScXeQ=");
21
+ const key = decodeTruesightKey("4zCn55jN1m74QEzB/CEf5nuleEtH0IzwOwtBhHXKv+Y=", "ywCNJM3c2EZr9wDxRwACgnUBIAHnuK0KtZLPRHGOD6Y=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BV9xT0cc.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CufuTZDv.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Bf7-wYag.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-C2YSK7OW.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-BSia2svd.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-SxqzvmHf.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DJcacZPp.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-hUFUlxli.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C8oK6tdq.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BSia2svd.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-tGzXC0uh.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DJcacZPp.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-C9-Fzm8d.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BihK6TJg.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-Bf7-wYag.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DAr2DSlY.esm.js";
5
- import "./trueSight-XzLKY-t_.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-C2YSK7OW.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CT_9C-6i.esm.js";
5
+ import "./trueSight-nY_LVTt2.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DlGYd-sJ.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -38,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
+ setError: {
42
+ type: "setError";
43
+ params: NonReducibleUnknown;
44
+ };
41
45
  setStream: {
42
46
  type: "setStream";
43
47
  params: NonReducibleUnknown;
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
50
54
  type: "setProgress";
51
55
  params: NonReducibleUnknown;
52
56
  };
53
- setError: {
54
- type: "setError";
55
- params: NonReducibleUnknown;
56
- };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  params: NonReducibleUnknown;
@@ -72,11 +72,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
72
72
  }, EventObject>;
73
73
  id: string | undefined;
74
74
  };
75
- initCamera: {
76
- src: "initCamera";
77
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
78
- id: string | undefined;
79
- };
80
75
  requestPermission: {
81
76
  src: "requestPermission";
82
77
  logic: PromiseActorLogic<PermissionResult, {
@@ -85,6 +80,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
85
80
  }, EventObject>;
86
81
  id: string | undefined;
87
82
  };
83
+ initCamera: {
84
+ src: "initCamera";
85
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
86
+ id: string | undefined;
87
+ };
88
88
  checkPermission: {
89
89
  src: "checkPermission";
90
90
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -258,7 +258,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
258
258
  readonly initial: "tutorial";
259
259
  readonly context: ({ input }: {
260
260
  spawn: {
261
- <TSrc extends "uploadDocument" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
261
+ <TSrc extends "uploadDocument" | "requestPermission" | "initCamera" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
262
262
  src: "uploadDocument";
263
263
  logic: PromiseActorLogic<DocumentUploadResponse, {
264
264
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
@@ -282,12 +282,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
282
282
  input?: InputFrom<T["logic"]> | undefined;
283
283
  syncSnapshot?: boolean;
284
284
  } & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
285
- src: "initCamera";
286
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
285
+ src: "requestPermission";
286
+ logic: PromiseActorLogic<PermissionResult, {
287
+ permissionResult?: PermissionResult;
288
+ requestMotionPermission: boolean;
289
+ }, EventObject>;
287
290
  id: string | undefined;
288
291
  } extends (infer T_1) ? T_1 extends {
289
- src: "initCamera";
290
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
292
+ src: "requestPermission";
293
+ logic: PromiseActorLogic<PermissionResult, {
294
+ permissionResult?: PermissionResult;
295
+ requestMotionPermission: boolean;
296
+ }, EventObject>;
291
297
  id: string | undefined;
292
298
  } ? T_1 extends {
293
299
  src: TSrc;
@@ -297,18 +303,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
297
303
  input?: InputFrom<T_1["logic"]> | undefined;
298
304
  syncSnapshot?: boolean;
299
305
  } & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
300
- src: "requestPermission";
301
- logic: PromiseActorLogic<PermissionResult, {
302
- permissionResult?: PermissionResult;
303
- requestMotionPermission: boolean;
304
- }, EventObject>;
306
+ src: "initCamera";
307
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
305
308
  id: string | undefined;
306
309
  } extends (infer T_2) ? T_2 extends {
307
- src: "requestPermission";
308
- logic: PromiseActorLogic<PermissionResult, {
309
- permissionResult?: PermissionResult;
310
- requestMotionPermission: boolean;
311
- }, EventObject>;
310
+ src: "initCamera";
311
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
312
312
  id: string | undefined;
313
313
  } ? T_2 extends {
314
314
  src: TSrc;
@@ -361,11 +361,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
361
361
  }, EventObject>;
362
362
  id: string | undefined;
363
363
  };
364
- initCamera: {
365
- src: "initCamera";
366
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
367
- id: string | undefined;
368
- };
369
364
  requestPermission: {
370
365
  src: "requestPermission";
371
366
  logic: PromiseActorLogic<PermissionResult, {
@@ -374,6 +369,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
374
369
  }, EventObject>;
375
370
  id: string | undefined;
376
371
  };
372
+ initCamera: {
373
+ src: "initCamera";
374
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
375
+ id: string | undefined;
376
+ };
377
377
  checkPermission: {
378
378
  src: "checkPermission";
379
379
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -621,11 +621,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
621
621
  }, EventObject>;
622
622
  id: string | undefined;
623
623
  };
624
- initCamera: {
625
- src: "initCamera";
626
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
627
- id: string | undefined;
628
- };
629
624
  requestPermission: {
630
625
  src: "requestPermission";
631
626
  logic: PromiseActorLogic<PermissionResult, {
@@ -634,6 +629,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
634
629
  }, EventObject>;
635
630
  id: string | undefined;
636
631
  };
632
+ initCamera: {
633
+ src: "initCamera";
634
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
635
+ id: string | undefined;
636
+ };
637
637
  checkPermission: {
638
638
  src: "checkPermission";
639
639
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -706,11 +706,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
706
706
  }, EventObject>;
707
707
  id: string | undefined;
708
708
  };
709
- initCamera: {
710
- src: "initCamera";
711
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
712
- id: string | undefined;
713
- };
714
709
  requestPermission: {
715
710
  src: "requestPermission";
716
711
  logic: PromiseActorLogic<PermissionResult, {
@@ -719,6 +714,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
719
714
  }, EventObject>;
720
715
  id: string | undefined;
721
716
  };
717
+ initCamera: {
718
+ src: "initCamera";
719
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
720
+ id: string | undefined;
721
+ };
722
722
  checkPermission: {
723
723
  src: "checkPermission";
724
724
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -790,11 +790,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
790
790
  }, EventObject>;
791
791
  id: string | undefined;
792
792
  };
793
- initCamera: {
794
- src: "initCamera";
795
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
796
- id: string | undefined;
797
- };
798
793
  requestPermission: {
799
794
  src: "requestPermission";
800
795
  logic: PromiseActorLogic<PermissionResult, {
@@ -803,6 +798,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
803
798
  }, EventObject>;
804
799
  id: string | undefined;
805
800
  };
801
+ initCamera: {
802
+ src: "initCamera";
803
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
804
+ id: string | undefined;
805
+ };
806
806
  checkPermission: {
807
807
  src: "checkPermission";
808
808
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -875,11 +875,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
875
875
  }, EventObject>;
876
876
  id: string | undefined;
877
877
  };
878
- initCamera: {
879
- src: "initCamera";
880
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
881
- id: string | undefined;
882
- };
883
878
  requestPermission: {
884
879
  src: "requestPermission";
885
880
  logic: PromiseActorLogic<PermissionResult, {
@@ -888,6 +883,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
888
883
  }, EventObject>;
889
884
  id: string | undefined;
890
885
  };
886
+ initCamera: {
887
+ src: "initCamera";
888
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
889
+ id: string | undefined;
890
+ };
891
891
  checkPermission: {
892
892
  src: "checkPermission";
893
893
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -1129,11 +1129,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1129
1129
  }, EventObject>;
1130
1130
  id: string | undefined;
1131
1131
  };
1132
- initCamera: {
1133
- src: "initCamera";
1134
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
1135
- id: string | undefined;
1136
- };
1137
1132
  requestPermission: {
1138
1133
  src: "requestPermission";
1139
1134
  logic: PromiseActorLogic<PermissionResult, {
@@ -1142,6 +1137,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1142
1137
  }, EventObject>;
1143
1138
  id: string | undefined;
1144
1139
  };
1140
+ initCamera: {
1141
+ src: "initCamera";
1142
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
1143
+ id: string | undefined;
1144
+ };
1145
1145
  checkPermission: {
1146
1146
  src: "checkPermission";
1147
1147
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -1214,11 +1214,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1214
1214
  }, EventObject>;
1215
1215
  id: string | undefined;
1216
1216
  };
1217
- initCamera: {
1218
- src: "initCamera";
1219
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
1220
- id: string | undefined;
1221
- };
1222
1217
  requestPermission: {
1223
1218
  src: "requestPermission";
1224
1219
  logic: PromiseActorLogic<PermissionResult, {
@@ -1227,6 +1222,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1227
1222
  }, EventObject>;
1228
1223
  id: string | undefined;
1229
1224
  };
1225
+ initCamera: {
1226
+ src: "initCamera";
1227
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
1228
+ id: string | undefined;
1229
+ };
1230
1230
  checkPermission: {
1231
1231
  src: "checkPermission";
1232
1232
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -1298,11 +1298,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1298
1298
  }, EventObject>;
1299
1299
  id: string | undefined;
1300
1300
  };
1301
- initCamera: {
1302
- src: "initCamera";
1303
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
1304
- id: string | undefined;
1305
- };
1306
1301
  requestPermission: {
1307
1302
  src: "requestPermission";
1308
1303
  logic: PromiseActorLogic<PermissionResult, {
@@ -1311,6 +1306,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1311
1306
  }, EventObject>;
1312
1307
  id: string | undefined;
1313
1308
  };
1309
+ initCamera: {
1310
+ src: "initCamera";
1311
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
1312
+ id: string | undefined;
1313
+ };
1314
1314
  checkPermission: {
1315
1315
  src: "checkPermission";
1316
1316
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -1433,11 +1433,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1433
1433
  }, EventObject>;
1434
1434
  id: string | undefined;
1435
1435
  };
1436
- initCamera: {
1437
- src: "initCamera";
1438
- logic: PromiseActorLogic<MediaStream, void, EventObject>;
1439
- id: string | undefined;
1440
- };
1441
1436
  requestPermission: {
1442
1437
  src: "requestPermission";
1443
1438
  logic: PromiseActorLogic<PermissionResult, {
@@ -1446,6 +1441,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1446
1441
  }, EventObject>;
1447
1442
  id: string | undefined;
1448
1443
  };
1444
+ initCamera: {
1445
+ src: "initCamera";
1446
+ logic: PromiseActorLogic<MediaStream, void, EventObject>;
1447
+ id: string | undefined;
1448
+ };
1449
1449
  checkPermission: {
1450
1450
  src: "checkPermission";
1451
1451
  logic: PromiseActorLogic<PermissionResult, void, EventObject>;
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BgAfJJQH.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-BmQJxHYZ.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-nyaMVUdR.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CWtJ-91y.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BgAfJJQH.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-nyaMVUdR.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-C9ewfTXC.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-Bfl3rVot.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-j7UZkYFu.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-DH3uM8DO.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CUXrRyZ2.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-ZG93kaCq.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BYArZ7Tf.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BAs6UtuS.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-DH3uM8DO.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BYArZ7Tf.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-j7UZkYFu.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-ZG93kaCq.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-BV9xT0cc.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-CufuTZDv.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-C9ewfTXC.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Bfl3rVot.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -15,7 +15,7 @@ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentStat
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BxWhpCLA.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
18
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js";
18
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DlGYd-sJ.js";
19
19
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-DhveFHPS.js";
20
20
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
21
21
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
@@ -1,23 +1,23 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DAr2DSlY.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-CT_9C-6i.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BV9xT0cc.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CufuTZDv.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-B8Plzf7a.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-C9-Fzm8d.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-SxqzvmHf.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BihK6TJg.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-hUFUlxli.esm.js";
10
10
  import { n as createConsentManagerFromActor } from "./consentManager-BApTlfA0.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-OmYvyung.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-UZxcrsrz.esm.js";
13
13
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-6mtAzlY2.esm.js";
14
14
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CaXWUo_N.esm.js";
15
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BmQJxHYZ.esm.js";
16
- import { n as createEkybManagerFromActor } from "./ekybManager-CUXrRyZ2.esm.js";
15
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CWtJ-91y.esm.js";
16
+ import { n as createEkybManagerFromActor } from "./ekybManager-BAs6UtuS.esm.js";
17
17
  import { n as createEkycManagerFromActor } from "./ekycManager-oTstTJuL.esm.js";
18
18
  import { n as createEmailManagerFromActor } from "./emailManager-tE-YvNtS.esm.js";
19
- import { n as createSelfieManagerFromActor } from "./selfieManager-BcCcnW3q.esm.js";
20
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CWmt6dp7.esm.js";
19
+ import { n as createSelfieManagerFromActor } from "./selfieManager-JGcqSjA7.esm.js";
20
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CUCq3lv4.esm.js";
21
21
  import { n as createPhoneManagerFromActor } from "./phoneManager-Cpiai2IM.esm.js";
22
22
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CjSMmbyq.esm.js";
23
23
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-D5vXknnJ.esm.js";
@@ -26,7 +26,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
26
26
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-CvJZhmBR.esm.js";
27
27
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-C0dfc7f6.esm.js";
28
28
  import { n as createSignatureManagerFromActor } from "./signatureManager-DdPgcmou.esm.js";
29
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-D4AIjfeN.esm.js";
29
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-FtBbSnpq.esm.js";
30
30
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DeF0Wcf5.esm.js";
31
31
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CduNXhWd.esm.js";
32
32
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BXp2WUT-.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-C9-Fzm8d.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-BihK6TJg.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
@@ -2,13 +2,13 @@ import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as sendTo, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
10
10
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-CyT_8BPw.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-DALAu3LH.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-CxfNJVZW.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-j7UZkYFu.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-ZG93kaCq.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-B3suP9s_.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Cy8-2m9V.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BECC46AM.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-EVq3zhv3.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-C9ewfTXC.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-Bfl3rVot.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DAr2DSlY.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CT_9C-6i.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-C9ewfTXC.esm.js";
6
- import "./session-qR0DAVjz.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Bfl3rVot.esm.js";
6
+ import "./session-DxbLRjX0.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-D4AIjfeN.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-BeEwZnQx.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-FtBbSnpq.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-Bz0EGjcD.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-BeEwZnQx.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-Bz0EGjcD.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
4
- import { n as isConnectivityError } from "./apiError-C9ewfTXC.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-Bfl3rVot.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-GQkY_66u.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-D0ItAKXG.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-j7UZkYFu.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-ZG93kaCq.esm.js";
5
5
  import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-WeHbQM7W.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-wlaNQ3ib.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-B3suP9s_.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-CVFHbQua.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-J9lpD4HN.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-BECC46AM.esm.js";
14
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-CYIQiKW-.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
2
2
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-C6711mJz.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CWmt6dp7.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-wlaNQ3ib.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-DNvg_Neh.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CUCq3lv4.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-J9lpD4HN.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -5,8 +5,8 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-C6711mJz.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-wlaNQ3ib.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DNvg_Neh.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-J9lpD4HN.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -2,10 +2,10 @@ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { i as isDesktop } from "./platform-Q4r1nvWX.esm.js";
5
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
5
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
6
6
  import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
7
7
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
8
- import { n as preloadOpenViduProvider } from "./recordingService-CyT_8BPw.esm.js";
8
+ import { n as preloadOpenViduProvider } from "./recordingService-DALAu3LH.esm.js";
9
9
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-WeHbQM7W.esm.js";
10
10
  //#region src/modules/id/idCameraStream.ts
11
11
  async function getIdCameraStream(deviceId) {
@@ -2,17 +2,17 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
2
2
  import { s as exposeExperimentOnce } from "./feature-management-DS_Nj5Gg.esm.js";
3
3
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
4
4
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Bf7-wYag.esm.js";
5
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-C2YSK7OW.esm.js";
6
6
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-CxfNJVZW.esm.js";
7
- import { t as getDisableIpify } from "./sessionInitializer-DAr2DSlY.esm.js";
8
- import "./trueSight-XzLKY-t_.esm.js";
7
+ import { t as getDisableIpify } from "./sessionInitializer-CT_9C-6i.esm.js";
8
+ import "./trueSight-nY_LVTt2.esm.js";
9
9
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
10
10
  import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
11
- import "./session-qR0DAVjz.esm.js";
11
+ import "./session-DxbLRjX0.esm.js";
12
12
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
13
13
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
14
14
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
15
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
15
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
16
16
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
17
17
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
18
18
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -20,7 +20,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
20
20
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
21
21
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
22
22
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
23
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-wlaNQ3ib.esm.js";
23
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-J9lpD4HN.esm.js";
24
24
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
25
25
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
26
26
  function isKnownFailReason(reason) {
@@ -1284,7 +1284,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1284
1284
  });
1285
1285
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1286
1286
  if (!input.dependencies) return;
1287
- const { loadDeepsightSession } = await import("./deepsightLoader-CxhndUYz.esm.js");
1287
+ const { loadDeepsightSession } = await import("./deepsightLoader-CFVtSxoQ.esm.js");
1288
1288
  return loadDeepsightSession({
1289
1289
  ds: input.ds,
1290
1290
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-GQkY_66u.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-D0ItAKXG.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,8 +1,8 @@
1
1
  import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Bf7-wYag.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-C2YSK7OW.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-XzLKY-t_.esm.js";
5
+ import "./trueSight-nY_LVTt2.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { i as isDesktop, s as isIPhone14OrHigher } from "./platform-Q4r1nvWX.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -523,7 +523,7 @@ async function stopRecording(session) {
523
523
  }
524
524
  }
525
525
  async function initializeDeepsightSession(options) {
526
- const { loadDeepsightSession } = await import("./deepsightLoader-CxhndUYz.esm.js");
526
+ const { loadDeepsightSession } = await import("./deepsightLoader-CFVtSxoQ.esm.js");
527
527
  return loadDeepsightSession({
528
528
  ds: options.ds,
529
529
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-Bf7-wYag.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-C2YSK7OW.esm.js";
6
6
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DAr2DSlY.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CT_9C-6i.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BV9xT0cc.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CufuTZDv.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-vXDI73LZ.esm.js";
4
4
  //#region ../infra/src/media/VideoTrimmer.ts
5
5
  async function getDurationBySeek(videoBlob) {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Bf7-wYag.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-C2YSK7OW.esm.js";
3
3
  import { C as createEventBus } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-C9-Fzm8d.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C8oK6tdq.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BihK6TJg.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-tGzXC0uh.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-DOEFt4Bo.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BcCcnW3q.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-ITeYX2xv.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-JGcqSjA7.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C8oK6tdq.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-DOEFt4Bo.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-tGzXC0uh.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-ITeYX2xv.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-C9-Fzm8d.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-BihK6TJg.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Bf7-wYag.esm.js";
3
- import "./sessionInitializer-DAr2DSlY.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-C2YSK7OW.esm.js";
3
+ import "./sessionInitializer-CT_9C-6i.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-XzLKY-t_.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-C9ewfTXC.esm.js";
5
+ import "./trueSight-nY_LVTt2.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-Bfl3rVot.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-DAr2DSlY.esm.js";
2
- import { t as IncodeApiError } from "./apiError-C9ewfTXC.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-qR0DAVjz.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-B3suP9s_.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-CT_9C-6i.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-Bfl3rVot.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-DxbLRjX0.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-BECC46AM.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,9 +1,9 @@
1
1
  import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-Bf7-wYag.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-C2YSK7OW.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-CxfNJVZW.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import "./trueSight-XzLKY-t_.esm.js";
6
+ import "./trueSight-nY_LVTt2.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
8
8
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
9
9
  import { a as isIOS } from "./platform-Q4r1nvWX.esm.js";
@@ -5,14 +5,14 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
5
5
  import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DS_Nj5Gg.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-Bf7-wYag.esm.js";
8
+ import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-C2YSK7OW.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CxfNJVZW.esm.js";
10
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-DAr2DSlY.esm.js";
10
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-CT_9C-6i.esm.js";
11
11
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
12
- import "./trueSight-XzLKY-t_.esm.js";
12
+ import "./trueSight-nY_LVTt2.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
15
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-j7UZkYFu.esm.js";
15
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-ZG93kaCq.esm.js";
16
16
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
17
17
  var BrowserPageLifecycleProvider = class {
18
18
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-C2YSK7OW.esm.js";
@@ -727,7 +727,7 @@ function epochMsToIsoString(epochMs) {
727
727
  }
728
728
  //#endregion
729
729
  //#region src/internal/version/sdkVersion.ts
730
- const SDK_VERSION = "0.0.0-dev-20260813-2991a679";
730
+ const SDK_VERSION = "0.0.0-dev-20260814-a427a729";
731
731
  //#endregion
732
732
  //#region src/internal/trueSight/recordBuilder.ts
733
733
  /**
@@ -1322,7 +1322,7 @@ let cryptoProviderPromise = null;
1322
1322
  * the service's prewarm).
1323
1323
  */
1324
1324
  function loadDiagnosticsCryptoProvider() {
1325
- cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DmU3XcUT.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1325
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-BD9lRz4C.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1326
1326
  return cryptoProviderPromise;
1327
1327
  }
1328
1328
  /**
@@ -1,13 +1,13 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-GQkY_66u.esm.js";
2
+ import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-D0ItAKXG.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-j7UZkYFu.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-ZG93kaCq.esm.js";
7
7
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
9
9
  import { n as getSupportedMediaRecorderMimeType } from "./mediaRecorderOptions-vXDI73LZ.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CVFHbQua.esm.js";
10
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CYIQiKW-.esm.js";
11
11
  //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
12
12
  /**
13
13
  * How often `MediaRecorder` hands us buffered data (incremental blobs).
@@ -1,10 +1,10 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-j7UZkYFu.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-ZG93kaCq.esm.js";
5
5
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-wU4uSbN-.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-YnaR-zS4.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DTUrftxR.esm.js";
2
2
  import { s as warmupWasm } from "./safeStorage-Ep56I-f_.esm.js";
3
- import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-GQkY_66u.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-D0ItAKXG.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -334,10 +334,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
334
334
  id: string | undefined;
335
335
  };
336
336
  }>, Values<{
337
- setError: {
338
- type: "setError";
339
- params: NonReducibleUnknown;
340
- };
341
337
  setLoadingResult: {
342
338
  type: "setLoadingResult";
343
339
  params: NonReducibleUnknown;
@@ -370,6 +366,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
370
366
  type: "setFinishStatusFailed";
371
367
  params: NonReducibleUnknown;
372
368
  };
369
+ setError: {
370
+ type: "setError";
371
+ params: NonReducibleUnknown;
372
+ };
373
373
  setModuleError: {
374
374
  type: "setModuleError";
375
375
  params: NonReducibleUnknown;
@@ -1,30 +1,30 @@
1
1
  import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-Bf7-wYag.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-C2YSK7OW.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CxfNJVZW.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DAr2DSlY.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CT_9C-6i.esm.js";
6
6
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
7
- import "./trueSight-XzLKY-t_.esm.js";
8
- import { r as toIncodeApiError } from "./apiError-C9ewfTXC.esm.js";
9
- import { g as toEkybConfig } from "./flowServices-j7UZkYFu.esm.js";
7
+ import "./trueSight-nY_LVTt2.esm.js";
8
+ import { r as toIncodeApiError } from "./apiError-Bfl3rVot.esm.js";
9
+ import { g as toEkybConfig } from "./flowServices-ZG93kaCq.esm.js";
10
10
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
11
11
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
12
12
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
13
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-BV9xT0cc.esm.js";
13
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CufuTZDv.esm.js";
14
14
  import "./ae-signature.esm.js";
15
15
  import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
16
- import { t as authenticationMachine } from "./authenticationStateMachine-BSia2svd.esm.js";
16
+ import { t as authenticationMachine } from "./authenticationStateMachine-DJcacZPp.esm.js";
17
17
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-COd7_l2T.esm.js";
18
18
  import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
19
19
  import { t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
20
20
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
21
21
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DpWiaUPB.esm.js";
22
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BgAfJJQH.esm.js";
23
- import { t as ekybMachine } from "./ekybStateMachine-DH3uM8DO.esm.js";
22
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-nyaMVUdR.esm.js";
23
+ import { t as ekybMachine } from "./ekybStateMachine-BYArZ7Tf.esm.js";
24
24
  import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
25
25
  import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
26
- import { t as selfieMachine } from "./selfieStateMachine-DOEFt4Bo.esm.js";
27
- import { t as idCaptureMachine } from "./idCaptureStateMachine-C6711mJz.esm.js";
26
+ import { t as selfieMachine } from "./selfieStateMachine-ITeYX2xv.esm.js";
27
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DNvg_Neh.esm.js";
28
28
  import { t as phoneMachine } from "./phoneStateMachine-E1fUUcNM.esm.js";
29
29
  import { t as watchlistMachine } from "./watchlistStateMachine-Bl7Wy9Cm.esm.js";
30
30
  import { n as identityReuseMachine } from "./identityReuseStateMachine-AubRPhIi.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zro
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Bq_e3l4E.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-C9SYCJcH.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-Cf73DGWO.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-BeEwZnQx.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-Bz0EGjcD.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BYKYUdza.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-CJiO2yLO.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-B3suP9s_.esm.js";
40
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Cy8-2m9V.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BECC46AM.esm.js";
40
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-EVq3zhv3.esm.js";
41
41
  import "./qe-signature.esm.js";
42
42
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-BcBMkMvV.esm.js";
43
43
  //#region src/internal/orchestration/defaultModules.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260813-2991a679",
3
+ "version": "0.0.0-dev-20260814-a427a729",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -282,8 +282,8 @@
282
282
  "tsdown": "^0.22.8",
283
283
  "typescript": "^5.9.3",
284
284
  "vitest": "4.1.10",
285
- "@incodetech/config": "1.0.2",
286
- "@incodetech/infra": "1.2.1"
285
+ "@incodetech/infra": "1.2.1",
286
+ "@incodetech/config": "1.0.2"
287
287
  },
288
288
  "scripts": {
289
289
  "build": "tsdown -c tsdown.config.ts",
@@ -1 +0,0 @@
1
- import "./trueSightService-Bf7-wYag.esm.js";