@incodetech/core 2.3.0-rc.1 → 2.3.0-rc.10

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 (90) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CU6kBvqv.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
  2. package/dist/{FaceDetectionProvider-BfhWkK90.esm.js → FaceDetectionProvider-BZYHujqz.esm.js} +8 -8
  3. package/dist/{MotionSensorProvider-BgTYwg9L.esm.js → MotionSensorProvider-DyhbM4Si.esm.js} +1 -1
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/{apiError-Budb6m6w.esm.js → apiError-iTFZ5fiI.esm.js} +1 -1
  6. package/dist/authentication.d.ts +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-CjXBjC-c.d.ts → authenticationManager-B23V74p7.d.ts} +1 -1
  9. package/dist/{authenticationManager-cMXhG70r.esm.js → authenticationManager-D22ju23T.esm.js} +4 -4
  10. package/dist/{authenticationStateMachine-MOYz4HCf.esm.js → authenticationStateMachine-TyFaCegB.esm.js} +3 -3
  11. package/dist/{backCameraStream-BOtyQowf.esm.js → backCameraStream-B0-YgP_y.esm.js} +1 -0
  12. package/dist/camera.esm.js +1 -1
  13. package/dist/consent.d.ts +1 -1
  14. package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
  15. package/dist/{createCameraCycleOwnership-CX3hJGKc.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +6 -1
  16. package/dist/{deepsightLoader-DDv3vhXU.esm.js → deepsightLoader-DamOBrBJ.esm.js} +6 -6
  17. package/dist/document-capture.d.ts +1 -1
  18. package/dist/document-capture.esm.js +2 -2
  19. package/dist/{documentCaptureManager-CwAiM9WY.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
  20. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-lEtCM320.d.ts} +14 -0
  21. package/dist/{documentCaptureStateMachine-DfGOBapD.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +13 -8
  22. package/dist/dynamic-forms.esm.js +2 -2
  23. package/dist/{dynamicFormsManager-BbS-XMFc.esm.js → dynamicFormsManager-DKgiusbF.esm.js} +1 -1
  24. package/dist/{dynamicFormsStateMachine-D8zHBCh4.esm.js → dynamicFormsStateMachine-BV8yR5iN.esm.js} +1 -1
  25. package/dist/ekyb.esm.js +3 -3
  26. package/dist/{ekybManager-5aiac8wL.esm.js → ekybManager-8VUBu8VW.esm.js} +1 -1
  27. package/dist/{ekybStateMachine-Bn2IE9rx.esm.js → ekybStateMachine-Bnsefu9M.esm.js} +1 -1
  28. package/dist/electronic-signature.esm.js +1 -1
  29. package/dist/{electronicSignatureManager-BJJH0Tvi.esm.js → electronicSignatureManager--YFXVldr.esm.js} +1 -1
  30. package/dist/extensibility.d.ts +7 -7
  31. package/dist/extensibility.esm.js +13 -13
  32. package/dist/{faceCaptureManagerFactory-B7Ms6pSs.esm.js → faceCaptureManagerFactory-Bk6pVs6E.esm.js} +3 -3
  33. package/dist/{faceCaptureManagerFactory-BeUl8fl1.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +80 -40
  34. package/dist/{faceCaptureSetup-bkAlr5d8.esm.js → faceCaptureSetup-CGQDK97m.esm.js} +267 -45
  35. package/dist/{feature-management-E0mq0pMs.esm.js → feature-management-C8OAO_CZ.esm.js} +1 -1
  36. package/dist/feature-management.esm.js +1 -1
  37. package/dist/fiscal-qr.esm.js +1 -1
  38. package/dist/{fiscalQrManager-BunLVFbd.esm.js → fiscalQrManager-DbCVMIBx.esm.js} +1 -1
  39. package/dist/flow.esm.js +3 -3
  40. package/dist/{flowCompletionService-DJp1odGN.esm.js → flowCompletionService-C0zcPnqK.esm.js} +1 -1
  41. package/dist/{flowServices-DjPFGs_D.esm.js → flowServices-G1FDrkLd.esm.js} +5 -5
  42. package/dist/geolocation.esm.js +2 -2
  43. package/dist/{geolocationManager-D5906YXx.esm.js → geolocationManager-DNixQOgf.esm.js} +1 -1
  44. package/dist/{geolocationStateMachine-BVOduc3y.esm.js → geolocationStateMachine-D1aZJ6eR.esm.js} +1 -1
  45. package/dist/id-selfie-flow.esm.js +9 -9
  46. package/dist/id.d.ts +2 -2
  47. package/dist/id.esm.js +4 -4
  48. package/dist/idCaptureDefaults-sJahGQgV.esm.js +282 -0
  49. package/dist/{idCaptureManager-rfV9dIXy.esm.js → idCaptureManager-B8lo-ksK.esm.js} +5 -5
  50. package/dist/{idCaptureManager-DKESug0R.d.ts → idCaptureManager-BaHEyQyr.d.ts} +23 -5
  51. package/dist/{idCaptureServices-i1KxugN7.esm.js → idCaptureServices-DLqls7Xv.esm.js} +60 -13
  52. package/dist/{idCaptureStateMachine-Ne_PXth_.esm.js → idCaptureStateMachine-CCPGFPRF.esm.js} +221 -76
  53. package/dist/index.d.ts +1 -1
  54. package/dist/index.esm.js +1 -1
  55. package/dist/mandatory-consent.d.ts +1 -1
  56. package/dist/{mandatoryConsentManager-vhv1co_n.d.ts → mandatoryConsentManager-CJSyhTpi.d.ts} +4 -4
  57. package/dist/{multipartRecordingService-OEgIRvqC.esm.js → multipartRecordingService-YKu0Bd7S.esm.js} +490 -8
  58. package/dist/{permissionGuards-uYZYFu4J.esm.js → permissionGuards-D6TfVop2.esm.js} +1 -1
  59. package/dist/{permissionServices-Bj_fyWtv.esm.js → permissionServices-EY3_Vx6c.esm.js} +2 -2
  60. package/dist/qe-signature.esm.js +1 -1
  61. package/dist/{runChildModule-CI1gGWN1.esm.js → runChildModule-B3Z4iJnG.esm.js} +1 -1
  62. package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
  63. package/dist/{sdkVersion-BZh6dj53.esm.js → sdkVersion-CD9fJC2Y.esm.js} +1 -1
  64. package/dist/selfie.d.ts +2 -2
  65. package/dist/selfie.esm.js +7 -7
  66. package/dist/{selfieManager-4RRLi21P.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
  67. package/dist/{selfieManager-B-2c1n_x.esm.js → selfieManager-DzOPNipB.esm.js} +4 -4
  68. package/dist/{selfieStateMachine-Bzx41R8d.esm.js → selfieStateMachine-CidiobBW.esm.js} +3 -3
  69. package/dist/{session-3LmvAU4S.esm.js → session-BABCfUhC.esm.js} +3 -3
  70. package/dist/session.esm.js +4 -4
  71. package/dist/{sessionInitializer-BFk33E67.esm.js → sessionInitializer-BK5NjMe0.esm.js} +4 -4
  72. package/dist/{setup-Cv-JM9QC.d.ts → setup-Cyko6cAn.d.ts} +6 -18
  73. package/dist/{setup-BWG-hivt.esm.js → setup-D4YCSH31.esm.js} +12 -200
  74. package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
  75. package/dist/tri.esm.js +1 -1
  76. package/dist/{trueSightService-BN-Hzw82.esm.js → trueSightService-D8yZwF3G.esm.js} +189 -570
  77. package/dist/video-selfie.esm.js +5 -6
  78. package/dist/{videoSelfieCameraWarmer-B8PcYqmz.esm.js → videoSelfieCameraWarmer-C80ZPDZ8.esm.js} +6 -6
  79. package/dist/{warmup-CUUnwYxe.esm.js → warmup-ChDwHSel.esm.js} +5 -0
  80. package/dist/wasm.d.ts +1 -1
  81. package/dist/wasm.esm.js +3 -2
  82. package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-DYrLUEII.esm.js} +1 -1
  83. package/dist/workflow.esm.js +15 -15
  84. package/package.json +1 -6
  85. package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +0 -36
  86. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +0 -42
  87. package/dist/idCaptureDefaults-CbPA-Auz.esm.js +0 -727
  88. package/dist/personhood.d.ts +0 -538
  89. package/dist/personhood.esm.js +0 -1574
  90. package/dist/types-BT_Oalip.d.ts +0 -1
@@ -1,31 +1,13 @@
1
1
  //#region ../infra/src/crypto/truesightKey.ts
2
- /** Interim P1 key id — the BE looks up the AES key by this label. */
3
- const TRUESIGHT_KID = "truesight-v1";
4
- const KEY_LENGTH_BYTES = 32;
5
- /** Recovers the key from its two obfuscated halves. Throws on malformed input. */
6
- function decodeTruesightKey(s0Base64, s1Base64) {
7
- const s0 = fromBase64(s0Base64);
8
- const s1 = fromBase64(s1Base64);
9
- if (s0.length !== s1.length || s0.length === 0) throw new Error("truesight key halves are malformed");
10
- const key = new Uint8Array(s0.length);
11
- for (let i = 0; i < key.length; i += 1) key[i] = s1[(i + 7) % s1.length] ^ s0[i];
12
- return key;
13
- }
14
2
  /**
15
- * The bundle's key, decoded lazily — `null` when this build carries no key
16
- * (defines absent → collect-only mode, uploads disabled). Returns a fresh
17
- * copy per call so callers may zero their copy after use.
3
+ * Legacy TrueSight key helpers. ENG-57951 disconnects the shared-key path;
4
+ * ENG-58122 tracks secure encryption and restoration.
18
5
  */
6
+ /** Interim P1 key id — the BE looks up the AES key by this label. */
7
+ const TRUESIGHT_KID = "truesight-v1";
8
+ /** No distributed shared key while TrueSight is disconnected (ENG-57951). */
19
9
  function getTruesightKey() {
20
- try {
21
- const key = decodeTruesightKey("bC1iA+DkVsTbXZxVo4zxX1WgxB+ZuE7kJAZbgSs4JyA=", "xhqIej9EHsl2MuSJboCooWjRtF5KVhQksC6bmhlMG7k=");
22
- return key.length === KEY_LENGTH_BYTES ? key : null;
23
- } catch {
24
- return null;
25
- }
26
- }
27
- function fromBase64(value) {
28
- return Uint8Array.from(atob(value), (char) => char.charCodeAt(0));
10
+ return null;
29
11
  }
30
12
  //#endregion
31
13
  //#region ../infra/src/providers/browser/BrowserDiagnosticsCryptoProvider.ts
@@ -1,14 +1,14 @@
1
- import { t as ensureWasmPipelines } from "./setup-BWG-hivt.esm.js";
2
- import { s as wasmRuntime } from "./warmup-CUUnwYxe.esm.js";
3
- import { i as BaseWasmProvider } from "./safeStorage-B-trhxg6.esm.js";
4
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BN-Hzw82.esm.js";
5
- import "./sessionInitializer-BFk33E67.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-D8yZwF3G.esm.js";
2
+ import { s as wasmRuntime } from "./warmup-ChDwHSel.esm.js";
3
+ import { i as BaseWasmProvider } from "./safeStorage-BdU9_m2E.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-D4YCSH31.esm.js";
5
+ import "./sessionInitializer-BK5NjMe0.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
9
9
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
10
- import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
11
- import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
10
+ import { i as StreamCanvasProcessingSession } from "./multipartRecordingService-YKu0Bd7S.esm.js";
11
+ import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
12
12
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
13
13
  /**
14
14
  * On-device still-face capture is owned by the protected camera-cycle actor.
@@ -156,7 +156,7 @@ function startDetection(params) {
156
156
  };
157
157
  }
158
158
  async function initializeDeepsightSession(options) {
159
- const { loadDeepsightSession } = await import("./deepsightLoader-DDv3vhXU.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-DamOBrBJ.esm.js");
160
160
  return loadDeepsightSession({
161
161
  ds: options.ds,
162
162
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { n as resolveSessionStorage } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { n as resolveSessionStorage } from "./safeStorage-BdU9_m2E.esm.js";
2
2
  //#region ../infra/src/providers/browser/MotionSensorProvider.ts
3
3
  const MOTION_PERMISSION_GRANTED_KEY = "motionSensorsPermissionsGranted";
4
4
  const MOTION_PERMISSION_DENIED_KEY = "motionSensorsPermissionsDenied";
@@ -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-BJJH0Tvi.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager--YFXVldr.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-BN-Hzw82.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-D8yZwF3G.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-BeUl8fl1.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DMLstvui.js";
2
2
  import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-B23V74p7.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-MOYz4HCf.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-cMXhG70r.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-TyFaCegB.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D22ju23T.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -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 { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BeUl8fl1.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DMLstvui.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-BWG-hivt.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-D4YCSH31.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B7Ms6pSs.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-MOYz4HCf.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Bk6pVs6E.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-TyFaCegB.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,9 +1,9 @@
1
1
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-bkAlr5d8.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-BfhWkK90.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CGQDK97m.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-BZYHujqz.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
- import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
6
+ import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
7
7
  //#region src/modules/authentication/authenticationErrorUtils.ts
8
8
  const AUTH_ERROR_MAP = {
9
9
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
@@ -222,6 +222,7 @@ async function getAndroidBackCameraStream(fallbackLevel = 0) {
222
222
  };
223
223
  } catch (error) {
224
224
  const errorName = error instanceof Error ? error.name : "UnknownError";
225
+ if (errorName === "NotAllowedError" || errorName === "PermissionDeniedError") throw error;
225
226
  const nextLevel = Math.min(fallbackLevel + 1, 5);
226
227
  if (errorName === "NotReadableError") {
227
228
  await sleep(300);
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-EY3_Vx6c.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-BhYFeKiG.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-uhDPdU6i.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
- setConsentData: {
82
- type: "setConsentData";
83
- params: NonReducibleUnknown;
84
- };
85
- toggleCheckbox: {
86
- type: "toggleCheckbox";
87
- params: NonReducibleUnknown;
88
- };
89
81
  clearError: {
90
82
  type: "clearError";
91
83
  params: NonReducibleUnknown;
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
86
  type: "resetContext";
95
87
  params: NonReducibleUnknown;
96
88
  };
89
+ setConsentData: {
90
+ type: "setConsentData";
91
+ params: NonReducibleUnknown;
92
+ };
93
+ toggleCheckbox: {
94
+ type: "toggleCheckbox";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,4 +1,4 @@
1
- import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-CUUnwYxe.esm.js";
1
+ import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-ChDwHSel.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
@@ -192,6 +192,11 @@ var CameraCycleProvider = class {
192
192
  captureProtectedFrame(target) {
193
193
  return this.runtime.captureProtectedFrame(target);
194
194
  }
195
+ /**
196
+ * @deprecated Unused by SDK 2 production flows.
197
+ * Retained for compatibility; avoid new uses.
198
+ * Candidate for removal after a compatibility review.
199
+ */
195
200
  paintFrameToCanvas(canvas, options) {
196
201
  return this.runtime.paintFrameToCanvas(canvas, options);
197
202
  }
@@ -1,11 +1,11 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
- import { l as trueSightLog } from "./trueSightService-BN-Hzw82.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-BFk33E67.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-BZh6dj53.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-D8yZwF3G.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-BK5NjMe0.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-CD9fJC2Y.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
8
- import { t as MotionSensorProvider } from "./MotionSensorProvider-BgTYwg9L.esm.js";
7
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DYrLUEII.esm.js";
8
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-DyhbM4Si.esm.js";
9
9
  import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
10
10
  import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
11
11
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-lEtCM320.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-DfGOBapD.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-CwAiM9WY.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-D312sSIu.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-BRPxqYD2.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DfGOBapD.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-D312sSIu.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();
@@ -55,6 +55,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
55
55
  [x: string]: ActorRefFromLogic<PromiseActorLogic<DocumentUploadResponse, {
56
56
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
57
57
  processingType: string;
58
+ sendBase64: boolean;
58
59
  onProgress: (progress: number) => void;
59
60
  }, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, {
60
61
  permissionResult?: PermissionResult;
@@ -68,6 +69,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
68
69
  logic: PromiseActorLogic<DocumentUploadResponse, {
69
70
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
70
71
  processingType: string;
72
+ sendBase64: boolean;
71
73
  onProgress: (progress: number) => void;
72
74
  }, EventObject>;
73
75
  id: string | undefined;
@@ -263,6 +265,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
263
265
  logic: PromiseActorLogic<DocumentUploadResponse, {
264
266
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
265
267
  processingType: string;
268
+ sendBase64: boolean;
266
269
  onProgress: (progress: number) => void;
267
270
  }, EventObject>;
268
271
  id: string | undefined;
@@ -271,6 +274,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
271
274
  logic: PromiseActorLogic<DocumentUploadResponse, {
272
275
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
273
276
  processingType: string;
277
+ sendBase64: boolean;
274
278
  onProgress: (progress: number) => void;
275
279
  }, EventObject>;
276
280
  id: string | undefined;
@@ -357,6 +361,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
357
361
  logic: PromiseActorLogic<DocumentUploadResponse, {
358
362
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
359
363
  processingType: string;
364
+ sendBase64: boolean;
360
365
  onProgress: (progress: number) => void;
361
366
  }, EventObject>;
362
367
  id: string | undefined;
@@ -617,6 +622,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
617
622
  logic: PromiseActorLogic<DocumentUploadResponse, {
618
623
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
619
624
  processingType: string;
625
+ sendBase64: boolean;
620
626
  onProgress: (progress: number) => void;
621
627
  }, EventObject>;
622
628
  id: string | undefined;
@@ -702,6 +708,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
702
708
  logic: PromiseActorLogic<DocumentUploadResponse, {
703
709
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
704
710
  processingType: string;
711
+ sendBase64: boolean;
705
712
  onProgress: (progress: number) => void;
706
713
  }, EventObject>;
707
714
  id: string | undefined;
@@ -786,6 +793,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
786
793
  logic: PromiseActorLogic<DocumentUploadResponse, {
787
794
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
788
795
  processingType: string;
796
+ sendBase64: boolean;
789
797
  onProgress: (progress: number) => void;
790
798
  }, EventObject>;
791
799
  id: string | undefined;
@@ -871,6 +879,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
871
879
  logic: PromiseActorLogic<DocumentUploadResponse, {
872
880
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
873
881
  processingType: string;
882
+ sendBase64: boolean;
874
883
  onProgress: (progress: number) => void;
875
884
  }, EventObject>;
876
885
  id: string | undefined;
@@ -1125,6 +1134,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1125
1134
  logic: PromiseActorLogic<DocumentUploadResponse, {
1126
1135
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1127
1136
  processingType: string;
1137
+ sendBase64: boolean;
1128
1138
  onProgress: (progress: number) => void;
1129
1139
  }, EventObject>;
1130
1140
  id: string | undefined;
@@ -1210,6 +1220,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1210
1220
  logic: PromiseActorLogic<DocumentUploadResponse, {
1211
1221
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1212
1222
  processingType: string;
1223
+ sendBase64: boolean;
1213
1224
  onProgress: (progress: number) => void;
1214
1225
  }, EventObject>;
1215
1226
  id: string | undefined;
@@ -1294,6 +1305,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1294
1305
  logic: PromiseActorLogic<DocumentUploadResponse, {
1295
1306
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1296
1307
  processingType: string;
1308
+ sendBase64: boolean;
1297
1309
  onProgress: (progress: number) => void;
1298
1310
  }, EventObject>;
1299
1311
  id: string | undefined;
@@ -1429,6 +1441,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1429
1441
  logic: PromiseActorLogic<DocumentUploadResponse, {
1430
1442
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1431
1443
  processingType: string;
1444
+ sendBase64: boolean;
1432
1445
  onProgress: (progress: number) => void;
1433
1446
  }, EventObject>;
1434
1447
  id: string | undefined;
@@ -1686,6 +1699,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
1686
1699
  }) => {
1687
1700
  capturedDocument: CapturedDocument;
1688
1701
  processingType: DocumentType;
1702
+ sendBase64: boolean;
1689
1703
  onProgress: (progress: number) => void;
1690
1704
  };
1691
1705
  readonly onDone: {
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
6
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
7
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-uYZYFu4J.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
6
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
7
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D6TfVop2.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
11
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -47,20 +47,22 @@ function normalizeProcessingType(processingType) {
47
47
  function buildUrl(baseUrl, type, format) {
48
48
  return `${baseUrl}?type=${encodeURIComponent(type)}&format=${format}`;
49
49
  }
50
- function resolveUploadUrl(processingType, fileFormat) {
50
+ function resolveUploadUrl(processingType, fileFormat, sendBase64 = false) {
51
51
  const format = fileFormat === "application/pdf" ? "pdf" : "image";
52
52
  const resolvedType = normalizeProcessingType(processingType);
53
53
  if (isMultiPageDocumentType(resolvedType)) return buildUrl(endpoints.documentV3, resolvedType, format);
54
54
  if (V3_SINGLE_PAGE_TYPES.has(resolvedType)) return buildUrl(endpoints.documentV3, resolvedType, format);
55
55
  if (resolvedType === "carInvoice") return buildUrl(endpoints.cfdi, resolvedType, format);
56
+ if (!sendBase64) return buildUrl(endpoints.documentLegacy, resolvedType || "addressStatement", format);
56
57
  if (OTHER_DOCUMENT_TYPES.has(resolvedType)) return buildUrl(endpoints.addDocument, resolvedType, format);
57
58
  if (resolvedType === "addressStatement" || !resolvedType) return buildUrl(endpoints.addressStatement, resolvedType || "addressStatement", format);
58
59
  return buildUrl(endpoints.addressStatement, processingType, format);
59
60
  }
60
- async function uploadDocumentCapture({ base64Image, processingType, fileFormat, onProgress, signal }) {
61
- const url = resolveUploadUrl(processingType, fileFormat);
62
- const rawBase64 = base64Image.includes(",") ? base64Image.split(",")[1] : base64Image;
63
- const response = await api.post(url, { base64Image: rawBase64 }, {
61
+ async function uploadDocumentCapture({ file, base64Image, sendBase64 = false, processingType, fileFormat, onProgress, signal }) {
62
+ const url = resolveUploadUrl(processingType, fileFormat, sendBase64);
63
+ const body = sendBase64 ? { base64Image: base64Image.includes(",") ? base64Image.split(",")[1] : base64Image } : file;
64
+ const response = await api.post(url, body, {
65
+ headers: { "Content-Type": sendBase64 ? "application/json" : file.type },
64
66
  signal,
65
67
  onUploadProgress: onProgress
66
68
  });
@@ -106,7 +108,9 @@ const documentCaptureMachine = setup({
106
108
  }),
107
109
  uploadDocument: fromPromise(async ({ input, signal }) => {
108
110
  return uploadDocumentCapture({
111
+ file: input.capturedDocument.file,
109
112
  base64Image: input.capturedDocument.imageBase64,
113
+ sendBase64: input.sendBase64,
110
114
  processingType: input.processingType,
111
115
  fileFormat: input.capturedDocument.fileType,
112
116
  onProgress: input.onProgress,
@@ -418,6 +422,7 @@ const documentCaptureMachine = setup({
418
422
  return {
419
423
  capturedDocument: context.capturedDocument,
420
424
  processingType: context.config.processingType,
425
+ sendBase64: context.config.sendBase64,
421
426
  onProgress: (progress) => {
422
427
  self.send({
423
428
  type: "UPLOAD_PROGRESS",
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D8zHBCh4.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-BbS-XMFc.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV8yR5iN.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DKgiusbF.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D8zHBCh4.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV8yR5iN.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-B-3Q-LUw.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Budb6m6w.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-iTFZ5fiI.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-DjPFGs_D.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Bn2IE9rx.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-5aiac8wL.esm.js";
1
+ import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-G1FDrkLd.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Bnsefu9M.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-8VUBu8VW.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-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-Bn2IE9rx.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Bnsefu9M.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-B-3Q-LUw.esm.js";
3
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-DjPFGs_D.esm.js";
3
+ import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-G1FDrkLd.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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-DyHGgeX8.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-BJJH0Tvi.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--YFXVldr.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 { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-Budb6m6w.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-iTFZ5fiI.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -5,31 +5,31 @@ import "./Actor-iTq7YY48.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-Ds-KEVTq.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.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-BeUl8fl1.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-DMLstvui.js";
9
9
  import "./createFaceAvatar-BlcTYgJv.js";
10
10
  import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
11
11
  import "./StreamCanvasCapture-_8gdW5Lk.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B23V74p7.js";
13
13
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.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-SSKNrm5Z.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
18
18
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
19
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
19
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-lEtCM320.js";
20
20
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
21
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
24
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-4RRLi21P.js";
24
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CDCTOrcg.js";
25
25
  import { i as CaptureIdResponse } from "./types-byBHOzCG2.js";
26
- import { R as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DKESug0R.js";
26
+ import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-BaHEyQyr.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CJSyhTpi.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -1,25 +1,25 @@
1
- import { l as BrowserStorageProvider } from "./setup-BWG-hivt.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BFk33E67.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-D4YCSH31.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BK5NjMe0.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BJJH0Tvi.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager--YFXVldr.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-bkAlr5d8.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-cMXhG70r.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CGQDK97m.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D22ju23T.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
13
13
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DbIMYFcJ.esm.js";
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
16
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CwAiM9WY.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BbS-XMFc.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-5aiac8wL.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BRPxqYD2.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DKgiusbF.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-8VUBu8VW.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-BlQ-Qj4E.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-B-2c1n_x.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-rfV9dIXy.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-DzOPNipB.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-B8lo-ksK.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
@@ -29,9 +29,9 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-D5906YXx.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DNixQOgf.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
36
- import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-BunLVFbd.esm.js";
36
+ import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DbCVMIBx.esm.js";
37
37
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };