@incodetech/core 0.0.0-dev-20261119-6e95a3e4 → 0.0.0-dev-20261120-8911ea46

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 (123) hide show
  1. package/dist/{BaseWasmProvider-bBNquvYn.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
  2. package/dist/{FaceDetectionProvider-Zcq9To38.esm.js → FaceDetectionProvider-j6gNUeBW.esm.js} +11 -8
  3. package/dist/{IIdCaptureCapability-C-5M8pP1.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
  4. package/dist/{IWasmUtilCapability-XcOtT1TP.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +2 -2
  5. package/dist/{StreamCanvasCapture-BnBfA6fb.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +2 -2
  6. package/dist/{WasmUtilProvider-BW_4YKrg.esm.js → WasmUtilProvider-ZXMogz8z.esm.js} +20 -4
  7. package/dist/ae-signature.esm.js +1 -1
  8. package/dist/{apiError-Dp-Zxhsu.esm.js → apiError-T18Ndgre.esm.js} +1 -1
  9. package/dist/authentication.d.ts +3 -3
  10. package/dist/authentication.esm.js +2 -2
  11. package/dist/{authenticationManager-BLpMDZnm.esm.js → authenticationManager-CBmy-j7Y.esm.js} +4 -4
  12. package/dist/{authenticationManager-DeN8mraQ.d.ts → authenticationManager-DFAnYVFV.d.ts} +1 -1
  13. package/dist/{authenticationStateMachine-D-fJiVP5.esm.js → authenticationStateMachine-CzP0YKNH.esm.js} +3 -3
  14. package/dist/avatar.d.ts +1 -1
  15. package/dist/camera.esm.js +1 -1
  16. package/dist/consent.d.ts +1 -1
  17. package/dist/{consentManager-Duzd8paN.d.ts → consentManager-DlvhoJYc.d.ts} +4 -4
  18. package/dist/{createFaceAvatar-BimBTONm.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
  19. package/dist/curp-validation.d.ts +1 -1
  20. package/dist/{curpValidationManager-DgUZySoq.d.ts → curpValidationManager-DsDvoViA.d.ts} +1 -1
  21. package/dist/deepsightCaptureConfig-BYx9pyCH.esm.js +70 -0
  22. package/dist/{deepsightLoader-DFTvhrkj.esm.js → deepsightLoader-azWKSF0y.esm.js} +6 -5
  23. package/dist/{desktopCameraElection-DziKgEad.esm.js → desktopCameraElection-Ci8BwEA7.esm.js} +88 -5
  24. package/dist/device.esm.js +1 -1
  25. package/dist/document-capture.d.ts +1 -1
  26. package/dist/document-capture.esm.js +2 -2
  27. package/dist/document-signature.esm.js +1 -1
  28. package/dist/{documentCaptureManager-DWFEWV4d.esm.js → documentCaptureManager-YXwSaquq.esm.js} +1 -1
  29. package/dist/{documentCaptureManager-DLWTqjUr.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +1 -1
  30. package/dist/{documentCaptureStateMachine-C9wBJ8Y5.esm.js → documentCaptureStateMachine-DKG_aAPi.esm.js} +2 -2
  31. package/dist/{documentSignatureStateMachine-DymuSDQt.esm.js → documentSignatureStateMachine-DxfJs-C0.esm.js} +1 -1
  32. package/dist/dynamic-forms.esm.js +2 -2
  33. package/dist/{dynamicFormsManager-DUzUQD4C.esm.js → dynamicFormsManager-kHXGaVVA.esm.js} +1 -1
  34. package/dist/{dynamicFormsStateMachine-BSgwYu_b.esm.js → dynamicFormsStateMachine-CkNn0K-p.esm.js} +1 -1
  35. package/dist/ekyb.d.ts +1 -1
  36. package/dist/ekyb.esm.js +2 -2
  37. package/dist/{ekybManager-DnepVWmg.esm.js → ekybManager-BQxmewHe.esm.js} +1 -1
  38. package/dist/{ekybStateMachine-BsHIcOeh.esm.js → ekybStateMachine-CN8GuppY.esm.js} +1 -1
  39. package/dist/ekyc-prefill.esm.js +2 -2
  40. package/dist/{ekycPrefillManager-C2zRQsfS.esm.js → ekycPrefillManager-CKLJBjkM.esm.js} +1 -1
  41. package/dist/{ekycPrefillStateMachine-DSjkcGnU.esm.js → ekycPrefillStateMachine-jVrEkX29.esm.js} +1 -1
  42. package/dist/electronic-signature.esm.js +1 -1
  43. package/dist/{electronicSignatureManager-Dc1mrzK6.esm.js → electronicSignatureManager-DkwMjvss.esm.js} +1 -1
  44. package/dist/extensibility.d.ts +14 -14
  45. package/dist/extensibility.esm.js +15 -15
  46. package/dist/{faceCaptureManagerFactory-D0pyWORs.d.ts → faceCaptureManagerFactory-CkhNR70A.d.ts} +7 -7
  47. package/dist/{faceCaptureManagerFactory-D-jyAayV.esm.js → faceCaptureManagerFactory-DKVQS4YB.esm.js} +5 -4
  48. package/dist/{faceCaptureSetup-CsHOVX87.esm.js → faceCaptureSetup-CjvHMU4G.esm.js} +27 -19
  49. package/dist/{feature-management-BMopZ94t.esm.js → feature-management-DrkQHH45.esm.js} +1 -1
  50. package/dist/feature-management.esm.js +1 -1
  51. package/dist/flow-events.d.ts +1 -1
  52. package/dist/flow.d.ts +6 -6
  53. package/dist/flow.esm.js +3 -3
  54. package/dist/{flowCompletionService-COesuoKj.esm.js → flowCompletionService-BrU3zRCa.esm.js} +1 -1
  55. package/dist/{flowServices-BlBapbtQ.esm.js → flowServices-DrhzisMl.esm.js} +5 -5
  56. package/dist/geolocation.esm.js +2 -2
  57. package/dist/{geolocationManager-D09RtKVk.esm.js → geolocationManager-Cnkm0i6c.esm.js} +1 -1
  58. package/dist/{geolocationStateMachine-Co_EtS-E.esm.js → geolocationStateMachine-DPX0DZTc.esm.js} +1 -1
  59. package/dist/home.d.ts +1 -1
  60. package/dist/id-selfie-flow.d.ts +3 -3
  61. package/dist/id-selfie-flow.esm.js +9 -9
  62. package/dist/id.d.ts +3 -3
  63. package/dist/id.esm.js +3 -3
  64. package/dist/{idCaptureDefaults-CRn9jT4K.esm.js → idCaptureDefaults-D74C8SAy.esm.js} +4 -4
  65. package/dist/{idCaptureManager-kmR_AuiW.d.ts → idCaptureManager-BMspT5GM.d.ts} +7 -7
  66. package/dist/{idCaptureManager-DGK6_0Ny.esm.js → idCaptureManager-CgrjoGxG.esm.js} +12 -10
  67. package/dist/{idCaptureServices-1K5FUU9A.esm.js → idCaptureServices-BkR59dm2.esm.js} +4 -4
  68. package/dist/{idCaptureStateMachine-6jXPguZA.esm.js → idCaptureStateMachine-iwDI7g7A.esm.js} +32 -26
  69. package/dist/{index-C0WIMlJE.d.ts → index-DP-EPRCW.d.ts} +1 -1
  70. package/dist/index.d.ts +1 -1
  71. package/dist/index.esm.js +1 -1
  72. package/dist/kyb-checks.esm.js +2 -2
  73. package/dist/{kybChecksManager-D9-DzcKo.esm.js → kybChecksManager-DE4gEFC5.esm.js} +1 -1
  74. package/dist/{kybChecksStateMachine-BSgEOmZs.esm.js → kybChecksStateMachine-KubwqxTh.esm.js} +1 -1
  75. package/dist/mandatory-consent.d.ts +2 -2
  76. package/dist/{mandatoryConsentManager-CpriEr0q.d.ts → mandatoryConsentManager-Cebwze5A.d.ts} +5 -5
  77. package/dist/{permissionGuards-BN_Tyjgt.esm.js → permissionGuards-BymkaEBe.esm.js} +1 -1
  78. package/dist/{permissionServices-DB7ckY8v.esm.js → permissionServices-CrrStkAz.esm.js} +1 -1
  79. package/dist/qe-signature.esm.js +1 -1
  80. package/dist/{recordingService-bmaVeo9d.esm.js → recordingService-CjhVv0Md.esm.js} +10 -4
  81. package/dist/redirect-to-mobile.d.ts +1 -1
  82. package/dist/redirect-to-mobile.esm.js +2 -2
  83. package/dist/{redirectToMobileManager-DHuFklFc.esm.js → redirectToMobileManager-9c233-vw.esm.js} +2 -1
  84. package/dist/{redirectToMobileManager-pT6FiPE7.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +1 -0
  85. package/dist/{redirectToMobileStateMachine-CIcTgOJd.esm.js → redirectToMobileStateMachine-o-X0kapc.esm.js} +9 -2
  86. package/dist/{runChildModule-CDTuNUcR.esm.js → runChildModule-BeiOmUu5.esm.js} +1 -1
  87. package/dist/{sdkVersion-BIDVzFgg.esm.js → sdkVersion-DxhcAXUS.esm.js} +1 -1
  88. package/dist/selfie.d.ts +4 -4
  89. package/dist/selfie.esm.js +10 -9
  90. package/dist/{selfieErrorUtils-DhIF8BEd.esm.js → selfieErrorUtils-BoJsMhmW.esm.js} +1 -1
  91. package/dist/{selfieManager-CAaZRbem.d.ts → selfieManager-D6KJWT4p.d.ts} +1 -1
  92. package/dist/{selfieManager-CqB5Cobk.esm.js → selfieManager-D7ttFZTJ.esm.js} +4 -4
  93. package/dist/{selfieStateMachine-CcY8XCq_.esm.js → selfieStateMachine-BghuY135.esm.js} +3 -3
  94. package/dist/{session-Bk5X05oz.esm.js → session-DUZQd1Cr.esm.js} +4 -3
  95. package/dist/session.d.ts +3 -13
  96. package/dist/session.esm.js +4 -4
  97. package/dist/{sessionInitializer-Be57jtWP.esm.js → sessionInitializer-CRXargXI.esm.js} +12 -14
  98. package/dist/{setup-BsC4fyKm.esm.js → setup-BYYbcIPG.esm.js} +8 -7
  99. package/dist/{setup-O-JVSYKa.d.ts → setup-CcOBfuP_.d.ts} +1 -1
  100. package/dist/trueSight-Lly6jROP.esm.js +1 -0
  101. package/dist/{trueSightService-CRHQyUpx.esm.js → trueSightService-DNHK2Cap.esm.js} +3 -3
  102. package/dist/{types-B2DGXHe6.d.ts → types-BFPsOz4D.d.ts} +32 -2
  103. package/dist/{types-x5MQKskR.d.ts → types-CTCB59Ik.d.ts} +14 -3
  104. package/dist/{types-Crg7oL-l.d.ts → types-D5a04Wk2.d.ts} +1 -1
  105. package/dist/types-DbVeVsR2.d.ts +6 -0
  106. package/dist/{types-BkWUNheX.d.ts → types-J8DeVSAo.d.ts} +1 -1
  107. package/dist/{types-Bybof0yq.d.ts → types-XcOG5hmy.d.ts} +5 -5
  108. package/dist/video-selfie.d.ts +3 -3
  109. package/dist/video-selfie.esm.js +4 -4
  110. package/dist/{videoSelfieCameraWarmer-14WBoJRb.esm.js → videoSelfieCameraWarmer-CsO36BMq.esm.js} +6 -6
  111. package/dist/{videoSelfieStepDetector-DGXi_TXk.d.ts → videoSelfieStepDetector-04BM3Mu1.d.ts} +4 -4
  112. package/dist/{warmup-BZOMg303.esm.js → warmup-BszvWzNo.esm.js} +137 -39
  113. package/dist/{warmup-BNhIuURi.d.ts → warmup-SWu5L7cW.d.ts} +1 -0
  114. package/dist/wasm.d.ts +3 -3
  115. package/dist/wasm.esm.js +3 -3
  116. package/dist/wasmDeepsightConfigSync-Cy2tPW0i.esm.js +79 -0
  117. package/dist/{wasmDsFlagSync-BHm1d2gA.esm.js → wasmDsFlagSync-99aL8DGv.esm.js} +1 -1
  118. package/dist/{wasmWebClient-CyLCM31e.esm.js → wasmWebClient-IwBSS51s.esm.js} +19 -12
  119. package/dist/workflow.d.ts +1 -1
  120. package/dist/workflow.esm.js +19 -18
  121. package/package.json +3 -3
  122. package/dist/types-C2uJrJrS.d.ts +0 -6
  123. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
@@ -1,5 +1,5 @@
1
- import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
- import { _ as MLProviderConfig } from "./createFaceAvatar-BimBTONm.js";
1
+ import { c as WasmPipeline } from "./warmup-SWu5L7cW.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-Ct9QrQ66.js";
3
3
  //#region ../infra/src/wasm/WasmPipelineType.d.ts
4
4
  declare enum WasmPipelineType {
5
5
  IdBlurGlarePipeline = 0,
@@ -8,9 +8,7 @@ declare enum WasmPipelineType {
8
8
  SelfieWithAggregationMetrics = 3,
9
9
  SelfieWithQualityMetrics = 4,
10
10
  OnDeviceSelfieWorkflow = 5,
11
- IdBlurGlareCoreWorkflow = 6,
12
- IdBarcodeAndTextQualityCoreWorkflow = 7,
13
- IdFaceQualityCoreWorkflow = 8
11
+ IdFaceQualityPipeline = 6
14
12
  }
15
13
  //#endregion
16
14
  //#region ../infra/src/providers/wasm/BaseWasmProvider.d.ts
@@ -1,14 +1,14 @@
1
- import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BsC4fyKm.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
1
+ import { l as wasmRuntime } from "./warmup-BszvWzNo.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BYYbcIPG.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CRHQyUpx.esm.js";
6
- import "./sessionInitializer-Be57jtWP.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DNHK2Cap.esm.js";
6
+ import "./trueSight-Lly6jROP.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-BYIXomqT.esm.js";
8
+ import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
8
9
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
10
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
11
  import { r as hasBackCamera } from "./backCameraStream-6qVHvj76.esm.js";
11
- import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
12
12
  import { n as saveProcessFaceMatch } from "./processFaceMatch-BSCDDCky.esm.js";
13
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
14
14
  /**
@@ -234,7 +234,7 @@ function startDetection(params) {
234
234
  };
235
235
  }
236
236
  async function initializeDeepsightSession(options) {
237
- const { loadDeepsightSession } = await import("./deepsightLoader-DFTvhrkj.esm.js");
237
+ const { loadDeepsightSession } = await import("./deepsightLoader-azWKSF0y.esm.js");
238
238
  return loadDeepsightSession({
239
239
  ds: options.ds,
240
240
  storage: options.storage
@@ -251,7 +251,10 @@ var FaceProcessingWasmApi = class {
251
251
  this.runtime.requireFaceProcessingApi("Unable to set face position constraints, cpp API hasn't been initialized").setFacePositionConstraints(this.runtime.pipelineTypeToWasmEnum(type), minX, minY, maxX, maxY);
252
252
  }
253
253
  async setFaceDetectionThresholds(type, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace) {
254
- this.runtime.requireFaceProcessingApi("Unable to set face detection thresholds, cpp API hasn't been initialized").setFaceProcessingThresholds(this.runtime.pipelineTypeToWasmEnum(type), brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace);
254
+ const faceProcessingWasmApi = this.runtime.requireFaceProcessingApi("Unable to set face detection thresholds, cpp API hasn't been initialized");
255
+ const wasmType = this.runtime.pipelineTypeToWasmEnum(type);
256
+ faceProcessingWasmApi.setFaceProcessingThresholds(wasmType, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace);
257
+ faceProcessingWasmApi.setAutocaptureInterval(wasmType, autocaptureInterval);
255
258
  }
256
259
  async setFaceAttributesThresholds(type, headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold) {
257
260
  this.runtime.requireFaceProcessingApi("Unable to set face attributes thresholds, cpp API hasn't been initialized").setFaceAttributesThresholds(this.runtime.pipelineTypeToWasmEnum(type), headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold);
@@ -1,5 +1,5 @@
1
- import "./warmup-BNhIuURi.js";
2
- import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
1
+ import "./warmup-SWu5L7cW.js";
2
+ import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
3
3
  //#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
4
4
  /**
5
5
  * Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
@@ -73,7 +73,7 @@ interface IdCaptureCallbacks {
73
73
  onGlare?: () => void;
74
74
  onCapturing?: () => void;
75
75
  /**
76
- * Receives the exact best-shot canvas detached by the Core ID workflow.
76
+ * Receives the best-shot canvas the native ID workflow passes, if any.
77
77
  * The canvas is presentation-only; protected submission remains native-owned.
78
78
  */
79
79
  onCapture?: (canvas?: HTMLCanvasElement | null) => void;
@@ -1,5 +1,5 @@
1
- import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
- import { _ as MLProviderConfig } from "./createFaceAvatar-BimBTONm.js";
1
+ import { c as WasmPipeline } from "./warmup-SWu5L7cW.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-Ct9QrQ66.js";
3
3
  //#region ../infra/src/capabilities/IStorageCapability.d.ts
4
4
  /**
5
5
  * Storage capability interface for abstracting storage operations.
@@ -1,5 +1,5 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
- import "./IWasmUtilCapability-XcOtT1TP.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
2
+ import "./IWasmUtilCapability-CLWIYHB4.js";
3
3
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
4
4
  //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
5
5
  type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-CyLCM31e.esm.js";
3
- import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BZOMg303.esm.js";
2
+ import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-IwBSS51s.esm.js";
3
+ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BszvWzNo.esm.js";
4
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
5
5
  /**
6
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -42,6 +42,11 @@ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatu
42
42
  * realm state (ADR 0009 §6). The SDK-facing unguarded entry is
43
43
  * `wasmMetadataVersionSync.ts`.
44
44
  *
45
+ * `sdsc` (ml-wasm-kit #761, first in v2.14.55, the pinned release) works the
46
+ * same way through `WasmRuntime.setDeepsightConfig`; its SDK-facing unguarded
47
+ * entry is `wasmDeepsightConfigSync.ts`. On a self-hosted binary without
48
+ * `sdsc` the runtime skips the call.
49
+ *
45
50
  * Method names, argument order and the pre-initialization error strings are
46
51
  * copied verbatim from the mirrored upstream `wasmApi.ts` so a WASM version bump
47
52
  * stays a diff against upstream (`docs/processes/WASM_VERSION_MIGRATION.md`).
@@ -179,19 +184,30 @@ var UtilityWasmApi = class {
179
184
  * Capture-metadata format selector (`smv`, ml-wasm-kit v2.14.54-pre6):
180
185
  * `true` selects the v2 document, `false` the v1 document (the module
181
186
  * default). Guarded like upstream; the selection is latched on the runtime
182
- * so it survives re-initialization (ADR 0009 §6).
187
+ * so it survives re-initialization (ADR 0009 §6), and the runtime applies
188
+ * v2 only on a binary with `sdsc`.
183
189
  */
184
190
  smv(enabled) {
185
191
  this.runtime.requireUtilityApi("Unable to smv, cpp API hasn't been initialized");
186
192
  this.runtime.setMetadataV2Enabled(enabled);
187
193
  }
188
194
  /**
195
+ * The current module's Deepsight 2.0 signal config (`sdsc`, ml-wasm-kit
196
+ * #761): its `deepsightCaptureConfig` as JSON text, `""` to clear it.
197
+ * Guarded like upstream; the value is latched on the runtime so it survives
198
+ * re-initialization, like {@link smv}.
199
+ */
200
+ sdsc(config) {
201
+ this.runtime.requireUtilityApi("Unable to sdsc, cpp API hasn't been initialized");
202
+ this.runtime.setDeepsightConfig(config);
203
+ }
204
+ /**
189
205
  * Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
190
206
  * by the native module. Device and Behaviour wait for the one-time async
191
207
  * prefetch (`ppf`) first. Pid waits only until the persistent-id resolver is
192
208
  * done (`ppi`), or the prefetch settles, whichever is first: the prefetch
193
209
  * still drives the resolver, and its failure still rejects the read. On a
194
- * build without `ppi` (the pinned release included) Pid waits for the
210
+ * build without `ppi` (before v2.14.55) Pid waits for the
195
211
  * prefetch like the other buckets.
196
212
  * An empty string means the bucket has no data.
197
213
  *
@@ -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-Dc1mrzK6.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DkwMjvss.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-CRHQyUpx.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DNHK2Cap.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-D0pyWORs.js";
2
- import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DeN8mraQ.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CkhNR70A.js";
2
+ import { t as AuthenticationConfig } from "./types-DbVeVsR2.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DFAnYVFV.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-D-fJiVP5.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BLpMDZnm.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CzP0YKNH.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CBmy-j7Y.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-BsC4fyKm.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BYYbcIPG.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
3
3
  import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
4
4
  import "./events-C3sjvrjL.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D-jyAayV.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-D-fJiVP5.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKVQS4YB.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-CzP0YKNH.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D0pyWORs.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CkhNR70A.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CsHOVX87.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Zcq9To38.esm.js";
5
- import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DziKgEad.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CjvHMU4G.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-j6gNUeBW.esm.js";
5
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Ci8BwEA7.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
package/dist/avatar.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-BimBTONm.js";
1
+ import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-Ct9QrQ66.js";
2
2
  export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
@@ -1,2 +1,2 @@
1
- import { a as requestPermission, t as checkPermission } from "./permissionServices-DB7ckY8v.esm.js";
1
+ import { a as requestPermission, t as checkPermission } from "./permissionServices-CrrStkAz.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-Duzd8paN.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-DlvhoJYc.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -87,6 +87,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
87
87
  type: "setLoadError";
88
88
  params: NonReducibleUnknown;
89
89
  };
90
+ resetContext: {
91
+ type: "resetContext";
92
+ params: NonReducibleUnknown;
93
+ };
90
94
  setConsentData: {
91
95
  type: "setConsentData";
92
96
  params: NonReducibleUnknown;
@@ -95,10 +99,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
95
99
  type: "toggleCheckbox";
96
100
  params: NonReducibleUnknown;
97
101
  };
98
- resetContext: {
99
- type: "resetContext";
100
- params: NonReducibleUnknown;
101
- };
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
@@ -1,4 +1,4 @@
1
- import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-BNhIuURi.js";
1
+ import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-SWu5L7cW.js";
2
2
  //#region ../infra/src/media/canvas.d.ts
3
3
  /**
4
4
  * Class representing a canvas element for image capture and manipulation.
@@ -1,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DgUZySoq.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DsDvoViA.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
- import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
4
+ import { i as FlowModuleConfig } from "./types-BFPsOz4D.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -0,0 +1,70 @@
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-DNHK2Cap.esm.js";
2
+ import "./trueSight-Lly6jROP.esm.js";
3
+ import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
4
+ //#region src/internal/deepsight/deepsightCaptureConfig.ts
5
+ /**
6
+ * The WASM engine's cap on the config text (ml-wasm-kit
7
+ * `DSConfig::MAX_JSON_BYTES`): the engine treats longer text as no config.
8
+ */
9
+ const MAX_CONFIG_TEXT_BYTES = 4096;
10
+ /**
11
+ * The text a module hands the WASM engine (`sdsc`): its config as
12
+ * `JSON.stringify` gives it, or `''` when it has none (see
13
+ * {@link DeepsightModuleConfig}), which also selects the v1 capture-metadata
14
+ * document.
15
+ */
16
+ function deepsightCaptureConfigText(config) {
17
+ return presentConfig(config)?.text ?? "";
18
+ }
19
+ /**
20
+ * Whether a SELFIE or AUTHENTICATION attempt records the Deepsight liveness
21
+ * clip, the local recording linked to the face upload. With a config: `ds`
22
+ * and `e.t` on. Without one: `deepsightLiveness === 'VIDEOLIVENESS'`, as
23
+ * before. The backend derives both from the same severity rule, so they agree
24
+ * in real flows.
25
+ */
26
+ function recordsLivenessClip(config) {
27
+ const present = presentConfig(config);
28
+ if (present === void 0) return config.deepsightLiveness === "VIDEOLIVENESS";
29
+ return config.ds === true && isOn(present.fields, "e", "t");
30
+ }
31
+ /**
32
+ * Whether a module asks for motion: the iOS motion prompt, the motion
33
+ * permission sheet and the WASM sensors (`rsp`/`ssl`). With a config: `ds`
34
+ * on, `b.p` or `b.y` on, and a phone or tablet. Without one: `ds`, as before.
35
+ */
36
+ function wantsDeepsightMotion(config) {
37
+ if (config.ds !== true) return false;
38
+ const present = presentConfig(config);
39
+ if (present === void 0) return true;
40
+ return (isOn(present.fields, "b", "p") || isOn(present.fields, "b", "y")) && getDeviceClass() !== "desktop";
41
+ }
42
+ function presentConfig(config) {
43
+ const field = config.deepsightCaptureConfig;
44
+ if (typeof field !== "object" || field === null || Array.isArray(field)) return;
45
+ const text = stringifyConfig(field);
46
+ if (text === void 0 || !text.startsWith("{") || utf8ByteLength(text) > MAX_CONFIG_TEXT_BYTES) return;
47
+ return {
48
+ fields: JSON.parse(text),
49
+ text
50
+ };
51
+ }
52
+ function isOn(config, group, key) {
53
+ const settings = objectAt(config, group);
54
+ return settings !== void 0 && objectAt(settings, key)?.a === true;
55
+ }
56
+ function objectAt(value, key) {
57
+ const field = value[key];
58
+ return typeof field === "object" && field !== null && !Array.isArray(field) ? field : void 0;
59
+ }
60
+ function stringifyConfig(config) {
61
+ try {
62
+ const text = JSON.stringify(config);
63
+ return typeof text === "string" ? text : void 0;
64
+ } catch {
65
+ trueSightLog("warning", "deepsight", "other", "deepsight capture config not serializable");
66
+ return;
67
+ }
68
+ }
69
+ //#endregion
70
+ export { recordsLivenessClip as n, wantsDeepsightMotion as r, deepsightCaptureConfigText as t };
@@ -1,10 +1,11 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CRHQyUpx.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-BIDVzFgg.esm.js";
4
- import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-Be57jtWP.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-DNHK2Cap.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-DxhcAXUS.esm.js";
4
+ import "./trueSight-Lly6jROP.esm.js";
5
+ import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-CRXargXI.esm.js";
5
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
8
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-99aL8DGv.esm.js";
8
9
  import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
9
10
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
10
11
  import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
@@ -1,12 +1,17 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-BZOMg303.esm.js";
3
- import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
2
+ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain, l as wasmRuntime, u as resetWasmOtherStateSync } from "./warmup-BszvWzNo.esm.js";
3
+ import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-Cy2tPW0i.esm.js";
4
+ import { i as utilityWasmApi } from "./WasmUtilProvider-ZXMogz8z.esm.js";
4
5
  import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
6
+ import { u as trueSightLog } from "./trueSightService-DNHK2Cap.esm.js";
7
+ import "./trueSight-Lly6jROP.esm.js";
8
+ import { m as getFeatureGate } from "./feature-management-DrkQHH45.esm.js";
5
9
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
10
  import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
7
- import { l as queryCameraPermission } from "./permissionServices-DB7ckY8v.esm.js";
8
- import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
11
+ import { l as queryCameraPermission } from "./permissionServices-CrrStkAz.esm.js";
9
12
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
13
+ import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-BYx9pyCH.esm.js";
14
+ import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
10
15
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
11
16
  /**
12
17
  * Fixed protected-endpoint identifiers owned by ml-wasm-kit.
@@ -23,6 +28,57 @@ const PROTECTED_CAPTURE_TARGET = {
23
28
  backSecondId: 6
24
29
  };
25
30
  //#endregion
31
+ //#region src/internal/deepsight/deepsightSignalConfigActor.ts
32
+ /**
33
+ * Holds the WASM engine's Deepsight 2.0 signal config (`sdsc`) and, with it,
34
+ * the capture-metadata document (`smv`) for one module run. The face and ID
35
+ * machines invoke it at their root with the module's configuration, so it
36
+ * starts with the module, before any camera step, and stops when the machine
37
+ * reaches a final state or is stopped. A module with a config sets its text
38
+ * and selects v2 (applied on a binary with `sdsc`); a module without one sets `''` and v1. At the end it clears
39
+ * both (`''`, v1) unless a later module has set its own. A machine that
40
+ * crashes skips the clear; the next module's set replaces what it left.
41
+ *
42
+ * At the start it also clears the results an earlier module left in the
43
+ * engine (`resetOther`): without it, a challenge this module's config turns
44
+ * off would upload the earlier module's result. The engine runs the reset
45
+ * behind the ML lock, after the earlier module's camera step and post-capture
46
+ * work have settled and before this module's first `rsp` or camera step, which
47
+ * queue behind it.
48
+ *
49
+ * Every step is best-effort: a throw from a callback actor would put the
50
+ * face or ID machine into its error state, which ignores every later event,
51
+ * so a failed set, reset or clear is logged to TrueSight and the module runs
52
+ * on.
53
+ */
54
+ const deepsightSignalConfigActor = fromCallback(({ input }) => {
55
+ resetEarlierModuleResults();
56
+ let handle;
57
+ try {
58
+ handle = setWasmDeepsightConfigSync(deepsightCaptureConfigText(input));
59
+ } catch {
60
+ logSignalConfigFailure("deepsight signal config not set");
61
+ return () => {};
62
+ }
63
+ return () => {
64
+ try {
65
+ handle.clear();
66
+ } catch {
67
+ logSignalConfigFailure("deepsight signal config not cleared");
68
+ }
69
+ };
70
+ });
71
+ function resetEarlierModuleResults() {
72
+ try {
73
+ resetWasmOtherStateSync().catch(() => logSignalConfigFailure("deepsight engine results not reset"));
74
+ } catch {
75
+ logSignalConfigFailure("deepsight engine results not reset");
76
+ }
77
+ }
78
+ function logSignalConfigFailure(message) {
79
+ trueSightLog("warning", "deepsight", "other", message);
80
+ }
81
+ //#endregion
26
82
  //#region src/internal/manualReview/manualReviewService.ts
27
83
  async function flagFaceManualReview() {
28
84
  try {
@@ -917,6 +973,33 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
917
973
  };
918
974
  fromCallback(runProtectedAttempt);
919
975
  //#endregion
976
+ //#region src/internal/cameraCycle/iadCameraStepGates.ts
977
+ /** Statsig gate for the kit's desktop camera-open timing check (`gc`). */
978
+ const IAD_CAMERA_OPEN_TIMING_GATE = "iad_camera_open_timing";
979
+ /** Statsig gate for the kit's Continuity camera-switch verdict (`cc`). */
980
+ const IAD_CONTINUITY_GATE = "iad_continuity";
981
+ /**
982
+ * The two opt-in checks of ml-wasm-kit v2.14.55 that a camera step turns on
983
+ * through its options, read from the same Statsig gates as SDK 1. Both are
984
+ * off in the kit, and off here when feature management is disabled or not
985
+ * initialized, because a gate then reads `false`.
986
+ *
987
+ * - `gc`: on desktop, with `ds`, no audio and the camera already granted, the
988
+ * kit waits 5 s before the first open and times the cold and warm opens
989
+ * into `gid`, in place of that step's pre-capture frame duplication.
990
+ * - `cc`: with `ds`, on every platform, `poc` detects a camera switch at
991
+ * manual capture and sets the scored `ci`.
992
+ *
993
+ * Read when each camera step builds its options, so a gate that becomes ready
994
+ * after `setup()` reaches the next step.
995
+ */
996
+ function readIadCameraStepGates() {
997
+ return {
998
+ gc: getFeatureGate(IAD_CAMERA_OPEN_TIMING_GATE).enabled,
999
+ cc: getFeatureGate(IAD_CONTINUITY_GATE).enabled
1000
+ };
1001
+ }
1002
+ //#endregion
920
1003
  //#region ../infra/src/providers/wasm/createCameraCycleOwnership.ts
921
1004
  /** Creates an attempt lease in the underlying runtime's ownership domain. */
922
1005
  function createCameraCycleOwnership(cycle) {
@@ -982,4 +1065,4 @@ async function electDesktopCameraDevice(facing) {
982
1065
  return devices.find((device) => device.label !== "" && !isBackCameraLabel(device.label))?.deviceId ?? "";
983
1066
  }
984
1067
  //#endregion
985
- export { flagFaceManualReview as a, cameraCycleProvider as i, createCameraCycleOwnership as n, flagIdManualReview as o, runProtectedAttempt as r, PROTECTED_CAPTURE_TARGET as s, electDesktopCameraDevice as t };
1068
+ export { cameraCycleProvider as a, deepsightSignalConfigActor as c, runProtectedAttempt as i, PROTECTED_CAPTURE_TARGET as l, createCameraCycleOwnership as n, flagFaceManualReview as o, readIadCameraStepGates as r, flagIdManualReview as s, electDesktopCameraDevice as t };
@@ -1,8 +1,8 @@
1
1
  import { a as isIOSWebView, c as isIslandBrowser, f as isTabletWithoutAndroid, i as isIOS, n as isAndroidWebView, o as isIPad } from "./platform-GIg4uPWe.esm.js";
2
2
  import { n as getUserAgentBrands, t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
3
- import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
4
3
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
5
4
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
5
+ import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
6
6
  //#region src/internal/device/browserSupportClassification.ts
7
7
  /**
8
8
  * Third-party in-app browsers. These are real WebViews — `isAndroidWebView` and
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DLWTqjUr.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,3 +1,3 @@
1
- import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9wBJ8Y5.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DWFEWV4d.esm.js";
1
+ import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DKG_aAPi.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-YXwSaquq.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-DymuSDQt.esm.js";
5
+ import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-DxfJs-C0.esm.js";
6
6
  //#region src/modules/document-signature/documentSignatureActor.ts
7
7
  function createDocumentSignatureActor(options) {
8
8
  return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9wBJ8Y5.esm.js";
6
+ import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DKG_aAPi.esm.js";
7
7
  //#region src/modules/document-capture/documentCaptureActor.ts
8
8
  function createDocumentCaptureActor(options) {
9
9
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
263
263
  type: "fileSizeOkForNonGallery";
264
264
  params: unknown;
265
265
  };
266
- }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
266
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
267
267
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
268
268
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
269
269
  readonly id: "documentCapture";
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  import { a as stopCameraStream } from "./camera-CJKApt0x.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DB7ckY8v.esm.js";
6
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BN_Tyjgt.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CrrStkAz.esm.js";
6
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BymkaEBe.esm.js";
7
7
  import { t as carryAttempts } from "./attemptCarry-Dew-8qhm.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
3
3
  import "./events-C3sjvrjL.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-Dp-Zxhsu.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-T18Ndgre.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  //#region src/modules/document-signature/documentSignatureServices.ts
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BSgwYu_b.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DUzUQD4C.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CkNn0K-p.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-kHXGaVVA.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BSgwYu_b.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CkNn0K-p.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
8
8
  function createDynamicFormsActor(options) {
9
9
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Dp-Zxhsu.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-T18Ndgre.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./xstate.cjs-D6Ur0X1F.js";
2
2
  import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
3
- import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
3
+ import { i as FlowModuleConfig } from "./types-BFPsOz4D.js";
4
4
  import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BgRHw-dR.js";
5
5
  import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BflWuTe4.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts