@incodetech/core 2.3.0-rc.9 → 2.3.1-rc.0

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-HO8YXP4h.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
  2. package/dist/{FaceDetectionProvider-C7bUZsH9.esm.js → FaceDetectionProvider-D8jRHN4h.esm.js} +7 -7
  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-BWlcyGbw.esm.js → apiError-DU8CQkWE.esm.js} +1 -1
  6. package/dist/authentication.d.ts +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-DcTHmYmL.d.ts → authenticationManager-B23V74p7.d.ts} +1 -1
  9. package/dist/{authenticationManager-B321A87w.esm.js → authenticationManager-CUsBXKYS.esm.js} +4 -4
  10. package/dist/{authenticationStateMachine-CSJtf13E.esm.js → authenticationStateMachine-DSw9ZBW1.esm.js} +3 -3
  11. package/dist/camera.esm.js +1 -1
  12. package/dist/consent.d.ts +1 -1
  13. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
  14. package/dist/{createCameraCycleOwnership-CX3hJGKc.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +6 -1
  15. package/dist/{deepsightLoader-FOktaF-9.esm.js → deepsightLoader-RUDydHLN.esm.js} +6 -6
  16. package/dist/document-capture.d.ts +1 -1
  17. package/dist/document-capture.esm.js +2 -2
  18. package/dist/{documentCaptureManager-pprJUhsN.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
  19. package/dist/{documentCaptureManager-W7ZXcuvL.d.ts → documentCaptureManager-lEtCM320.d.ts} +1 -1
  20. package/dist/{documentCaptureStateMachine-DN2YOxdu.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +2 -2
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-Pj67RmHb.esm.js → dynamicFormsManager-cCuCjj3D.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-B00MVHEa.esm.js → dynamicFormsStateMachine-BCfL75y-.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +3 -3
  25. package/dist/{ekybManager-CovxKSIS.esm.js → ekybManager-BFopv4w_.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-DHCg1B5d.esm.js → ekybStateMachine-CzQJIO_S.esm.js} +1 -1
  27. package/dist/electronic-signature.esm.js +1 -1
  28. package/dist/{electronicSignatureManager-BnlLBzH6.esm.js → electronicSignatureManager-BtqP3PP0.esm.js} +1 -1
  29. package/dist/extensibility.d.ts +8 -8
  30. package/dist/extensibility.esm.js +18 -12
  31. package/dist/{faceCaptureManagerFactory-DTqP1t1a.esm.js → faceCaptureManagerFactory-D3AFxvhp.esm.js} +3 -3
  32. package/dist/{faceCaptureManagerFactory-Cx-8SqRy.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +35 -3
  33. package/dist/{faceCaptureSetup-DfetEHJm.esm.js → faceCaptureSetup-n-MV8oxe.esm.js} +10 -9
  34. package/dist/{feature-management-BjROP6fF.esm.js → feature-management-Dcf2FRH5.esm.js} +1 -1
  35. package/dist/feature-management.esm.js +1 -1
  36. package/dist/flow.esm.js +3 -3
  37. package/dist/{flowCompletionService-iyH7fw8r.esm.js → flowCompletionService-CbWu7-Vz.esm.js} +1 -1
  38. package/dist/{flowServices-C8CBt9j3.esm.js → flowServices-CNiY5wWB.esm.js} +5 -5
  39. package/dist/geolocation.esm.js +2 -2
  40. package/dist/{geolocationManager-DQ5tHq5k.esm.js → geolocationManager-b5jPIMXO.esm.js} +1 -1
  41. package/dist/{geolocationStateMachine-BfNIvTHA.esm.js → geolocationStateMachine-DAy93DQ2.esm.js} +1 -1
  42. package/dist/id-selfie-flow.d.ts +1 -1
  43. package/dist/id-selfie-flow.esm.js +9 -10
  44. package/dist/id.d.ts +1 -1
  45. package/dist/id.esm.js +3 -3
  46. package/dist/{idCaptureDefaults-DCmwAxkz.esm.js → idCaptureDefaults-DVLnrTXL.esm.js} +3 -3
  47. package/dist/{idCaptureManager-De7O0TOD.d.ts → idCaptureManager-BaHEyQyr.d.ts} +0 -1
  48. package/dist/{idCaptureManager-C4gJNe18.esm.js → idCaptureManager-CX3VtrbH.esm.js} +5 -5
  49. package/dist/{idCaptureServices-CPh--aZR.esm.js → idCaptureServices-PENQKldj.esm.js} +9 -8
  50. package/dist/{idCaptureStateMachine-Du4Q40uJ.esm.js → idCaptureStateMachine-C24Jr35L.esm.js} +22 -18
  51. package/dist/identity-reuse.d.ts +1 -1
  52. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  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-2O5wztkg.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +4 -4
  57. package/dist/{multipartRecordingService-DDAOXQKm.esm.js → multipartRecordingService-mwKFTlhR.esm.js} +730 -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-CHjWYSMf.esm.js → runChildModule-AxF5Q7ag.esm.js} +1 -1
  62. package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
  63. package/dist/{sdkVersion-DCLQtexS.esm.js → sdkVersion-BJa98tGj.esm.js} +1 -1
  64. package/dist/selfie.d.ts +2 -2
  65. package/dist/selfie.esm.js +7 -7
  66. package/dist/{selfieManager-jXqwqosi.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
  67. package/dist/{selfieManager-ys-X4hkv.esm.js → selfieManager-DbTr8xIj.esm.js} +4 -4
  68. package/dist/{selfieStateMachine-BhzbXmKN.esm.js → selfieStateMachine-ZL9XxTzt.esm.js} +3 -3
  69. package/dist/{session-oKiwoHdR.esm.js → session-RRyJOWnS.esm.js} +3 -3
  70. package/dist/session.esm.js +4 -4
  71. package/dist/{sessionInitializer-DSf0jyab.esm.js → sessionInitializer-Dibh2aVX.esm.js} +4 -10
  72. package/dist/{setup-BttZ27hw.esm.js → setup-B7SYuqoY.esm.js} +7 -57
  73. package/dist/{setup-CLfBztP0.d.ts → setup-Cyko6cAn.d.ts} +4 -17
  74. package/dist/{trueSightService-C1JG8gAU.esm.js → trueSightService-C8uCAIC0.esm.js} +16 -554
  75. package/dist/video-selfie.d.ts +61 -3
  76. package/dist/video-selfie.esm.js +60 -14
  77. package/dist/{videoSelfieCameraWarmer-BpaLtLvD.esm.js → videoSelfieCameraWarmer-BkqnZgEK.esm.js} +5 -5
  78. package/dist/{videoSelfieStepDetector-Co0Gu2k2.d.ts → videoSelfieStepDetector-CAqAG2G3.d.ts} +49 -0
  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 -3
  82. package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-DYrLUEII.esm.js} +1 -1
  83. package/dist/workflow.d.ts +4 -4
  84. package/dist/workflow.esm.js +15 -15
  85. package/package.json +2 -7
  86. package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +0 -36
  87. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +0 -42
  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("nxY4C/lJGbUcQA2twGzlEpHz8TmdjvBbeIBLiUcra3o=", "QAqAFiwIRDpNaOyQw8/ZZnVATD2qQlng4xu9ni/ypOU=");
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,13 +1,13 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C1JG8gAU.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 { t as ensureWasmPipelines } from "./setup-BttZ27hw.esm.js";
5
- import "./sessionInitializer-DSf0jyab.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C8uCAIC0.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-B7SYuqoY.esm.js";
5
+ import "./sessionInitializer-Dibh2aVX.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";
10
+ import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-mwKFTlhR.esm.js";
11
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
  /**
@@ -156,7 +156,7 @@ function startDetection(params) {
156
156
  };
157
157
  }
158
158
  async function initializeDeepsightSession(options) {
159
- const { loadDeepsightSession } = await import("./deepsightLoader-FOktaF-9.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-RUDydHLN.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-BnlLBzH6.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BtqP3PP0.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-C1JG8gAU.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-C8uCAIC0.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-Cx-8SqRy.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-DcTHmYmL.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-CSJtf13E.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B321A87w.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DSw9ZBW1.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CUsBXKYS.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-Cx-8SqRy.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 { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-BttZ27hw.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-B7SYuqoY.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-DTqP1t1a.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CSJtf13E.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D3AFxvhp.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DSw9ZBW1.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-DfetEHJm.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-C7bUZsH9.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-n-MV8oxe.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-D8jRHN4h.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,
@@ -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-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,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 { l as trueSightLog } from "./trueSightService-C1JG8gAU.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-DSf0jyab.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-DCLQtexS.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-C8uCAIC0.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
3
+ import { b as BrowserEnvironmentProvider, g as IpifyProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-Dibh2aVX.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-BJa98tGj.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-W7ZXcuvL.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-DN2YOxdu.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-pprJUhsN.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-DN2YOxdu.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();
@@ -253,7 +253,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
253
253
  type: "fileSizeOkForNonGallery";
254
254
  params: unknown;
255
255
  };
256
- }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
256
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
257
257
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
258
258
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
259
259
  readonly id: "documentCapture";
@@ -3,8 +3,8 @@ 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";
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
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 = {
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B00MVHEa.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Pj67RmHb.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BCfL75y-.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-cCuCjj3D.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-B00MVHEa.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BCfL75y-.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-BWlcyGbw.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DU8CQkWE.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-C8CBt9j3.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-DHCg1B5d.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CovxKSIS.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-CNiY5wWB.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-CzQJIO_S.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BFopv4w_.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-DHCg1B5d.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-CzQJIO_S.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-C8CBt9j3.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-CNiY5wWB.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-BnlLBzH6.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-BtqP3PP0.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-BWlcyGbw.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DU8CQkWE.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-Cx-8SqRy.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-DcTHmYmL.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-uhDPdU6i.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-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-W7ZXcuvL.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-jXqwqosi.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 { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-De7O0TOD.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
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
30
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BFDI7iFK.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-2O5wztkg.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.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 { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-BttZ27hw.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-DSf0jyab.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-B7SYuqoY.esm.js";
3
+ import { _ as FingerprintProvider, g as IpifyProvider, t as getDisableIpify, y as getDeviceFingerprintInfo } from "./sessionInitializer-Dibh2aVX.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-BnlLBzH6.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BtqP3PP0.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DfetEHJm.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B321A87w.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-n-MV8oxe.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CUsBXKYS.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-pprJUhsN.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Pj67RmHb.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CovxKSIS.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BRPxqYD2.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-cCuCjj3D.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-BFopv4w_.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-ys-X4hkv.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-C4gJNe18.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-DbTr8xIj.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CX3VtrbH.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,15 @@ 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-DQ5tHq5k.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-b5jPIMXO.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
36
  import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DbCVMIBx.esm.js";
37
+ //#region src/internal/fingerprint/fingerprintApi.ts
38
+ async function getFingerprint(disableIpify) {
39
+ const shouldDisableIpify = disableIpify ?? getDisableIpify();
40
+ return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
41
+ }
42
+ //#endregion
37
43
  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 };
@@ -1,10 +1,10 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { i as concealmentToAvatar } from "./faceCaptureSetup-DfetEHJm.esm.js";
5
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
4
+ import { i as concealmentToAvatar } from "./faceCaptureSetup-n-MV8oxe.esm.js";
5
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DYrLUEII.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
7
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-EY3_Vx6c.esm.js";
8
8
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
9
9
  function getPermissionStatus(snapshot) {
10
10
  if (!snapshot.matches("permissions")) return;
@@ -4,15 +4,14 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-B8weJxmL.js";
7
- import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
7
+ import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
8
8
  import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
9
9
  import "./IWasmUtilCapability-CNWRl7jr.js";
10
10
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
11
11
  import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
12
12
  import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
13
- import "./types-BT_Oalip.js";
13
+ import { t as BaseWasmProvider } from "./BaseWasmProvider-Dyi6dKp1.js";
14
14
  import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
15
- import { t as FaceDetectionProvider } from "./FaceDetectionProvider-LdZ47bWy.js";
16
15
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
17
16
  //#region src/modules/authentication/authenticationStateMachine.d.ts
18
17
  declare const _authenticationMachine: AnyStateMachine;
@@ -73,6 +72,39 @@ type RecordingService = {
73
72
  cleanup(): void;
74
73
  };
75
74
  //#endregion
75
+ //#region ../infra/src/providers/wasm/FaceDetectionProvider.d.ts
76
+ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDetectionCapability {
77
+ private defaultThresholds;
78
+ private currentThresholds;
79
+ private currentFrame;
80
+ private onFaceDataCallback;
81
+ constructor();
82
+ processFrame(image: ImageData): Promise<void>;
83
+ initialize(config: FaceDetectionConfig): Promise<void>;
84
+ /**
85
+ * Last-registered onCapture callback — captured into a private
86
+ * field so `forceCapture()` (called from outside the WASM-callback
87
+ * lifecycle) can re-fire the same wrapper. `setCallbacks` rebinds
88
+ * this on each invocation, so the field always reflects the
89
+ * current consumer.
90
+ */
91
+ private currentOnCaptureWrapper;
92
+ processPhoto(canvas: HTMLCanvasElement): void;
93
+ postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
94
+ setCallbacks(callbacks: FaceDetectionCallbacks): void;
95
+ setPositionConstraints(constraints: FacePositionConstraints): void;
96
+ applyDefaults(autocaptureInterval?: number): void;
97
+ setAutocaptureInterval(interval: number): void;
98
+ setThresholds(thresholds: FaceDetectionThresholds): void;
99
+ setAttributesThresholds(thresholds: FaceAttributesThresholds): void;
100
+ setChecksEnabled(config: FaceChecksConfig): void;
101
+ setVideoSelfieMode(enabled: boolean): void;
102
+ forceCapture(): void;
103
+ reset(): void;
104
+ private createDefaultFaceCoordinates;
105
+ private formatFaceCoordinates;
106
+ }
107
+ //#endregion
76
108
  //#region src/modules/selfie/types.d.ts
77
109
  /**
78
110
  * Public selfie configuration.
@@ -1,21 +1,21 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-C1JG8gAU.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-C8uCAIC0.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import "./sessionInitializer-DSf0jyab.esm.js";
4
+ import "./sessionInitializer-Dibh2aVX.esm.js";
5
5
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
7
7
  import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
10
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
11
- import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-C7bUZsH9.esm.js";
10
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-D8jRHN4h.esm.js";
12
12
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
13
- import { a as flagFaceManualReview, i as imageFileToDataUrl, n as runProtectedAttempt, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
13
+ import { a as flagFaceManualReview, i as imageFileToDataUrl, n as runProtectedAttempt, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
14
14
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
16
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-uYZYFu4J.esm.js";
16
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D6TfVop2.esm.js";
17
+ import { a as getAdaptiveMediaRecorderOptions, i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-mwKFTlhR.esm.js";
17
18
  import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
18
- import { n as CameraCompositor, r as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-DDAOXQKm.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
21
21
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -602,7 +602,8 @@ var LocalRecordingService = class {
602
602
  */
603
603
  var MultipartFaceRecordingService = class {
604
604
  constructor() {
605
- this.service = new MultipartRecordingService("selfie");
605
+ this.recordingCompositor = createRecordingCompositor();
606
+ this.service = new MultipartRecordingService("selfie", new WorkerEncoderRecordingProvider(this.recordingCompositor));
606
607
  this.audioSource = [];
607
608
  this.needsVideoSourceReplacement = false;
608
609
  this.pausedForAttempt = false;
@@ -617,7 +618,7 @@ var MultipartFaceRecordingService = class {
617
618
  return;
618
619
  }
619
620
  const recordingSource = stream.clone();
620
- const compositor = new CameraCompositor({ fps: 30 });
621
+ const compositor = this.recordingCompositor;
621
622
  this.startInFlight = true;
622
623
  try {
623
624
  const composite = compositor.start(recordingSource);
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-DCLQtexS.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-BJa98tGj.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BjROP6fF.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-Dcf2FRH5.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };