@incodetech/core 2.4.0-rc.0 → 2.4.0-rc.2

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 (181) hide show
  1. package/dist/{BaseWasmProvider-BL9wIRnN.d.ts → BaseWasmProvider-Bq3OHo7P.d.ts} +2 -2
  2. package/dist/BrowserDiagnosticsEnvelopeProvider-BQca6KPG.esm.js +43 -0
  3. package/dist/{FaceDetectionProvider-BjTer9h3.esm.js → FaceDetectionProvider-DSWxnrS3.esm.js} +10 -11
  4. package/dist/{IIdCaptureCapability-DBsv9-7M.d.ts → IIdCaptureCapability-CGcEt2Cw.d.ts} +2 -2
  5. package/dist/{IWasmUtilCapability-CPX0RGdQ.d.ts → IWasmUtilCapability-GF2n7sfm.d.ts} +2 -2
  6. package/dist/{StreamCanvasCapture-DVmzJux5.d.ts → StreamCanvasCapture-7JRf-2ck.d.ts} +2 -2
  7. package/dist/{WasmUtilProvider-CIdnE7Fx.esm.js → WasmUtilProvider-DtJuBdt-.esm.js} +18 -5
  8. package/dist/{addressSearch-BiYZjvp3.esm.js → addressSearch-DPjIKJrX.esm.js} +1 -2
  9. package/dist/ae-signature.esm.js +1 -1
  10. package/dist/antifraud.esm.js +2 -2
  11. package/dist/{antifraudManager-HL08jeDX.esm.js → antifraudManager-CaweCYnY.esm.js} +2 -2
  12. package/dist/{antifraudStateMachine-DoJVzblM.esm.js → antifraudStateMachine-DRl0UVyA.esm.js} +1 -2
  13. package/dist/{endpoints-DHzlkQNe.esm.js → api-Cz90EHyu.esm.js} +149 -1
  14. package/dist/{apiError-DcSWedC6.esm.js → apiError-u5fRJruc.esm.js} +1 -1
  15. package/dist/authentication.d.ts +3 -3
  16. package/dist/authentication.esm.js +2 -2
  17. package/dist/{authenticationManager-CANv5-W5.d.ts → authenticationManager-BIZC55Bi.d.ts} +1 -1
  18. package/dist/{authenticationManager-SaiAxqvS.esm.js → authenticationManager-CHQ3a8M3.esm.js} +5 -5
  19. package/dist/{authenticationStateMachine-CHSxmV7z.esm.js → authenticationStateMachine-C3poykXk.esm.js} +3 -3
  20. package/dist/avatar.d.ts +1 -1
  21. package/dist/camera.esm.js +1 -1
  22. package/dist/certificate-issuance.esm.js +2 -2
  23. package/dist/{certificateIssuanceManager-CMg4SgL4.esm.js → certificateIssuanceManager-BfeMv2PU.esm.js} +2 -2
  24. package/dist/{certificateIssuanceStateMachine-Cs64QmYH.esm.js → certificateIssuanceStateMachine-Frgjbjw8.esm.js} +1 -2
  25. package/dist/consent.d.ts +1 -1
  26. package/dist/consent.esm.js +2 -2
  27. package/dist/{consentManager-DgzWQpAR.d.ts → consentManager-Ca8FHlC4.d.ts} +1 -1
  28. package/dist/{consentManager-CjrxY737.esm.js → consentManager-CvEu8h_W.esm.js} +2 -2
  29. package/dist/{consentStateMachine-BCj5Jb3g.esm.js → consentStateMachine-DJTgN_-1.esm.js} +1 -2
  30. package/dist/{createCameraCycleOwnership-kdlhkmmY.esm.js → createCameraCycleOwnership-Dj_LHUvN.esm.js} +2 -3
  31. package/dist/{createFaceAvatar-DXgmQmQy.d.ts → createFaceAvatar-lYX0VTYs.d.ts} +1 -1
  32. package/dist/cross-document-data-match.esm.js +1 -1
  33. package/dist/{crossDocumentDataMatchManager-BHnGRsto.esm.js → crossDocumentDataMatchManager-Cu141CE8.esm.js} +2 -3
  34. package/dist/curp-validation.d.ts +1 -1
  35. package/dist/curp-validation.esm.js +2 -2
  36. package/dist/{curpValidationManager-DBNIn8BF.esm.js → curpValidationManager-B-z9q5V3.esm.js} +2 -2
  37. package/dist/{curpValidationManager-B-1EZbP_.d.ts → curpValidationManager-C9sqoh9n.d.ts} +1 -1
  38. package/dist/{curpValidationStateMachine-DAxImy8p.esm.js → curpValidationStateMachine-vDEFLMPw.esm.js} +1 -2
  39. package/dist/custom-fields.esm.js +1 -1
  40. package/dist/custom-watchlist.esm.js +2 -2
  41. package/dist/{customFieldsManager-BV6UyLFV.esm.js → customFieldsManager-D1ex2cFM.esm.js} +2 -3
  42. package/dist/{customWatchlistManager-DML0UPzf.esm.js → customWatchlistManager-CTI-SGk0.esm.js} +2 -2
  43. package/dist/{customWatchlistStateMachine-D9gI5uu7.esm.js → customWatchlistStateMachine-hmRd0f2I.esm.js} +1 -2
  44. package/dist/{deepsightLoader-DvfAYnzg.esm.js → deepsightLoader-BgGxliJ0.esm.js} +6 -6
  45. package/dist/{deepsightService-DLGO9yv1.esm.js → deepsightService-ty5dU0LC.esm.js} +3 -3
  46. package/dist/document-capture.esm.js +2 -2
  47. package/dist/{documentCaptureManager-C9XUnYU6.esm.js → documentCaptureManager-DUJwpKC5.esm.js} +2 -2
  48. package/dist/{documentCaptureStateMachine-BHDsCfhL.esm.js → documentCaptureStateMachine-B8i7GnLh.esm.js} +3 -4
  49. package/dist/dynamic-forms.esm.js +2 -2
  50. package/dist/{dynamicFormsManager-5uIXobxi.esm.js → dynamicFormsManager-jtJpRLz9.esm.js} +2 -2
  51. package/dist/{dynamicFormsStateMachine-DQmok084.esm.js → dynamicFormsStateMachine-D20Fh6BI.esm.js} +2 -3
  52. package/dist/ekyb.d.ts +1 -1
  53. package/dist/ekyb.esm.js +3 -3
  54. package/dist/{ekybManager-CazShiQz.esm.js → ekybManager-CaTOF46q.esm.js} +2 -2
  55. package/dist/{ekybStateMachine-hstiCNmW.esm.js → ekybStateMachine-BcJtiQRv.esm.js} +3 -4
  56. package/dist/ekyc.esm.js +2 -2
  57. package/dist/{ekycManager-BdJRUsz0.esm.js → ekycManager-BO-Lui3t.esm.js} +2 -2
  58. package/dist/{ekycStateMachine-x6Klot8g.esm.js → ekycStateMachine-CDnI_NRq.esm.js} +2 -3
  59. package/dist/electronic-signature.esm.js +1 -1
  60. package/dist/{electronicSignatureManager-Bc8spG8p.esm.js → electronicSignatureManager-CoeuiyX4.esm.js} +3 -4
  61. package/dist/email.esm.js +2 -2
  62. package/dist/{emailManager-CtlKRRaR.esm.js → emailManager-ButFktRm.esm.js} +2 -2
  63. package/dist/{emailStateMachine-5Neq3rE5.esm.js → emailStateMachine-BXtlC0NV.esm.js} +1 -2
  64. package/dist/{events-CAgFE-k3.esm.js → events-Du2A4-Qr.esm.js} +184 -1
  65. package/dist/events.esm.js +1 -1
  66. package/dist/extensibility.d.ts +13 -13
  67. package/dist/extensibility.esm.js +34 -34
  68. package/dist/face-match.esm.js +2 -2
  69. package/dist/{faceCaptureManagerFactory-jKQ2QtY-.d.ts → faceCaptureManagerFactory-1hzeS_rB.d.ts} +7 -7
  70. package/dist/{faceCaptureManagerFactory-uFm1AcaY.esm.js → faceCaptureManagerFactory-D5hz8P8_.esm.js} +4 -4
  71. package/dist/{faceCaptureSetup-Cu2wabzo.esm.js → faceCaptureSetup-aZ7IJflJ.esm.js} +15 -11
  72. package/dist/{faceMatchManager-9Nj9aPci.esm.js → faceMatchManager-DWFUQjMQ.esm.js} +2 -2
  73. package/dist/{faceMatchStateMachine-B9ZUnlyU.esm.js → faceMatchStateMachine-CUCvlydD.esm.js} +1 -2
  74. package/dist/{feature-management-BTbYruNe.esm.js → feature-management-D7SnNua4.esm.js} +1 -1
  75. package/dist/feature-management.esm.js +1 -1
  76. package/dist/field-comparison.esm.js +1 -1
  77. package/dist/{fieldComparisonManager-Dk38hXZP.esm.js → fieldComparisonManager-v3knTYV_.esm.js} +2 -3
  78. package/dist/fiscal-qr.esm.js +1 -1
  79. package/dist/{fiscalQrManager-DmBkQfs0.esm.js → fiscalQrManager-Dt9fHG7h.esm.js} +3 -3
  80. package/dist/flow-events.d.ts +1 -1
  81. package/dist/flow.d.ts +6 -6
  82. package/dist/flow.esm.js +4 -4
  83. package/dist/{flowCompletionService-xnn_SlJU.esm.js → flowCompletionService-D7le3leY.esm.js} +2 -3
  84. package/dist/{flowServices-DA64AEZC.esm.js → flowServices-BnHYS8ez.esm.js} +6 -7
  85. package/dist/geolocation.esm.js +2 -2
  86. package/dist/{geolocationManager-CqNLY45e.esm.js → geolocationManager-CEi7S-bI.esm.js} +2 -2
  87. package/dist/{geolocationStateMachine-D-cQi7ar.esm.js → geolocationStateMachine-BJsZ4RyH.esm.js} +2 -3
  88. package/dist/government-validation.esm.js +2 -2
  89. package/dist/{governmentValidationManager-CP0SiOOe.esm.js → governmentValidationManager-BtXWHICu.esm.js} +2 -2
  90. package/dist/{governmentValidationStateMachine-C3YQ8yCZ.esm.js → governmentValidationStateMachine-COL-Vs48.esm.js} +1 -2
  91. package/dist/home.d.ts +1 -1
  92. package/dist/home.esm.js +1 -1
  93. package/dist/http.esm.js +1 -1
  94. package/dist/id-ocr.d.ts +1 -1
  95. package/dist/id-ocr.esm.js +2 -2
  96. package/dist/id-selfie-flow.d.ts +3 -3
  97. package/dist/id-selfie-flow.esm.js +9 -9
  98. package/dist/id-verification.esm.js +2 -2
  99. package/dist/id.d.ts +3 -3
  100. package/dist/id.esm.js +3 -3
  101. package/dist/{idCaptureDefaults-CBg73RnV.esm.js → idCaptureDefaults-BGsG2OAs.esm.js} +3 -4
  102. package/dist/{idCaptureManager-BY97SRCV.d.ts → idCaptureManager-0M02hSuC.d.ts} +7 -7
  103. package/dist/{idCaptureManager-D4V8vXtY.esm.js → idCaptureManager-Bbt7x3xN.esm.js} +7 -7
  104. package/dist/{idCaptureServices-DJ33k3-p.esm.js → idCaptureServices-t3zj66lr.esm.js} +6 -7
  105. package/dist/{idCaptureStateMachine-PJt0yzom.esm.js → idCaptureStateMachine-e56glzRH.esm.js} +23 -20
  106. package/dist/{idOcrManager-DxoCesYP.esm.js → idOcrManager-D3-HNMXP.esm.js} +2 -2
  107. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-DT3kPIB3.d.ts} +1 -1
  108. package/dist/{idOcrStateMachine-kPn7DB2I.esm.js → idOcrStateMachine-DyENX6Ki.esm.js} +1 -2
  109. package/dist/{idVerificationManager-CDhRUU5n.esm.js → idVerificationManager-iWz7Avkr.esm.js} +2 -2
  110. package/dist/{idVerificationStateMachine-0HTVVxse.esm.js → idVerificationStateMachine-CL1kUdBe.esm.js} +1 -2
  111. package/dist/identity-reuse.esm.js +2 -2
  112. package/dist/{identityReuseManager-BleUi6TK.esm.js → identityReuseManager-CD1ucp1d.esm.js} +2 -2
  113. package/dist/{identityReuseStateMachine-BrBUpfn5.esm.js → identityReuseStateMachine-DfV81wQC.esm.js} +1 -2
  114. package/dist/{index-DfEuu-Ew.d.ts → index-CKQ9QBZP.d.ts} +1 -1
  115. package/dist/index.d.ts +1 -1
  116. package/dist/index.esm.js +1 -1
  117. package/dist/{invokeOnCaptureCallback-BW7V3vub.esm.js → invokeOnCaptureCallback-DYrkOXO6.esm.js} +1 -1
  118. package/dist/mandatory-consent.d.ts +2 -2
  119. package/dist/mandatory-consent.esm.js +2 -2
  120. package/dist/{mandatoryConsentManager-CX_Dyht7.esm.js → mandatoryConsentManager-Cwqx1nK7.esm.js} +2 -2
  121. package/dist/{mandatoryConsentManager-TkX57U6f.d.ts → mandatoryConsentManager-qYojnZYg.d.ts} +2 -2
  122. package/dist/{mandatoryConsentStateMachine-CoaSB7P7.esm.js → mandatoryConsentStateMachine-pXWqAHo_.esm.js} +1 -2
  123. package/dist/{multipartRecordingService-DbeQpXdU.esm.js → multipartRecordingService-CLwrF5wD.esm.js} +1 -2
  124. package/dist/{permissionGuards-Bf4LbHjC.esm.js → permissionGuards-gcy3U0SL.esm.js} +1 -1
  125. package/dist/{permissionServices-d2UW0r_L.esm.js → permissionServices-Ca-tSNhT.esm.js} +1 -1
  126. package/dist/phone.esm.js +2 -2
  127. package/dist/{phoneManager-BGBcpqsk.esm.js → phoneManager-KKUq-Vgo.esm.js} +2 -2
  128. package/dist/{phoneStateMachine-CEm2y7yG.esm.js → phoneStateMachine-D2QWS2cu.esm.js} +1 -2
  129. package/dist/qe-signature.esm.js +1 -1
  130. package/dist/redirect-to-mobile.esm.js +2 -2
  131. package/dist/{redirectToMobileManager-B1yQHFLu.esm.js → redirectToMobileManager-uHW3dyuQ.esm.js} +2 -2
  132. package/dist/{redirectToMobileStateMachine--Sr9NEVT.esm.js → redirectToMobileStateMachine-b-H-ipGM.esm.js} +1 -2
  133. package/dist/{runChildModule-vdxQMCmO.esm.js → runChildModule-BMlIz7Hc.esm.js} +2 -2
  134. package/dist/{sdkVersion-F5YZbjip.esm.js → sdkVersion-DnWdXHbH.esm.js} +1 -1
  135. package/dist/selfie.d.ts +4 -4
  136. package/dist/selfie.esm.js +10 -10
  137. package/dist/{selfieErrorUtils-D-tsgEuX.esm.js → selfieErrorUtils-BmKZD7uF.esm.js} +1 -1
  138. package/dist/{selfieManager-1J0IEyFq.d.ts → selfieManager-BJdNu_nd.d.ts} +1 -1
  139. package/dist/{selfieManager-26pENXxw.esm.js → selfieManager-ByEF2GBP.esm.js} +5 -5
  140. package/dist/{selfieStateMachine-BhfKsl3I.esm.js → selfieStateMachine-51U3Eg7M.esm.js} +3 -3
  141. package/dist/{session-Bu7djCsj.esm.js → session-DeVZisMV.esm.js} +4 -5
  142. package/dist/session.d.ts +1 -1
  143. package/dist/session.esm.js +5 -5
  144. package/dist/{sessionInitializer-jxbfCnE-.esm.js → sessionInitializer-CAkf7oYe.esm.js} +7 -8
  145. package/dist/{setup-C38QkrSP.esm.js → setup-C-4p0WsB.esm.js} +93 -198
  146. package/dist/{setup-lgkQ8dJW.d.ts → setup-YPKTUCY5.d.ts} +23 -5
  147. package/dist/signature.esm.js +2 -2
  148. package/dist/{signatureManager-qqXyH93e.esm.js → signatureManager-f_dPAGXn.esm.js} +2 -2
  149. package/dist/{signatureStateMachine-BkRSrkKp.esm.js → signatureStateMachine-C-nUq_oq.esm.js} +1 -2
  150. package/dist/{stats-DmG_tkGk.esm.js → stats-BEvexnKC.esm.js} +1 -2
  151. package/dist/stats.esm.js +1 -1
  152. package/dist/{trueSightService-BWgRVGIT.esm.js → trueSightService-D-whOVP1.esm.js} +914 -225
  153. package/dist/trust-graph.esm.js +1 -1
  154. package/dist/{types-BGXxRwQM.d.ts → types-B6HsSzpk.d.ts} +1 -1
  155. package/dist/{types-CyPUIpzf.d.ts → types-BAxn7MpY.d.ts} +5 -5
  156. package/dist/{types-DTYr9pCB.d.ts → types-CK8Jbjkp.d.ts} +1 -1
  157. package/dist/{types-BvFmYX5c.d.ts → types-Ckir_BEs.d.ts} +1 -1
  158. package/dist/{types-zpO4fU6a.d.ts → types-yPH8lAH-.d.ts} +3 -3
  159. package/dist/types-zOgZqMni.d.ts +6 -0
  160. package/dist/video-selfie.d.ts +3 -3
  161. package/dist/video-selfie.esm.js +6 -7
  162. package/dist/{videoSelfieCameraWarmer-C366RKqu.esm.js → videoSelfieCameraWarmer-BBQSGW1l.esm.js} +7 -8
  163. package/dist/{videoSelfieStepDetector-C5QHOvWb.d.ts → videoSelfieStepDetector-CGsTltqB.d.ts} +4 -4
  164. package/dist/{warmup-DMtbyb2l.esm.js → warmup-BElYWRh7.esm.js} +322 -3
  165. package/dist/{warmup-BUPPRAA1.d.ts → warmup-BO57syF6.d.ts} +1 -0
  166. package/dist/wasm.d.ts +2 -2
  167. package/dist/wasm.esm.js +3 -4
  168. package/dist/{wasmDsFlagSync-BXCGqP48.esm.js → wasmDsFlagSync-CYj5LL9z.esm.js} +1 -1
  169. package/dist/{wasmWebClient-kbYZ2sxw.esm.js → wasmWebClient-BjZw_7OB.esm.js} +315 -17
  170. package/dist/watchlist-for-business.esm.js +2 -2
  171. package/dist/watchlist.esm.js +2 -2
  172. package/dist/{watchlistForBusinessManager-BvF4jK3S.esm.js → watchlistForBusinessManager-CZZOFkGl.esm.js} +2 -2
  173. package/dist/{watchlistForBusinessStateMachine-121XK-Et.esm.js → watchlistForBusinessStateMachine-B66E7jud.esm.js} +1 -2
  174. package/dist/{watchlistManager-CNWEOYSq.esm.js → watchlistManager-DXtX94SN.esm.js} +2 -2
  175. package/dist/{watchlistStateMachine-Dgfm42w2.esm.js → watchlistStateMachine-McALifag.esm.js} +1 -2
  176. package/dist/workflow.d.ts +1 -1
  177. package/dist/workflow.esm.js +35 -36
  178. package/package.json +2 -2
  179. package/dist/BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js +0 -77
  180. package/dist/api-Bx3gKW_y.esm.js +0 -129
  181. package/dist/types-C71Zo6vl.d.ts +0 -6
@@ -1,3 +1,4 @@
1
+ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
1
2
  //#region ../infra/src/wasm/wasmIntegrityManifest.ts
2
3
  /** SHA-256 digests of the official WASM release files this SDK loads. */
3
4
  const WASM_INTEGRITY_MANIFEST = {
@@ -146,9 +147,10 @@ function assertNotHtml(contentType, bytes, asset) {
146
147
  }
147
148
  /**
148
149
  * Verifies `bytes` against the official digests for `asset` and throws a
149
- * {@link WasmIntegrityError} when they do not match.
150
+ * {@link WasmIntegrityError} when they do not match. `fetchMs`, when the
151
+ * bytes came over the network, rides along on the reported check.
150
152
  */
151
- async function verifyWasmAsset(asset, bytes) {
153
+ async function verifyWasmAsset(asset, bytes, fetchMs) {
152
154
  const label = assetLabel(asset);
153
155
  const subtle = globalThis.crypto?.subtle;
154
156
  if (subtle === void 0) {
@@ -167,6 +169,7 @@ async function verifyWasmAsset(asset, bytes) {
167
169
  asset: label,
168
170
  status: "verified",
169
171
  durationMs,
172
+ fetchMs,
170
173
  byteLength: bytes.byteLength
171
174
  });
172
175
  return;
@@ -175,6 +178,7 @@ async function verifyWasmAsset(asset, bytes) {
175
178
  asset: label,
176
179
  status: "mismatch",
177
180
  durationMs,
181
+ fetchMs,
178
182
  byteLength: bytes.byteLength,
179
183
  expectedDigestPrefix: expected[0]?.slice(0, DIGEST_PREFIX_LENGTH),
180
184
  actualDigestPrefix: actual.slice(0, DIGEST_PREFIX_LENGTH)
@@ -273,8 +277,9 @@ const WASM_PIPELINE_MODELS = {
273
277
  * not depend on where an asset comes from.
274
278
  */
275
279
  async function resolveWasmSource(source, asset) {
280
+ const fetchStartedAt = performance.now();
276
281
  const bytes = await fetchWasmSource(source, asset);
277
- await verifyWasmAsset(asset, bytes);
282
+ await verifyWasmAsset(asset, bytes, typeof source === "string" ? performance.now() - fetchStartedAt : void 0);
278
283
  return bytes;
279
284
  }
280
285
  async function fetchWasmSource(source, asset) {
@@ -306,6 +311,155 @@ function deriveSiblingJsPath(wasmPath) {
306
311
  return `${wasmPath.slice(0, index)}.js${rest}`;
307
312
  }
308
313
  //#endregion
314
+ //#region ../infra/src/wasm/wasmDefaults.ts
315
+ const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
316
+ /** The WASM version bundled and tested with this SDK release. */
317
+ const DEFAULT_WASM_VERSION = "v2.14.50-post1";
318
+ const PATH_KEYS = [
319
+ "wasmPath",
320
+ "wasmSimdPath",
321
+ "glueCodePath",
322
+ "glueCodeSimdPath",
323
+ "modelsBasePath"
324
+ ];
325
+ function isBlank(value) {
326
+ return value.trim() === "";
327
+ }
328
+ function hasDisallowedControlChars(value) {
329
+ for (let i = 0; i < value.length; i += 1) {
330
+ const code = value.charCodeAt(i);
331
+ if (code < 32 || code === 127) return true;
332
+ }
333
+ return false;
334
+ }
335
+ function isMalformedPath(value) {
336
+ const trimmed = value.trim();
337
+ if (trimmed === "") return false;
338
+ if (hasDisallowedControlChars(trimmed)) return true;
339
+ if (/^https?:\/\//i.test(trimmed)) try {
340
+ new URL(trimmed);
341
+ return false;
342
+ } catch {
343
+ return true;
344
+ }
345
+ return false;
346
+ }
347
+ function warnInvalidWasmPath(field, reason) {
348
+ if (reason === "empty") {
349
+ console.warn(`[Incode SDK] wasm.${field} is empty. Falling back to CDN default.`);
350
+ return;
351
+ }
352
+ console.warn(`[Incode SDK] wasm.${field} appears malformed. Falling back to CDN default.`);
353
+ }
354
+ function warnMalformedWasmPath(field) {
355
+ console.warn(`[Incode SDK] wasm.${field} appears malformed. Check the URL or path.`);
356
+ }
357
+ /**
358
+ * Validates merged WASM path strings. When overrides contained blank path
359
+ * values, callers should have already fallen back to defaults before this runs.
360
+ */
361
+ function validateWasmPaths(config) {
362
+ for (const key of PATH_KEYS) {
363
+ const value = config[key];
364
+ if (typeof value === "string" && isMalformedPath(value)) warnMalformedWasmPath(key);
365
+ }
366
+ }
367
+ function pickPath(key, overrides, defaultValue) {
368
+ if (!overrides || !(key in overrides)) return defaultValue;
369
+ const raw = overrides[key];
370
+ if (raw === void 0) return defaultValue;
371
+ if (typeof raw !== "string") return defaultValue;
372
+ if (isBlank(raw)) {
373
+ warnInvalidWasmPath(key, "empty");
374
+ return defaultValue;
375
+ }
376
+ if (isMalformedPath(raw)) {
377
+ warnInvalidWasmPath(key, "malformed");
378
+ return defaultValue;
379
+ }
380
+ return raw.trim();
381
+ }
382
+ function pickSource(key, overrides, defaultValue) {
383
+ if (!(key in overrides) || overrides[key] === void 0) return defaultValue;
384
+ const source = overrides[key];
385
+ if (typeof source !== "string") return source;
386
+ return pickPath(key, overrides, String(defaultValue));
387
+ }
388
+ function resolveBasePath(overrides) {
389
+ const defaultValue = `${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`;
390
+ if (!("basePath" in overrides) || overrides.basePath === void 0) return defaultValue;
391
+ const basePath = overrides.basePath;
392
+ if (typeof basePath !== "string" || isBlank(basePath) || isMalformedPath(basePath)) throw new Error("[Incode SDK] wasm.basePath is invalid.");
393
+ return basePath.trim();
394
+ }
395
+ /** Builds a WarmupConfig from a directory that mirrors the ml-wasm-kit CDN layout. */
396
+ function buildWasmConfigFromBasePath(basePath) {
397
+ const base = basePath.endsWith("/") ? basePath.slice(0, -1) : basePath;
398
+ return {
399
+ wasmPath: `${base}/webLib.wasm`,
400
+ wasmSimdPath: `${base}/webLibSimd.wasm`,
401
+ glueCodePath: `${base}/webLib.js`,
402
+ glueCodeSimdPath: `${base}/webLibSimd.js`,
403
+ modelsBasePath: `${base}/models`
404
+ };
405
+ }
406
+ /** Builds the standard WarmupConfig from the Incode CDN. */
407
+ function buildDefaultWasmConfig() {
408
+ return buildWasmConfigFromBasePath(`${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`);
409
+ }
410
+ /**
411
+ * Whether `config` loads the SDK's own CDN build of `DEFAULT_WASM_VERSION`.
412
+ * TrueSight reports its negation as `basePathPinned`: the host pointed the
413
+ * SDK at its own location, version, or bytes.
414
+ */
415
+ function isDefaultCdnWasmConfig(config) {
416
+ const defaults = buildDefaultWasmConfig();
417
+ return config.selfHosted !== true && config.wasmPath === defaults.wasmPath && config.glueCodePath === defaults.glueCodePath;
418
+ }
419
+ const BARCODE_ENHANCE_MODEL_FILE = WASM_MODEL_FILES.barcode;
420
+ /**
421
+ * URL of the lazily-loaded PDF417 barcode enhancement model (US Smart Capture).
422
+ * Derived from the resolved `modelsBasePath` so self-hosted / air-gapped
423
+ * deployments resolve it correctly, falling back to the CDN default. Loaded on
424
+ * demand via `IIdCaptureCapability.setBarcodeEnhancementModel` — deliberately
425
+ * NOT part of any warmup model bundle.
426
+ */
427
+ function getBarcodeEnhanceModelUrl(modelsBasePath, variant = "current") {
428
+ const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.50-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
429
+ return typeof source === "string" ? source : source[variant];
430
+ }
431
+ /**
432
+ * Merges optional WASM path overrides with CDN defaults. Explicit non-blank
433
+ * paths take precedence. Blank override strings log a warning and fall back to defaults.
434
+ */
435
+ function resolveWasmConfig(overrides) {
436
+ if (!overrides) return buildDefaultWasmConfig();
437
+ const defaults = buildWasmConfigFromBasePath(resolveBasePath(overrides));
438
+ const resolvedWasmPath = pickSource("wasmPath", overrides, defaults.wasmPath);
439
+ const simdDefault = overrides.selfHosted ? resolvedWasmPath : defaults.wasmSimdPath;
440
+ const modelsDefault = defaults.modelsBasePath;
441
+ const resolvedWasmSimdPath = pickSource("wasmSimdPath", overrides, simdDefault);
442
+ const glueCodeSimdDefault = typeof resolvedWasmSimdPath === "string" ? deriveSiblingJsPath(resolvedWasmSimdPath) : defaults.glueCodeSimdPath;
443
+ const merged = {
444
+ wasmPath: resolvedWasmPath,
445
+ wasmSimdPath: resolvedWasmSimdPath,
446
+ glueCodePath: pickPath("glueCodePath", overrides, defaults.glueCodePath),
447
+ glueCodeSimdPath: pickPath("glueCodeSimdPath", overrides, glueCodeSimdDefault),
448
+ modelsBasePath: pickPath("modelsBasePath", overrides, modelsDefault),
449
+ useSimd: overrides.useSimd,
450
+ showLogs: overrides.showLogs,
451
+ pipelines: overrides.pipelines,
452
+ pipelineModels: overrides.pipelineModels,
453
+ modelUrls: overrides.modelUrls,
454
+ legacyModelUrls: overrides.legacyModelUrls,
455
+ loadGlue: overrides.loadGlue,
456
+ loadGlueSimd: overrides.loadGlueSimd,
457
+ selfHosted: overrides.selfHosted
458
+ };
459
+ validateWasmPaths(merged);
460
+ return merged;
461
+ }
462
+ //#endregion
309
463
  //#region ../infra/src/providers/browser/SemaphoreProvider.ts
310
464
  const DEFAULT_ACQUIRE_TIMEOUT_MS = 3e4;
311
465
  /**
@@ -405,6 +559,22 @@ var SemaphoreProvider = class {
405
559
  }
406
560
  };
407
561
  //#endregion
562
+ //#region ../infra/src/wasm/wasmDiagnostics.ts
563
+ let handler = null;
564
+ function setWasmDiagnosticsHandler(next) {
565
+ handler = next;
566
+ }
567
+ /**
568
+ * Fire-and-forget: a no-op without a handler, and handler exceptions are
569
+ * swallowed — diagnostics must never throw into the host code path.
570
+ */
571
+ function emitWasmDiagnostic(entry) {
572
+ if (handler === null) return;
573
+ try {
574
+ handler(entry);
575
+ } catch {}
576
+ }
577
+ //#endregion
408
578
  //#region ../infra/src/wasm/wasmGlueImport.ts
409
579
  /**
410
580
  * Evaluates verified glue bytes as an ES module from a `blob:` URL.
@@ -667,9 +837,21 @@ async function instantiate(factory, libPath, slot, showLogs = false) {
667
837
  },
668
838
  printErr: (text) => {
669
839
  if (showLogs) console.error(text);
840
+ },
841
+ onAbort: (what) => {
842
+ emitWasmDiagnostic({
843
+ level: "severe",
844
+ subsystem: "abort",
845
+ category: "other",
846
+ message: `wasm aborted what=${String(what)}`
847
+ });
670
848
  }
671
849
  });
672
850
  }
851
+ /** `code=` for integrity failures, which name a cause more precisely than the message. */
852
+ function describeLoadError(error) {
853
+ return error instanceof WasmIntegrityError ? `code=${error.code} asset=${error.asset}` : `error=${String(error)}`;
854
+ }
673
855
  /**
674
856
  * Load the WASM module, memoized. Subsequent calls return the same instance,
675
857
  * retaining the first caller's logging configuration.
@@ -682,6 +864,7 @@ async function instantiate(factory, libPath, slot, showLogs = false) {
682
864
  async function loadWasmModule(config) {
683
865
  if (loadedResult) return loadedResult;
684
866
  if (loadPromise) return loadPromise;
867
+ const startedAtMs = getTimestamp();
685
868
  loadPromise = (async () => {
686
869
  let storageFallbackLease = null;
687
870
  try {
@@ -696,10 +879,22 @@ async function loadWasmModule(config) {
696
879
  simdUsed: true
697
880
  };
698
881
  loadedResult = result;
882
+ emitWasmDiagnostic({
883
+ level: "debug",
884
+ subsystem: "loader",
885
+ category: "other",
886
+ message: `wasm module loaded simd=true durationMs=${getTimestamp() - startedAtMs}`
887
+ });
699
888
  return result;
700
889
  } catch (simdError) {
701
890
  if (simdError instanceof WasmIntegrityError) throw simdError;
702
891
  if (config.showLogs) console.warn("[Incode SDK] SIMD WASM load failed, falling back to non-SIMD", simdError);
892
+ emitWasmDiagnostic({
893
+ level: "warning",
894
+ subsystem: "loader",
895
+ category: "other",
896
+ message: `simd load failed falling back ${describeLoadError(simdError)}`
897
+ });
703
898
  }
704
899
  const nonSimdFactory = await resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js");
705
900
  window.Module = nonSimdFactory;
@@ -708,9 +903,21 @@ async function loadWasmModule(config) {
708
903
  simdUsed: false
709
904
  };
710
905
  loadedResult = result;
906
+ emitWasmDiagnostic({
907
+ level: "debug",
908
+ subsystem: "loader",
909
+ category: "other",
910
+ message: `wasm module loaded simd=false durationMs=${getTimestamp() - startedAtMs}`
911
+ });
711
912
  return result;
712
913
  } catch (error) {
713
914
  loadPromise = null;
915
+ emitWasmDiagnostic({
916
+ level: "error",
917
+ subsystem: "loader",
918
+ category: "other",
919
+ message: `wasm load failed ${describeLoadError(error)}`
920
+ });
714
921
  throw error;
715
922
  } finally {
716
923
  storageFallbackLease?.release();
@@ -718,6 +925,98 @@ async function loadWasmModule(config) {
718
925
  })();
719
926
  return loadPromise;
720
927
  }
928
+ function emptyCounters() {
929
+ return {
930
+ analyzeFrameCount: 0,
931
+ analyzeFrameMaxMs: 0,
932
+ getCheckCount: 0,
933
+ collisionCount: 0
934
+ };
935
+ }
936
+ let lockHeldBy = null;
937
+ let waitWarningsLogged = 0;
938
+ let collisionWarningsLogged = 0;
939
+ let counters = emptyCounters();
940
+ function noteLockAcquired(label, waitMs) {
941
+ lockHeldBy = label;
942
+ if (waitMs > 250 && waitWarningsLogged < 5) {
943
+ waitWarningsLogged += 1;
944
+ emitWasmDiagnostic({
945
+ level: "warning",
946
+ subsystem: "calls",
947
+ category: "other",
948
+ message: `semaphore wait method=${label} waitMs=${Math.round(waitMs)}`
949
+ });
950
+ }
951
+ }
952
+ function noteLockReleased(label, waitMs, durationMs) {
953
+ lockHeldBy = null;
954
+ emitWasmDiagnostic({
955
+ level: "debug",
956
+ subsystem: "calls",
957
+ category: "other",
958
+ message: `call method=${label} waitMs=${Math.round(waitMs)} durationMs=${Math.round(durationMs)}`
959
+ });
960
+ }
961
+ /** Collision check for the lock-bypassing deepsight methods. */
962
+ function noteUnlockedCallStart(name) {
963
+ if (lockHeldBy === null) return;
964
+ counters.collisionCount += 1;
965
+ if (collisionWarningsLogged < 5) {
966
+ collisionWarningsLogged += 1;
967
+ emitWasmDiagnostic({
968
+ level: "warning",
969
+ subsystem: "calls",
970
+ category: "other",
971
+ message: `collision unlocked=${name} lockedBy=${lockHeldBy}`
972
+ });
973
+ }
974
+ }
975
+ function noteUnlockedCallEnd(name, durationMs) {
976
+ if (name === "analyzeFrame") {
977
+ counters.analyzeFrameCount += 1;
978
+ counters.analyzeFrameMaxMs = Math.max(counters.analyzeFrameMaxMs, Math.round(durationMs));
979
+ return;
980
+ }
981
+ counters.getCheckCount += 1;
982
+ }
983
+ /** Aggregates since the last snapshot; clears them for the next capture. */
984
+ function snapshotAndResetCallCounters() {
985
+ const snapshot = counters;
986
+ counters = emptyCounters();
987
+ return snapshot;
988
+ }
989
+ let pipelinePullEmissions = 0;
990
+ /**
991
+ * Row 36: each pipeline-state pull (once per capture) carries the row 29b
992
+ * counters accumulated since the previous one, then resets them. The state
993
+ * itself is never read: what the kit's pipelines expose to diagnostics is
994
+ * the kit's own decision (its sensor withholds verdicts such as age and
995
+ * liveness), so the SDK keeps no second gate over the C++ blob.
996
+ */
997
+ function notePipelineStatePulled() {
998
+ if (pipelinePullEmissions >= 20) return;
999
+ pipelinePullEmissions += 1;
1000
+ const calls = snapshotAndResetCallCounters();
1001
+ emitWasmDiagnostic({
1002
+ level: "debug",
1003
+ subsystem: "pipeline",
1004
+ category: "other",
1005
+ message: `pipeline state pulled analyzeFrames=${calls.analyzeFrameCount} maxAnalyzeMs=${calls.analyzeFrameMaxMs} getChecks=${calls.getCheckCount} collisions=${calls.collisionCount}`
1006
+ });
1007
+ }
1008
+ /** Per-session budgets and counters; called from `setup()` via `rearmWasmDiagnostics`. */
1009
+ function rearmWasmCallDiagnostics() {
1010
+ waitWarningsLogged = 0;
1011
+ collisionWarningsLogged = 0;
1012
+ counters = emptyCounters();
1013
+ pipelinePullEmissions = 0;
1014
+ }
1015
+ /** Full reset with the runtime (`WasmRuntime.freeResources()`). */
1016
+ function resetWasmCallDiagnostics() {
1017
+ lockHeldBy = null;
1018
+ rearmWasmCallDiagnostics();
1019
+ }
721
1020
  //#endregion
722
1021
  //#region ../infra/src/wasm/wasmCallUtils.ts
723
1022
  /**
@@ -752,18 +1051,6 @@ var WasmPollTimeoutError = class extends Error {
752
1051
  this.label = label;
753
1052
  }
754
1053
  };
755
- /**
756
- * Busy-polls an iterative WASM method until it returns `true`, optionally under
757
- * a concurrency lock.
758
- *
759
- * @param concurrency - semaphore used when `useSemaphore` is true.
760
- * @param wasmMethod - zero-arg closure over the C++ call; `false` means "call me
761
- * again", `true` means done. Bind any arguments in the closure.
762
- * @param useSemaphore - `false` bypasses the lock (caller already holds one, or
763
- * is provably the only caller).
764
- * @param options - see {@link WasmPollOptions}. `maxPolls` omitted = unbounded.
765
- * @throws {WasmPollTimeoutError} when `maxPolls` is exhausted.
766
- */
767
1054
  async function wasmCallWrapper(concurrency, wasmMethod, useSemaphore = true, options = {}) {
768
1055
  const { maxPolls, label } = options;
769
1056
  const innerCall = async () => {
@@ -776,7 +1063,18 @@ async function wasmCallWrapper(concurrency, wasmMethod, useSemaphore = true, opt
776
1063
  }
777
1064
  };
778
1065
  if (useSemaphore) {
779
- await concurrency.withLock(innerCall);
1066
+ const callLabel = label ?? "unlabeled";
1067
+ const requestedAt = performance.now();
1068
+ await concurrency.withLock(async () => {
1069
+ const acquiredAt = performance.now();
1070
+ const waitMs = acquiredAt - requestedAt;
1071
+ noteLockAcquired(callLabel, waitMs);
1072
+ try {
1073
+ await innerCall();
1074
+ } finally {
1075
+ noteLockReleased(callLabel, waitMs, performance.now() - acquiredAt);
1076
+ }
1077
+ });
780
1078
  return;
781
1079
  }
782
1080
  await innerCall();
@@ -973,4 +1271,4 @@ function ensureReady() {
973
1271
  return webClientApi;
974
1272
  }
975
1273
  //#endregion
976
- export { setWasmIntegrityObserver as S, WASM_PIPELINE_OPTIONAL_MODEL_NAMES as _, setWebApiHttpTransport as a, resolveWasmSource as b, wasmCallWrapper as c, SemaphoreProvider as d, deriveSiblingJsPath as f, WASM_PIPELINE_MODEL_NAMES as g, WASM_PIPELINE_MODELS as h, initializeWasmWebClient as i, loadWasmModule as l, WASM_PIPELINE_LAZY_MODEL_NAMES as m, createWebApiHostAdapter as n, setupWasmConnection as o, WASM_MODEL_FILES as p, executeWasmRequest as r, ML_CALL_MAX_POLLS as s, WasmWebClientError as t, acquireWasmStorageFallback as u, buildModelVariantSources as v, reportWasmIntegritySummary as x, missingWasmModelError as y };
1274
+ export { buildModelVariantSources as A, isDefaultCdnWasmConfig as C, WASM_PIPELINE_MODELS as D, WASM_PIPELINE_LAZY_MODEL_NAMES as E, resolveWasmSource as M, reportWasmIntegritySummary as N, WASM_PIPELINE_MODEL_NAMES as O, setWasmIntegrityObserver as P, getBarcodeEnhanceModelUrl as S, WASM_MODEL_FILES as T, setWasmDiagnosticsHandler as _, setWebApiHttpTransport as a, buildDefaultWasmConfig as b, wasmCallWrapper as c, noteUnlockedCallStart as d, rearmWasmCallDiagnostics as f, emitWasmDiagnostic as g, acquireWasmStorageFallback as h, initializeWasmWebClient as i, missingWasmModelError as j, WASM_PIPELINE_OPTIONAL_MODEL_NAMES as k, notePipelineStatePulled as l, loadWasmModule as m, createWebApiHostAdapter as n, setupWasmConnection as o, resetWasmCallDiagnostics as p, executeWasmRequest as r, ML_CALL_MAX_POLLS as s, WasmWebClientError as t, noteUnlockedCallEnd as u, SemaphoreProvider as v, resolveWasmConfig as w, buildWasmConfigFromBasePath as x, DEFAULT_WASM_VERSION as y };
@@ -1,3 +1,3 @@
1
- import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-121XK-Et.esm.js";
2
- import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-BvF4jK3S.esm.js";
1
+ import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-B66E7jud.esm.js";
2
+ import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CZZOFkGl.esm.js";
3
3
  export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
@@ -1,3 +1,3 @@
1
- import { t as watchlistMachine } from "./watchlistStateMachine-Dgfm42w2.esm.js";
2
- import { t as createWatchlistManager } from "./watchlistManager-CNWEOYSq.esm.js";
1
+ import { t as watchlistMachine } from "./watchlistStateMachine-McALifag.esm.js";
2
+ import { t as createWatchlistManager } from "./watchlistManager-DXtX94SN.esm.js";
3
3
  export { createWatchlistManager, watchlistMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.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-DSajW7CJ.esm.js";
4
- import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-121XK-Et.esm.js";
4
+ import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-B66E7jud.esm.js";
5
5
  //#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
6
6
  function createWatchlistForBusinessActor() {
7
7
  return createActor(watchlistForBusinessMachine).start();
@@ -1,5 +1,4 @@
1
- import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
1
+ import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
3
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
4
  //#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.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-DSajW7CJ.esm.js";
4
- import { t as watchlistMachine } from "./watchlistStateMachine-Dgfm42w2.esm.js";
4
+ import { t as watchlistMachine } from "./watchlistStateMachine-McALifag.esm.js";
5
5
  //#region src/modules/watchlist/watchlistActor.ts
6
6
  function createWatchlistActor() {
7
7
  return createActor(watchlistMachine).start();
@@ -1,5 +1,4 @@
1
- import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
1
+ import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
3
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
4
  //#region src/modules/watchlist/watchlistServices.ts
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
2
2
  import { t as CallbackActorLogic } from "./callback-645_omgz.js";
3
3
  import { t as Manager } from "./Manager-C9T5amUN.js";
4
4
  import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
5
- import { o as FlowEventSubscribable } from "./index-DfEuu-Ew.js";
5
+ import { o as FlowEventSubscribable } from "./index-CKQ9QBZP.js";
6
6
  import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BQA7lRDV.js";
7
7
  //#region src/modules/workflow/types.d.ts
8
8
  /** Possible node types returned by the workflow server. */
@@ -1,43 +1,42 @@
1
- import { l as trueSightLog } from "./trueSightService-BWgRVGIT.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CAgFE-k3.esm.js";
3
- import { t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-jxbfCnE-.esm.js";
6
- import { E as updateFeatureManagementUser } from "./feature-management-BTbYruNe.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-DcSWedC6.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-DA64AEZC.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-Du2A4-Qr.esm.js";
2
+ import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
3
+ import { u as trueSightLog } from "./trueSightService-D-whOVP1.esm.js";
4
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CAkf7oYe.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-D7SnNua4.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-u5fRJruc.esm.js";
7
+ import { v as toEkybConfig } from "./flowServices-BnHYS8ez.esm.js";
9
8
  import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
10
9
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
11
10
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-Bc8spG8p.esm.js";
11
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CoeuiyX4.esm.js";
13
12
  import "./ae-signature.esm.js";
14
- import { t as antifraudMachine } from "./antifraudStateMachine-DoJVzblM.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-CHSxmV7z.esm.js";
16
- import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cs64QmYH.esm.js";
17
- import { t as consentMachine } from "./consentStateMachine-BCj5Jb3g.esm.js";
18
- import { t as curpValidationMachine } from "./curpValidationStateMachine-DAxImy8p.esm.js";
19
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D9gI5uu7.esm.js";
20
- import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BHDsCfhL.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DQmok084.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-hstiCNmW.esm.js";
23
- import { t as ekycMachine } from "./ekycStateMachine-x6Klot8g.esm.js";
24
- import { t as emailMachine } from "./emailStateMachine-5Neq3rE5.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-BhfKsl3I.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-PJt0yzom.esm.js";
27
- import { t as phoneMachine } from "./phoneStateMachine-CEm2y7yG.esm.js";
28
- import { t as watchlistMachine } from "./watchlistStateMachine-Dgfm42w2.esm.js";
29
- import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-121XK-Et.esm.js";
30
- import { n as identityReuseMachine } from "./identityReuseStateMachine-BrBUpfn5.esm.js";
31
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CoaSB7P7.esm.js";
32
- import { t as idOcrStateMachine } from "./idOcrStateMachine-kPn7DB2I.esm.js";
33
- import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine--Sr9NEVT.esm.js";
34
- import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-D-cQi7ar.esm.js";
36
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-C3YQ8yCZ.esm.js";
37
- import { t as idVerificationMachine } from "./idVerificationStateMachine-0HTVVxse.esm.js";
38
- import { t as faceMatchMachine } from "./faceMatchStateMachine-B9ZUnlyU.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-xnn_SlJU.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-vdxQMCmO.esm.js";
13
+ import { t as antifraudMachine } from "./antifraudStateMachine-DRl0UVyA.esm.js";
14
+ import { t as authenticationMachine } from "./authenticationStateMachine-C3poykXk.esm.js";
15
+ import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Frgjbjw8.esm.js";
16
+ import { t as consentMachine } from "./consentStateMachine-DJTgN_-1.esm.js";
17
+ import { t as curpValidationMachine } from "./curpValidationStateMachine-vDEFLMPw.esm.js";
18
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-hmRd0f2I.esm.js";
19
+ import { t as documentCaptureMachine } from "./documentCaptureStateMachine-B8i7GnLh.esm.js";
20
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D20Fh6BI.esm.js";
21
+ import { t as ekybMachine } from "./ekybStateMachine-BcJtiQRv.esm.js";
22
+ import { t as ekycMachine } from "./ekycStateMachine-CDnI_NRq.esm.js";
23
+ import { t as emailMachine } from "./emailStateMachine-BXtlC0NV.esm.js";
24
+ import { t as selfieMachine } from "./selfieStateMachine-51U3Eg7M.esm.js";
25
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-e56glzRH.esm.js";
26
+ import { t as phoneMachine } from "./phoneStateMachine-D2QWS2cu.esm.js";
27
+ import { t as watchlistMachine } from "./watchlistStateMachine-McALifag.esm.js";
28
+ import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-B66E7jud.esm.js";
29
+ import { n as identityReuseMachine } from "./identityReuseStateMachine-DfV81wQC.esm.js";
30
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-pXWqAHo_.esm.js";
31
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-DyENX6Ki.esm.js";
32
+ import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-b-H-ipGM.esm.js";
33
+ import { t as signatureMachine } from "./signatureStateMachine-C-nUq_oq.esm.js";
34
+ import { t as geolocationMachine } from "./geolocationStateMachine-BJsZ4RyH.esm.js";
35
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-COL-Vs48.esm.js";
36
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-CL1kUdBe.esm.js";
37
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-CUCvlydD.esm.js";
38
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-D7le3leY.esm.js";
39
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BMlIz7Hc.esm.js";
41
40
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
42
41
  import "./qe-signature.esm.js";
43
42
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "2.4.0-rc.0",
3
+ "version": "2.4.0-rc.2",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -276,8 +276,8 @@
276
276
  "tsdown": "^0.22.8",
277
277
  "typescript": "^5.9.3",
278
278
  "vitest": "4.1.10",
279
- "@incodetech/form-definitions": "0.0.0",
280
279
  "@incodetech/config": "1.0.2",
280
+ "@incodetech/form-definitions": "0.0.0",
281
281
  "@incodetech/infra": "1.4.0"
282
282
  },
283
283
  "scripts": {