@incodetech/core 0.0.0-dev-20260313-2675d26 → 0.0.0-dev-20260313-486e658

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 (65) hide show
  1. package/dist/authentication.d.ts +9 -9
  2. package/dist/authentication.esm.js +10 -10
  3. package/dist/{backCameraStream-DXS4n4yS.esm.js → backCameraStream-B57NWDGu.esm.js} +1 -1
  4. package/dist/curp-validation.d.ts +4 -4
  5. package/dist/curp-validation.esm.js +5 -5
  6. package/dist/{deepsightLoader-CCuD-pzB.esm.js → deepsightLoader-BXTRzhYx.esm.js} +4 -4
  7. package/dist/{deepsightService-D2rnPj53.esm.js → deepsightService-CTK55DG8.esm.js} +3 -3
  8. package/dist/{deepsightService-Dv1ILk27.d.ts → deepsightService-CYCDsan2.d.ts} +1 -1
  9. package/dist/document-capture.d.ts +49 -49
  10. package/dist/document-capture.esm.js +6 -6
  11. package/dist/document-upload.d.ts +49 -49
  12. package/dist/document-upload.esm.js +5 -5
  13. package/dist/ekyb.d.ts +2 -2
  14. package/dist/ekyb.esm.js +6 -6
  15. package/dist/ekyc.d.ts +2 -2
  16. package/dist/ekyc.esm.js +6 -6
  17. package/dist/email.d.ts +1 -1
  18. package/dist/email.esm.js +5 -5
  19. package/dist/{endpoints-PMCuQkqs.esm.js → endpoints-5sPFFmaB.esm.js} +4 -1
  20. package/dist/{events-Bf73PAdv.esm.js → events-b4_xvENs.esm.js} +2 -2
  21. package/dist/face-match.d.ts +1 -1
  22. package/dist/face-match.esm.js +5 -5
  23. package/dist/{faceCaptureManagerFactory-FEuTMK4j.d.ts → faceCaptureManagerFactory-D1NUo68Z.d.ts} +5 -5
  24. package/dist/{faceCaptureSetup-pxm6Cjua.esm.js → faceCaptureSetup-10lCb_yE.esm.js} +9 -9
  25. package/dist/flow.d.ts +14 -7
  26. package/dist/flow.esm.js +9 -5
  27. package/dist/{flowCompletionService-C2Cjw8WY.esm.js → flowCompletionService-DHXqHOAk.esm.js} +2 -2
  28. package/dist/geolocation.d.ts +1 -1
  29. package/dist/geolocation.esm.js +5 -5
  30. package/dist/government-validation.d.ts +1 -1
  31. package/dist/government-validation.esm.js +4 -4
  32. package/dist/{id-aQ6PcfVo.esm.js → id-TUJyOPso.esm.js} +14 -12
  33. package/dist/id.d.ts +9 -9
  34. package/dist/id.esm.js +10 -10
  35. package/dist/{index-C_QjKcTy.d.ts → index-5ZEjz-8I.d.ts} +8 -7
  36. package/dist/index.d.ts +32 -27
  37. package/dist/index.esm.js +23 -42
  38. package/dist/{lib-DVaeY7hq.esm.js → lib-V3Lo-Jit.esm.js} +1 -1
  39. package/dist/phone.d.ts +1 -1
  40. package/dist/phone.esm.js +5 -5
  41. package/dist/redirect-to-mobile.d.ts +106 -0
  42. package/dist/redirect-to-mobile.esm.js +338 -0
  43. package/dist/selfie.d.ts +9 -9
  44. package/dist/selfie.esm.js +10 -10
  45. package/dist/session.d.ts +1 -1
  46. package/dist/session.esm.js +3 -3
  47. package/dist/{src-BJhTmsja.esm.js → src-D3v6I2la.esm.js} +22 -6
  48. package/dist/{stats-De--Z9N5.esm.js → stats-D76Thmqp.esm.js} +1 -1
  49. package/dist/stats.esm.js +2 -2
  50. package/dist/{streamingEvents-t3E89TmG.esm.js → streamingEvents-CQq5fJCL.esm.js} +3 -3
  51. package/dist/{types-DrdrHHxZ.d.ts → types-Bn54lmeM.d.ts} +1 -1
  52. package/dist/{types-B_l5fu_D.d.ts → types-DnrAr9fb.d.ts} +1 -1
  53. package/dist/{warmup-CO10kO5G.d.ts → warmup-Da5qDIWZ.d.ts} +1 -1
  54. package/package.json +5 -1
  55. /package/dist/{Actor-SKZvDOCc.d.ts → Actor-B6Lr-x6S.d.ts} +0 -0
  56. /package/dist/{Manager-CVog-etk.d.ts → Manager-CG5CQ1kY.d.ts} +0 -0
  57. /package/dist/{StateMachine-Coiuk0UD.d.ts → StateMachine-WHeQE3lC.d.ts} +0 -0
  58. /package/dist/{api-CdJjfxTX.esm.js → api-3fZO5bmj.esm.js} +0 -0
  59. /package/dist/{camera-HI2fNiV5.d.ts → camera-D7zu0Mls.d.ts} +0 -0
  60. /package/dist/{chunk-3Wl3T5mL.esm.js → chunk-B1Ox1Owh.esm.js} +0 -0
  61. /package/dist/{flowCompletionService-DtL1jOz4.d.ts → flowCompletionService-DeWKduBI.d.ts} +0 -0
  62. /package/dist/{types-dSdX5z-n.d.ts → types-B4KNFqC4.d.ts} +0 -0
  63. /package/dist/{types-WhAUdEJw.d.ts → types-BYYaKde4.d.ts} +0 -0
  64. /package/dist/{usStates-IoVg25OV.esm.js → usStates-D4SmlpeT.esm.js} +0 -0
  65. /package/dist/{xstate.esm-yA5caGbx.esm.js → xstate.esm-07M59Cte.esm.js} +0 -0
package/dist/ekyb.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
2
- import { O as createManager } from "./src-BJhTmsja.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
4
- import { t as api } from "./api-CdJjfxTX.esm.js";
5
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
6
- import { t as usStateOptions } from "./usStates-IoVg25OV.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-b4_xvENs.esm.js";
2
+ import { A as createManager } from "./src-D3v6I2la.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-07M59Cte.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
6
+ import { t as usStateOptions } from "./usStates-D4SmlpeT.esm.js";
7
7
 
8
8
  //#region src/modules/ekyb/ekybConstants.ts
9
9
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-CVog-etk.js";
2
- import { t as FieldDef } from "./types-WhAUdEJw.js";
1
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
2
+ import { t as FieldDef } from "./types-BYYaKde4.js";
3
3
 
4
4
  //#region src/modules/ekyc/types.d.ts
5
5
  type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
package/dist/ekyc.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
2
- import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
4
- import { t as api } from "./api-CdJjfxTX.esm.js";
5
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
6
- import { t as usStateOptions } from "./usStates-IoVg25OV.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-b4_xvENs.esm.js";
2
+ import { A as createManager, g as BrowserTimerProvider } from "./src-D3v6I2la.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
6
+ import { t as usStateOptions } from "./usStates-D4SmlpeT.esm.js";
7
7
 
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
9
9
  var metadata_min_json_default = {
package/dist/email.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-CVog-etk.js";
1
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
2
2
 
3
3
  //#region src/modules/email/types.d.ts
4
4
 
package/dist/email.esm.js CHANGED
@@ -1,8 +1,8 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
2
- import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
4
- import { t as api } from "./api-CdJjfxTX.esm.js";
5
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-b4_xvENs.esm.js";
2
+ import { A as createManager, g as BrowserTimerProvider } from "./src-D3v6I2la.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
6
6
 
7
7
  //#region src/modules/email/emailServices.ts
8
8
  async function fetchEmail(signal) {
@@ -49,7 +49,10 @@ const endpoints = {
49
49
  documentV3: "/omni/add/document/v3",
50
50
  documentLegacy: "/omni/add/document",
51
51
  cfdi: "/omni/process/cfdi",
52
- finishStatus: "/omni/finish-status"
52
+ finishStatus: "/omni/finish-status",
53
+ onboardingUrl: "/omni/onboarding-url",
54
+ sendRedirectSms: "/omni/notify/send-sms",
55
+ qrRefreshUuid: "/omni/qr/refresh"
53
56
  };
54
57
 
55
58
  //#endregion
@@ -1,5 +1,5 @@
1
- import { i as isApiConfigured, r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
2
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { i as isApiConfigured, r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
2
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
3
3
 
4
4
  //#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
5
5
  function getTimestamp() {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-CVog-etk.js";
1
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
2
2
 
3
3
  //#region src/modules/face-match/types.d.ts
4
4
 
@@ -1,8 +1,8 @@
1
- import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
2
- import { O as createManager } from "./src-BJhTmsja.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
4
- import { t as api } from "./api-CdJjfxTX.esm.js";
5
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-b4_xvENs.esm.js";
2
+ import { A as createManager } from "./src-D3v6I2la.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-07M59Cte.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
6
6
 
7
7
  //#region src/modules/face-match/faceMatchServices.ts
8
8
  /**
@@ -1,8 +1,8 @@
1
- import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-dSdX5z-n.js";
2
- import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
3
- import { t as Manager } from "./Manager-CVog-etk.js";
4
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
5
- import { t as Flow } from "./types-DrdrHHxZ.js";
1
+ import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-B4KNFqC4.js";
2
+ import { n as WasmPipeline } from "./warmup-Da5qDIWZ.js";
3
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
4
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
5
+ import { t as Flow } from "./types-Bn54lmeM.js";
6
6
 
7
7
  //#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
8
8
  type WasmUtilConfig = MLProviderConfig & {
@@ -1,11 +1,11 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
2
- import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
3
- import { D as stopCameraStream, E as requestCameraAccess, O as createManager, a as FaceDetectionProvider, b as StreamCanvasCapture, d as LocalRecordingProvider, l as OpenViduRecordingProvider, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
4
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
5
- import { a as uploadDeepsightVideo, i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-t3E89TmG.esm.js";
6
- import { r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
7
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
8
- import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-b4_xvENs.esm.js";
2
+ import { t as getBackCameraStream } from "./backCameraStream-B57NWDGu.esm.js";
3
+ import { A as createManager, O as requestCameraAccess, S as StreamCanvasCapture, d as OpenViduRecordingProvider, k as stopCameraStream, p as LocalRecordingProvider, s as FaceDetectionProvider, x as StreamCanvasProcessingSession } from "./src-D3v6I2la.esm.js";
4
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
5
+ import { a as uploadDeepsightVideo, i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-CQq5fJCL.esm.js";
6
+ import { r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
7
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
8
+ import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
9
9
 
10
10
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
11
11
  function getPermissionStatus(snapshot) {
@@ -445,7 +445,7 @@ async function stopRecording(session) {
445
445
  }
446
446
  }
447
447
  async function initializeDeepsightSession(options) {
448
- const { loadDeepsightSession } = await import("./deepsightLoader-CCuD-pzB.esm.js");
448
+ const { loadDeepsightSession } = await import("./deepsightLoader-BXTRzhYx.esm.js");
449
449
  return loadDeepsightSession({
450
450
  ds: options.ds,
451
451
  storage: options.storage
package/dist/flow.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
2
- import { t as Manager } from "./Manager-CVog-etk.js";
3
- import "./camera-HI2fNiV5.js";
4
- import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
5
- import "./types-B_l5fu_D.js";
6
- import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-DrdrHHxZ.js";
7
- import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DtL1jOz4.js";
1
+ import { n as WasmPipeline } from "./warmup-Da5qDIWZ.js";
2
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
3
+ import "./camera-D7zu0Mls.js";
4
+ import { t as AnyStateMachine } from "./StateMachine-WHeQE3lC.js";
5
+ import "./types-DnrAr9fb.js";
6
+ import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-Bn54lmeM.js";
7
+ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DeWKduBI.js";
8
8
 
9
9
  //#region src/modules/flow/flowUtils.d.ts
10
10
 
@@ -195,6 +195,8 @@ type OrchestratedFlowEvent = {
195
195
  type: 'RESET';
196
196
  } | {
197
197
  type: 'MODULE_COMPLETE';
198
+ } | {
199
+ type: 'COMPLETE_FLOW';
198
200
  } | {
199
201
  type: '*';
200
202
  [key: string]: unknown;
@@ -264,6 +266,11 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
264
266
  * ```
265
267
  */
266
268
  completeModule(): void;
269
+ /**
270
+ * Skip all remaining modules and go straight to the completion step.
271
+ * Used when the flow was completed externally (e.g. via redirect to mobile).
272
+ */
273
+ completeFlow(): void;
267
274
  /**
268
275
  * Signal that the current module encountered an error.
269
276
  * Call this from your UI component's `onError` callback if you want
package/dist/flow.esm.js CHANGED
@@ -1,8 +1,8 @@
1
- import { O as createManager } from "./src-BJhTmsja.esm.js";
2
- import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
3
- import { t as api } from "./api-CdJjfxTX.esm.js";
4
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
5
- import { t as getFinishStatus } from "./flowCompletionService-C2Cjw8WY.esm.js";
1
+ import { A as createManager } from "./src-D3v6I2la.esm.js";
2
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
5
+ import { t as getFinishStatus } from "./flowCompletionService-DHXqHOAk.esm.js";
6
6
 
7
7
  //#region src/modules/flow/flowUtils.ts
8
8
  const WASM_MODULE_PIPELINES = {
@@ -531,6 +531,7 @@ const orchestratedFlowMachine = setup({
531
531
  target: "error",
532
532
  actions: assign(({ event }) => ({ error: String(event.error) }))
533
533
  },
534
+ COMPLETE_FLOW: { target: "completing" },
534
535
  RESET: {
535
536
  target: "idle",
536
537
  actions: "resetContext"
@@ -634,6 +635,9 @@ function createApi({ actor, getSnapshot }) {
634
635
  completeModule() {
635
636
  actor.send({ type: "MODULE_COMPLETE" });
636
637
  },
638
+ completeFlow() {
639
+ actor.send({ type: "COMPLETE_FLOW" });
640
+ },
637
641
  errorModule(error) {
638
642
  actor.send({
639
643
  type: "MODULE_ERROR",
@@ -1,5 +1,5 @@
1
- import { t as api } from "./api-CdJjfxTX.esm.js";
2
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { t as api } from "./api-3fZO5bmj.esm.js";
2
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
3
3
 
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-CVog-etk.js";
1
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/IGeolocationCapability.d.ts
4
4
  type GeolocationCoords = {
@@ -1,8 +1,8 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
2
- import { F as isIOS, N as isAndroid, O as createManager, v as BrowserGeolocationProvider } from "./src-BJhTmsja.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
4
- import { t as api } from "./api-CdJjfxTX.esm.js";
5
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-b4_xvENs.esm.js";
2
+ import { A as createManager, F as isAndroid, L as isIOS, b as BrowserGeolocationProvider } from "./src-D3v6I2la.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-07M59Cte.esm.js";
4
+ import { t as api } from "./api-3fZO5bmj.esm.js";
5
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
6
6
 
7
7
  //#region src/modules/geolocation/geolocationServices.ts
8
8
  async function addGeolocation(params, signal) {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-CVog-etk.js";
1
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
2
2
 
3
3
  //#region src/modules/government-validation/types.d.ts
4
4
  type GovernmentValidationConfig = {
@@ -1,7 +1,7 @@
1
- import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
2
- import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
3
- import { t as api } from "./api-CdJjfxTX.esm.js";
4
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { A as createManager, g as BrowserTimerProvider } from "./src-D3v6I2la.esm.js";
2
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
5
5
 
6
6
  //#region src/modules/government-validation/governmentValidationServices.ts
7
7
  async function processGovernmentValidation(signal) {
@@ -1,12 +1,12 @@
1
- import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
2
- import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
3
- import { C as IncodeCanvas, O as createManager, P as isDesktop, _ as BrowserEnvironmentProvider, b as StreamCanvasCapture, f as IpifyProvider, g as BrowserInfoProvider, h as BrowserStorageProvider, i as IdCaptureProvider, j as getWindowDimensions, l as OpenViduRecordingProvider, m as BrowserTimerProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as FingerprintProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
4
- import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
5
- import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-t3E89TmG.esm.js";
6
- import { n as isBrowserSimulation } from "./deepsightService-D2rnPj53.esm.js";
7
- import { n as getApi, r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
8
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
9
- import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
1
+ import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-b4_xvENs.esm.js";
2
+ import { t as getBackCameraStream } from "./backCameraStream-B57NWDGu.esm.js";
3
+ import { A as createManager, I as isDesktop, N as getWindowDimensions, S as StreamCanvasCapture, T as IncodeCanvas, _ as BrowserStorageProvider, d as OpenViduRecordingProvider, g as BrowserTimerProvider, h as FingerprintProvider, i as DEFAULT_ID_CAPTURE_THRESHOLDS, m as IpifyProvider, o as IdCaptureProvider, r as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as BrowserInfoProvider, x as StreamCanvasProcessingSession, y as BrowserEnvironmentProvider } from "./src-D3v6I2la.esm.js";
4
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
5
+ import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-CQq5fJCL.esm.js";
6
+ import { n as isBrowserSimulation } from "./deepsightService-CTK55DG8.esm.js";
7
+ import { n as getApi, r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
8
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
9
+ import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
10
10
 
11
11
  //#region src/internal/session/sessionService.ts
12
12
  /**
@@ -298,7 +298,8 @@ const DEFAULT_ID_CAPTURE_SETTINGS = {
298
298
  blurCheckEnabled: false,
299
299
  glareCheckEnabled: false,
300
300
  faceQualityCheckEnabled: true,
301
- iouCheckEnabled: true
301
+ iouCheckEnabled: true,
302
+ fpsLimitEnabled: false
302
303
  };
303
304
  async function initializeIdCapture(params) {
304
305
  const { config, deepsightService } = params;
@@ -685,7 +686,8 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
685
686
  blurCheckEnabled: input.config.settings?.blurCheckEnabled ?? false,
686
687
  glareCheckEnabled: input.config.settings?.glareCheckEnabled ?? false,
687
688
  faceQualityCheckEnabled: input.config.settings?.faceQualityCheckEnabled ?? true,
688
- iouCheckEnabled: input.config.settings?.iouCheckEnabled ?? true
689
+ iouCheckEnabled: input.config.settings?.iouCheckEnabled ?? true,
690
+ fpsLimitEnabled: input.config.settings?.fpsLimitEnabled ?? false
689
691
  });
690
692
  const thresholds = {
691
693
  ...DEFAULT_ID_CAPTURE_THRESHOLDS,
@@ -896,7 +898,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
896
898
  });
897
899
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
898
900
  if (!input.dependencies) return;
899
- const { loadDeepsightSession } = await import("./deepsightLoader-CCuD-pzB.esm.js");
901
+ const { loadDeepsightSession } = await import("./deepsightLoader-BXTRzhYx.esm.js");
900
902
  return loadDeepsightSession({
901
903
  ds: input.ds,
902
904
  storage: input.dependencies.storage,
package/dist/id.d.ts CHANGED
@@ -1,10 +1,10 @@
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-C_QjKcTy.js";
2
- import "./deepsightService-Dv1ILk27.js";
3
- import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
4
- import "./Manager-CVog-etk.js";
5
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
6
- import "./Actor-SKZvDOCc.js";
7
- import "./StateMachine-Coiuk0UD.js";
8
- import "./types-B_l5fu_D.js";
9
- import "./types-DrdrHHxZ.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-5ZEjz-8I.js";
2
+ import "./deepsightService-CYCDsan2.js";
3
+ import { n as PermissionStatus, t as PermissionResult } from "./types-B4KNFqC4.js";
4
+ import "./Manager-CG5CQ1kY.js";
5
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
6
+ import "./Actor-B6Lr-x6S.js";
7
+ import "./StateMachine-WHeQE3lC.js";
8
+ import "./types-DnrAr9fb.js";
9
+ import "./types-Bn54lmeM.js";
10
10
  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,12 +1,12 @@
1
- import "./events-Bf73PAdv.esm.js";
2
- import "./backCameraStream-DXS4n4yS.esm.js";
3
- import "./src-BJhTmsja.esm.js";
4
- import "./xstate.esm-yA5caGbx.esm.js";
5
- import "./streamingEvents-t3E89TmG.esm.js";
6
- import "./deepsightService-D2rnPj53.esm.js";
7
- import "./api-CdJjfxTX.esm.js";
8
- import "./endpoints-PMCuQkqs.esm.js";
9
- 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-aQ6PcfVo.esm.js";
10
- import "./stats-De--Z9N5.esm.js";
1
+ import "./events-b4_xvENs.esm.js";
2
+ import "./backCameraStream-B57NWDGu.esm.js";
3
+ import "./src-D3v6I2la.esm.js";
4
+ import "./xstate.esm-07M59Cte.esm.js";
5
+ import "./streamingEvents-CQq5fJCL.esm.js";
6
+ import "./deepsightService-CTK55DG8.esm.js";
7
+ import "./api-3fZO5bmj.esm.js";
8
+ import "./endpoints-5sPFFmaB.esm.js";
9
+ 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-TUJyOPso.esm.js";
10
+ import "./stats-D76Thmqp.esm.js";
11
11
 
12
12
  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-Dv1ILk27.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-dSdX5z-n.js";
3
- import { t as Manager } from "./Manager-CVog-etk.js";
4
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
5
- import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
6
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
7
- import { i as TutorialIdConfig, t as Flow } from "./types-DrdrHHxZ.js";
1
+ import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-CYCDsan2.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-B4KNFqC4.js";
3
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
4
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
5
+ import { t as ActorRefFrom } from "./Actor-B6Lr-x6S.js";
6
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-WHeQE3lC.js";
7
+ import { i as TutorialIdConfig, t as Flow } from "./types-Bn54lmeM.js";
8
8
 
9
9
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
10
10
  interface IAnalyticsCapability {
@@ -55,6 +55,7 @@ interface IdCaptureSettings {
55
55
  glareCheckEnabled: boolean;
56
56
  faceQualityCheckEnabled: boolean;
57
57
  iouCheckEnabled: boolean;
58
+ fpsLimitEnabled: boolean;
58
59
  }
59
60
  type IdCaptureModelType = 'v1' | 'v2' | 'v3';
60
61
  type DetectionOrientation = 'horizontal' | 'vertical';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
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-C_QjKcTy.js";
2
- import "./deepsightService-Dv1ILk27.js";
3
- import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
4
- import { n as warmupWasm, t as WasmPipeline } from "./warmup-CO10kO5G.js";
5
- import "./Manager-CVog-etk.js";
6
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
7
- import "./Actor-SKZvDOCc.js";
8
- import "./StateMachine-Coiuk0UD.js";
9
- import "./types-B_l5fu_D.js";
10
- import "./types-DrdrHHxZ.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-5ZEjz-8I.js";
2
+ import "./deepsightService-CYCDsan2.js";
3
+ import { n as PermissionStatus, t as PermissionResult } from "./types-B4KNFqC4.js";
4
+ import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-Da5qDIWZ.js";
5
+ import "./Manager-CG5CQ1kY.js";
6
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
7
+ import "./Actor-B6Lr-x6S.js";
8
+ import "./StateMachine-WHeQE3lC.js";
9
+ import "./types-DnrAr9fb.js";
10
+ import "./types-Bn54lmeM.js";
11
11
 
12
12
  //#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
13
13
  type ScreenOrientationState = 'portrait' | 'landscape';
@@ -82,6 +82,12 @@ declare class ScreenOrientationProvider implements IScreenOrientationCapability
82
82
  private updateState;
83
83
  }
84
84
  //#endregion
85
+ //#region ../infra/src/wasm/wasmDefaults.d.ts
86
+ /** The WASM version bundled and tested with this SDK release. */
87
+ declare const DEFAULT_WASM_VERSION = "v2.12.84";
88
+ /** Builds the standard WarmupConfig from the Incode CDN. */
89
+ declare function buildDefaultWasmConfig(): WarmupConfig;
90
+ //#endregion
85
91
  //#region src/internal/device/getBrowser.d.ts
86
92
  type Browser = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'other' | 'samsung_browser';
87
93
  declare function getBrowser(): Browser;
@@ -275,8 +281,13 @@ type SetupOptions = {
275
281
  customHeaders?: Record<string, string>;
276
282
  /** Request timeout in milliseconds */
277
283
  timeout?: number;
278
- /** Optional WASM warmup config - if provided, preloads WASM and ML models */
279
- wasm?: WasmConfig;
284
+ /**
285
+ * WASM warmup config.
286
+ * - Omit (default): loads automatically from the Incode CDN using the SDK's built-in version.
287
+ * - `false`: opt out of WASM entirely.
288
+ * - Object: override paths for self-hosting or a specific version.
289
+ */
290
+ wasm?: WasmConfig | false;
280
291
  /** Optional hosting app identifier for fingerprint tracking */
281
292
  hostingApp?: string;
282
293
  };
@@ -284,8 +295,7 @@ type SetupOptions = {
284
295
  * Initializes the SDK with the provided configuration.
285
296
  * Must be called before using any SDK functionality.
286
297
  *
287
- * If `wasm` config is provided, this function becomes async and will
288
- * preload WASM binary and ML models. Otherwise, it's synchronous.
298
+ * WASM loads automatically from the Incode CDN unless explicitly disabled or overridden.
289
299
  *
290
300
  * @param options - Configuration options for the SDK
291
301
  *
@@ -293,24 +303,19 @@ type SetupOptions = {
293
303
  * ```ts
294
304
  * import { setup, createSession } from '@incodetech/core';
295
305
  *
296
- * // Setup with API URL first (for session creation)
297
- * await setup({ apiURL: 'https://api.incode.com' });
298
- * const session = await createSession('api-key', { configurationId: 'flow-id' });
306
+ * // Zero-config: WASM loads automatically from CDN
307
+ * await setup({ apiURL: 'https://api.incode.com', token: 'session-token' });
299
308
  *
300
- * // Basic setup with token
301
- * await setup({
302
- * apiURL: 'https://api.incode.com',
303
- * token: 'session-token',
304
- * });
309
+ * // Opt out of WASM
310
+ * await setup({ apiURL: 'https://api.incode.com', token: 'session-token', wasm: false });
305
311
  *
306
- * // Setup with WASM warmup
312
+ * // Self-hosted / custom version
307
313
  * await setup({
308
314
  * apiURL: 'https://api.incode.com',
309
315
  * token: 'session-token',
310
316
  * wasm: {
311
- * wasmPath: '/wasm/ml-wasm.wasm',
312
- * glueCodePath: '/wasm/ml-wasm.js',
313
- * pipelines: ['selfie', 'idCapture'],
317
+ * wasmPath: '/my-cdn/webLib.wasm',
318
+ * glueCodePath: '/my-cdn/webLib.js',
314
319
  * },
315
320
  * });
316
321
  * ```
@@ -562,4 +567,4 @@ declare function moduleClosed(module: EventModule | string, screen?: EventScreen
562
567
  declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
563
568
  declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
564
569
  //#endregion
565
- export { type Browser, CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, type CreateSessionOptions, DetectionArea, DetectionOrientation, DetectionStatus, type DeviceClass, type Event, type EventModule, type EventScreen, type HttpClient, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, RecordingSession, type ScreenOrientationObserver, ScreenOrientationProvider, type Session, type SessionInitOptions, type SessionInitResult, type SetupOptions, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, type WasmConfig, type WasmPipeline, addEvent, api, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi, createIdCaptureActor, createIdCaptureManager, createScreenOrientationObserver, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isIPad, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };
570
+ export { type Browser, CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, type CreateSessionOptions, DEFAULT_WASM_VERSION, DetectionArea, DetectionOrientation, DetectionStatus, type DeviceClass, type Event, type EventModule, type EventScreen, type HttpClient, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, RecordingSession, type ScreenOrientationObserver, ScreenOrientationProvider, type Session, type SessionInitOptions, type SessionInitResult, type SetupOptions, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, type WasmConfig, type WasmPipeline, addEvent, api, buildDefaultWasmConfig, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi, createIdCaptureActor, createIdCaptureManager, createScreenOrientationObserver, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isIPad, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };