@incodetech/core 0.0.0-dev-20260804-aaf46585 → 0.0.0-dev-20260806-1622a84b

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/{BrowserDiagnosticsCryptoProvider-BZqV7sJR.esm.js → BrowserDiagnosticsCryptoProvider-DACTPqHK.esm.js} +1 -2
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-eRypMxcU.esm.js → apiError-61J1QWrY.esm.js} +1 -1
  4. package/dist/authentication.d.ts +2 -2
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-DzPHEt-8.esm.js → authenticationManager-BNk1zdLY.esm.js} +2 -2
  7. package/dist/{authenticationManager-Y2_MuGXy.d.ts → authenticationManager-CiPSTRIN.d.ts} +1 -1
  8. package/dist/{authenticationStateMachine-B7tJiWTU.esm.js → authenticationStateMachine-BTbCV25V.esm.js} +3 -3
  9. package/dist/{backCameraStream-BqiXcU28.esm.js → backCameraStream-DvkELZlG.esm.js} +2 -2
  10. package/dist/camera-_2sXMXiF.esm.js +140 -0
  11. package/dist/camera.d.ts +19 -1
  12. package/dist/camera.esm.js +1 -1
  13. package/dist/consent.d.ts +1 -1
  14. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
  15. package/dist/{deepsightLoader-DL7Y2GDJ.esm.js → deepsightLoader-BS3KFcHt.esm.js} +4 -4
  16. package/dist/device.esm.js +2 -2
  17. package/dist/document-capture.d.ts +2 -2
  18. package/dist/document-capture.esm.js +2 -2
  19. package/dist/document-upload.d.ts +4 -4
  20. package/dist/document-upload.esm.js +2 -2
  21. package/dist/{documentCaptureManager-5shMxTaf.esm.js → documentCaptureManager-Ckt4gvE_.esm.js} +2 -1
  22. package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-CoT-a3Ae.d.ts} +2 -2
  23. package/dist/{documentCaptureStateMachine-LFVoDSmH.esm.js → documentCaptureStateMachine-CaswhdE0.esm.js} +4 -4
  24. package/dist/dynamic-forms.esm.js +2 -2
  25. package/dist/{dynamicFormsManager-BooCrMaK.esm.js → dynamicFormsManager-DF6bcZEg.esm.js} +1 -1
  26. package/dist/{dynamicFormsStateMachine-Bjn28VPz.esm.js → dynamicFormsStateMachine-DmrHJVyI.esm.js} +1 -1
  27. package/dist/ekyb.esm.js +3 -3
  28. package/dist/{ekybManager-h28g_Xtv.esm.js → ekybManager-BkGMnaxO.esm.js} +1 -1
  29. package/dist/{ekybStateMachine-bnK91htx.esm.js → ekybStateMachine-Dr6yPkAw.esm.js} +1 -1
  30. package/dist/electronic-signature.esm.js +1 -1
  31. package/dist/{electronicSignatureManager-k8eOulTu.esm.js → electronicSignatureManager-Bhzea4I2.esm.js} +1 -1
  32. package/dist/extensibility.d.ts +8 -8
  33. package/dist/extensibility.esm.js +10 -10
  34. package/dist/{faceCaptureManagerFactory-K8iLKaRl.d.ts → faceCaptureManagerFactory-BLW6CfOr.d.ts} +1 -1
  35. package/dist/{faceCaptureManagerFactory-XgV9yjtn.esm.js → faceCaptureManagerFactory-Ckomc53O.esm.js} +3 -3
  36. package/dist/{faceCaptureSetup-CVS6IhMo.esm.js → faceCaptureSetup-DviNSVVQ.esm.js} +4 -4
  37. package/dist/fiscal-qr.esm.js +2 -2
  38. package/dist/flow.d.ts +2 -2
  39. package/dist/flow.esm.js +3 -3
  40. package/dist/{flowCompletionService-B66s2grx.esm.js → flowCompletionService-BKTVutmF.esm.js} +1 -1
  41. package/dist/{flowServices-Dqeralkm.esm.js → flowServices-CDPLiHeh.esm.js} +3 -3
  42. package/dist/geolocation.esm.js +2 -2
  43. package/dist/{geolocationManager-Ci0ZCKr6.esm.js → geolocationManager-DuUJyVv6.esm.js} +1 -1
  44. package/dist/{geolocationStateMachine-j-nPXT5l.esm.js → geolocationStateMachine-B5M0wpkk.esm.js} +2 -2
  45. package/dist/{getDeviceClass-BGmoQmjj.esm.js → getDeviceClass-9y-kbVDw.esm.js} +1 -1
  46. package/dist/id-selfie-flow.esm.js +7 -7
  47. package/dist/id.d.ts +3 -3
  48. package/dist/id.esm.js +3 -3
  49. package/dist/{idCaptureManager-DCdBkzIB.esm.js → idCaptureManager-D8iZJatj.esm.js} +3 -3
  50. package/dist/{idCaptureManager-wKz4MXR8.d.ts → idCaptureManager-JWz-mYr-.d.ts} +2 -2
  51. package/dist/{idCaptureServices-pFRvnFdd.esm.js → idCaptureServices-uGFsH4MQ.esm.js} +5 -5
  52. package/dist/{idCaptureStateMachine-BPZDytNe.esm.js → idCaptureStateMachine-7ws3-xfJ.esm.js} +10 -10
  53. package/dist/index.esm.js +1 -1
  54. package/dist/mandatory-consent.d.ts +1 -1
  55. package/dist/{mandatoryConsentManager-B29kR0XA.d.ts → mandatoryConsentManager-DyPzUmsZ.d.ts} +4 -4
  56. package/dist/{mediaRecorderOptions-CUsftWlH.esm.js → mediaRecorderOptions-dALSV8af.esm.js} +1 -1
  57. package/dist/{onDeviceFaceResults-DzrHstja.esm.js → onDeviceFaceResults-BOCgu6M2.esm.js} +6 -6
  58. package/dist/{permissionGuards-KNkc71eN.esm.js → permissionGuards-KINpmKtI.esm.js} +1 -1
  59. package/dist/{permissionServices-3UAjhmjw.esm.js → permissionServices-UvUcOSRb.esm.js} +31 -2
  60. package/dist/personhood.d.ts +1 -1
  61. package/dist/personhood.esm.js +5 -5
  62. package/dist/{platform-Cd_yWGNG.esm.js → platform-BJrm5nzZ.esm.js} +29 -1
  63. package/dist/qe-signature.esm.js +1 -1
  64. package/dist/{recordingService-DvWs45V_.esm.js → recordingService-BsDOhy-R.esm.js} +3 -3
  65. package/dist/{runChildModule-BnlwDAAF.esm.js → runChildModule-BaUwLBvs.esm.js} +1 -1
  66. package/dist/selfie.d.ts +3 -3
  67. package/dist/selfie.esm.js +5 -5
  68. package/dist/{selfieErrorUtils-EEHiYwTi.esm.js → selfieErrorUtils-C2PYBVsp.esm.js} +1 -1
  69. package/dist/{selfieManager-hCzyzJU_.esm.js → selfieManager-B9V4N08q.esm.js} +2 -2
  70. package/dist/{selfieManager-tMxWiUk6.d.ts → selfieManager-RB6OH_Bi.d.ts} +1 -1
  71. package/dist/{selfieStateMachine-bPv7LlHS.esm.js → selfieStateMachine-I6TP6VqN.esm.js} +3 -3
  72. package/dist/{session-DtiTFOeb.esm.js → session-BTlOwOiF.esm.js} +4 -4
  73. package/dist/session.esm.js +4 -4
  74. package/dist/{sessionInitializer-67b35_K1.esm.js → sessionInitializer-B37CsuOa.esm.js} +3 -3
  75. package/dist/{setup-Ba31IGP9.esm.js → setup-CfhXNUE7.esm.js} +4 -4
  76. package/dist/trueSight-c8_3AedU.esm.js +1 -0
  77. package/dist/{trueSightService-CAM-jmTL.esm.js → trueSightService-Dg-cTLRe.esm.js} +2 -2
  78. package/dist/types-BEwVKkLJ.d.ts +15 -0
  79. package/dist/{types-B4BObr_7.d.ts → types-CxMdPvAy.d.ts} +1 -1
  80. package/dist/{types-BsTkSXlg2.d.ts → types-DT9tqQtP2.d.ts} +1 -1
  81. package/dist/video-selfie.esm.js +4 -4
  82. package/dist/{videoSelfieCameraWarmer-BdfteLhE.esm.js → videoSelfieCameraWarmer-piKZYcjV.esm.js} +6 -6
  83. package/dist/wasm.esm.js +1 -1
  84. package/dist/workflow.d.ts +4 -4
  85. package/dist/workflow.esm.js +15 -15
  86. package/package.json +1 -1
  87. package/dist/camera-BmFEyPP_.esm.js +0 -78
  88. package/dist/trueSight-C5D_RAuu.esm.js +0 -1
  89. package/dist/types-BT-aiBYV.d.ts +0 -5
@@ -17,9 +17,8 @@ function decodeTruesightKey(s0Base64, s1Base64) {
17
17
  * copy per call so callers may zero their copy after use.
18
18
  */
19
19
  function getTruesightKey() {
20
- if (typeof __TRUESIGHT_S0__ === "undefined" || typeof __TRUESIGHT_S1__ === "undefined") return null;
21
20
  try {
22
- const key = decodeTruesightKey(__TRUESIGHT_S0__, __TRUESIGHT_S1__);
21
+ const key = decodeTruesightKey("ho4eN/BioNC9N1pIvJ09J31uAjmirrGE20T0TTanpDs=", "hLVEZ6DHBSPVTtCZ6Ha8xwIXqUFbmmwMfui9oQ+ze0Y=");
23
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
24
23
  } catch {
25
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-k8eOulTu.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bhzea4I2.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-CAM-jmTL.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Dg-cTLRe.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-K8iLKaRl.js";
1
+ import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BLW6CfOr.js";
2
2
  import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-Y2_MuGXy.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CiPSTRIN.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-B7tJiWTU.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DzPHEt-8.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BTbCV25V.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BNk1zdLY.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-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-XgV9yjtn.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-B7tJiWTU.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Ckomc53O.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BTbCV25V.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-K8iLKaRl.js";
3
+ import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BLW6CfOr.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -3,9 +3,9 @@ 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-CVS6IhMo.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DzrHstja.esm.js";
8
- import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DviNSVVQ.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BOCgu6M2.esm.js";
8
+ import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
11
11
  const AUTH_ERROR_MAP = {
@@ -1,5 +1,5 @@
1
- import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
2
- import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-BmFEyPP_.esm.js";
1
+ import { i as isIOS, o as isIPhone14OrHigher, s as isSafari, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
2
+ import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-_2sXMXiF.esm.js";
3
3
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
4
4
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
5
5
  //#region src/internal/camera/backCameraStream.ts
@@ -0,0 +1,140 @@
1
+ //#region ../infra/src/media/cameraGrantMemo.ts
2
+ /**
3
+ * Document-scoped record of "a `getUserMedia` call has already succeeded here".
4
+ *
5
+ * Deliberately a module-scoped variable and **not** `sessionStorage`.
6
+ * ENG-43732's first fix (PR #298) cached the grant in `sessionStorage` and was
7
+ * reverted by PR #420: `sessionStorage` survives a page reload but an iOS
8
+ * WebView's camera grant does not, so the flag outlived the permission and the
9
+ * SDK skipped its explainer while the native prompt still appeared. In-memory
10
+ * state dies with the document, so a reload always re-asks the browser.
11
+ *
12
+ * A second consequence worth keeping: this carries no Web Storage dependency at
13
+ * all, so nothing here can throw in hosts that delete or block the storage
14
+ * globals.
15
+ *
16
+ * Written by the acquisition helpers in `./camera` and by
17
+ * `BrowserCameraProvider`. Read by Core's `checkPermission()`, which trusts it
18
+ * only on Android WebView — where the Permissions API structurally cannot
19
+ * report a grant. See `isAndroidWebView` in `../capabilities/platform`.
20
+ */
21
+ let cameraGrantedInDocument = false;
22
+ /** Records that camera access was successfully acquired in this document. */
23
+ function markCameraGrantedInDocument() {
24
+ cameraGrantedInDocument = true;
25
+ }
26
+ /**
27
+ * Forgets any recorded grant. Called whenever the browser reports a concrete
28
+ * `denied`, or an acquisition fails with `NotAllowedError` — so a permission
29
+ * revoked mid-session self-heals on the next check instead of stranding the
30
+ * user on a dead camera view.
31
+ */
32
+ function clearCameraGrantedInDocument() {
33
+ cameraGrantedInDocument = false;
34
+ }
35
+ /** Whether camera access has been successfully acquired in this document. */
36
+ function isCameraGrantedInDocument() {
37
+ return cameraGrantedInDocument;
38
+ }
39
+ /**
40
+ * Runs a camera acquisition and records its outcome in the memo: a resolved
41
+ * stream marks the grant, a permission denial forgets it, and every other
42
+ * failure leaves the memo untouched — a busy, missing or over-constrained
43
+ * device says nothing about permission. The error is always re-thrown unchanged,
44
+ * so callers keep their existing control flow.
45
+ *
46
+ * Every acquisition path should go through this rather than calling `mark`
47
+ * directly, so the "which errors count as a denial" rule lives in one place.
48
+ */
49
+ async function trackCameraAcquisition(acquire) {
50
+ try {
51
+ const result = await acquire();
52
+ markCameraGrantedInDocument();
53
+ return result;
54
+ } catch (error) {
55
+ const name = error instanceof Error ? error.name : void 0;
56
+ if (name === "NotAllowedError" || name === "PermissionDeniedError") clearCameraGrantedInDocument();
57
+ throw error;
58
+ }
59
+ }
60
+ //#endregion
61
+ //#region ../infra/src/media/camera.ts
62
+ /**
63
+ * Default resolution fallback order for camera access.
64
+ * Tries each resolution in order until one succeeds.
65
+ * Matches legacy behavior from Webcam.tsx
66
+ */
67
+ const DEFAULT_RESOLUTION_FALLBACKS = [
68
+ { height: 720 },
69
+ {
70
+ width: 3840,
71
+ height: 2160
72
+ },
73
+ {
74
+ width: 1920,
75
+ height: 1080
76
+ },
77
+ {
78
+ width: 640,
79
+ height: 480
80
+ },
81
+ {
82
+ width: 800,
83
+ height: 480
84
+ },
85
+ {}
86
+ ];
87
+ /**
88
+ * Request camera access with specific constraints.
89
+ * Throws if the request fails - no automatic fallback.
90
+ */
91
+ async function requestCameraAccess(constraints) {
92
+ if (typeof navigator === "undefined" || !navigator.mediaDevices) throw new Error("MediaDevices API not available");
93
+ const acquire = () => navigator.mediaDevices.getUserMedia(constraints);
94
+ if (!constraints.video) return acquire();
95
+ return trackCameraAcquisition(acquire);
96
+ }
97
+ /**
98
+ * Request camera access with automatic resolution fallback.
99
+ * Tries progressively different resolutions if the initial request fails.
100
+ *
101
+ * @param baseConstraints - Base constraints (facingMode, audio, etc.)
102
+ * @param fallbacks - Optional custom fallback order (defaults to 720p -> 1080p -> 480p -> auto)
103
+ * @returns MediaStream from the camera
104
+ * @throws Error if all fallbacks fail or MediaDevices API not available
105
+ */
106
+ async function requestCameraWithFallback(baseConstraints, fallbacks = DEFAULT_RESOLUTION_FALLBACKS) {
107
+ if (typeof navigator === "undefined" || !navigator.mediaDevices) throw new Error("MediaDevices API not available");
108
+ const baseVideo = baseConstraints.video;
109
+ for (let i = 0; i < fallbacks.length; i++) {
110
+ const resolution = fallbacks[i];
111
+ const videoConstraints = { ...baseVideo };
112
+ if (resolution.width) videoConstraints.width = { ideal: resolution.width };
113
+ if (resolution.height) videoConstraints.height = { ideal: resolution.height };
114
+ if (!resolution.width && !resolution.height) {
115
+ delete videoConstraints.width;
116
+ delete videoConstraints.height;
117
+ }
118
+ try {
119
+ return await trackCameraAcquisition(() => navigator.mediaDevices.getUserMedia({
120
+ ...baseConstraints,
121
+ video: videoConstraints
122
+ }));
123
+ } catch (error) {
124
+ if (i === fallbacks.length - 1) throw error;
125
+ }
126
+ }
127
+ throw new Error("All camera resolution fallbacks failed");
128
+ }
129
+ function stopCameraStream(stream) {
130
+ for (const track of stream.getTracks()) track.stop();
131
+ }
132
+ async function enumerateVideoDevices() {
133
+ if (typeof navigator === "undefined" || !navigator.mediaDevices) return [];
134
+ return (await navigator.mediaDevices.enumerateDevices()).filter((d) => d.kind === "videoinput");
135
+ }
136
+ async function applyTrackConstraints(track, constraints) {
137
+ await track.applyConstraints(constraints);
138
+ }
139
+ //#endregion
140
+ export { stopCameraStream as a, requestCameraWithFallback as i, enumerateVideoDevices as n, clearCameraGrantedInDocument as o, requestCameraAccess as r, isCameraGrantedInDocument as s, applyTrackConstraints as t };
package/dist/camera.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
1
+ import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
2
2
  //#region src/internal/permissions/permissionServices.d.ts
3
3
  type RequestPermissionOptions = {
4
4
  requestMotion?: boolean;
@@ -9,6 +9,24 @@ type RequestPermissionOptions = {
9
9
  */
10
10
  requestAudio?: boolean;
11
11
  };
12
+ /**
13
+ * Resolves the current camera permission without prompting the user.
14
+ *
15
+ * A concrete answer from the Permissions API always wins. The `'prompt'` case is
16
+ * where Android WebView needs help: it has no persistent permission store — the
17
+ * host app answers each `getUserMedia` through `onPermissionRequest` — so the
18
+ * query reports `'prompt'` however many times access was granted, and every
19
+ * capture module in a flow re-rendered the "allow camera" screen (ENG-43732).
20
+ * There we fall back to whether an acquisition has actually succeeded in this
21
+ * document.
22
+ *
23
+ * The Android-WebView gate is load-bearing, not defensive tidiness. iOS WebKit
24
+ * (PR #420) and Firefox for Android (PR #726) genuinely do re-prompt per
25
+ * `getUserMedia`, so treating a past grant as current would skip the SDK's
26
+ * explainer while the native prompt still appeared — the regressions that got
27
+ * two previous attempts at this fix reverted. Those platforms must keep seeing
28
+ * `'prompt'`.
29
+ */
12
30
  declare function checkPermission(): Promise<PermissionResult>;
13
31
  /**
14
32
  * Requests camera permission by attempting to access the camera, then immediately
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-UvUcOSRb.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-uhDPdU6i.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-3Pbtj-RV.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
- resetContext: {
86
- type: "resetContext";
87
- params: NonReducibleUnknown;
88
- };
89
85
  setConsentData: {
90
86
  type: "setConsentData";
91
87
  params: NonReducibleUnknown;
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
90
  type: "toggleCheckbox";
95
91
  params: NonReducibleUnknown;
96
92
  };
93
+ resetContext: {
94
+ type: "resetContext";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,14 +1,14 @@
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-CAM-jmTL.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-67b35_K1.esm.js";
5
- import "./trueSight-C5D_RAuu.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Dg-cTLRe.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B37CsuOa.esm.js";
5
+ import "./trueSight-c8_3AedU.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";
9
9
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
10
10
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DGiV77J_.esm.js";
11
- import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
11
+ import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
13
13
  import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
14
14
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
@@ -1,7 +1,7 @@
1
- import { i as isIPad, s as isTabletWithoutAndroid } from "./platform-Cd_yWGNG.esm.js";
1
+ import { a as isIPad, c as isTabletWithoutAndroid } from "./platform-BJrm5nzZ.esm.js";
2
2
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
3
3
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
4
- import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
4
+ import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
5
5
  //#region src/internal/device/redirectDeviceClassification.ts
6
6
  /**
7
7
  * Conservative redirect-specific check. A mobile identity must also expose an
@@ -1,3 +1,3 @@
1
- import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-B4BObr_7.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
1
+ import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-CxMdPvAy.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CoT-a3Ae.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 };
@@ -1,3 +1,3 @@
1
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-LFVoDSmH.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-5shMxTaf.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CaswhdE0.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-Ckt4gvE_.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
- setError: {
42
- type: "setError";
43
- params: NonReducibleUnknown;
44
- };
45
41
  setStream: {
46
42
  type: "setStream";
47
43
  params: NonReducibleUnknown;
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
54
50
  type: "setProgress";
55
51
  params: NonReducibleUnknown;
56
52
  };
53
+ setError: {
54
+ type: "setError";
55
+ params: NonReducibleUnknown;
56
+ };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  params: NonReducibleUnknown;
@@ -3,8 +3,8 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { c as createManager, o as createActor, 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
- import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
6
+ import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-DvkELZlG.esm.js";
8
8
  //#region src/modules/document-upload/documentUploadServices.ts
9
9
  async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
10
10
  const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.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 { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-LFVoDSmH.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CaswhdE0.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -87,6 +87,7 @@ function getPermissionStatus(snapshot) {
87
87
  if (snapshot.matches({ permissions: "learnMore" })) return "learnMore";
88
88
  if (snapshot.matches({ permissions: "requesting" })) return "requesting";
89
89
  if (snapshot.matches({ permissions: "denied" })) return "denied";
90
+ if (snapshot.matches({ permissions: "idle" })) return "checking";
90
91
  return "idle";
91
92
  }
92
93
  function mapState(snapshot) {
@@ -2,8 +2,8 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
2
2
  import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
- import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
6
- import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-B4BObr_7.js";
5
+ import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
6
+ import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-CxMdPvAy.js";
7
7
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
8
8
  declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
9
9
  type: "CAPTURE";
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { 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 invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
6
- import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
8
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
5
+ import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
6
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-DvkELZlG.esm.js";
8
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.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-Bjn28VPz.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-BooCrMaK.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DmrHJVyI.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DF6bcZEg.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.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-Bjn28VPz.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DmrHJVyI.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-eRypMxcU.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-61J1QWrY.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-Dqeralkm.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-bnK91htx.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-h28g_Xtv.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-CDPLiHeh.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Dr6yPkAw.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BkGMnaxO.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-ethtfu2b.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-bnK91htx.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Dr6yPkAw.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-Dqeralkm.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-CDPLiHeh.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-k8eOulTu.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-Bhzea4I2.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-ethtfu2b.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-eRypMxcU.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-61J1QWrY.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";
@@ -5,27 +5,27 @@ import "./Actor-iTq7YY48.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
8
- import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-K8iLKaRl.js";
8
+ import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-BLW6CfOr.js";
9
9
  import { t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js";
10
10
  import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
11
11
  import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Hmd7U0JA.js";
12
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-tMxWiUk6.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Y2_MuGXy.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
12
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-RB6OH_Bi.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CiPSTRIN.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
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-DVGr7Fq7.js";
17
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
17
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CoT-a3Ae.js";
18
18
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
19
19
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
20
20
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
21
21
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
22
- import { n as CaptureIdResponse } from "./types-BsTkSXlg2.js";
23
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-wKz4MXR8.js";
22
+ import { n as CaptureIdResponse } from "./types-DT9tqQtP2.js";
23
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-JWz-mYr-.js";
24
24
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
25
25
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
26
26
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
27
27
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
28
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B29kR0XA.js";
28
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js";
29
29
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
30
30
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
31
31
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -1,22 +1,22 @@
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-67b35_K1.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B37CsuOa.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-k8eOulTu.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Bhzea4I2.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-C4_d-1a0.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CVS6IhMo.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DzPHEt-8.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DviNSVVQ.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BNk1zdLY.esm.js";
10
10
  import { n as createConsentManagerFromActor } from "./consentManager-lG6fCXOk.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CYkSBXCF.esm.js";
13
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-5shMxTaf.esm.js";
14
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BooCrMaK.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-h28g_Xtv.esm.js";
13
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-Ckt4gvE_.esm.js";
14
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DF6bcZEg.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-BkGMnaxO.esm.js";
16
16
  import { n as createEkycManagerFromActor } from "./ekycManager-BnPKaiV_.esm.js";
17
17
  import { n as createEmailManagerFromActor } from "./emailManager-D-3pYOas.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-hCzyzJU_.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DCdBkzIB.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-B9V4N08q.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-D8iZJatj.esm.js";
20
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-SONkmpec.esm.js";
21
21
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-QakKGrF0.esm.js";
22
22
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CUVKNTFa.esm.js";
@@ -25,7 +25,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
25
25
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DWGed-91.esm.js";
26
26
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B7EYFwY_.esm.js";
27
27
  import { n as createSignatureManagerFromActor } from "./signatureManager-BpstxH7R.esm.js";
28
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Ci0ZCKr6.esm.js";
28
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DuUJyVv6.esm.js";
29
29
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-W8v-boCx.esm.js";
30
30
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Dnp-edw5.esm.js";
31
31
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -10,7 +10,7 @@ import { i as FaceData, r as FaceCoordinates, t as FaceDetectionProvider } from
10
10
  import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
11
11
  import { i as FlowModuleConfig } from "./types-KPvmag_B.js";
12
12
  import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Hmd7U0JA.js";
13
- import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
13
+ import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
14
14
  import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
15
15
  import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-DLVQS_RH.js";
16
16
  //#region src/modules/authentication/authenticationStateMachine.d.ts