@incodetech/core 0.0.0-dev-20260917-e0ac9ce3 → 0.0.0-dev-20260917-1176b73f

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 (110) hide show
  1. package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
  2. package/dist/{BrowserDiagnosticsCryptoProvider-DqNPIbTe.esm.js → BrowserDiagnosticsCryptoProvider-DayZunZe.esm.js} +1 -1
  3. package/dist/{FaceDetectionProvider-LdZ47bWy.d.ts → FaceDetectionProvider-Di1DmZu1.d.ts} +2 -2
  4. package/dist/{FaceDetectionProvider-DEm6vpCW.esm.js → FaceDetectionProvider-DzOKMZot.esm.js} +6 -6
  5. package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
  6. package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-VC40Kx9N.d.ts} +5 -4
  7. package/dist/{MotionSensorProvider-BgTYwg9L.esm.js → MotionSensorProvider-Bti5f6op.esm.js} +1 -1
  8. package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-CeBBJ_RC.d.ts} +2 -2
  9. package/dist/ae-signature.esm.js +1 -1
  10. package/dist/{apiError-BwVYb20o.esm.js → apiError-CXc-MlxM.esm.js} +1 -1
  11. package/dist/authentication.d.ts +3 -3
  12. package/dist/authentication.esm.js +2 -2
  13. package/dist/{authenticationManager-DP32fVqg.esm.js → authenticationManager-CUhtUZXv.esm.js} +4 -4
  14. package/dist/{authenticationManager-CjXBjC-c.d.ts → authenticationManager-CoWGfesb.d.ts} +1 -1
  15. package/dist/{authenticationStateMachine-BufE3Cn4.esm.js → authenticationStateMachine-UBe-mGd-.esm.js} +3 -3
  16. package/dist/avatar.d.ts +1 -1
  17. package/dist/camera.esm.js +1 -1
  18. package/dist/consent.d.ts +1 -1
  19. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-gEjLKk2H.d.ts} +8 -8
  20. package/dist/{createCameraCycleOwnership-CX3hJGKc.esm.js → createCameraCycleOwnership-UixMBjNr.esm.js} +1 -1
  21. package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
  22. package/dist/curp-validation.d.ts +1 -1
  23. package/dist/{curpValidationManager-SSKNrm5Z.d.ts → curpValidationManager-BU7JXclr.d.ts} +1 -1
  24. package/dist/{deepsightLoader-b0L4cOvd.esm.js → deepsightLoader-DvTZ4A7y.esm.js} +6 -6
  25. package/dist/document-capture.esm.js +2 -2
  26. package/dist/{documentCaptureManager-CwAiM9WY.esm.js → documentCaptureManager-C1X6WFGI.esm.js} +1 -1
  27. package/dist/{documentCaptureStateMachine-DfGOBapD.esm.js → documentCaptureStateMachine-vp_xYjO7.esm.js} +2 -2
  28. package/dist/dynamic-forms.esm.js +2 -2
  29. package/dist/{dynamicFormsManager-x1ub4ch1.esm.js → dynamicFormsManager-CSZqsWMl.esm.js} +1 -1
  30. package/dist/{dynamicFormsStateMachine-C19uR5fd.esm.js → dynamicFormsStateMachine-D8JnxUoX.esm.js} +1 -1
  31. package/dist/ekyb.d.ts +1 -1
  32. package/dist/ekyb.esm.js +3 -3
  33. package/dist/{ekybManager-BHOkrINa.esm.js → ekybManager-D_fBeaDy.esm.js} +1 -1
  34. package/dist/{ekybStateMachine-DFhJUYjo.esm.js → ekybStateMachine-DLU4YFTg.esm.js} +1 -1
  35. package/dist/electronic-signature.esm.js +1 -1
  36. package/dist/{electronicSignatureManager-D_pmwvtK.esm.js → electronicSignatureManager-CmMHHm_I.esm.js} +1 -1
  37. package/dist/extensibility.d.ts +13 -13
  38. package/dist/extensibility.esm.js +12 -12
  39. package/dist/{faceCaptureManagerFactory-gf9EJkct.esm.js → faceCaptureManagerFactory-LlVNEpNy.esm.js} +3 -3
  40. package/dist/{faceCaptureManagerFactory-BeUl8fl1.d.ts → faceCaptureManagerFactory-WzZxipED.d.ts} +8 -8
  41. package/dist/{faceCaptureSetup-CbzP3fsu.esm.js → faceCaptureSetup-DWne0J-j.esm.js} +6 -6
  42. package/dist/{feature-management-1ygYpd7p.esm.js → feature-management-DzJhIZyO.esm.js} +1 -1
  43. package/dist/feature-management.esm.js +1 -1
  44. package/dist/flow-events.d.ts +1 -1
  45. package/dist/flow.d.ts +6 -6
  46. package/dist/flow.esm.js +3 -3
  47. package/dist/{flowCompletionService-Cp0yjvcz.esm.js → flowCompletionService-8zf1Xgnl.esm.js} +1 -1
  48. package/dist/{flowServices-BTrlRVMv.esm.js → flowServices--yFkifWH.esm.js} +5 -5
  49. package/dist/geolocation.esm.js +2 -2
  50. package/dist/{geolocationManager-D44rBook.esm.js → geolocationManager-BI5LD4Wp.esm.js} +1 -1
  51. package/dist/{geolocationStateMachine-BMJ8aBWM.esm.js → geolocationStateMachine-BDB7Uwnd.esm.js} +1 -1
  52. package/dist/home.d.ts +1 -1
  53. package/dist/id-selfie-flow.d.ts +3 -3
  54. package/dist/id-selfie-flow.esm.js +8 -8
  55. package/dist/id.d.ts +3 -3
  56. package/dist/id.esm.js +3 -3
  57. package/dist/{idCaptureDefaults-CNeZu5So.esm.js → idCaptureDefaults-C-bNT6MA.esm.js} +4 -4
  58. package/dist/{idCaptureManager-oaJ-G22f.d.ts → idCaptureManager-BgVf45xY.d.ts} +11 -13
  59. package/dist/{idCaptureManager-Bd1v3CLs.esm.js → idCaptureManager-CwtliJCr.esm.js} +5 -5
  60. package/dist/{idCaptureServices-DEoFUkS6.esm.js → idCaptureServices-DOe_XBQy.esm.js} +4 -4
  61. package/dist/{idCaptureStateMachine-BUqOCb7L.esm.js → idCaptureStateMachine-DHZhaafP.esm.js} +13 -13
  62. package/dist/identity-reuse.d.ts +1 -1
  63. package/dist/{identityReuseManager-BFDI7iFK.d.ts → identityReuseManager-v2TH5g7e.d.ts} +4 -4
  64. package/dist/{index-DLcJT5YP.d.ts → index-BHdnv8PF.d.ts} +1 -1
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.esm.js +1 -1
  67. package/dist/mandatory-consent.d.ts +2 -2
  68. package/dist/{mandatoryConsentManager-Csfl7_XQ.d.ts → mandatoryConsentManager-DSU2J7Ug.d.ts} +5 -5
  69. package/dist/{permissionGuards-uYZYFu4J.esm.js → permissionGuards-3_AT5BY5.esm.js} +1 -1
  70. package/dist/{permissionServices-Bj_fyWtv.esm.js → permissionServices-C8DqhjX7.esm.js} +2 -2
  71. package/dist/personhood.d.ts +5 -5
  72. package/dist/personhood.esm.js +6 -6
  73. package/dist/qe-signature.esm.js +1 -1
  74. package/dist/{runChildModule-Dc5tYyYM.esm.js → runChildModule-DOV3ARTI.esm.js} +1 -1
  75. package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-C511Hltw.esm.js} +8 -10
  76. package/dist/{sdkVersion-DtI5VEix.esm.js → sdkVersion-CPkjTL2U.esm.js} +1 -1
  77. package/dist/selfie.d.ts +4 -4
  78. package/dist/selfie.esm.js +7 -7
  79. package/dist/{selfieManager-j0Miypb_.esm.js → selfieManager-BozYfK8n.esm.js} +4 -4
  80. package/dist/{selfieManager-4RRLi21P.d.ts → selfieManager-DsEklSXc.d.ts} +1 -1
  81. package/dist/{selfieStateMachine-B955VLde.esm.js → selfieStateMachine-uSVm8cHh.esm.js} +3 -3
  82. package/dist/{session-C5zg96rV.esm.js → session-XuMtebUT.esm.js} +3 -3
  83. package/dist/session.d.ts +1 -1
  84. package/dist/session.esm.js +4 -4
  85. package/dist/{sessionInitializer-BAS0rqjk.esm.js → sessionInitializer-CxslYjCM.esm.js} +3 -3
  86. package/dist/{setup-Cv-JM9QC.d.ts → setup-Cry_vKq0.d.ts} +1 -7
  87. package/dist/{setup-DKW_5yAb.esm.js → setup-DXjGFP1e.esm.js} +9 -11
  88. package/dist/{trueSightService-cWMndP3S.esm.js → trueSightService-CXrM6PLI.esm.js} +3 -3
  89. package/dist/{types-9_esGTPj.d.ts → types-B-yKe-iB.d.ts} +1 -1
  90. package/dist/{types-CoUdmnWv2.d.ts → types-BJ5OoZiu2.d.ts} +5 -5
  91. package/dist/{types-Bnl58jUQ.d.ts → types-BlTGii11.d.ts} +3 -3
  92. package/dist/{types-Do5rEXij.d.ts → types-COFO2tJb.d.ts} +1 -1
  93. package/dist/types-CfuWgAi-.d.ts +1 -0
  94. package/dist/types-DzX4bQBH.d.ts +6 -0
  95. package/dist/{types-DgDvvzg0.d.ts → types-ExpE7pl7.d.ts} +1 -1
  96. package/dist/video-selfie.d.ts +3 -3
  97. package/dist/video-selfie.esm.js +5 -5
  98. package/dist/{videoSelfieCameraWarmer-GRxly0rG.esm.js → videoSelfieCameraWarmer-BN3ZYWGA.esm.js} +4 -4
  99. package/dist/{videoSelfieStepDetector-Co0Gu2k2.d.ts → videoSelfieStepDetector-D9BB7QLa.d.ts} +4 -4
  100. package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
  101. package/dist/{warmup-CUUnwYxe.esm.js → warmup-REsua-sF.esm.js} +4 -3
  102. package/dist/wasm.d.ts +2 -2
  103. package/dist/wasm.esm.js +3 -3
  104. package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-Czjlp68o.esm.js} +1 -1
  105. package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-DPPQlS-U.esm.js} +15 -6
  106. package/dist/workflow.d.ts +5 -5
  107. package/dist/workflow.esm.js +15 -15
  108. package/package.json +1 -1
  109. package/dist/types-BT_Oalip.d.ts +0 -1
  110. package/dist/types-ChAowIxT.d.ts +0 -6
@@ -1,14 +1,14 @@
1
- import { l as BrowserStorageProvider } from "./setup-DKW_5yAb.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-DXjGFP1e.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CbzP3fsu.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-gf9EJkct.esm.js";
8
- import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DWne0J-j.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-LlVNEpNy.esm.js";
8
+ import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-UixMBjNr.esm.js";
9
9
  import { r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-B955VLde.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-j0Miypb_.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-uSVm8cHh.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BozYfK8n.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-DKW_5yAb.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-DXjGFP1e.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-gf9EJkct.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-B955VLde.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-LlVNEpNy.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-uSVm8cHh.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BeUl8fl1.js";
3
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-WzZxipED.js";
4
4
  //#region src/modules/selfie/selfieManager.d.ts
5
5
  type SelfieState = FaceCaptureManagerState;
6
6
  /**
@@ -1,9 +1,9 @@
1
1
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-CbzP3fsu.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-DEm6vpCW.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-DWne0J-j.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-DzOKMZot.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
- import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
6
+ import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-UixMBjNr.esm.js";
7
7
  import { i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
8
8
  //#region src/modules/selfie/selfieStateMachine.ts
9
9
  /**
@@ -1,8 +1,8 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-cWMndP3S.esm.js";
3
- import "./sessionInitializer-BAS0rqjk.esm.js";
2
+ import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-CXrM6PLI.esm.js";
3
+ import "./sessionInitializer-CxslYjCM.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-BwVYb20o.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-CXc-MlxM.esm.js";
6
6
  //#region src/internal/session/sessionService.ts
7
7
  /**
8
8
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
package/dist/session.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as DeviceFingerprintResult } from "./types-DgDvvzg0.js";
1
+ import { t as DeviceFingerprintResult } from "./types-ExpE7pl7.js";
2
2
  import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
3
3
  //#region src/internal/session/sessionService.d.ts
4
4
  type CreateSessionOptions = {
@@ -1,5 +1,5 @@
1
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-BAS0rqjk.esm.js";
2
- import { t as IncodeApiError } from "./apiError-BwVYb20o.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-C5zg96rV.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-Cp0yjvcz.esm.js";
1
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-CxslYjCM.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-CXc-MlxM.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-XuMtebUT.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-8zf1Xgnl.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
@@ -1,8 +1,8 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-1ygYpd7p.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DzJhIZyO.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-cWMndP3S.esm.js";
3
+ import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-CXrM6PLI.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-DtI5VEix.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CPkjTL2U.esm.js";
6
6
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-CZcy2J53.esm.js";
8
8
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
@@ -1,4 +1,4 @@
1
- import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-Cis2p6O0.js";
1
+ import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BUPPRAA1.js";
2
2
  import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-BKOWUhxG.js";
3
3
  import { c as FeatureManagementRedactedUserInfo } from "./IFeatureManagementCapability-De8wpbGh.js";
4
4
  //#region src/internal/environment/environment.d.ts
@@ -34,12 +34,6 @@ type WasmConfig = Partial<WasmModuleConfig> & WasmModelsConfig & {
34
34
  * them.
35
35
  */
36
36
  pipelines?: WasmPipeline[];
37
- /**
38
- * Enables verbose output from the native WASM module.
39
- *
40
- * Defaults to `false`. Enable it only while diagnosing WASM behavior.
41
- */
42
- showLogs?: boolean;
43
37
  };
44
38
  /**
45
39
  * Object form of the `encryption` option for {@link SetupOptions}. Reach for
@@ -1,17 +1,17 @@
1
- import { f as deriveSiblingJsPath, p as WASM_MODEL_FILES, v as buildModelVariantSources } from "./wasmWebClient-B7baE-Wf.esm.js";
2
- import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
3
- import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { f as deriveSiblingJsPath, p as WASM_MODEL_FILES, v as buildModelVariantSources } from "./wasmWebClient-DPPQlS-U.esm.js";
2
+ import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-REsua-sF.esm.js";
3
+ import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-C511Hltw.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-1ygYpd7p.esm.js";
5
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DzJhIZyO.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-cWMndP3S.esm.js";
8
+ import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-CXrM6PLI.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
10
- import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-BAS0rqjk.esm.js";
10
+ import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-CxslYjCM.esm.js";
11
11
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
12
12
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
13
13
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
14
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BTrlRVMv.esm.js";
14
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices--yFkifWH.esm.js";
15
15
  //#region ../infra/src/wasm/wasmDefaults.ts
16
16
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
17
17
  /** The WASM version bundled and tested with this SDK release. */
@@ -139,6 +139,7 @@ function resolveWasmConfig(overrides) {
139
139
  glueCodeSimdPath: pickPath("glueCodeSimdPath", overrides, glueCodeSimdDefault),
140
140
  modelsBasePath: pickPath("modelsBasePath", overrides, modelsDefault),
141
141
  useSimd: overrides.useSimd,
142
+ showLogs: overrides.showLogs,
142
143
  pipelines: overrides.pipelines,
143
144
  pipelineModels: overrides.pipelineModels,
144
145
  modelUrls: overrides.modelUrls,
@@ -740,13 +741,10 @@ async function setup(options) {
740
741
  throw error;
741
742
  }
742
743
  trueSightLog("debug", "wasm", "other", `wasm warmup completed durationMs=${getTimestamp() - warmupStartedAt}`);
743
- const provider = await WasmUtilProvider.getInstance();
744
- await provider.initialize({
744
+ await (await WasmUtilProvider.getInstance()).initialize({
745
745
  ...effectiveWasm,
746
746
  pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
747
747
  });
748
- const showWasmLogs = typeof options.wasm === "object" && options.wasm.showLogs === true;
749
- await provider.setProductionMode(!showWasmLogs);
750
748
  if (!options.devMode) startDevtoolsDetector();
751
749
  }
752
750
  if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
@@ -1,8 +1,8 @@
1
- import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-B7baE-Wf.esm.js";
1
+ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-DPPQlS-U.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-DtI5VEix.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CPkjTL2U.esm.js";
6
6
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
1320
1320
  * the service's prewarm).
1321
1321
  */
1322
1322
  function loadDiagnosticsCryptoProvider() {
1323
- cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DqNPIbTe.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DayZunZe.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-Do5rEXij.js";
1
+ import { a as RegulationTypes } from "./types-COFO2tJb.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -1,10 +1,10 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-Do5rEXij.js";
3
- import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-COFO2tJb.js";
3
+ import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-CeBBJ_RC.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
7
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
8
8
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
9
9
  /**
10
10
  * Digital Credentials capability — wraps the W3C Digital Credentials API
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BlcTYgJv.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-Do5rEXij.js";
3
- import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
1
+ import { a as AvatarAssetsOverrides } from "./createFaceAvatar-DXgmQmQy.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-COFO2tJb.js";
3
+ import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -1,5 +1,5 @@
1
1
  import { s as RiskAddon } from "./types-Bk_6dmDa.js";
2
- import "./createFaceAvatar-BlcTYgJv.js";
2
+ import "./createFaceAvatar-DXgmQmQy.js";
3
3
  //#region src/internal/avatar/concealment.d.ts
4
4
  /**
5
5
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -0,0 +1 @@
1
+ import "./createFaceAvatar-DXgmQmQy.js";
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-COFO2tJb.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-BlTGii11.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-Do5rEXij.js";
1
+ import { a as RegulationTypes } from "./types-COFO2tJb.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,11 +1,11 @@
1
- import { c as WasmPipeline } from "./warmup-Cis2p6O0.js";
1
+ import { c as WasmPipeline } from "./warmup-BUPPRAA1.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
3
  import "./StateMachine-EDpYWy0i.js";
4
4
  import "./Actor-iTq7YY48.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
8
- import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Co0Gu2k2.js";
7
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
8
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-D9BB7QLa.js";
9
9
  //#region ../infra/src/capabilities/ITimerCapability.d.ts
10
10
  type TimerHandle = ReturnType<typeof setTimeout>;
11
11
  type ITimerCapability = {
@@ -1,16 +1,16 @@
1
- import { t as ensureWasmPipelines } from "./setup-DKW_5yAb.esm.js";
2
- import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-DXjGFP1e.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
- import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-BTrlRVMv.esm.js";
6
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices--yFkifWH.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
11
- import { i as CameraCompositor } from "./idCaptureDefaults-CNeZu5So.esm.js";
11
+ import { i as CameraCompositor } from "./idCaptureDefaults-C-bNT6MA.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-GRxly0rG.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BN3ZYWGA.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
15
15
  //#region src/modules/video-selfie/videoSelfieWasm.ts
16
16
  function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
@@ -1,16 +1,16 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
4
- import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-BTrlRVMv.esm.js";
4
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices--yFkifWH.esm.js";
5
5
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
6
- import { t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
7
- import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-DEm6vpCW.esm.js";
6
+ import { t as checkPermission } from "./permissionServices-C8DqhjX7.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-DzOKMZot.esm.js";
8
8
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { n as getBackCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
11
11
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
12
12
  import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-UiQ46EBa.esm.js";
13
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNeZu5So.esm.js";
13
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-C-bNT6MA.esm.js";
14
14
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
15
15
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
16
16
  async function postVideoSelfieCompare(endpoint, base64Image) {
@@ -1,8 +1,8 @@
1
- import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
2
- import "./IWasmUtilCapability-CNWRl7jr.js";
3
- import { n as DetectionStatus } from "./types-Bnl58jUQ.js";
1
+ import { i as FlowModuleConfig } from "./types-COFO2tJb.js";
2
+ import "./IWasmUtilCapability-VC40Kx9N.js";
3
+ import { n as DetectionStatus } from "./types-BlTGii11.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
- import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
5
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
6
6
  //#region src/modules/video-selfie/types.d.ts
7
7
  /**
8
8
  * The capture steps a Video Selfie session can run, in flow order. Which steps
@@ -30,6 +30,8 @@ declare global {
30
30
  type WasmModule = Record<string, unknown>;
31
31
  type WasmGlueFactory = (options?: Readonly<{
32
32
  wasmBinary?: Uint8Array;
33
+ print?: (text: string) => void;
34
+ printErr?: (text: string) => void;
33
35
  }>) => Promise<WasmModule>;
34
36
  /**
35
37
  * Binary and glue configuration for one WASM module instance.
@@ -38,6 +40,11 @@ type WasmGlueFactory = (options?: Readonly<{
38
40
  * use the same memoized module.
39
41
  */
40
42
  type WasmModuleConfig = {
43
+ /**
44
+ * Enables WASM console output, including native errors. Default: false.
45
+ * Set before the first load; shared instances retain their output sinks.
46
+ */
47
+ showLogs?: boolean;
41
48
  /** URL or bytes for the standard WASM binary. */
42
49
  wasmPath: WasmSource;
43
50
  /**
@@ -1,4 +1,4 @@
1
- import { _ as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, b as resolveWasmSource, d as SemaphoreProvider, h as WASM_PIPELINE_MODELS, l as loadWasmModule, n as createWebApiHostAdapter, p as WASM_MODEL_FILES, u as acquireWasmStorageFallback, v as buildModelVariantSources, y as missingWasmModelError } from "./wasmWebClient-B7baE-Wf.esm.js";
1
+ import { _ as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, b as resolveWasmSource, d as SemaphoreProvider, h as WASM_PIPELINE_MODELS, l as loadWasmModule, n as createWebApiHostAdapter, p as WASM_MODEL_FILES, u as acquireWasmStorageFallback, v as buildModelVariantSources, y as missingWasmModelError } from "./wasmWebClient-DPPQlS-U.esm.js";
2
2
  //#region ../infra/src/wasm/wasmEnumMaps.ts
3
3
  function pipelineTypeToWasmEnum(wasmModule, type) {
4
4
  switch (type) {
@@ -153,6 +153,7 @@ var WasmRuntime = class WasmRuntime {
153
153
  this.usedSimd_ = simdUsed;
154
154
  this.workflowApiUtilities = new this.wasmModule.WorkflowApiUtilities();
155
155
  this.utilityApi = new this.wasmModule.UtilityApi();
156
+ this.utilityApi.setProductionMode(module.showLogs !== true);
156
157
  this.idCaptureWasmApi = new this.wasmModule.IdCaptureApi();
157
158
  this.faceProcessingWasmApi = new this.wasmModule.FaceProcessingApi();
158
159
  this.cameraCycleApi = new this.wasmModule.CameraCycleApi();
@@ -530,7 +531,7 @@ function resolveConfiguredModelSource(config, modelFile, pipeline, modelsBasePat
530
531
  };
531
532
  }
532
533
  /**
533
- * Warns once per warmup that an optional model listed in
534
+ * When logging is enabled, warns once per warmup that an optional model listed in
534
535
  * {@link WASM_PIPELINE_OPTIONAL_MODEL_NAMES} was not supplied, so the Core
535
536
  * profile that needs it is skipped instead of failing the whole warmup.
536
537
  */
@@ -560,7 +561,7 @@ function buildPipelinesMap(pipelines, config) {
560
561
  WASM_MODEL_FILES.idFiqa,
561
562
  WASM_MODEL_FILES.idFaceDetector
562
563
  ]));
563
- else warnMissingOptionalModel(pipeline, missingOptional);
564
+ else if (config.showLogs) warnMissingOptionalModel(pipeline, missingOptional);
564
565
  }
565
566
  }
566
567
  }
package/dist/wasm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-Cis2p6O0.js";
2
- import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-Cv-JM9QC.js";
1
+ import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BUPPRAA1.js";
2
+ import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-Cry_vKq0.js";
3
3
  //#region ../infra/src/wasm/wasmDefaults.d.ts
4
4
  /** The WASM version bundled and tested with this SDK release. */
5
5
  declare const DEFAULT_WASM_VERSION = "v2.14.50-post1";
package/dist/wasm.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
2
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-DKW_5yAb.esm.js";
3
- import { o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
1
+ import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
2
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-DXjGFP1e.esm.js";
3
+ import { o as warmupWasm } from "./warmup-REsua-sF.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {
6
6
  const models = /* @__PURE__ */ new Set();
@@ -1,4 +1,4 @@
1
- import { a as utilityWasmApi } from "./safeStorage-B-trhxg6.esm.js";
1
+ import { a as utilityWasmApi } from "./safeStorage-C511Hltw.esm.js";
2
2
  //#region ../infra/src/wasm/wasmDsFlagSync.ts
3
3
  /**
4
4
  * Sets the Deepsight (ds) flag that the WASM utility API receives on every
@@ -429,12 +429,21 @@ async function resolveGlue(loader, glueCodePath) {
429
429
  if (!glueCodePath) throw new Error("WASM glue code is required");
430
430
  return await importGlueAt(glueCodePath);
431
431
  }
432
- async function instantiate(factory, libPath) {
432
+ async function instantiate(factory, libPath, showLogs = false) {
433
433
  window.wasmArrayBuffer = await resolveWasmSource(libPath, "binary");
434
- return await factory({ wasmBinary: window.wasmArrayBuffer });
434
+ return await factory({
435
+ wasmBinary: window.wasmArrayBuffer,
436
+ print: (text) => {
437
+ if (showLogs) console.log(text);
438
+ },
439
+ printErr: (text) => {
440
+ if (showLogs) console.error(text);
441
+ }
442
+ });
435
443
  }
436
444
  /**
437
- * Load the WASM module, memoized. Subsequent calls return the same instance.
445
+ * Load the WASM module, memoized. Subsequent calls return the same instance,
446
+ * retaining the first caller's logging configuration.
438
447
  *
439
448
  * SIMD-first with fallback: if `useSimd !== false` and a `wasmSimdPath` is
440
449
  * provided, the SIMD binary + SIMD glue are tried first; on instantiation
@@ -454,18 +463,18 @@ async function loadWasmModule(config) {
454
463
  const simdFactory = await resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath);
455
464
  window.Module = simdFactory;
456
465
  const result = {
457
- wasmModule: await instantiate(simdFactory, simdBinary),
466
+ wasmModule: await instantiate(simdFactory, simdBinary, config.showLogs),
458
467
  simdUsed: true
459
468
  };
460
469
  loadedResult = result;
461
470
  return result;
462
471
  } catch (simdError) {
463
- console.warn("[Incode SDK] SIMD WASM load failed, falling back to non-SIMD", simdError);
472
+ if (config.showLogs) console.warn("[Incode SDK] SIMD WASM load failed, falling back to non-SIMD", simdError);
464
473
  }
465
474
  const nonSimdFactory = await resolveGlue(config.loadGlue, config.glueCodePath);
466
475
  window.Module = nonSimdFactory;
467
476
  const result = {
468
- wasmModule: await instantiate(nonSimdFactory, config.wasmPath),
477
+ wasmModule: await instantiate(nonSimdFactory, config.wasmPath, config.showLogs),
469
478
  simdUsed: false
470
479
  };
471
480
  loadedResult = result;
@@ -3,7 +3,7 @@ import { t as CallbackActorLogic } from "./callback-645_omgz.js";
3
3
  import "./StateMachine-EDpYWy0i.js";
4
4
  import { t as Manager } from "./Manager-CQQ99QOI.js";
5
5
  import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
6
- import { o as FlowEventSubscribable } from "./index-DLcJT5YP.js";
6
+ import { o as FlowEventSubscribable } from "./index-BHdnv8PF.js";
7
7
  import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s7.js";
8
8
  //#region src/modules/workflow/types.d.ts
9
9
  /** Possible node types returned by the workflow server. */
@@ -340,6 +340,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
340
340
  id: string | undefined;
341
341
  };
342
342
  }>, Values<{
343
+ setError: {
344
+ type: "setError";
345
+ params: NonReducibleUnknown;
346
+ };
343
347
  setLoadingResult: {
344
348
  type: "setLoadingResult";
345
349
  params: NonReducibleUnknown;
@@ -372,10 +376,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
372
376
  type: "setFinishStatusFailed";
373
377
  params: NonReducibleUnknown;
374
378
  };
375
- setError: {
376
- type: "setError";
377
- params: NonReducibleUnknown;
378
- };
379
379
  setModuleError: {
380
380
  type: "setModuleError";
381
381
  params: NonReducibleUnknown;
@@ -1,29 +1,29 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-1ygYpd7p.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DzJhIZyO.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-cWMndP3S.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-CXrM6PLI.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BAS0rqjk.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CxslYjCM.esm.js";
6
6
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-BwVYb20o.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-BTrlRVMv.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-CXc-MlxM.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices--yFkifWH.esm.js";
9
9
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-D_pmwvtK.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CmMHHm_I.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-DBeq47D2.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-BufE3Cn4.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-UBe-mGd-.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CxqS_nD-.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-DTSfdGiW.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-g5kMfuLj.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-DOQou6TW.esm.js";
20
- import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DfGOBapD.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C19uR5fd.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-DFhJUYjo.esm.js";
20
+ import { t as documentCaptureMachine } from "./documentCaptureStateMachine-vp_xYjO7.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D8JnxUoX.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-DLU4YFTg.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-CshSNJhh.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-B955VLde.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-BUqOCb7L.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-uSVm8cHh.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DHZhaafP.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-CXdXufKg.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-CBqk2w-h.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CJ-MvUre.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DC5
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CSWWgUTO.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-ce_XMA3l.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-BMJ8aBWM.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-BDB7Uwnd.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-DbDVIh9t.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-mRIHQ3dA.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-Cp0yjvcz.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dc5tYyYM.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-8zf1Xgnl.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DOV3ARTI.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260917-e0ac9ce3",
3
+ "version": "0.0.0-dev-20260917-1176b73f",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import "./createFaceAvatar-BlcTYgJv.js";
@@ -1,6 +0,0 @@
1
- import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
2
- import { t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
3
- //#region src/modules/authentication/types.d.ts
4
- type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
- //#endregion
6
- export { AuthenticationConfig as t };