@incodetech/core 0.0.0-dev-20260817-6f67bc98 → 0.0.0-dev-20260817-941e76d2

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 (116) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-BXSFBvOE.esm.js → BrowserDiagnosticsCryptoProvider-CPcF1K4D.esm.js} +1 -1
  2. package/dist/{BrowserStorageProvider-k-FDkC4W.esm.js → BrowserStorageProvider-C8847M9W.esm.js} +1 -1
  3. package/dist/FaceDetectionProvider-Cn1wS-sA.d.ts +95 -0
  4. package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-DDWlQzhi.d.ts} +2 -32
  5. package/dist/IWasmUtilCapability-5-Pncgma.d.ts +149 -0
  6. package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-CxTjgXe6.esm.js} +1 -1
  7. package/dist/ae-signature.esm.js +1 -1
  8. package/dist/{apiError-DZnaOIQH.esm.js → apiError-B3TI9TK9.esm.js} +1 -1
  9. package/dist/authentication.d.ts +3 -3
  10. package/dist/authentication.esm.js +2 -2
  11. package/dist/{authenticationManager-Bm_Lsw5F.esm.js → authenticationManager-BL7RvcC8.esm.js} +4 -4
  12. package/dist/{authenticationManager-D8DEugXP.d.ts → authenticationManager-Cb4b4dgt.d.ts} +1 -1
  13. package/dist/{authenticationStateMachine-BayAdNMr.esm.js → authenticationStateMachine-D1XsBKTx.esm.js} +2 -2
  14. package/dist/avatar.d.ts +1 -2
  15. package/dist/camera.esm.js +1 -1
  16. package/dist/consent.d.ts +1 -1
  17. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
  18. package/dist/createFaceAvatar-pUEkdk4X.d.ts +489 -0
  19. package/dist/curp-validation.d.ts +1 -1
  20. package/dist/{curpValidationManager-BxWhpCLA.d.ts → curpValidationManager-C_TQjX2P.d.ts} +1 -1
  21. package/dist/{deepsightLoader-DfdJiIoC.esm.js → deepsightLoader-BnU_V6rk.esm.js} +6 -6
  22. package/dist/{deepsightService-DLVQS_RH.d.ts → deepsightService-Dr7sNZ5r.d.ts} +2 -1
  23. package/dist/document-capture.d.ts +2 -2
  24. package/dist/document-capture.esm.js +2 -2
  25. package/dist/{documentCaptureManager-CaXWUo_N.esm.js → documentCaptureManager-D7A4k-GE.esm.js} +1 -1
  26. package/dist/{documentCaptureManager-Bvipl_tY.d.ts → documentCaptureManager-DlGYd-sJ.d.ts} +67 -67
  27. package/dist/{documentCaptureStateMachine-DpWiaUPB.esm.js → documentCaptureStateMachine-fk7MDfSZ.esm.js} +2 -2
  28. package/dist/dynamic-forms.d.ts +2 -2
  29. package/dist/dynamic-forms.esm.js +2 -2
  30. package/dist/{dynamicFormsManager-BZda7v1t.esm.js → dynamicFormsManager-CH1eSNvy.esm.js} +1 -1
  31. package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-DhveFHPS.d.ts} +1 -1
  32. package/dist/{dynamicFormsStateMachine-DapZg0ey.esm.js → dynamicFormsStateMachine-D144f-2m.esm.js} +1 -1
  33. package/dist/ekyb.d.ts +1 -1
  34. package/dist/ekyb.esm.js +3 -3
  35. package/dist/{ekybManager-_PAl6u4J.esm.js → ekybManager-BBJwCOsR.esm.js} +1 -1
  36. package/dist/{ekybStateMachine-CyWcn0DR.esm.js → ekybStateMachine-jym81TFF.esm.js} +1 -1
  37. package/dist/electronic-signature.esm.js +1 -1
  38. package/dist/{electronicSignatureManager-DnzvYbDc.esm.js → electronicSignatureManager-CWYfI4hO.esm.js} +1 -1
  39. package/dist/extensibility.d.ts +15 -13
  40. package/dist/extensibility.esm.js +12 -12
  41. package/dist/{faceCaptureManagerFactory-fq0Rl3ik.d.ts → faceCaptureManagerFactory-CKyaVKsu.d.ts} +17 -45
  42. package/dist/{faceCaptureManagerFactory-CvtozmiB.esm.js → faceCaptureManagerFactory-DysNuSGO.esm.js} +3 -3
  43. package/dist/{faceCaptureSetup-5OGpCrkg.esm.js → faceCaptureSetup-DXCPmEv2.esm.js} +4 -4
  44. package/dist/flow-events.d.ts +1 -1
  45. package/dist/flow.d.ts +8 -8
  46. package/dist/flow.esm.js +3 -3
  47. package/dist/{flowCompletionService-CFxRuksm.esm.js → flowCompletionService-DvWL2nH-.esm.js} +1 -1
  48. package/dist/{flowServices-TZ7MhN39.esm.js → flowServices-CAz3XO92.esm.js} +3 -3
  49. package/dist/geolocation.esm.js +2 -2
  50. package/dist/{geolocationManager-CiGF0fF_.esm.js → geolocationManager-CPwKn86Q.esm.js} +1 -1
  51. package/dist/{geolocationStateMachine-Yw8hWJ6d.esm.js → geolocationStateMachine-Cm28EW1O.esm.js} +1 -1
  52. package/dist/home.d.ts +1 -1
  53. package/dist/id-selfie-flow.d.ts +3 -2
  54. package/dist/id-selfie-flow.esm.js +8 -8
  55. package/dist/id.d.ts +3 -3
  56. package/dist/id.esm.js +4 -4
  57. package/dist/{idCaptureDefaults-WeHbQM7W.esm.js → idCaptureDefaults-Dowxd3J3.esm.js} +4 -3
  58. package/dist/{idCaptureManager-CX1WP8JO.esm.js → idCaptureManager-BuFn4xQl.esm.js} +5 -5
  59. package/dist/{idCaptureManager-DVWM-L4V.d.ts → idCaptureManager-DlCqj6R1.d.ts} +4 -4
  60. package/dist/{idCaptureServices-D_CGOhQj.esm.js → idCaptureServices-Bn656NFx.esm.js} +3 -3
  61. package/dist/{idCaptureStateMachine-muQL8JQR.esm.js → idCaptureStateMachine-CBpdXe7D.esm.js} +9 -9
  62. package/dist/{index-Bivs6yJF.d.ts → index-BwudEtre.d.ts} +1 -1
  63. package/dist/index.d.ts +1 -1
  64. package/dist/index.esm.js +1 -1
  65. package/dist/mandatory-consent.d.ts +2 -2
  66. package/dist/{mandatoryConsentManager-BbfpILqv.d.ts → mandatoryConsentManager-BZpKPJ1b.d.ts} +5 -5
  67. package/dist/{onDeviceFaceResults-D9hTt7RX.esm.js → onDeviceFaceResults-DT9SoUq7.esm.js} +4 -4
  68. package/dist/{permissionGuards-D2OgV9XX.esm.js → permissionGuards-BEgOUwwQ.esm.js} +1 -1
  69. package/dist/{permissionServices-B7sMtZ8f.esm.js → permissionServices-BPUkbztJ.esm.js} +2 -2
  70. package/dist/personhood.d.ts +5 -4
  71. package/dist/personhood.esm.js +6 -6
  72. package/dist/qe-signature.esm.js +1 -1
  73. package/dist/{recordingService-pr2ELDP_.esm.js → recordingService-DgwNVrR4.esm.js} +1 -1
  74. package/dist/{runChildModule-Dt1IRBCv.esm.js → runChildModule-BCd-d039.esm.js} +1 -1
  75. package/dist/{safeStorage-Ep56I-f_.esm.js → safeStorage-2nOSCCnG.esm.js} +43 -70
  76. package/dist/selfie.d.ts +4 -4
  77. package/dist/selfie.esm.js +6 -6
  78. package/dist/{selfieManager-CJAyP2MP.esm.js → selfieManager-DfeUZfgL.esm.js} +4 -4
  79. package/dist/{selfieManager-DlAKn0rp.d.ts → selfieManager-Dxj984_L.d.ts} +2 -11
  80. package/dist/{selfieStateMachine-Do4FrLwX.esm.js → selfieStateMachine-CHSNxzhO.esm.js} +2 -2
  81. package/dist/{session-0jHUdMX7.esm.js → session-CuM9od2S.esm.js} +4 -4
  82. package/dist/session.d.ts +1 -9
  83. package/dist/session.esm.js +4 -4
  84. package/dist/{sessionInitializer-CyeooZGJ.esm.js → sessionInitializer-D_B-8Ujt.esm.js} +2 -2
  85. package/dist/{setup-DywQeePQ.d.ts → setup-BwA7zG5D.d.ts} +19 -31
  86. package/dist/{setup-fErCLE2Z.esm.js → setup-y1bXyMoz.esm.js} +14 -8
  87. package/dist/trueSight-lNCajJAf.esm.js +1 -0
  88. package/dist/{trueSightService-Cl5CZse8.esm.js → trueSightService-zTWODJoh.esm.js} +4 -4
  89. package/dist/{types-GqIocZi-.d.ts → types-BUdX2CB-.d.ts} +5 -4
  90. package/dist/{types-8LPRL1Ni2.d.ts → types-BlrYfFj3.d.ts} +1 -1
  91. package/dist/types-OehE3PKn.d.ts +6 -0
  92. package/dist/{types-Cyiwbg-r.d.ts → types-RMhiEIm9.d.ts} +4 -80
  93. package/dist/types-W5OCjqmi.d.ts +10 -0
  94. package/dist/{types-CRw2IBPn.d.ts → types-s0fF3TpX.d.ts} +1 -0
  95. package/dist/video-selfie.d.ts +3 -3
  96. package/dist/video-selfie.esm.js +4 -4
  97. package/dist/{videoSelfieCameraWarmer-C2fbVokP.esm.js → videoSelfieCameraWarmer-Da9lJmK8.esm.js} +4 -4
  98. package/dist/{videoSelfieStepDetector-TyrYWahm.d.ts → videoSelfieStepDetector-Bw5t6XCU.d.ts} +4 -3
  99. package/dist/warmup-CXHBgvFC.d.ts +117 -0
  100. package/dist/wasm.d.ts +23 -5
  101. package/dist/wasm.esm.js +31 -4
  102. package/dist/{wasmDefaults-DTUrftxR.esm.js → wasmDefaults-BrwMccqW.esm.js} +27 -12
  103. package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-Dd7Yj25O.esm.js} +1 -1
  104. package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-BzFsDjU6.esm.js} +82 -22
  105. package/dist/workflow.d.ts +1 -1
  106. package/dist/workflow.esm.js +15 -15
  107. package/package.json +1 -1
  108. package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
  109. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
  110. package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
  111. package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
  112. package/dist/trueSight-BWOlUrwa.esm.js +0 -1
  113. package/dist/types-C2JzKH_L.d.ts +0 -6
  114. package/dist/warmup-Dv2alr2-.d.ts +0 -82
  115. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
  116. /package/dist/{types-DelMqZLe2.d.ts → types-DelMqZLe.d.ts} +0 -0
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("JH5fV6e5050KKm6XN1KkbP3yXsLcwbg7uDOl01iy+Og=", "8+TaCbWb1oElD7DOMwXxcB8jdsqUAyeM4rRG32C6xCU=");
21
+ const key = decodeTruesightKey("VU8t2tCyS8VlRBR4oBjjGgwlV/EVwFnpTdB+gkfHhMo=", "ED+LFsDn9PAUfT25OJ2pH3FZmV3eRFF9Nb11FmFbFtA=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { t as resolveLocalStorage } from "./safeStorage-Ep56I-f_.esm.js";
1
+ import { t as resolveLocalStorage } from "./safeStorage-2nOSCCnG.esm.js";
2
2
  //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
3
3
  /**
4
4
  * Browser-based storage provider wrapping localStorage.
@@ -0,0 +1,95 @@
1
+ import { c as WasmPipeline } from "./warmup-CXHBgvFC.js";
2
+ import { _ as MLProviderConfig, c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, v as WebApiHostRequestConfig } from "./createFaceAvatar-pUEkdk4X.js";
3
+ //#region ../infra/src/wasm/WasmPipelineType.d.ts
4
+ declare enum WasmPipelineType {
5
+ IdBlurGlarePipeline = 0,
6
+ IdBarcodeAndTextQualityPipeline = 1,
7
+ IdVideoSelfiePipeline = 2,
8
+ SelfieWithAggregationMetrics = 3,
9
+ SelfieWithQualityMetrics = 4,
10
+ OnDeviceSelfieWorkflow = 5
11
+ }
12
+ //#endregion
13
+ //#region ../infra/src/providers/wasm/BaseWasmProvider.d.ts
14
+ /**
15
+ * Base provider class that abstracts common WASM functionality.
16
+ * This serves as a foundation for specific ML capability providers
17
+ * like FaceDetectionProvider and IdCaptureProvider.
18
+ */
19
+ declare abstract class BaseWasmProvider {
20
+ private _isInitialized;
21
+ protected pipelineType: WasmPipelineType | undefined;
22
+ /**
23
+ * Creates a new BaseWasmProvider
24
+ * @param pipelineType - The WASM pipeline type this provider uses
25
+ */
26
+ constructor(pipelineType?: WasmPipelineType);
27
+ /**
28
+ * Returns whether this provider has been initialized.
29
+ */
30
+ get initialized(): boolean;
31
+ protected getPipelineType(): WasmPipelineType;
32
+ /**
33
+ * Initializes the provider by ensuring WASM is loaded
34
+ * @param config - Provider configuration
35
+ * @param pipeline - The pipeline type to warm up ('selfie', 'idCapture', etc.)
36
+ */
37
+ protected initializeBase(config: MLProviderConfig, pipeline: WasmPipeline): Promise<void>;
38
+ /**
39
+ * Ensures the provider is initialized before performing operations.
40
+ * @throws Error if not initialized
41
+ */
42
+ protected ensureInitialized(): void;
43
+ /**
44
+ * Processes a frame through the WASM pipeline
45
+ * @param image - Image data to process
46
+ * @returns The pipeline result (type depends on pipeline - WASM returns any)
47
+ */
48
+ protected processFrameWasm(image: ImageData): Promise<any>;
49
+ abstract processFrame(image: ImageData): Promise<void>;
50
+ /**
51
+ * Resets the pipeline to its initial state.
52
+ * Safe to call even if not initialized (no-op in that case).
53
+ */
54
+ reset(): void;
55
+ /**
56
+ * Disposes of resources and resets initialization state.
57
+ * Safe to call even if not initialized.
58
+ */
59
+ dispose(): Promise<void>;
60
+ }
61
+ //#endregion
62
+ //#region ../infra/src/providers/wasm/FaceDetectionProvider.d.ts
63
+ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDetectionCapability {
64
+ private defaultThresholds;
65
+ private currentThresholds;
66
+ private currentFrame;
67
+ private onFaceDataCallback;
68
+ constructor();
69
+ processFrame(image: ImageData): Promise<void>;
70
+ initialize(config: FaceDetectionConfig): Promise<void>;
71
+ /**
72
+ * Last-registered onCapture callback — captured into a private
73
+ * field so `forceCapture()` (called from outside the WASM-callback
74
+ * lifecycle) can re-fire the same wrapper. `setCallbacks` rebinds
75
+ * this on each invocation, so the field always reflects the
76
+ * current consumer.
77
+ */
78
+ private currentOnCaptureWrapper;
79
+ processPhoto(canvas: HTMLCanvasElement): void;
80
+ postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
81
+ setCallbacks(callbacks: FaceDetectionCallbacks): void;
82
+ setPositionConstraints(constraints: FacePositionConstraints): void;
83
+ applyDefaults(autocaptureInterval?: number): void;
84
+ setAutocaptureInterval(interval: number): void;
85
+ setThresholds(thresholds: FaceDetectionThresholds): void;
86
+ setAttributesThresholds(thresholds: FaceAttributesThresholds): void;
87
+ setChecksEnabled(config: FaceChecksConfig): void;
88
+ setVideoSelfieMode(enabled: boolean): void;
89
+ forceCapture(): void;
90
+ reset(): void;
91
+ private createDefaultFaceCoordinates;
92
+ private formatFaceCoordinates;
93
+ }
94
+ //#endregion
95
+ export { BaseWasmProvider as n, FaceDetectionProvider as t };
@@ -1,35 +1,5 @@
1
- import { a as MLProviderConfig, i as IMLProviderCapability, o as IncodeCanvas } from "./IStorageCapability-ORkQfK3F.js";
2
- //#region ../infra/src/wasm/apiUtilities.d.ts
3
- /**
4
- * Shared WASM module loader.
5
- *
6
- * The pinned `webLib.wasm` (see `wasmDefaults.ts`) bundles BOTH the ML pipeline
7
- * APIs (used by `mlWasmJSApi.ts`) AND a C++ `WebClient` HTTP client (used by
8
- * `wasmWebClient.ts`). Both consumers must share a single instantiated
9
- * `wasmModule` — calling the glue `Module()` factory twice would re-instantiate
10
- * the WASM heap and produce divergent state.
11
- *
12
- * This module memoizes the load: the first caller (whichever arrives first —
13
- * ML init or HTTP init) triggers the fetch + glue load, and subsequent callers
14
- * await the same promise. Idempotent on success; on failure, the singleton is
15
- * cleared so the next caller retries.
16
- *
17
- * SIMD fallback mirrors the legacy behavior: try the SIMD binary + SIMD glue
18
- * (`webLibSimd.js` + `webLibSimd.wasm`) first, fall back to the non-SIMD pair
19
- * (`webLib.js` + `webLib.wasm`) on instantiation failure. Each binary MUST be
20
- * paired with its matching glue — the CDN ships them as paired artifacts and
21
- * mixing them produces an unusable module.
22
- */
23
- declare global {
24
- interface Window {
25
- Module?: WasmGlueFactory;
26
- wasmArrayBuffer: Uint8Array | null;
27
- }
28
- }
29
- /** Opaque handle for the loaded WASM module instance. */
30
- type WasmModule = Record<string, unknown>;
31
- type WasmGlueFactory = () => Promise<WasmModule>;
32
- //#endregion
1
+ import "./warmup-CXHBgvFC.js";
2
+ import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
33
3
  //#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
34
4
  /**
35
5
  * Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
@@ -0,0 +1,149 @@
1
+ import { c as WasmPipeline } from "./warmup-CXHBgvFC.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-pUEkdk4X.js";
3
+ //#region ../infra/src/capabilities/IRecordingCapability.d.ts
4
+ type RecordingPublisher = {
5
+ getStreamId: () => string | undefined;
6
+ replaceVideoTrack: (track: MediaStreamTrack) => Promise<void>;
7
+ destroy: () => void;
8
+ };
9
+ type RecordingConnection = {
10
+ sessionId: string | undefined;
11
+ publisher: RecordingPublisher;
12
+ disconnect: () => Promise<void>;
13
+ };
14
+ type RecordingConnectionEvents = {
15
+ onSessionConnected?: (sessionId: string | undefined) => void;
16
+ onSessionDisconnected?: (sessionId: string | undefined) => void;
17
+ onSessionException?: (params: {
18
+ name?: string;
19
+ message?: string;
20
+ sessionId?: string;
21
+ }) => void;
22
+ onPublisherCreated?: (params: {
23
+ streamId?: string;
24
+ sessionId?: string;
25
+ }) => void;
26
+ onPublisherError?: (params: {
27
+ message?: string;
28
+ sessionId?: string;
29
+ streamId?: string;
30
+ }) => void;
31
+ };
32
+ type ConnectRecordingParams = {
33
+ sessionToken: string;
34
+ stream: MediaStream;
35
+ events?: RecordingConnectionEvents;
36
+ };
37
+ type IRecordingCapability = {
38
+ /**
39
+ * Connects to a recording session and publishes the provided media stream.
40
+ * Returns a connection handle that can be disconnected and used to manage the publisher.
41
+ */
42
+ connect: (params: ConnectRecordingParams) => Promise<RecordingConnection>;
43
+ };
44
+ //#endregion
45
+ //#region ../infra/src/capabilities/IStorageCapability.d.ts
46
+ /**
47
+ * Storage capability interface for abstracting storage operations.
48
+ * Enables swapping between browser localStorage and future WASM-based storage.
49
+ */
50
+ interface IStorageCapability {
51
+ /**
52
+ * Retrieves a value from storage.
53
+ * @param key - The storage key
54
+ * @returns The stored value or null if not found
55
+ */
56
+ get<T>(key: string): Promise<T | null>;
57
+ /**
58
+ * Stores a value in storage.
59
+ * @param key - The storage key
60
+ * @param value - The value to store (will be serialized)
61
+ */
62
+ set<T>(key: string, value: T): Promise<void>;
63
+ /**
64
+ * Removes a value from storage.
65
+ * @param key - The storage key to remove
66
+ */
67
+ remove(key: string): Promise<void>;
68
+ /**
69
+ * Clears all values from storage.
70
+ */
71
+ clear(): Promise<void>;
72
+ }
73
+ //#endregion
74
+ //#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
75
+ type WasmUtilConfig = MLProviderConfig & {
76
+ pipelines?: WasmPipeline[];
77
+ };
78
+ type VirtualCameraCheckOutput = {
79
+ canvas: HTMLCanvasElement | null;
80
+ itr: boolean | null;
81
+ skipped: boolean | null;
82
+ };
83
+ type IWasmUtilCapability = {
84
+ /**
85
+ * Whether the provider has been initialized and is ready to be used.
86
+ */
87
+ readonly initialized: boolean;
88
+ /**
89
+ * Initializes the provider with the given configuration.
90
+ * If WASM was already warmed up via `warmupWasm()`, this returns almost instantly.
91
+ * @param config - Provider configuration including WASM paths
92
+ */
93
+ initialize(config: WasmUtilConfig): Promise<void>;
94
+ /**
95
+ * Encrypts a base64 image using the WASM utility API.
96
+ * @param image - Base64 image string (no data URL prefix)
97
+ * @returns Encrypted string
98
+ */
99
+ encryptImage(image: string): string;
100
+ setSdkVersion(version: string): void;
101
+ setSdkPlatform(platform: string): void;
102
+ setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void;
103
+ setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void;
104
+ setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
105
+ setMotionStatus(status: string): void;
106
+ setBackgroundMode(backgroundMode: boolean): void;
107
+ /**
108
+ * Enables on-device mode: the native WASM module skips full fingerprint
109
+ * collection and keeps only the device-detection DTO. Additive; default off.
110
+ */
111
+ setOnDeviceMode(enabled: boolean): void;
112
+ setZc(zc: string): void;
113
+ setInspectorOpened(opened: boolean): void;
114
+ /**
115
+ * Returns whether the DevTools inspector has been detected as open.
116
+ * Safe to call before WASM initialization (returns the in-memory flag).
117
+ */
118
+ getInspectorOpened(): boolean;
119
+ /**
120
+ * Toggles the WASM module's production mode. When `true`, the native module
121
+ * suppresses its verbose debug logging/console output.
122
+ */
123
+ setProductionMode(productionMode: boolean): Promise<void>;
124
+ getMetadata(): string;
125
+ analyzeFrame(image: ImageData): Promise<void>;
126
+ getCheck(): string;
127
+ /**
128
+ * Gets the current pipeline state. Must be called before setMotionStatus(),
129
+ * getCheck(), setBackgroundMode(), and getMetadata() for proper metadata generation.
130
+ */
131
+ getPipelineState(): string;
132
+ estimatePerformance(): string;
133
+ isVirtualCamera(label: string | null): boolean;
134
+ prc(): Promise<void>;
135
+ poc(output: VirtualCameraCheckOutput): Promise<void>;
136
+ rsp(): Promise<void>;
137
+ ssl(): void;
138
+ stl(): void;
139
+ osv(): void;
140
+ oev(): void;
141
+ ckvcks(data: ArrayBuffer): void;
142
+ getVersions(): Promise<unknown>;
143
+ /**
144
+ * Disposes of resources and resets initialization state.
145
+ */
146
+ dispose(): Promise<void>;
147
+ };
148
+ //#endregion
149
+ export { IRecordingCapability as a, IStorageCapability as i, VirtualCameraCheckOutput as n, RecordingConnection as o, WasmUtilConfig as r, IWasmUtilCapability as t };
@@ -1,4 +1,4 @@
1
- import { n as resolveSessionStorage } from "./safeStorage-Ep56I-f_.esm.js";
1
+ import { n as resolveSessionStorage } from "./safeStorage-2nOSCCnG.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 getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DnzvYbDc.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CWYfI4hO.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-Cl5CZse8.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-zTWODJoh.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-fq0Rl3ik.js";
2
- import { t as AuthenticationConfig } from "./types-C2JzKH_L.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-D8DEugXP.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CKyaVKsu.js";
2
+ import { t as AuthenticationConfig } from "./types-OehE3PKn.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-Cb4b4dgt.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-BayAdNMr.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Bm_Lsw5F.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-D1XsBKTx.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BL7RvcC8.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CvtozmiB.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BayAdNMr.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DysNuSGO.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-D1XsBKTx.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-fq0Rl3ik.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CKyaVKsu.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-5OGpCrkg.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D9hTt7RX.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DXCPmEv2.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DT9SoUq7.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/avatar.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import { n as AvatarFaceState } from "./IFaceAvatarCapability-BrL19G0s.js";
2
- import { i as createFaceAvatar, n as FaceAvatarHandle, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
1
+ import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-pUEkdk4X.js";
3
2
  export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-BPUkbztJ.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-3Pbtj-RV.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 };
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
+ resetContext: {
86
+ type: "resetContext";
87
+ params: NonReducibleUnknown;
88
+ };
85
89
  setConsentData: {
86
90
  type: "setConsentData";
87
91
  params: NonReducibleUnknown;
@@ -90,10 +94,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
90
94
  type: "toggleCheckbox";
91
95
  params: NonReducibleUnknown;
92
96
  };
93
- resetContext: {
94
- type: "resetContext";
95
- params: NonReducibleUnknown;
96
- };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;