@incodetech/core 2.5.0-rc.3 → 2.5.0-rc.4

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 (89) hide show
  1. package/dist/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-BAP_KRUT.esm.js} +54 -0
  2. package/dist/{FaceDetectionProvider-CCJo4bco.esm.js → FaceDetectionProvider-klK6EFg6.esm.js} +5 -5
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-DxhYr0v7.esm.js → apiError-DRsBE3CK.esm.js} +1 -1
  5. package/dist/authentication.d.ts +3 -3
  6. package/dist/authentication.esm.js +2 -2
  7. package/dist/{authenticationManager-BXdvE7lC.esm.js → authenticationManager-CyvlBPdd.esm.js} +3 -3
  8. package/dist/{authenticationManager-CFHIObef.d.ts → authenticationManager-DWFnFadt.d.ts} +1 -1
  9. package/dist/{authenticationStateMachine-Bf0ApKso.esm.js → authenticationStateMachine-DlzoWoU4.esm.js} +3 -3
  10. package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-Bn9Z5wM5.esm.js} +1 -1
  11. package/dist/{camera-E_Kcre4O.esm.js → camera-wzsqfd3B.esm.js} +9 -1
  12. package/dist/camera.d.ts +2 -2
  13. package/dist/camera.esm.js +1 -1
  14. package/dist/consent.d.ts +1 -1
  15. package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-Duzd8paN.d.ts} +5 -5
  16. package/dist/{deepsightLoader-C7TAHJXG.esm.js → deepsightLoader-JqZ_BHU4.esm.js} +3 -3
  17. package/dist/{desktopCameraElection-ByUXdW6A.esm.js → desktopCameraElection-q3cVTQ6a.esm.js} +19 -7
  18. package/dist/document-capture.d.ts +1 -1
  19. package/dist/document-capture.esm.js +2 -2
  20. package/dist/{documentCaptureManager-CoGcEiMK.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +1 -1
  21. package/dist/{documentCaptureManager-C9g-btPN.esm.js → documentCaptureManager-D5oiXpwG.esm.js} +1 -1
  22. package/dist/{documentCaptureStateMachine-B0b1h_GT.esm.js → documentCaptureStateMachine-zyJcTCBx.esm.js} +4 -4
  23. package/dist/dynamic-forms.esm.js +2 -2
  24. package/dist/{dynamicFormsManager-DWeIy62Y.esm.js → dynamicFormsManager-CrQe8JpB.esm.js} +1 -1
  25. package/dist/{dynamicFormsStateMachine-dJEw3-L4.esm.js → dynamicFormsStateMachine-BbQk7qGH.esm.js} +1 -1
  26. package/dist/ekyb.esm.js +2 -2
  27. package/dist/{ekybManager-JBglywM8.esm.js → ekybManager-CMr6x_1w.esm.js} +1 -1
  28. package/dist/{ekybStateMachine-CUq0RRXx.esm.js → ekybStateMachine-CmrEOQpf.esm.js} +1 -1
  29. package/dist/ekyc-prefill.esm.js +2 -2
  30. package/dist/{ekycPrefillManager-CMGSavny.esm.js → ekycPrefillManager-D4e5zKJO.esm.js} +1 -1
  31. package/dist/{ekycPrefillStateMachine-43l5cV8s.esm.js → ekycPrefillStateMachine-C5lP7aBp.esm.js} +1 -1
  32. package/dist/electronic-signature.esm.js +1 -1
  33. package/dist/{electronicSignatureManager-C86sxqsy.esm.js → electronicSignatureManager-BP-va382.esm.js} +1 -1
  34. package/dist/extensibility.d.ts +7 -7
  35. package/dist/extensibility.esm.js +14 -14
  36. package/dist/{faceCaptureManagerFactory-DqDNQb8X.d.ts → faceCaptureManagerFactory-DLFzd1nq.d.ts} +2 -2
  37. package/dist/{faceCaptureManagerFactory-dgc5H8hd.esm.js → faceCaptureManagerFactory-kFzpFeWi.esm.js} +2 -2
  38. package/dist/{faceCaptureSetup-BcE26nwo.esm.js → faceCaptureSetup-CpnjQFgi.esm.js} +21 -10
  39. package/dist/{feature-management-So4L3K2G.esm.js → feature-management-CxMEynqK.esm.js} +1 -1
  40. package/dist/feature-management.esm.js +1 -1
  41. package/dist/fiscal-qr.esm.js +1 -1
  42. package/dist/{fiscalQrManager-D4G-4xKE.esm.js → fiscalQrManager-2ZBUw08-.esm.js} +2 -2
  43. package/dist/flow.d.ts +1 -1
  44. package/dist/flow.esm.js +3 -3
  45. package/dist/{flowCompletionService-DVqGjUJ5.esm.js → flowCompletionService-HyLrcPyI.esm.js} +1 -1
  46. package/dist/{flowServices-m20VxXpw.esm.js → flowServices-DB-8bIC3.esm.js} +6 -5
  47. package/dist/geolocation.esm.js +2 -2
  48. package/dist/{geolocationManager-B7tr1Mjr.esm.js → geolocationManager-Bg_D9126.esm.js} +1 -1
  49. package/dist/{geolocationStateMachine-Bj7PzCgO.esm.js → geolocationStateMachine-DYwyH9H5.esm.js} +1 -1
  50. package/dist/id-ocr.d.ts +1 -1
  51. package/dist/id-selfie-flow.d.ts +1 -1
  52. package/dist/id-selfie-flow.esm.js +7 -7
  53. package/dist/id.esm.js +3 -3
  54. package/dist/{idCaptureManager-BY8Ms5-x.esm.js → idCaptureManager-B-r13aBN.esm.js} +5 -5
  55. package/dist/{idCaptureServices-DxRuZzik.esm.js → idCaptureServices-BUtcpwTU.esm.js} +6 -5
  56. package/dist/{idCaptureStateMachine-jIgD_6K9.esm.js → idCaptureStateMachine-qK87MsJV.esm.js} +22 -12
  57. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  58. package/dist/index.esm.js +1 -1
  59. package/dist/kyb-checks.esm.js +2 -2
  60. package/dist/{kybChecksManager-0_CnXLk4.esm.js → kybChecksManager-C-tMl9v-.esm.js} +1 -1
  61. package/dist/{kybChecksStateMachine-CothByiQ.esm.js → kybChecksStateMachine-B8HBo4Sr.esm.js} +1 -1
  62. package/dist/mandatory-consent.d.ts +1 -1
  63. package/dist/{mandatoryConsentManager-DszYRM5U.d.ts → mandatoryConsentManager-CCkV4Cm3.d.ts} +5 -5
  64. package/dist/{permissionGuards-DoAed6-z.esm.js → permissionGuards-CR0Z10rU.esm.js} +1 -1
  65. package/dist/{permissionServices-Ex5xc1h7.esm.js → permissionServices-BMQItC9y.esm.js} +6 -3
  66. package/dist/qe-signature.esm.js +1 -1
  67. package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-yptkVJTO.esm.js} +3 -2
  68. package/dist/{runChildModule-BeAXn155.esm.js → runChildModule-BfKUYITn.esm.js} +1 -1
  69. package/dist/{sdkVersion-CK98LU4K.esm.js → sdkVersion-WUghPvAM.esm.js} +1 -1
  70. package/dist/selfie.d.ts +3 -3
  71. package/dist/selfie.esm.js +7 -7
  72. package/dist/{selfieErrorUtils-Bd3iBR1y.esm.js → selfieErrorUtils-CDEXv09U.esm.js} +1 -1
  73. package/dist/{selfieManager-u0dnwOE7.esm.js → selfieManager-CESXppTr.esm.js} +3 -3
  74. package/dist/{selfieManager-Btqla0Id.d.ts → selfieManager-CvWeyYup.d.ts} +1 -1
  75. package/dist/{selfieStateMachine-BvMe5dxz.esm.js → selfieStateMachine-DTgmC86l.esm.js} +3 -3
  76. package/dist/{session--fux_Vkl.esm.js → session-BsnIw7oQ.esm.js} +3 -3
  77. package/dist/session.esm.js +4 -4
  78. package/dist/{sessionInitializer-BhXyYkt8.esm.js → sessionInitializer-6OS932zX.esm.js} +3 -3
  79. package/dist/{setup-uIE9pmGh.esm.js → setup-DpNKrn3K.esm.js} +4 -4
  80. package/dist/{trueSightService-DhNRlYgN.esm.js → trueSightService-N_y4mTc3.esm.js} +1 -1
  81. package/dist/{types-CoAp9UmW.d.ts → types-BRmwbyAu.d.ts} +2 -0
  82. package/dist/{types-BxLFoqzR.d.ts → types-Bc1-m6MR.d.ts} +1 -1
  83. package/dist/video-selfie.d.ts +1 -1
  84. package/dist/video-selfie.esm.js +4 -4
  85. package/dist/{videoSelfieCameraWarmer-e9InU88j.esm.js → videoSelfieCameraWarmer-CsIqHijy.esm.js} +6 -6
  86. package/dist/{videoSelfieStepDetector-VJFqUQmL.d.ts → videoSelfieStepDetector-DStjqQQm.d.ts} +14 -1
  87. package/dist/wasm.esm.js +1 -1
  88. package/dist/workflow.esm.js +16 -16
  89. package/package.json +1 -1
@@ -73,6 +73,7 @@ function cameraCompositorWorkerMain(scope) {
73
73
  let videoEncoder = null;
74
74
  let audioEncoder = null;
75
75
  let hasAudioSource = false;
76
+ let activeAudioReader = null;
76
77
  let audioWanted = false;
77
78
  let audioFormat = null;
78
79
  let audioInHeader = false;
@@ -450,14 +451,20 @@ function cameraCompositorWorkerMain(scope) {
450
451
  };
451
452
  const pumpAudio = async (readable) => {
452
453
  const reader = readable.getReader();
454
+ activeAudioReader = reader;
453
455
  try {
454
456
  for (;;) {
455
457
  const { value, done } = await reader.read();
456
458
  if (done) return;
459
+ if (reader !== activeAudioReader) {
460
+ value.close();
461
+ return;
462
+ }
457
463
  if (paused || recording !== "on") value.close();
458
464
  else encodeAudio(value);
459
465
  }
460
466
  } catch (error) {
467
+ if (reader !== activeAudioReader) return;
461
468
  audioWanted = false;
462
469
  scope.postMessage({
463
470
  type: "record-error",
@@ -549,6 +556,15 @@ function cameraCompositorWorkerMain(scope) {
549
556
  case "source":
550
557
  switchSource(message.readable);
551
558
  break;
559
+ case "audio": {
560
+ if (!encodeConfig || !hasAudioSource) break;
561
+ const previous = activeAudioReader;
562
+ activeAudioReader = null;
563
+ previous?.cancel().catch(() => {});
564
+ audio.offsetUs = null;
565
+ pumpAudio(message.readable);
566
+ break;
567
+ }
552
568
  case "pause":
553
569
  paused = true;
554
570
  break;
@@ -708,6 +724,44 @@ var CameraCompositor = class {
708
724
  if (previousVideoTrack) previousVideoTrack.stop();
709
725
  }
710
726
  /**
727
+ * Stops the microphone while no attempt records, so it is not held between
728
+ * attempts. Only the in-worker encoder can take a new microphone later
729
+ * (`switchAudio`); a `MediaRecorder` must keep its tracks, so there the
730
+ * microphone stays until `stop()`.
731
+ */
732
+ releaseAudio() {
733
+ if (!this.encodesInWorker || !this.audioTrack) return;
734
+ this.composite?.removeTrack(this.audioTrack);
735
+ this.audioTrack.stop();
736
+ this.audioTrack = null;
737
+ }
738
+ /**
739
+ * Gives the in-worker encoder the microphone of `stream` after
740
+ * `releaseAudio`. Otherwise the composite keeps its microphone and the audio
741
+ * tracks of `stream` are stopped, because nothing else would end them.
742
+ */
743
+ switchAudio(stream) {
744
+ const [track, ...unused] = stream.getAudioTracks();
745
+ for (const extra of unused) extra.stop();
746
+ if (!track) return;
747
+ if (!this.encodesInWorker || this.audioTrack || !this.composite) {
748
+ track.stop();
749
+ return;
750
+ }
751
+ try {
752
+ const processor = createTrackProcessor(track);
753
+ this.postToWorker({
754
+ type: "audio",
755
+ readable: processor.readable
756
+ }, [processor.readable]);
757
+ } catch {
758
+ track.stop();
759
+ return;
760
+ }
761
+ this.audioTrack = track;
762
+ this.composite.addTrack(track);
763
+ }
764
+ /**
711
765
  * True when this compositor records by itself: the worker transport started
712
766
  * with `encodeInWorker` and the browser has `VideoEncoder`. Use the
713
767
  * `*WorkerRecording` methods instead of a `MediaRecorder` then; the
@@ -1,13 +1,13 @@
1
1
  import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-uIE9pmGh.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DpNKrn3K.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DhNRlYgN.esm.js";
6
- import "./sessionInitializer-BhXyYkt8.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-N_y4mTc3.esm.js";
6
+ import "./sessionInitializer-6OS932zX.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
- import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
10
+ import { r as hasBackCamera } from "./backCameraStream-Bn9Z5wM5.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
12
  import { n as saveProcessFaceMatch } from "./processFaceMatch-B_DkDTE5.esm.js";
13
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
@@ -235,7 +235,7 @@ function startDetection(params) {
235
235
  };
236
236
  }
237
237
  async function initializeDeepsightSession(options) {
238
- const { loadDeepsightSession } = await import("./deepsightLoader-C7TAHJXG.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-JqZ_BHU4.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
241
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C86sxqsy.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BP-va382.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 { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DhNRlYgN.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-N_y4mTc3.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DqDNQb8X.js";
2
- import { t as AuthenticationConfig } from "./types-BxLFoqzR.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CFHIObef.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DLFzd1nq.js";
2
+ import { t as AuthenticationConfig } from "./types-Bc1-m6MR.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DWFnFadt.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-Bf0ApKso.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BXdvE7lC.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DlzoWoU4.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CyvlBPdd.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-uIE9pmGh.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-DpNKrn3K.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
4
  import "./events-CP3yOzAl.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-dgc5H8hd.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-Bf0ApKso.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-kFzpFeWi.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DlzoWoU4.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DqDNQb8X.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DLFzd1nq.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BcE26nwo.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CCJo4bco.esm.js";
5
- import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-ByUXdW6A.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CpnjQFgi.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-klK6EFg6.esm.js";
5
+ import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-q3cVTQ6a.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  import { a as isIOS, c as isIPhone14OrHigher, d as isSafari, i as isDesktop, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
3
- import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-E_Kcre4O.esm.js";
3
+ import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-wzsqfd3B.esm.js";
4
4
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
5
5
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
6
6
  import { n as isBackFacingTrack, r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
@@ -136,6 +136,14 @@ async function requestCameraWithFallback(baseConstraints, fallbacks = DEFAULT_RE
136
136
  }
137
137
  throw new Error("All camera resolution fallbacks failed");
138
138
  }
139
+ /**
140
+ * The video tracks of `video` with the audio tracks of `audio`, as one stream.
141
+ * Returns `video` itself when `audio` has no audio track.
142
+ */
143
+ function withAudioTracks(video, audio) {
144
+ const audioTracks = audio?.getAudioTracks() ?? [];
145
+ return audioTracks.length > 0 ? new MediaStream([...video.getVideoTracks(), ...audioTracks]) : video;
146
+ }
139
147
  function stopCameraStream(stream) {
140
148
  for (const track of stream.getTracks()) track.stop();
141
149
  }
@@ -147,4 +155,4 @@ async function applyTrackConstraints(track, constraints) {
147
155
  await track.applyConstraints(constraints);
148
156
  }
149
157
  //#endregion
150
- export { stopCameraStream as a, isCameraGrantedInDocument as c, requestCameraWithFallback as i, markCameraGrantedInDocument as l, enumerateVideoDevices as n, clearCameraGrantedInDocument as o, requestCameraAccess as r, isCameraDenialErrorName as s, applyTrackConstraints as t };
158
+ export { stopCameraStream as a, isCameraDenialErrorName as c, requestCameraWithFallback as i, isCameraGrantedInDocument as l, enumerateVideoDevices as n, withAudioTracks as o, requestCameraAccess as r, clearCameraGrantedInDocument as s, applyTrackConstraints as t, markCameraGrantedInDocument as u };
package/dist/camera.d.ts CHANGED
@@ -4,8 +4,8 @@ type RequestPermissionOptions = {
4
4
  requestMotion?: boolean;
5
5
  /**
6
6
  * Also request microphone access in the same `getUserMedia` call. Used by
7
- * Video Selfie, which records audio alongside video. Defaults to `false` so
8
- * camera-only flows (selfie, ID) keep requesting `{ video: true }` exactly.
7
+ * Video Selfie, and by ID and selfie when they record a merged session with
8
+ * sound. Defaults to `false`, so other flows keep `{ video: true }` exactly.
9
9
  */
10
10
  requestAudio?: boolean;
11
11
  };
@@ -1,2 +1,2 @@
1
- import { a as requestPermission, t as checkPermission } from "./permissionServices-Ex5xc1h7.esm.js";
1
+ import { a as requestPermission, t as checkPermission } from "./permissionServices-BMQItC9y.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Duzd8paN.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -87,10 +87,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
87
87
  type: "setLoadError";
88
88
  params: NonReducibleUnknown;
89
89
  };
90
- resetContext: {
91
- type: "resetContext";
92
- params: NonReducibleUnknown;
93
- };
94
90
  setConsentData: {
95
91
  type: "setConsentData";
96
92
  params: NonReducibleUnknown;
@@ -99,10 +95,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
99
95
  type: "toggleCheckbox";
100
96
  params: NonReducibleUnknown;
101
97
  };
98
+ resetContext: {
99
+ type: "resetContext";
100
+ params: NonReducibleUnknown;
101
+ };
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
105
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
105
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
106
106
  readonly id: "consent";
107
107
  readonly initial: "idle";
108
108
  readonly context: ({ input }: {
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-DhNRlYgN.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-CK98LU4K.esm.js";
4
- import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-BhXyYkt8.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-N_y4mTc3.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-WUghPvAM.esm.js";
4
+ import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-6OS932zX.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
@@ -3,8 +3,8 @@ import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE
3
3
  import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { l as markCameraGrantedInDocument, n as enumerateVideoDevices, o as clearCameraGrantedInDocument, s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
7
- import { l as queryCameraPermission } from "./permissionServices-Ex5xc1h7.esm.js";
6
+ import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-wzsqfd3B.esm.js";
7
+ import { l as queryCameraPermission } from "./permissionServices-BMQItC9y.esm.js";
8
8
  import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
9
9
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
10
10
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
@@ -295,6 +295,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
295
295
  let pendingDeliveryEvent = null;
296
296
  let visibilityGeneration = 0;
297
297
  let hostStream = null;
298
+ let audioStream = null;
298
299
  let resourcesReleased = false;
299
300
  let cycleTransferred = false;
300
301
  let commandQueue = Promise.resolve();
@@ -343,6 +344,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
343
344
  }
344
345
  });
345
346
  };
347
+ const withMic = (videoStream) => withAudioTracks(videoStream, audioStream);
346
348
  const releaseResources = () => {
347
349
  if (resourcesReleased) return;
348
350
  resourcesReleased = true;
@@ -363,6 +365,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
363
365
  finalizeDeferred = false;
364
366
  stopTracks(hostStream);
365
367
  hostStream = null;
368
+ stopTracks(audioStream);
369
+ audioStream = null;
366
370
  if (cycleTransferred) input.cycleOwnership.releaseByAttempt();
367
371
  else input.cycleOwnership.releaseByController();
368
372
  };
@@ -451,8 +455,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
451
455
  onFirstFrame: () => {
452
456
  startupTiming.firstFrameMs ??= Math.max(0, now() - cameraStepStartedAt);
453
457
  },
454
- onCameraReady: (audioStream) => {
455
- stopTracks(audioStream);
458
+ onCameraReady: (claimedAudio) => {
459
+ stopTracks(claimedAudio);
456
460
  step.outcome ??= { ready: true };
457
461
  },
458
462
  onCameraFailed: (error) => {
@@ -484,10 +488,18 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
484
488
  await input.configureWorkflow();
485
489
  startupTiming.configureMs = Math.max(0, now() - configureStartedAt);
486
490
  if (!active) return;
491
+ if (input.recordAudio) try {
492
+ const mic = await requestCameraAccess({ audio: true });
493
+ if (!active) {
494
+ stopTracks(mic);
495
+ return;
496
+ }
497
+ audioStream = mic;
498
+ } catch {}
487
499
  recorderOperationInFlight = true;
488
500
  const recorderStartedAt = now();
489
501
  try {
490
- await input.recorder.start(displayStream);
502
+ await input.recorder.start(withMic(displayStream));
491
503
  recorderStarted = input.recorder.mode !== "none";
492
504
  } catch {
493
505
  try {
@@ -610,7 +622,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
610
622
  }
611
623
  try {
612
624
  recorderOperationInFlight = true;
613
- await input.recorder.resumeAfterPoc(displayStream);
625
+ await input.recorder.resumeAfterPoc(withMic(displayStream));
614
626
  recorderResumedAfterPoc = true;
615
627
  postPocDisplayStream = displayStream;
616
628
  } catch {
@@ -793,7 +805,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
793
805
  }
794
806
  recorderOperationInFlight = true;
795
807
  try {
796
- await input.recorder.resumeFromBackground(resumedStream);
808
+ await input.recorder.resumeFromBackground(withMic(resumedStream));
797
809
  if (!active) return;
798
810
  if (receivedVisibilityGeneration !== visibilityGeneration) {
799
811
  recorderOperationInFlight = false;
@@ -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, u as DocumentUploadStatus } from "./types-CyNndVAT.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CoGcEiMK.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BZBmcOKI.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,3 +1,3 @@
1
- import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-B0b1h_GT.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-C9g-btPN.esm.js";
1
+ import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-zyJcTCBx.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-D5oiXpwG.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
263
263
  type: "fileSizeOkForNonGallery";
264
264
  params: unknown;
265
265
  };
266
- }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
266
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
267
267
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
268
268
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
269
269
  readonly id: "documentCapture";
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-B0b1h_GT.esm.js";
6
+ import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-zyJcTCBx.esm.js";
7
7
  //#region src/modules/document-capture/documentCaptureActor.ts
8
8
  function createDocumentCaptureActor(options) {
9
9
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -1,11 +1,11 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
- import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Ex5xc1h7.esm.js";
6
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DoAed6-z.esm.js";
4
+ import { a as stopCameraStream } from "./camera-wzsqfd3B.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BMQItC9y.esm.js";
6
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CR0Z10rU.esm.js";
7
7
  import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-Bn9Z5wM5.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
11
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-dJEw3-L4.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DWeIy62Y.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BbQk7qGH.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CrQe8JpB.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-dJEw3-L4.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BbQk7qGH.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
8
8
  function createDynamicFormsActor(options) {
9
9
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DxhYr0v7.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DRsBE3CK.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-CUq0RRXx.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-JBglywM8.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-CmrEOQpf.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CMr6x_1w.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as ekybMachine } from "./ekybStateMachine-CUq0RRXx.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-CmrEOQpf.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { n as getFlow } from "./flowServices-m20VxXpw.esm.js";
2
+ import { n as getFlow } from "./flowServices-DB-8bIC3.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
@@ -1,3 +1,3 @@
1
- import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-43l5cV8s.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-CMGSavny.esm.js";
1
+ import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-C5lP7aBp.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-D4e5zKJO.esm.js";
3
3
  export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-43l5cV8s.esm.js";
3
+ import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-C5lP7aBp.esm.js";
4
4
  //#region src/modules/ekyc-prefill/ekycPrefillActor.ts
5
5
  /** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
6
6
  function createEkycPrefillActor(options = {}) {
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-DxhYr0v7.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-DRsBE3CK.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C86sxqsy.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BP-va382.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
3
  import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DxhYr0v7.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DRsBE3CK.esm.js";
6
6
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
7
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -5,33 +5,33 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DqDNQb8X.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DLFzd1nq.js";
9
9
  import "./createFaceAvatar-BimBTONm.js";
10
10
  import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
11
11
  import "./StreamCanvasCapture-Y6cQ0Y4s.js";
12
12
  import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DBVw9Etw.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CFHIObef.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DWFnFadt.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Duzd8paN.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Ci2iVuog.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CoGcEiMK.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BZBmcOKI.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
23
23
  import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BcLhkpp8.js";
24
24
  import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
26
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Btqla0Id.js";
26
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CvWeyYup.js";
27
27
  import { i as CaptureIdResponse } from "./types-CYrtpEe5.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
30
30
  import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
31
31
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DszYRM5U.js";
34
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CCkV4Cm3.js";
34
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
37
37
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";