@incodetech/core 0.0.0-dev-20260928-e8e00ca9 → 0.0.0-dev-20260928-85249f77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CglolaLX.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
  2. package/dist/{FaceDetectionProvider-ZWuTisXf.esm.js → FaceDetectionProvider-CSjiXOo7.esm.js} +7 -7
  3. package/dist/{MotionSensorProvider-Bti5f6op.esm.js → MotionSensorProvider-1Ul_1GPn.esm.js} +1 -1
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/{apiError-DqxsUXGC.esm.js → apiError-DmDlw1pl.esm.js} +1 -1
  6. package/dist/authentication.d.ts +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-DgCLrxXN.esm.js → authenticationManager-B9l6NeDe.esm.js} +4 -4
  9. package/dist/{authenticationManager-B-MR_-Si.d.ts → authenticationManager-DE40FMUU.d.ts} +1 -1
  10. package/dist/{authenticationStateMachine-DECsoldb.esm.js → authenticationStateMachine-BGme0djA.esm.js} +3 -3
  11. package/dist/camera.esm.js +1 -1
  12. package/dist/consent.d.ts +1 -1
  13. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-CTdFloVJ.d.ts} +1 -1
  14. package/dist/{createCameraCycleOwnership-BjoMVvya.esm.js → createCameraCycleOwnership-P1AtkhRJ.esm.js} +6 -1
  15. package/dist/{deepsightLoader-DidR7w-7.esm.js → deepsightLoader-BY2NIp7n.esm.js} +6 -6
  16. package/dist/document-capture.d.ts +1 -1
  17. package/dist/document-capture.esm.js +2 -2
  18. package/dist/{documentCaptureManager-CbAGkHWh.d.ts → documentCaptureManager-C8eO0hbv.d.ts} +1 -1
  19. package/dist/{documentCaptureManager-7e1RLKhG.esm.js → documentCaptureManager-DRAn04PI.esm.js} +1 -1
  20. package/dist/{documentCaptureStateMachine-DyJb_vDQ.esm.js → documentCaptureStateMachine-BS9VBtqN.esm.js} +2 -2
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-B5GSLZvO.esm.js → dynamicFormsManager-CTJzsDqC.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-DAq-HoCA.esm.js → dynamicFormsStateMachine-8oOTouxq.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +3 -3
  25. package/dist/{ekybManager-7ljnpTt2.esm.js → ekybManager-CKNCVYs7.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-CD8oLnoa.esm.js → ekybStateMachine-BDQHv558.esm.js} +1 -1
  27. package/dist/electronic-signature.esm.js +1 -1
  28. package/dist/{electronicSignatureManager-r2Zci23-.esm.js → electronicSignatureManager-BbgLJk1x.esm.js} +1 -1
  29. package/dist/extensibility.d.ts +9 -9
  30. package/dist/extensibility.esm.js +12 -12
  31. package/dist/{faceCaptureManagerFactory-OSygJ72q.esm.js → faceCaptureManagerFactory-DG4z3rkR.esm.js} +3 -3
  32. package/dist/{faceCaptureManagerFactory-BgbP5N1j.d.ts → faceCaptureManagerFactory-s0Vhw_wP.d.ts} +80 -40
  33. package/dist/{faceCaptureSetup-DSvOibxj.esm.js → faceCaptureSetup-GzW2oNiM.esm.js} +261 -58
  34. package/dist/{feature-management-BhzWEsyZ.esm.js → feature-management-02JHuEhD.esm.js} +1 -1
  35. package/dist/feature-management.esm.js +1 -1
  36. package/dist/flow.esm.js +3 -3
  37. package/dist/{flowCompletionService-B-ri1Pvq.esm.js → flowCompletionService-BAg6qc6d.esm.js} +1 -1
  38. package/dist/{flowServices-C62Eyo7N.esm.js → flowServices-Dc-EUuwB.esm.js} +5 -5
  39. package/dist/geolocation.esm.js +2 -2
  40. package/dist/{geolocationManager-BU4OLtRY.esm.js → geolocationManager-v0LZK1kW.esm.js} +1 -1
  41. package/dist/{geolocationStateMachine-D8UrSeXQ.esm.js → geolocationStateMachine-DfdsEj7L.esm.js} +1 -1
  42. package/dist/id-ocr.d.ts +1 -1
  43. package/dist/id-selfie-flow.esm.js +9 -10
  44. package/dist/id.d.ts +2 -2
  45. package/dist/id.esm.js +4 -4
  46. package/dist/{idCaptureDefaults-B6gkShby.esm.js → idCaptureDefaults-Ba-m1uO3.esm.js} +3 -3
  47. package/dist/{idCaptureManager-DIT7ZyEa.esm.js → idCaptureManager-Bfrj7DvH.esm.js} +6 -5
  48. package/dist/{idCaptureManager-poTdJI74.d.ts → idCaptureManager-DfHdJLmj.d.ts} +29 -5
  49. package/dist/{idCaptureServices-Cl67CI_t.esm.js → idCaptureServices-DKeVf0Gu.esm.js} +67 -12
  50. package/dist/{idCaptureStateMachine-BADMFRXg.esm.js → idCaptureStateMachine-BL3MnDOu.esm.js} +222 -77
  51. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  52. package/dist/identity-reuse.d.ts +1 -1
  53. package/dist/{identityReuseManager-x2QG6QAm.d.ts → identityReuseManager-D0-4bAeK.d.ts} +1 -1
  54. package/dist/index.d.ts +1 -1
  55. package/dist/index.esm.js +1 -1
  56. package/dist/mandatory-consent.d.ts +1 -1
  57. package/dist/{mandatoryConsentManager-DzIGk6u7.d.ts → mandatoryConsentManager-S94mjtTG.d.ts} +1 -1
  58. package/dist/{multipartRecordingService-Dw0scizg.esm.js → multipartRecordingService-mwKFTlhR.esm.js} +42 -1
  59. package/dist/{permissionGuards-DAyjPT2R.esm.js → permissionGuards-DS36X5Hh.esm.js} +1 -1
  60. package/dist/{permissionServices-DIaG8BlW.esm.js → permissionServices-B9IqVf3c.esm.js} +2 -2
  61. package/dist/qe-signature.esm.js +1 -1
  62. package/dist/{runChildModule-CoWvzHhB.esm.js → runChildModule-DQbERvPv.esm.js} +1 -1
  63. package/dist/{safeStorage-C511Hltw.esm.js → safeStorage-Q_iUpxa8.esm.js} +1 -1
  64. package/dist/{sdkVersion-sSFpdmZk.esm.js → sdkVersion-kGZmwBhf.esm.js} +1 -1
  65. package/dist/selfie.d.ts +2 -2
  66. package/dist/selfie.esm.js +7 -7
  67. package/dist/{selfieManager-Be-moOeO.esm.js → selfieManager-B-F-lrAH.esm.js} +4 -4
  68. package/dist/{selfieManager-oSsnyvBl.d.ts → selfieManager-PVc2k2Oq.d.ts} +1 -1
  69. package/dist/{selfieStateMachine-0bHX1R9_.esm.js → selfieStateMachine--KjoErrq.esm.js} +2 -2
  70. package/dist/{session-DjUhUWYA.esm.js → session-Bb5KuwEu.esm.js} +3 -3
  71. package/dist/session.esm.js +4 -4
  72. package/dist/{sessionInitializer-_BmsjkUB.esm.js → sessionInitializer-D-gzxDwN.esm.js} +4 -4
  73. package/dist/{setup-CHHZ8BBM.d.ts → setup-BdeKbA9K.d.ts} +4 -17
  74. package/dist/{setup-D7B4g7Jc.esm.js → setup-Cb7Ws1HA.esm.js} +8 -58
  75. package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
  76. package/dist/tri.esm.js +1 -1
  77. package/dist/{trueSightService-Bb116pCE.esm.js → trueSightService-D8dk4ZID.esm.js} +16 -554
  78. package/dist/video-selfie.esm.js +5 -5
  79. package/dist/{videoSelfieCameraWarmer-CeZLd5w_.esm.js → videoSelfieCameraWarmer-CkdLS8NK.esm.js} +5 -5
  80. package/dist/{warmup-REsua-sF.esm.js → warmup-DLq_t-Zu.esm.js} +5 -0
  81. package/dist/wasm.d.ts +1 -1
  82. package/dist/wasm.esm.js +3 -3
  83. package/dist/{wasmDsFlagSync-Czjlp68o.esm.js → wasmDsFlagSync-DyNj8RY_.esm.js} +1 -1
  84. package/dist/workflow.esm.js +15 -15
  85. package/package.json +2 -7
  86. package/dist/FaceDetectionProvider-Di1DmZu1.d.ts +0 -36
  87. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +0 -42
  88. package/dist/personhood.d.ts +0 -537
  89. package/dist/personhood.esm.js +0 -1574
  90. package/dist/types-CfuWgAi-.d.ts +0 -1
@@ -1,15 +1,15 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-D7B4g7Jc.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Cb7Ws1HA.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-C62Eyo7N.esm.js";
6
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-Dc-EUuwB.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
- import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-Dw0scizg.esm.js";
10
+ import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-mwKFTlhR.esm.js";
11
11
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
12
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CeZLd5w_.esm.js";
12
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CkdLS8NK.esm.js";
13
13
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
14
14
  //#region src/modules/video-selfie/videoSelfieWasm.ts
15
15
  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-C62Eyo7N.esm.js";
4
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-Dc-EUuwB.esm.js";
5
5
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
6
- import { t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
7
- import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-ZWuTisXf.esm.js";
6
+ import { t as checkPermission } from "./permissionServices-B9IqVf3c.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CSjiXOo7.esm.js";
8
8
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
9
- import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
9
+ import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-mwKFTlhR.esm.js";
10
10
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
11
11
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
12
12
  import { i as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-yjRptLFi.esm.js";
13
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-B6gkShby.esm.js";
13
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Ba-m1uO3.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) {
@@ -364,6 +364,11 @@ var WasmRuntime = class WasmRuntime {
364
364
  captureProtectedFrame(target) {
365
365
  return this.requireCameraCycleApi("Unable to capture protected frame, cpp API hasn't been initialized").mcp(target);
366
366
  }
367
+ /**
368
+ * @deprecated Unused by SDK 2 production flows.
369
+ * Retained for compatibility; avoid new uses.
370
+ * Candidate for removal after a compatibility review.
371
+ */
367
372
  paintFrameToCanvas(canvas, options) {
368
373
  return this.requireCameraCycleApi("Unable to paint frame, cpp API hasn't been initialized").pfc(canvas, options);
369
374
  }
package/dist/wasm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
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-CHHZ8BBM.js";
2
+ import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-BdeKbA9K.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,7 +1,7 @@
1
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 { D as buildWasmConfigFromBasePath, E as buildDefaultWasmConfig, T as DEFAULT_WASM_VERSION, k as resolveWasmConfig } from "./trueSightService-Bb116pCE.esm.js";
3
- import { o as warmupWasm } from "./warmup-REsua-sF.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-D7B4g7Jc.esm.js";
2
+ import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-D8dk4ZID.esm.js";
3
+ import { o as warmupWasm } from "./warmup-DLq_t-Zu.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-Cb7Ws1HA.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,4 +1,4 @@
1
- import { a as utilityWasmApi } from "./safeStorage-C511Hltw.esm.js";
1
+ import { a as utilityWasmApi } from "./safeStorage-Q_iUpxa8.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
@@ -1,29 +1,29 @@
1
- import { l as trueSightLog } from "./trueSightService-Bb116pCE.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-BhzWEsyZ.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-D8dk4ZID.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-02JHuEhD.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.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-_BmsjkUB.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D-gzxDwN.esm.js";
6
6
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-DqxsUXGC.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-C62Eyo7N.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-DmDlw1pl.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices-Dc-EUuwB.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-Bg3FuvIs.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-r2Zci23-.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-BbgLJk1x.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-D_pA96rq.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-DECsoldb.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-BGme0djA.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Bn5VbLhG.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-1MkML1iL.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-CDcMdfvW.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Bzx8zPD3.esm.js";
20
- import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DyJb_vDQ.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DAq-HoCA.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-CD8oLnoa.esm.js";
20
+ import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BS9VBtqN.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-8oOTouxq.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-BDQHv558.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-UjaYNdNf.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-D7czACc4.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-0bHX1R9_.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-BADMFRXg.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine--KjoErrq.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-BL3MnDOu.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-BpZ2PF2U.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-BLTC8Bur.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-Ctw74iP3.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BqP
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-IMYjWyxu.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BwDBkdiB.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-B5SZlQeG.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-D8UrSeXQ.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-DfdsEj7L.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-omXlfK8T.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-lk1KYt0f.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-B1IrvVGS.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-B-ri1Pvq.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CoWvzHhB.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BAg6qc6d.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DQbERvPv.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-DQTlyw98.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260928-e8e00ca9",
3
+ "version": "0.0.0-dev-20260928-85249f77",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,11 +50,6 @@
50
50
  "types": "./dist/id-selfie-flow.d.ts",
51
51
  "import": "./dist/id-selfie-flow.esm.js"
52
52
  },
53
- "./personhood": {
54
- "source": "./src/modules/personhood/index.ts",
55
- "types": "./dist/personhood.d.ts",
56
- "import": "./dist/personhood.esm.js"
57
- },
58
53
  "./authentication": {
59
54
  "source": "./src/modules/authentication/index.ts",
60
55
  "types": "./dist/authentication.d.ts",
@@ -276,7 +271,7 @@
276
271
  "tsdown": "^0.22.8",
277
272
  "typescript": "^5.9.3",
278
273
  "vitest": "4.1.10",
279
- "@incodetech/infra": "1.3.0",
274
+ "@incodetech/infra": "1.4.0",
280
275
  "@incodetech/config": "1.0.2"
281
276
  },
282
277
  "scripts": {
@@ -1,36 +0,0 @@
1
- import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, v as WebApiHostRequestConfig } from "./createFaceAvatar-DXgmQmQy.js";
2
- import { t as BaseWasmProvider } from "./BaseWasmProvider-BL9wIRnN.js";
3
- //#region ../infra/src/providers/wasm/FaceDetectionProvider.d.ts
4
- declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDetectionCapability {
5
- private defaultThresholds;
6
- private currentThresholds;
7
- private currentFrame;
8
- private onFaceDataCallback;
9
- constructor();
10
- processFrame(image: ImageData): Promise<void>;
11
- initialize(config: FaceDetectionConfig): Promise<void>;
12
- /**
13
- * Last-registered onCapture callback — captured into a private
14
- * field so `forceCapture()` (called from outside the WASM-callback
15
- * lifecycle) can re-fire the same wrapper. `setCallbacks` rebinds
16
- * this on each invocation, so the field always reflects the
17
- * current consumer.
18
- */
19
- private currentOnCaptureWrapper;
20
- processPhoto(canvas: HTMLCanvasElement): void;
21
- postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
22
- setCallbacks(callbacks: FaceDetectionCallbacks): void;
23
- setPositionConstraints(constraints: FacePositionConstraints): void;
24
- applyDefaults(autocaptureInterval?: number): void;
25
- setAutocaptureInterval(interval: number): void;
26
- setThresholds(thresholds: FaceDetectionThresholds): void;
27
- setAttributesThresholds(thresholds: FaceAttributesThresholds): void;
28
- setChecksEnabled(config: FaceChecksConfig): void;
29
- setVideoSelfieMode(enabled: boolean): void;
30
- forceCapture(): void;
31
- reset(): void;
32
- private createDefaultFaceCoordinates;
33
- private formatFaceCoordinates;
34
- }
35
- //#endregion
36
- export { FaceDetectionProvider as t };
@@ -1,42 +0,0 @@
1
- //#region ../infra/src/media/StreamCanvasProcessingSession.ts
2
- var StreamCanvasProcessingSession = class {
3
- /**
4
- * Creates a processing session that reacts to `StreamCanvasCapture` frame events
5
- * and drives a provider's `processFrame()` method with backpressure.
6
- */
7
- constructor(params) {
8
- this.disposed = false;
9
- this.isProcessing = false;
10
- this.onFrameEvent = () => {
11
- if (this.disposed || this.isProcessing) return;
12
- const frame = this.capturer.getLatestFrame();
13
- if (!frame) return;
14
- this.onFrame?.(frame);
15
- this.isProcessing = true;
16
- this.provider.processFrame(frame).catch(() => {}).finally(() => {
17
- this.isProcessing = false;
18
- });
19
- };
20
- this.capturer = params.capturer;
21
- this.provider = params.provider;
22
- this.onFrame = params.onFrame;
23
- this.capturer.addEventListener("frame", this.onFrameEvent);
24
- }
25
- /**
26
- * Unsubscribes from frame events and resets the provider.
27
- */
28
- dispose() {
29
- if (this.disposed) return;
30
- this.disposed = true;
31
- this.capturer.removeEventListener("frame", this.onFrameEvent);
32
- this.provider.reset();
33
- }
34
- /**
35
- * Returns whether the session has been disposed.
36
- */
37
- isDisposed() {
38
- return this.disposed;
39
- }
40
- };
41
- //#endregion
42
- export { StreamCanvasProcessingSession as t };