@incodetech/core 0.0.0-dev-20260227-bd6b490 → 0.0.0-dev-20260302-e38ab90

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 (55) hide show
  1. package/dist/authentication.d.ts +8 -8
  2. package/dist/authentication.esm.js +9 -9
  3. package/dist/{backCameraStream-Ly-xbK9L.esm.js → backCameraStream-u3xcpGFM.esm.js} +1 -1
  4. package/dist/curp-validation.d.ts +3 -3
  5. package/dist/curp-validation.esm.js +4 -4
  6. package/dist/{deepsightLoader-nGQDTgVU.esm.js → deepsightLoader-C3qKZdo7.esm.js} +4 -4
  7. package/dist/{deepsightService-CpmpXOnj.esm.js → deepsightService-BaQxZ72c.esm.js} +3 -3
  8. package/dist/{deepsightService-p7oLftiG.d.ts → deepsightService-c3UUVOav.d.ts} +1 -1
  9. package/dist/document-upload.d.ts +2 -2
  10. package/dist/document-upload.esm.js +4 -4
  11. package/dist/ekyb.d.ts +113 -0
  12. package/dist/ekyb.esm.js +650 -0
  13. package/dist/ekyc.d.ts +148 -0
  14. package/dist/ekyc.esm.js +10688 -0
  15. package/dist/email.d.ts +1 -1
  16. package/dist/email.esm.js +4 -4
  17. package/dist/{endpoints-BK1EjE1H.esm.js → endpoints-DsYhzvVt.esm.js} +5 -0
  18. package/dist/{events-DuBPhaxY.esm.js → events-1rBD3IOL.esm.js} +6 -4
  19. package/dist/face-match.d.ts +1 -1
  20. package/dist/face-match.esm.js +4 -4
  21. package/dist/{faceCaptureManagerFactory-5Blo_gz0.d.ts → faceCaptureManagerFactory-YsqEukVD.d.ts} +5 -5
  22. package/dist/{faceCaptureSetup-JLWm8_vt.esm.js → faceCaptureSetup-D5B3BosZ.esm.js} +8 -8
  23. package/dist/flow.d.ts +5 -5
  24. package/dist/flow.esm.js +3 -3
  25. package/dist/geolocation.d.ts +1 -1
  26. package/dist/geolocation.esm.js +4 -4
  27. package/dist/government-validation.d.ts +1 -1
  28. package/dist/government-validation.esm.js +3 -3
  29. package/dist/{id-D-cS-Z6o.esm.js → id-CkOglsyM.esm.js} +9 -9
  30. package/dist/id.d.ts +8 -8
  31. package/dist/id.esm.js +9 -9
  32. package/dist/{index-B_VIYINf.d.ts → index-DjI-ueIb.d.ts} +7 -7
  33. package/dist/index.d.ts +11 -9
  34. package/dist/index.esm.js +9 -9
  35. package/dist/{lib-EkjqkOuB.esm.js → lib-0ctN_ZlJ.esm.js} +1 -1
  36. package/dist/phone.d.ts +1 -1
  37. package/dist/phone.esm.js +4 -4
  38. package/dist/selfie.d.ts +8 -8
  39. package/dist/selfie.esm.js +9 -9
  40. package/dist/{src-Bjg2C1oP.esm.js → src-BAxRO0Rv.esm.js} +2 -2
  41. package/dist/{stats-Baxc8J0w.esm.js → stats-Df76BRkJ.esm.js} +1 -1
  42. package/dist/stats.esm.js +2 -2
  43. package/dist/{streamingEvents-BrVlVGe7.esm.js → streamingEvents-Cf-UwbXh.esm.js} +3 -3
  44. package/dist/types-BOC09Z_x.d.ts +20 -0
  45. package/dist/{types-Skrj9_8y.d.ts → types-Lr7oy_-5.d.ts} +1 -1
  46. package/dist/usStates-D0l6Y6l7.esm.js +210 -0
  47. package/package.json +11 -3
  48. /package/dist/{Actor-DYtyiYF1.d.ts → Actor-pA_tOrQP.d.ts} +0 -0
  49. /package/dist/{Manager-C647XkuZ.d.ts → Manager-DxhSby9F.d.ts} +0 -0
  50. /package/dist/{StateMachine-B3u4LjaP.d.ts → StateMachine-CZg50Irf.d.ts} +0 -0
  51. /package/dist/{api-J0YE3G-C.esm.js → api-BgBQu3t4.esm.js} +0 -0
  52. /package/dist/{chunk-3k-zyWo_.esm.js → chunk-DdchHsRp.esm.js} +0 -0
  53. /package/dist/{types-CLuw51tO.d.ts → types-DGmAf_rg.d.ts} +0 -0
  54. /package/dist/{types-B3jgq_IJ.d.ts → types-Za6hs44v.d.ts} +0 -0
  55. /package/dist/{warmup-BIZ_8rAa.d.ts → warmup-Cli0uoFe.d.ts} +0 -0
package/dist/email.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C647XkuZ.js";
1
+ import { t as Manager } from "./Manager-DxhSby9F.js";
2
2
 
3
3
  //#region src/modules/email/types.d.ts
4
4
 
package/dist/email.esm.js CHANGED
@@ -1,7 +1,7 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-DuBPhaxY.esm.js";
2
- import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
3
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
4
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-1rBD3IOL.esm.js";
2
+ import { D as createManager, p as BrowserTimerProvider } from "./src-BAxRO0Rv.esm.js";
3
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
4
+ import { t as api } from "./api-BgBQu3t4.esm.js";
5
5
 
6
6
  //#region src/modules/email/emailServices.ts
7
7
  async function fetchEmail(signal) {
@@ -3299,6 +3299,11 @@ const endpoints = {
3299
3299
  addCurp: "/omni/add/curp",
3300
3300
  addCurpV2: "/omni/add/curp/v2",
3301
3301
  addGeolocation: "/omni/add/geolocation",
3302
+ ekycSubmit: "/omni/externalVerification/ekyc",
3303
+ ekybSubmit: "/omni/externalVerification/ekyb",
3304
+ addressAutocomplete: "/omni/externalVerification/addressAutocomplete",
3305
+ otpStatus: "/omni/session/otp-status",
3306
+ moduleConfig: "/omni/flow/onboarding/configuration",
3302
3307
  addDocument: "/omni/add/document/v2"
3303
3308
  };
3304
3309
 
@@ -1,5 +1,5 @@
1
- import { t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
2
- import { i as isApiConfigured, r as getToken, t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
2
+ import { i as isApiConfigured, r as getToken, t as api } from "./api-BgBQu3t4.esm.js";
3
3
 
4
4
  //#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
5
5
  function getTimestamp() {
@@ -150,7 +150,8 @@ const eventModuleNames = {
150
150
  instantVerifyConsent: "INSTANT_VERIFY_CONSENT",
151
151
  forms: "FORMS",
152
152
  customModule: "CUSTOM_MODULE",
153
- geolocation: "GEOLOCATION"
153
+ geolocation: "GEOLOCATION",
154
+ ekyb: "EKYB"
154
155
  };
155
156
  const eventScreenNames = {
156
157
  faceMatch: "FACE_MATCH",
@@ -245,7 +246,8 @@ const eventScreenNames = {
245
246
  digitalIdUploadFailed: "DIGITAL_ID_UPLOAD_FAILED",
246
247
  digitalIdAnalysisProgress: "DIGITAL_ID_ANALYSIS_PROGRESS",
247
248
  digitalIdVerificationSuccess: "DIGITAL_ID_VERIFICATION_SUCCESS",
248
- digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED"
249
+ digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED",
250
+ ekybForm: "EKYB_FORM"
249
251
  };
250
252
  const videoSelfieEvents = {
251
253
  imageTooBlurry: "imageTooBlurry",
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C647XkuZ.js";
1
+ import { t as Manager } from "./Manager-DxhSby9F.js";
2
2
 
3
3
  //#region src/modules/face-match/types.d.ts
4
4
 
@@ -1,7 +1,7 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-DuBPhaxY.esm.js";
2
- import { D as createManager } from "./src-Bjg2C1oP.esm.js";
3
- import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
4
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-1rBD3IOL.esm.js";
2
+ import { D as createManager } from "./src-BAxRO0Rv.esm.js";
3
+ import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
4
+ import { t as api } from "./api-BgBQu3t4.esm.js";
5
5
 
6
6
  //#region src/modules/face-match/faceMatchServices.ts
7
7
  /**
@@ -1,8 +1,8 @@
1
- import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-CLuw51tO.js";
2
- import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
3
- import { t as Manager } from "./Manager-C647XkuZ.js";
4
- import { i as CameraStream } from "./types-B3jgq_IJ.js";
5
- import { t as Flow } from "./types-Skrj9_8y.js";
1
+ import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-DGmAf_rg.js";
2
+ import { t as WasmPipeline } from "./warmup-Cli0uoFe.js";
3
+ import { t as Manager } from "./Manager-DxhSby9F.js";
4
+ import { i as CameraStream } from "./types-Za6hs44v.js";
5
+ import { t as Flow } from "./types-Lr7oy_-5.js";
6
6
 
7
7
  //#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
8
8
  type WasmUtilConfig = MLProviderConfig & {
@@ -1,10 +1,10 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
2
- import { t as getBackCameraStream } from "./backCameraStream-Ly-xbK9L.esm.js";
3
- import { D as createManager, E as stopCameraStream, T as requestCameraAccess, a as FaceDetectionProvider, c as OpenViduRecordingProvider, u as LocalRecordingProvider, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-Bjg2C1oP.esm.js";
4
- import { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
5
- import { a as uploadDeepsightVideo, c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-BrVlVGe7.esm.js";
6
- import { r as getToken, t as api } from "./api-J0YE3G-C.esm.js";
7
- import { t as addDeviceStats } from "./stats-Baxc8J0w.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-1rBD3IOL.esm.js";
2
+ import { t as getBackCameraStream } from "./backCameraStream-u3xcpGFM.esm.js";
3
+ import { D as createManager, E as stopCameraStream, T as requestCameraAccess, a as FaceDetectionProvider, c as OpenViduRecordingProvider, u as LocalRecordingProvider, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-BAxRO0Rv.esm.js";
4
+ import { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
5
+ import { a as uploadDeepsightVideo, c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-Cf-UwbXh.esm.js";
6
+ import { r as getToken, t as api } from "./api-BgBQu3t4.esm.js";
7
+ import { t as addDeviceStats } from "./stats-Df76BRkJ.esm.js";
8
8
 
9
9
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
10
10
  function getPermissionStatus(snapshot) {
@@ -444,7 +444,7 @@ async function stopRecording(session) {
444
444
  }
445
445
  }
446
446
  async function initializeDeepsightSession(options) {
447
- const { loadDeepsightSession } = await import("./deepsightLoader-nGQDTgVU.esm.js");
447
+ const { loadDeepsightSession } = await import("./deepsightLoader-C3qKZdo7.esm.js");
448
448
  return loadDeepsightSession({
449
449
  ds: options.ds,
450
450
  storage: options.storage
package/dist/flow.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
2
- import { t as Manager } from "./Manager-C647XkuZ.js";
3
- import "./types-B3jgq_IJ.js";
4
- import { t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
5
- import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-Skrj9_8y.js";
1
+ import { t as WasmPipeline } from "./warmup-Cli0uoFe.js";
2
+ import { t as Manager } from "./Manager-DxhSby9F.js";
3
+ import "./types-Za6hs44v.js";
4
+ import { t as AnyStateMachine } from "./StateMachine-CZg50Irf.js";
5
+ import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-Lr7oy_-5.js";
6
6
 
7
7
  //#region src/modules/flow/flowUtils.d.ts
8
8
 
package/dist/flow.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as createManager } from "./src-Bjg2C1oP.esm.js";
2
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
3
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { D as createManager } from "./src-BAxRO0Rv.esm.js";
2
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
3
+ import { t as api } from "./api-BgBQu3t4.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C647XkuZ.js";
1
+ import { t as Manager } from "./Manager-DxhSby9F.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/IGeolocationCapability.d.ts
4
4
  type GeolocationCoords = {
@@ -1,7 +1,7 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
2
- import { D as createManager, M as isAndroid, P as isIOS, _ as BrowserGeolocationProvider } from "./src-Bjg2C1oP.esm.js";
3
- import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
4
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-1rBD3IOL.esm.js";
2
+ import { D as createManager, M as isAndroid, P as isIOS, _ as BrowserGeolocationProvider } from "./src-BAxRO0Rv.esm.js";
3
+ import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
4
+ import { t as api } from "./api-BgBQu3t4.esm.js";
5
5
 
6
6
  //#region src/modules/geolocation/geolocationServices.ts
7
7
  async function addGeolocation(params, signal) {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C647XkuZ.js";
1
+ import { t as Manager } from "./Manager-DxhSby9F.js";
2
2
 
3
3
  //#region src/modules/government-validation/types.d.ts
4
4
  type GovernmentValidationConfig = {
@@ -1,6 +1,6 @@
1
- import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
2
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
3
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { D as createManager, p as BrowserTimerProvider } from "./src-BAxRO0Rv.esm.js";
2
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
3
+ import { t as api } from "./api-BgBQu3t4.esm.js";
4
4
 
5
5
  //#region src/modules/government-validation/governmentValidationServices.ts
6
6
  async function processGovernmentValidation(signal) {
@@ -1,11 +1,11 @@
1
- import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
2
- import { t as getBackCameraStream } from "./backCameraStream-Ly-xbK9L.esm.js";
3
- import { A as getWindowDimensions, D as createManager, N as isDesktop, S as IncodeCanvas, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, i as IdCaptureProvider, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-Bjg2C1oP.esm.js";
4
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
5
- 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-BrVlVGe7.esm.js";
6
- import { n as isBrowserSimulation } from "./deepsightService-CpmpXOnj.esm.js";
7
- import { n as getApi, r as getToken, t as api } from "./api-J0YE3G-C.esm.js";
8
- import { t as addDeviceStats } from "./stats-Baxc8J0w.esm.js";
1
+ import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-1rBD3IOL.esm.js";
2
+ import { t as getBackCameraStream } from "./backCameraStream-u3xcpGFM.esm.js";
3
+ import { A as getWindowDimensions, D as createManager, N as isDesktop, S as IncodeCanvas, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, i as IdCaptureProvider, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-BAxRO0Rv.esm.js";
4
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
5
+ 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-Cf-UwbXh.esm.js";
6
+ import { n as isBrowserSimulation } from "./deepsightService-BaQxZ72c.esm.js";
7
+ import { n as getApi, r as getToken, t as api } from "./api-BgBQu3t4.esm.js";
8
+ import { t as addDeviceStats } from "./stats-Df76BRkJ.esm.js";
9
9
 
10
10
  //#region src/internal/session/sessionService.ts
11
11
  /**
@@ -898,7 +898,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
898
898
  });
899
899
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
900
900
  if (!input.dependencies) return;
901
- const { loadDeepsightSession } = await import("./deepsightLoader-nGQDTgVU.esm.js");
901
+ const { loadDeepsightSession } = await import("./deepsightLoader-C3qKZdo7.esm.js");
902
902
  return loadDeepsightSession({
903
903
  ds: input.ds,
904
904
  storage: input.dependencies.storage,
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, 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, V as IdCaptureSettings, _ 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-B_VIYINf.js";
2
- import "./deepsightService-p7oLftiG.js";
3
- import { n as PermissionStatus, t as PermissionResult } from "./types-CLuw51tO.js";
4
- import "./Manager-C647XkuZ.js";
5
- import { i as CameraStream } from "./types-B3jgq_IJ.js";
6
- import "./Actor-DYtyiYF1.js";
7
- import "./StateMachine-B3u4LjaP.js";
8
- import "./types-Skrj9_8y.js";
1
+ import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, 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, V as IdCaptureSettings, _ 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-DjI-ueIb.js";
2
+ import "./deepsightService-c3UUVOav.js";
3
+ import { n as PermissionStatus, t as PermissionResult } from "./types-DGmAf_rg.js";
4
+ import "./Manager-DxhSby9F.js";
5
+ import { i as CameraStream } from "./types-Za6hs44v.js";
6
+ import "./Actor-pA_tOrQP.js";
7
+ import "./StateMachine-CZg50Irf.js";
8
+ import "./types-Lr7oy_-5.js";
9
9
  export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, 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,11 +1,11 @@
1
- import "./events-DuBPhaxY.esm.js";
2
- import "./backCameraStream-Ly-xbK9L.esm.js";
3
- import "./src-Bjg2C1oP.esm.js";
4
- import "./endpoints-BK1EjE1H.esm.js";
5
- import "./streamingEvents-BrVlVGe7.esm.js";
6
- import "./deepsightService-CpmpXOnj.esm.js";
7
- import "./api-J0YE3G-C.esm.js";
8
- 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-D-cS-Z6o.esm.js";
9
- import "./stats-Baxc8J0w.esm.js";
1
+ import "./events-1rBD3IOL.esm.js";
2
+ import "./backCameraStream-u3xcpGFM.esm.js";
3
+ import "./src-BAxRO0Rv.esm.js";
4
+ import "./endpoints-DsYhzvVt.esm.js";
5
+ import "./streamingEvents-Cf-UwbXh.esm.js";
6
+ import "./deepsightService-BaQxZ72c.esm.js";
7
+ import "./api-BgBQu3t4.esm.js";
8
+ 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-CkOglsyM.esm.js";
9
+ import "./stats-Df76BRkJ.esm.js";
10
10
 
11
11
  export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
@@ -1,10 +1,10 @@
1
- import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-p7oLftiG.js";
2
- import { a as RecordingConnection, i as IRecordingCapability, n as PermissionStatus, o as IMLProviderCapability, r as IStorageCapability, s as MLProviderConfig, t as PermissionResult } from "./types-CLuw51tO.js";
3
- import { t as Manager } from "./Manager-C647XkuZ.js";
4
- import { i as CameraStream } from "./types-B3jgq_IJ.js";
5
- import { t as ActorRefFrom } from "./Actor-DYtyiYF1.js";
6
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
7
- import { i as TutorialIdConfig, t as Flow } from "./types-Skrj9_8y.js";
1
+ import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-c3UUVOav.js";
2
+ import { a as RecordingConnection, i as IRecordingCapability, n as PermissionStatus, o as IMLProviderCapability, r as IStorageCapability, s as MLProviderConfig, t as PermissionResult } from "./types-DGmAf_rg.js";
3
+ import { t as Manager } from "./Manager-DxhSby9F.js";
4
+ import { i as CameraStream } from "./types-Za6hs44v.js";
5
+ import { t as ActorRefFrom } from "./Actor-pA_tOrQP.js";
6
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-CZg50Irf.js";
7
+ import { i as TutorialIdConfig, t as Flow } from "./types-Lr7oy_-5.js";
8
8
 
9
9
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
10
10
  interface IAnalyticsCapability {
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, 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, V as IdCaptureSettings, _ 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-B_VIYINf.js";
2
- import "./deepsightService-p7oLftiG.js";
3
- import { n as PermissionStatus, t as PermissionResult } from "./types-CLuw51tO.js";
4
- import { n as warmupWasm, t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
5
- import "./Manager-C647XkuZ.js";
6
- import { i as CameraStream } from "./types-B3jgq_IJ.js";
7
- import "./Actor-DYtyiYF1.js";
8
- import "./StateMachine-B3u4LjaP.js";
9
- import "./types-Skrj9_8y.js";
1
+ import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, 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, V as IdCaptureSettings, _ 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-DjI-ueIb.js";
2
+ import "./deepsightService-c3UUVOav.js";
3
+ import { n as PermissionStatus, t as PermissionResult } from "./types-DGmAf_rg.js";
4
+ import { n as warmupWasm, t as WasmPipeline } from "./warmup-Cli0uoFe.js";
5
+ import "./Manager-DxhSby9F.js";
6
+ import { i as CameraStream } from "./types-Za6hs44v.js";
7
+ import "./Actor-pA_tOrQP.js";
8
+ import "./StateMachine-CZg50Irf.js";
9
+ import "./types-Lr7oy_-5.js";
10
10
 
11
11
  //#region ../infra/src/http/types.d.ts
12
12
  type CreateApiConfig = {
@@ -344,6 +344,7 @@ declare const eventModuleNames: {
344
344
  readonly forms: "FORMS";
345
345
  readonly customModule: "CUSTOM_MODULE";
346
346
  readonly geolocation: "GEOLOCATION";
347
+ readonly ekyb: "EKYB";
347
348
  };
348
349
  declare const eventScreenNames: {
349
350
  readonly faceMatch: "FACE_MATCH";
@@ -439,6 +440,7 @@ declare const eventScreenNames: {
439
440
  readonly digitalIdAnalysisProgress: "DIGITAL_ID_ANALYSIS_PROGRESS";
440
441
  readonly digitalIdVerificationSuccess: "DIGITAL_ID_VERIFICATION_SUCCESS";
441
442
  readonly digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED";
443
+ readonly ekybForm: "EKYB_FORM";
442
444
  };
443
445
  declare const videoSelfieEvents: {
444
446
  readonly imageTooBlurry: "imageTooBlurry";
package/dist/index.esm.js CHANGED
@@ -1,12 +1,12 @@
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-DuBPhaxY.esm.js";
2
- import "./backCameraStream-Ly-xbK9L.esm.js";
3
- import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-Bjg2C1oP.esm.js";
4
- import "./endpoints-BK1EjE1H.esm.js";
5
- import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-BrVlVGe7.esm.js";
6
- import "./deepsightService-CpmpXOnj.esm.js";
7
- import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-J0YE3G-C.esm.js";
8
- 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-D-cS-Z6o.esm.js";
9
- import "./stats-Baxc8J0w.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-1rBD3IOL.esm.js";
2
+ import "./backCameraStream-u3xcpGFM.esm.js";
3
+ import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-BAxRO0Rv.esm.js";
4
+ import "./endpoints-DsYhzvVt.esm.js";
5
+ import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-Cf-UwbXh.esm.js";
6
+ import "./deepsightService-BaQxZ72c.esm.js";
7
+ import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-BgBQu3t4.esm.js";
8
+ 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-CkOglsyM.esm.js";
9
+ import "./stats-Df76BRkJ.esm.js";
10
10
 
11
11
  //#region src/setup.ts
12
12
  let wasmConfig;
@@ -1,4 +1,4 @@
1
- import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-3k-zyWo_.esm.js";
1
+ import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-DdchHsRp.esm.js";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js
4
4
  var require_jsnlog = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js": ((exports) => {
package/dist/phone.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C647XkuZ.js";
1
+ import { t as Manager } from "./Manager-DxhSby9F.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-DuBPhaxY.esm.js";
2
- import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
3
- import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
4
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-1rBD3IOL.esm.js";
2
+ import { D as createManager, p as BrowserTimerProvider } from "./src-BAxRO0Rv.esm.js";
3
+ import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
4
+ import { t as api } from "./api-BgBQu3t4.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,11 +1,11 @@
1
- import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-p7oLftiG.js";
2
- import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-CLuw51tO.js";
3
- import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
4
- import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-5Blo_gz0.js";
5
- import { t as Manager } from "./Manager-C647XkuZ.js";
6
- import { i as CameraStream } from "./types-B3jgq_IJ.js";
7
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
8
- import { r as FlowModuleConfig } from "./types-Skrj9_8y.js";
1
+ import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-c3UUVOav.js";
2
+ import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-DGmAf_rg.js";
3
+ import { t as WasmPipeline } from "./warmup-Cli0uoFe.js";
4
+ import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-YsqEukVD.js";
5
+ import { t as Manager } from "./Manager-DxhSby9F.js";
6
+ import { i as CameraStream } from "./types-Za6hs44v.js";
7
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-CZg50Irf.js";
8
+ import { r as FlowModuleConfig } from "./types-Lr7oy_-5.js";
9
9
 
10
10
  //#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
11
11
  /**
@@ -1,12 +1,12 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
2
- import "./backCameraStream-Ly-xbK9L.esm.js";
3
- import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-Bjg2C1oP.esm.js";
4
- import { a as fromPromise, o as createActor, r as assign } from "./endpoints-BK1EjE1H.esm.js";
5
- import "./streamingEvents-BrVlVGe7.esm.js";
6
- import "./deepsightService-CpmpXOnj.esm.js";
7
- import "./api-J0YE3G-C.esm.js";
8
- import "./stats-Baxc8J0w.esm.js";
9
- 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-JLWm8_vt.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-1rBD3IOL.esm.js";
2
+ import "./backCameraStream-u3xcpGFM.esm.js";
3
+ import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BAxRO0Rv.esm.js";
4
+ import { a as fromPromise, o as createActor, r as assign } from "./endpoints-DsYhzvVt.esm.js";
5
+ import "./streamingEvents-Cf-UwbXh.esm.js";
6
+ import "./deepsightService-BaQxZ72c.esm.js";
7
+ import "./api-BgBQu3t4.esm.js";
8
+ import "./stats-Df76BRkJ.esm.js";
9
+ 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-D5B3BosZ.esm.js";
10
10
 
11
11
  //#region src/modules/selfie/selfieErrorUtils.ts
12
12
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
@@ -1,4 +1,4 @@
1
- import { a as __toDynamicImportESM } from "./chunk-3k-zyWo_.esm.js";
1
+ import { a as __toDynamicImportESM } from "./chunk-DdchHsRp.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/platform.ts
4
4
  /**
@@ -4414,7 +4414,7 @@ var MotionSensorProvider = class {
4414
4414
  let openViduImport;
4415
4415
  async function loadOpenVidu() {
4416
4416
  if (openViduImport) return openViduImport;
4417
- openViduImport = import("./lib-EkjqkOuB.esm.js").then(__toDynamicImportESM(1));
4417
+ openViduImport = import("./lib-0ctN_ZlJ.esm.js").then(__toDynamicImportESM(1));
4418
4418
  return openViduImport;
4419
4419
  }
4420
4420
 
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { t as api } from "./api-BgBQu3t4.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-J0YE3G-C.esm.js";
2
- import { t as addDeviceStats } from "./stats-Baxc8J0w.esm.js";
1
+ import "./api-BgBQu3t4.esm.js";
2
+ import { t as addDeviceStats } from "./stats-Df76BRkJ.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,6 +1,6 @@
1
- import { E as stopCameraStream, T as requestCameraAccess, b as queryCameraPermission, j as getUserAgent, k as getDeviceInfo, l as MotionSensorProvider } from "./src-Bjg2C1oP.esm.js";
2
- import { t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
3
- import { t as api } from "./api-J0YE3G-C.esm.js";
1
+ import { E as stopCameraStream, T as requestCameraAccess, b as queryCameraPermission, j as getUserAgent, k as getDeviceInfo, l as MotionSensorProvider } from "./src-BAxRO0Rv.esm.js";
2
+ import { t as endpoints } from "./endpoints-DsYhzvVt.esm.js";
3
+ import { t as api } from "./api-BgBQu3t4.esm.js";
4
4
 
5
5
  //#region src/internal/device/getBrowser.ts
6
6
  function getBrowser() {
@@ -0,0 +1,20 @@
1
+ //#region src/shared/types.d.ts
2
+ /** A single form field definition for dynamic rendering. */
3
+ type FieldDef = {
4
+ name: string;
5
+ type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
+ label: string;
7
+ placeholder?: string;
8
+ placeholderParams?: Record<string, string>;
9
+ required: boolean;
10
+ maxLength?: number;
11
+ options?: {
12
+ value: string;
13
+ label: string;
14
+ }[];
15
+ readonly?: boolean;
16
+ section?: string;
17
+ disableCountrySelector?: boolean;
18
+ };
19
+ //#endregion
20
+ export { FieldDef as t };
@@ -1,4 +1,4 @@
1
- import { t as DocumentUploadConfig } from "./types-B3jgq_IJ.js";
1
+ import { t as DocumentUploadConfig } from "./types-Za6hs44v.js";
2
2
 
3
3
  //#region src/modules/flow/types.d.ts
4
4
  type EmptyConfig = Record<string, never>;