@incodetech/core 0.0.0-dev-20260209-168e887 → 0.0.0-dev-20260212-7db2d06

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 (43) hide show
  1. package/dist/OpenViduLogger-Bz7LPAnM.esm.js +3 -0
  2. package/dist/{OpenViduLogger-Cut9zn-U.esm.js → OpenViduLogger-CPED-Apt.esm.js} +1 -1
  3. package/dist/StateMachine-BTwgcH8g.d.ts +58 -0
  4. package/dist/authentication.d.ts +6 -5
  5. package/dist/authentication.esm.js +8 -8
  6. package/dist/curp-validation.d.ts +95 -0
  7. package/dist/curp-validation.esm.js +548 -0
  8. package/dist/{deepsightLoader-DHzfMqHS.esm.js → deepsightLoader-ClEe-KdI.esm.js} +4 -4
  9. package/dist/{deepsightService-DLabZ49g.esm.js → deepsightService-DY1w5Amz.esm.js} +3 -3
  10. package/dist/{deepsightService-D9Isk8fg.d.ts → deepsightService-X02Vowli.d.ts} +2 -2
  11. package/dist/email.d.ts +1 -1
  12. package/dist/email.esm.js +4 -4
  13. package/dist/{endpoints-CJtl25ka.esm.js → endpoints-DxmUJ8rX.esm.js} +4 -1
  14. package/dist/{events-CieIKgPk.esm.js → events-CuIAKgDr.esm.js} +2 -2
  15. package/dist/face-match.d.ts +1 -1
  16. package/dist/face-match.esm.js +4 -4
  17. package/dist/{faceCaptureManagerFactory-CZgmP4pc.d.ts → faceCaptureManagerFactory-CNQN7doV.d.ts} +4 -3
  18. package/dist/{faceCaptureSetup-DRbBF7AJ.esm.js → faceCaptureSetup-iJblI_NP.esm.js} +7 -7
  19. package/dist/flow.d.ts +3 -2
  20. package/dist/flow.esm.js +3 -3
  21. package/dist/{id-2r4nZyH_.esm.js → id-BbXYE__Q.esm.js} +8 -8
  22. package/dist/id.d.ts +7 -6
  23. package/dist/id.esm.js +8 -8
  24. package/dist/{index-C0SJR9cc.d.ts → index-B4Ei_1T2.d.ts} +6 -5
  25. package/dist/index.d.ts +7 -6
  26. package/dist/index.esm.js +8 -8
  27. package/dist/{lib-BbiUxUyg.esm.js → lib-DkCxYA3C.esm.js} +2 -2
  28. package/dist/phone.d.ts +1 -1
  29. package/dist/phone.esm.js +4 -4
  30. package/dist/selfie.d.ts +6 -5
  31. package/dist/selfie.esm.js +8 -8
  32. package/dist/{src-BFHUdMI6.esm.js → src-CGwA8Bgy.esm.js} +15 -5
  33. package/dist/{stats-DuS7aVaJ.esm.js → stats-ftyC31aH.esm.js} +1 -1
  34. package/dist/stats.esm.js +2 -2
  35. package/dist/{streamingEvents-DM6KFfsz.esm.js → streamingEvents-IkhAllE0.esm.js} +3 -3
  36. package/dist/{types-Dc1nBvy2.d.ts → types-c0XgGLsM.d.ts} +1 -58
  37. package/package.json +5 -1
  38. package/dist/OpenViduLogger-D_YCgaLD.esm.js +0 -3
  39. /package/dist/{Actor-uC1hxvGo.d.ts → Actor-DVQMXFy4.d.ts} +0 -0
  40. /package/dist/{Manager-BiAYYF50.d.ts → Manager-DfrNSCCo.d.ts} +0 -0
  41. /package/dist/{api-Cqrn4bGi.esm.js → api-DlSxxyGw.esm.js} +0 -0
  42. /package/dist/{chunk-CbPq_V01.esm.js → chunk-CzJBZnft.esm.js} +0 -0
  43. /package/dist/{types-u31qr1MR.d.ts → types-DGhQYTse.d.ts} +0 -0
package/dist/flow.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { E as createManager } from "./src-BFHUdMI6.esm.js";
2
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CJtl25ka.esm.js";
3
- import { t as api } from "./api-Cqrn4bGi.esm.js";
1
+ import { E as createManager } from "./src-CGwA8Bgy.esm.js";
2
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DxmUJ8rX.esm.js";
3
+ import { t as api } from "./api-DlSxxyGw.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowAnalyzer.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -1,10 +1,10 @@
1
- import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-CieIKgPk.esm.js";
2
- import { C as enumerateVideoDevices, E as createManager, F as isSafari, M as isDesktop, N as isIOS, P as isIPhone14OrHigher, S as applyTrackConstraints, T as stopCameraStream, _ as StreamCanvasProcessingSession, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, j as isAndroid, k as getWindowDimensions, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasCapture, w as requestCameraAccess, x as IncodeCanvas } from "./src-BFHUdMI6.esm.js";
3
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CJtl25ka.esm.js";
4
- import { c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-DM6KFfsz.esm.js";
5
- import { n as isBrowserSimulation } from "./deepsightService-DLabZ49g.esm.js";
6
- import { n as getApi, r as getToken, t as api } from "./api-Cqrn4bGi.esm.js";
7
- import { t as addDeviceStats } from "./stats-DuS7aVaJ.esm.js";
1
+ import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-CuIAKgDr.esm.js";
2
+ import { C as enumerateVideoDevices, E as createManager, F as isSafari, M as isDesktop, N as isIOS, P as isIPhone14OrHigher, S as applyTrackConstraints, T as stopCameraStream, _ as StreamCanvasProcessingSession, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, j as isAndroid, k as getWindowDimensions, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasCapture, w as requestCameraAccess, x as IncodeCanvas } from "./src-CGwA8Bgy.esm.js";
3
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DxmUJ8rX.esm.js";
4
+ import { c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-IkhAllE0.esm.js";
5
+ import { n as isBrowserSimulation } from "./deepsightService-DY1w5Amz.esm.js";
6
+ import { n as getApi, r as getToken, t as api } from "./api-DlSxxyGw.esm.js";
7
+ import { t as addDeviceStats } from "./stats-ftyC31aH.esm.js";
8
8
 
9
9
  //#region ../infra/src/capabilities/ITimerCapability.ts
10
10
  function sleep(ms) {
@@ -1120,7 +1120,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
1120
1120
  });
1121
1121
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1122
1122
  if (!input.dependencies) return;
1123
- const { loadDeepsightSession } = await import("./deepsightLoader-DHzfMqHS.esm.js");
1123
+ const { loadDeepsightSession } = await import("./deepsightLoader-ClEe-KdI.esm.js");
1124
1124
  return loadDeepsightSession({
1125
1125
  ds: input.ds,
1126
1126
  storage: input.dependencies.storage,
package/dist/id.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import { A as IdCaptureGeometry, B as IdCaptureProvider, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, H as IIdCaptureCapability, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, U as IdCaptureSettings, V as DetectionOrientation, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C0SJR9cc.js";
2
- import "./deepsightService-D9Isk8fg.js";
3
- import { n as PermissionStatus, r as CameraStream, t as PermissionResult } from "./types-u31qr1MR.js";
4
- import "./types-Dc1nBvy2.js";
5
- import "./Manager-BiAYYF50.js";
6
- import "./Actor-uC1hxvGo.js";
1
+ import { A as IdCaptureGeometry, B as IdCaptureProvider, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, H as IIdCaptureCapability, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, U as IdCaptureSettings, V as DetectionOrientation, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-B4Ei_1T2.js";
2
+ import "./deepsightService-X02Vowli.js";
3
+ import { n as PermissionStatus, r as CameraStream, t as PermissionResult } from "./types-DGhQYTse.js";
4
+ import "./StateMachine-BTwgcH8g.js";
5
+ import "./Manager-DfrNSCCo.js";
6
+ import "./Actor-DVQMXFy4.js";
7
+ import "./types-c0XgGLsM.js";
7
8
  export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IIdCaptureCapability, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureProvider, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import "./events-CieIKgPk.esm.js";
2
- import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-2r4nZyH_.esm.js";
3
- import { i as IdCaptureProvider } from "./src-BFHUdMI6.esm.js";
4
- import "./endpoints-CJtl25ka.esm.js";
5
- import "./streamingEvents-DM6KFfsz.esm.js";
6
- import "./deepsightService-DLabZ49g.esm.js";
7
- import "./api-Cqrn4bGi.esm.js";
8
- import "./stats-DuS7aVaJ.esm.js";
1
+ import "./events-CuIAKgDr.esm.js";
2
+ import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-BbXYE__Q.esm.js";
3
+ import { i as IdCaptureProvider } from "./src-CGwA8Bgy.esm.js";
4
+ import "./endpoints-DxmUJ8rX.esm.js";
5
+ import "./streamingEvents-IkhAllE0.esm.js";
6
+ import "./deepsightService-DY1w5Amz.esm.js";
7
+ import "./api-DlSxxyGw.esm.js";
8
+ import "./stats-ftyC31aH.esm.js";
9
9
 
10
10
  export { ID_ERROR_CODES, IdCaptureProvider, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
@@ -1,8 +1,9 @@
1
- import { a as IncodeCanvas, i as IMotionSensorCapability, n as BaseWasmProvider, r as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-D9Isk8fg.js";
2
- import { a as IRecordingCapability, c as MLProviderConfig, i as IStorageCapability, n as PermissionStatus, o as RecordingConnection, r as CameraStream, s as IMLProviderCapability, t as PermissionResult } from "./types-u31qr1MR.js";
3
- import { a as AnyStateMachine, i as TutorialIdConfig, o as StateMachine, t as Flow } from "./types-Dc1nBvy2.js";
4
- import { t as Manager } from "./Manager-BiAYYF50.js";
5
- import { t as ActorRefFrom } from "./Actor-uC1hxvGo.js";
1
+ import { a as IncodeCanvas, i as IMotionSensorCapability, n as BaseWasmProvider, r as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-X02Vowli.js";
2
+ import { a as IRecordingCapability, c as MLProviderConfig, i as IStorageCapability, n as PermissionStatus, o as RecordingConnection, r as CameraStream, s as IMLProviderCapability, t as PermissionResult } from "./types-DGhQYTse.js";
3
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BTwgcH8g.js";
4
+ import { t as Manager } from "./Manager-DfrNSCCo.js";
5
+ import { t as ActorRefFrom } from "./Actor-DVQMXFy4.js";
6
+ import { i as TutorialIdConfig, t as Flow } from "./types-c0XgGLsM.js";
6
7
 
7
8
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
8
9
  interface IAnalyticsCapability {
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import { A as IdCaptureGeometry, B as IdCaptureProvider, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, H as IIdCaptureCapability, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, U as IdCaptureSettings, V as DetectionOrientation, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C0SJR9cc.js";
2
- import "./deepsightService-D9Isk8fg.js";
3
- import { n as PermissionStatus, r as CameraStream, t as PermissionResult } from "./types-u31qr1MR.js";
4
- import { c as warmupWasm, s as WasmPipeline } from "./types-Dc1nBvy2.js";
5
- import "./Manager-BiAYYF50.js";
6
- import "./Actor-uC1hxvGo.js";
1
+ import { A as IdCaptureGeometry, B as IdCaptureProvider, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, H as IIdCaptureCapability, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, U as IdCaptureSettings, V as DetectionOrientation, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-B4Ei_1T2.js";
2
+ import "./deepsightService-X02Vowli.js";
3
+ import { n as PermissionStatus, r as CameraStream, t as PermissionResult } from "./types-DGhQYTse.js";
4
+ import { i as warmupWasm, r as WasmPipeline } from "./StateMachine-BTwgcH8g.js";
5
+ import "./Manager-DfrNSCCo.js";
6
+ import "./Actor-DVQMXFy4.js";
7
+ import "./types-c0XgGLsM.js";
7
8
 
8
9
  //#region ../infra/src/http/types.d.ts
9
10
  type CreateApiConfig = {
package/dist/index.esm.js CHANGED
@@ -1,11 +1,11 @@
1
- import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEventQueue, i as tutorialScreenNamesMapper, l as screenEvent, n as eventModuleNames, o as moduleClosed, p as subscribeEvent, r as eventScreenNames, s as moduleOpened, t as cameraScreenNamesMapper, u as screenOpened } from "./events-CieIKgPk.esm.js";
2
- import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-2r4nZyH_.esm.js";
3
- import { D as createApi_default, i as IdCaptureProvider, o as warmupWasm, r as WasmUtilProvider } from "./src-BFHUdMI6.esm.js";
4
- import "./endpoints-CJtl25ka.esm.js";
5
- import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-DM6KFfsz.esm.js";
6
- import "./deepsightService-DLabZ49g.esm.js";
7
- import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-Cqrn4bGi.esm.js";
8
- import "./stats-DuS7aVaJ.esm.js";
1
+ import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEventQueue, i as tutorialScreenNamesMapper, l as screenEvent, n as eventModuleNames, o as moduleClosed, p as subscribeEvent, r as eventScreenNames, s as moduleOpened, t as cameraScreenNamesMapper, u as screenOpened } from "./events-CuIAKgDr.esm.js";
2
+ import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-BbXYE__Q.esm.js";
3
+ import { D as createApi_default, i as IdCaptureProvider, o as warmupWasm, r as WasmUtilProvider } from "./src-CGwA8Bgy.esm.js";
4
+ import "./endpoints-DxmUJ8rX.esm.js";
5
+ import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-IkhAllE0.esm.js";
6
+ import "./deepsightService-DY1w5Amz.esm.js";
7
+ import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-DlSxxyGw.esm.js";
8
+ import "./stats-ftyC31aH.esm.js";
9
9
 
10
10
  //#region src/setup.ts
11
11
  let wasmConfig;
@@ -1,5 +1,5 @@
1
- import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-CbPq_V01.esm.js";
2
- import { n as require_jsnlog, t as require_OpenViduLogger } from "./OpenViduLogger-Cut9zn-U.esm.js";
1
+ import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-CzJBZnft.esm.js";
2
+ import { n as require_jsnlog, t as require_OpenViduLogger } from "./OpenViduLogger-CPED-Apt.esm.js";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/openvidu-browser@2.32.1/node_modules/openvidu-browser/lib/OpenViduInternal/Enums/LocalRecorderState.js
5
5
  var require_LocalRecorderState = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/openvidu-browser@2.32.1/node_modules/openvidu-browser/lib/OpenViduInternal/Enums/LocalRecorderState.js": ((exports) => {
package/dist/phone.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-BiAYYF50.js";
1
+ import { t as Manager } from "./Manager-DfrNSCCo.js";
2
2
 
3
3
  //#region src/modules/phone/types.d.ts
4
4
 
package/dist/phone.esm.js CHANGED
@@ -1,7 +1,7 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-CieIKgPk.esm.js";
2
- import { E as createManager, p as BrowserTimerProvider } from "./src-BFHUdMI6.esm.js";
3
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CJtl25ka.esm.js";
4
- import { t as api } from "./api-Cqrn4bGi.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-CuIAKgDr.esm.js";
2
+ import { E as createManager, p as BrowserTimerProvider } from "./src-CGwA8Bgy.esm.js";
3
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DxmUJ8rX.esm.js";
4
+ import { t as api } from "./api-DlSxxyGw.esm.js";
5
5
 
6
6
  //#region src/modules/phone/phoneServices.ts
7
7
  async function fetchPhone(signal) {
package/dist/selfie.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { a as IncodeCanvas, n as BaseWasmProvider, r as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-D9Isk8fg.js";
2
- import { c as MLProviderConfig, n as PermissionStatus, r as CameraStream, s as IMLProviderCapability, t as PermissionResult } from "./types-u31qr1MR.js";
3
- import { a as AnyStateMachine, o as StateMachine, r as FlowModuleConfig } from "./types-Dc1nBvy2.js";
4
- import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CZgmP4pc.js";
5
- import { t as Manager } from "./Manager-BiAYYF50.js";
1
+ import { a as IncodeCanvas, n as BaseWasmProvider, r as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-X02Vowli.js";
2
+ import { c as MLProviderConfig, n as PermissionStatus, r as CameraStream, s as IMLProviderCapability, t as PermissionResult } from "./types-DGhQYTse.js";
3
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BTwgcH8g.js";
4
+ import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CNQN7doV.js";
5
+ import { t as Manager } from "./Manager-DfrNSCCo.js";
6
+ import { r as FlowModuleConfig } from "./types-c0XgGLsM.js";
6
7
 
7
8
  //#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
8
9
  /**
@@ -1,11 +1,11 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-CieIKgPk.esm.js";
2
- import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BFHUdMI6.esm.js";
3
- import { a as fromPromise, o as createActor, r as assign } from "./endpoints-CJtl25ka.esm.js";
4
- import "./streamingEvents-DM6KFfsz.esm.js";
5
- import "./deepsightService-DLabZ49g.esm.js";
6
- import "./api-Cqrn4bGi.esm.js";
7
- import "./stats-DuS7aVaJ.esm.js";
8
- import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-DRbBF7AJ.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-CuIAKgDr.esm.js";
2
+ import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-CGwA8Bgy.esm.js";
3
+ import { a as fromPromise, o as createActor, r as assign } from "./endpoints-DxmUJ8rX.esm.js";
4
+ import "./streamingEvents-IkhAllE0.esm.js";
5
+ import "./deepsightService-DY1w5Amz.esm.js";
6
+ import "./api-DlSxxyGw.esm.js";
7
+ import "./stats-ftyC31aH.esm.js";
8
+ import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-iJblI_NP.esm.js";
9
9
 
10
10
  //#region src/modules/selfie/selfieErrorUtils.ts
11
11
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
@@ -1,4 +1,4 @@
1
- import { a as __toDynamicImportESM } from "./chunk-CbPq_V01.esm.js";
1
+ import { a as __toDynamicImportESM } from "./chunk-CzJBZnft.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/platform.ts
4
4
  /**
@@ -3954,6 +3954,16 @@ var se = class {
3954
3954
  }
3955
3955
  };
3956
3956
 
3957
+ //#endregion
3958
+ //#region ../infra/src/providers/browser/thumbmarkAdapter.ts
3959
+ /**
3960
+ * Adapter for @thumbmarkjs/thumbmarkjs. Single point of dependency so bundlers
3961
+ * resolve it from infra's node_modules when building apps that depend on core → infra.
3962
+ */
3963
+ async function getThumbmarkId() {
3964
+ return (await new se().get()).thumbmark;
3965
+ }
3966
+
3957
3967
  //#endregion
3958
3968
  //#region ../infra/src/providers/browser/FingerprintProvider.ts
3959
3969
  var FingerprintProvider = class {
@@ -3961,10 +3971,10 @@ var FingerprintProvider = class {
3961
3971
  this.ipLookup = ipLookup;
3962
3972
  }
3963
3973
  async getFingerprint(disableIpify = false) {
3964
- const thumbmarkData = await new se().get();
3974
+ const visitorId = await getThumbmarkId();
3965
3975
  const [deviceInfo, ip] = await Promise.all([getDeviceFingerprintInfo(), disableIpify ? Promise.resolve("") : this.ipLookup.getIp()]);
3966
3976
  return {
3967
- visitorId: thumbmarkData.thumbmark,
3977
+ visitorId,
3968
3978
  ip,
3969
3979
  deviceInfo
3970
3980
  };
@@ -4393,13 +4403,13 @@ var MotionSensorProvider = class {
4393
4403
  //#region ../infra/src/providers/browser/openviduLazy.ts
4394
4404
  let openViduImport;
4395
4405
  async function enableProdModeBeforeLoad() {
4396
- const { OpenViduLogger } = await import("./OpenViduLogger-D_YCgaLD.esm.js").then(__toDynamicImportESM(1));
4406
+ const { OpenViduLogger } = await import("./OpenViduLogger-Bz7LPAnM.esm.js").then(__toDynamicImportESM(1));
4397
4407
  OpenViduLogger.getInstance().enableProdMode();
4398
4408
  }
4399
4409
  async function loadOpenVidu() {
4400
4410
  if (openViduImport) return openViduImport;
4401
4411
  await enableProdModeBeforeLoad();
4402
- openViduImport = import("./lib-BbiUxUyg.esm.js").then(__toDynamicImportESM(1));
4412
+ openViduImport = import("./lib-DkCxYA3C.esm.js").then(__toDynamicImportESM(1));
4403
4413
  return openViduImport;
4404
4414
  }
4405
4415
 
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-Cqrn4bGi.esm.js";
1
+ import { t as api } from "./api-DlSxxyGw.esm.js";
2
2
 
3
3
  //#region src/modules/stats/statsServices.ts
4
4
  /**
package/dist/stats.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-Cqrn4bGi.esm.js";
2
- import { t as addDeviceStats } from "./stats-DuS7aVaJ.esm.js";
1
+ import "./api-DlSxxyGw.esm.js";
2
+ import { t as addDeviceStats } from "./stats-ftyC31aH.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,6 +1,6 @@
1
- import { A as getUserAgent, O as getDeviceInfo, T as stopCameraStream, l as MotionSensorProvider, w as requestCameraAccess, y as queryCameraPermission } from "./src-BFHUdMI6.esm.js";
2
- import { t as endpoints } from "./endpoints-CJtl25ka.esm.js";
3
- import { t as api } from "./api-Cqrn4bGi.esm.js";
1
+ import { A as getUserAgent, O as getDeviceInfo, T as stopCameraStream, l as MotionSensorProvider, w as requestCameraAccess, y as queryCameraPermission } from "./src-CGwA8Bgy.esm.js";
2
+ import { t as endpoints } from "./endpoints-DxmUJ8rX.esm.js";
3
+ import { t as api } from "./api-DlSxxyGw.esm.js";
4
4
 
5
5
  //#region src/internal/device/getBrowser.ts
6
6
  function getBrowser() {
@@ -1,60 +1,3 @@
1
- import { AnyStateMachine, StateMachine } from "xstate";
2
-
3
- //#region ../infra/src/wasm/warmup.d.ts
4
-
5
- /**
6
- * All available ML pipelines in the SDK.
7
- * - 'selfie' - Face detection for selfie capture
8
- * - 'idCapture' - Document detection for ID capture
9
- */
10
- type WasmPipeline = 'selfie' | 'idCapture';
11
- interface WarmupConfig {
12
- wasmPath: string;
13
- wasmSimdPath?: string;
14
- glueCodePath: string;
15
- useSimd?: boolean;
16
- pipelines?: readonly WasmPipeline[];
17
- /**
18
- * Base path for ML model files. Models will be loaded from `${modelsBasePath}/${modelFileName}`.
19
- * If not provided, models are expected to be in the same directory as the WASM files.
20
- */
21
- modelsBasePath?: string;
22
- /**
23
- * Custom model files per pipeline. If not provided, uses default models.
24
- * Keys are pipeline names, values are arrays of model file names.
25
- */
26
- pipelineModels?: Partial<Record<WasmPipeline, string[]>>;
27
- }
28
- /**
29
- * Preloads WASM binary and ML models at app startup.
30
- * Runs asynchronously - app can continue while WASM loads in background.
31
- *
32
- * Model files are automatically loaded based on the pipeline type.
33
- * By default, models are expected in a 'models' subdirectory relative to the WASM binary.
34
- *
35
- * @param config - Configuration for WASM warmup
36
- * @returns Promise that resolves when WASM is ready
37
- *
38
- * @example
39
- * ```ts
40
- * // Basic usage - models loaded from /wasm/v2/models/
41
- * warmupWasm({
42
- * wasmPath: '/wasm/v2/ml-wasm.wasm',
43
- * glueCodePath: '/wasm/v2/ml-wasm.js',
44
- * pipelines: ['selfie', 'idCapture'],
45
- * });
46
- *
47
- * // With explicit models path
48
- * warmupWasm({
49
- * wasmPath: '/wasm/v2/ml-wasm.wasm',
50
- * glueCodePath: '/wasm/v2/ml-wasm.js',
51
- * modelsBasePath: 'https://cdn.example.com/wasm/v2/models',
52
- * pipelines: ['selfie'],
53
- * });
54
- * ```
55
- */
56
- declare function warmupWasm(config: WarmupConfig): Promise<void>;
57
- //#endregion
58
1
  //#region src/modules/flow/types.d.ts
59
2
  type EmptyConfig = Record<string, never>;
60
3
  type RegulationTypes = 'US' | 'Worldwide' | 'Other' | 'US_Illinois' | 'US_Texas' | 'US_California' | 'US_Washington';
@@ -356,4 +299,4 @@ type Flow = {
356
299
  ds?: boolean;
357
300
  };
358
301
  //#endregion
359
- export { AnyStateMachine as a, warmupWasm as c, TutorialIdConfig as i, FlowModule as n, StateMachine as o, FlowModuleConfig as r, WasmPipeline as s, Flow as t };
302
+ export { TutorialIdConfig as i, FlowModule as n, FlowModuleConfig as r, Flow as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260209-168e887",
3
+ "version": "0.0.0-dev-20260212-7db2d06",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -37,6 +37,10 @@
37
37
  "types": "./dist/face-match.d.ts",
38
38
  "import": "./dist/face-match.esm.js"
39
39
  },
40
+ "./curp-validation": {
41
+ "types": "./dist/curp-validation.d.ts",
42
+ "import": "./dist/curp-validation.esm.js"
43
+ },
40
44
  "./camera": {
41
45
  "types": "./dist/camera.d.ts",
42
46
  "import": "./dist/camera.esm.js"
@@ -1,3 +0,0 @@
1
- import { t as require_OpenViduLogger } from "./OpenViduLogger-Cut9zn-U.esm.js";
2
-
3
- export default require_OpenViduLogger();