@incodetech/core 0.0.0-dev-20260422-9672ed5 → 0.0.0-dev-20260423-427a341

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 (157) hide show
  1. package/dist/{OpenViduRecordingProvider-TbcsfOCu.esm.js → OpenViduRecordingProvider-3SvbmWdi.esm.js} +1 -1
  2. package/dist/{WasmUtilProvider-BwRC5keX.esm.js → WasmUtilProvider-DmbBSMl1.esm.js} +1 -1
  3. package/dist/{addressSearch-Cs4y7OGF.esm.js → addressSearch-BvpzLWr4.esm.js} +4 -4
  4. package/dist/{ae-signature-CEiF03Dz.esm.js → ae-signature-21vUGDha.esm.js} +1 -1
  5. package/dist/ae-signature.d.ts +3 -3
  6. package/dist/ae-signature.esm.js +5 -5
  7. package/dist/antifraud.d.ts +1 -1
  8. package/dist/antifraud.esm.js +4 -4
  9. package/dist/{antifraudStateMachine-DLKrV0J6.esm.js → antifraudStateMachine-CIa-IPvP.esm.js} +3 -3
  10. package/dist/authentication.d.ts +11 -11
  11. package/dist/authentication.esm.js +22 -22
  12. package/dist/{authenticationManager-BrjOuXTA.d.ts → authenticationManager-Bv9qL5fe.d.ts} +2 -2
  13. package/dist/{authenticationManager-D64D2deE.esm.js → authenticationManager-WLXkr-r0.esm.js} +6 -6
  14. package/dist/{authenticationStateMachine-CureH7Ki.esm.js → authenticationStateMachine-BifJqMei.esm.js} +6 -6
  15. package/dist/{backCameraStream-BEyWAklK.esm.js → backCameraStream-DSwtYHuO.esm.js} +3 -3
  16. package/dist/camera.d.ts +5 -3
  17. package/dist/camera.esm.js +3 -3
  18. package/dist/consent.d.ts +52 -52
  19. package/dist/consent.esm.js +4 -4
  20. package/dist/{consentStateMachine-DKjhzrg2.esm.js → consentStateMachine-DqiR30gw.esm.js} +3 -3
  21. package/dist/cross-document-data-match.d.ts +1 -1
  22. package/dist/cross-document-data-match.esm.js +4 -4
  23. package/dist/curp-validation.d.ts +5 -5
  24. package/dist/curp-validation.esm.js +4 -4
  25. package/dist/{curpValidationStateMachine-DC-f6gLD.esm.js → curpValidationStateMachine-Bp-V13CB.esm.js} +3 -3
  26. package/dist/custom-fields.d.ts +2 -2
  27. package/dist/custom-fields.esm.js +3 -3
  28. package/dist/custom-watchlist.d.ts +1 -1
  29. package/dist/custom-watchlist.esm.js +4 -4
  30. package/dist/{deepsightLoader-6U4vWDdn.esm.js → deepsightLoader-BTrehKGp.esm.js} +10 -10
  31. package/dist/{deepsightService-DwQsyY5W.esm.js → deepsightService-B0Z-9gmQ.esm.js} +5 -5
  32. package/dist/{deepsightService-69fWIZyA.d.ts → deepsightService-BknZgccc.d.ts} +2 -2
  33. package/dist/device.esm.js +3 -3
  34. package/dist/document-capture.d.ts +76 -76
  35. package/dist/document-capture.esm.js +8 -8
  36. package/dist/document-upload.d.ts +47 -47
  37. package/dist/document-upload.esm.js +7 -7
  38. package/dist/{documentCaptureStateMachine-CdMjWoaL.esm.js → documentCaptureStateMachine-CtMhD27q.esm.js} +5 -5
  39. package/dist/ekyb.d.ts +3 -3
  40. package/dist/ekyb.esm.js +10 -10
  41. package/dist/{ekybStateMachine-DyqxW4QC.esm.js → ekybStateMachine-Bn-pLTcp.esm.js} +5 -5
  42. package/dist/ekyc.d.ts +3 -3
  43. package/dist/ekyc.esm.js +6 -6
  44. package/dist/{ekycStateMachine-CCA3-VgA.esm.js → ekycStateMachine-Nmn0Alq9.esm.js} +4 -4
  45. package/dist/electronic-signature.d.ts +3 -3
  46. package/dist/electronic-signature.esm.js +4 -4
  47. package/dist/{electronicSignatureManager-BzCvY11w.esm.js → electronicSignatureManager-DAkg8MF6.esm.js} +3 -3
  48. package/dist/email.d.ts +3 -3
  49. package/dist/email.esm.js +6 -6
  50. package/dist/{emailManager-CrgNddfO.esm.js → emailManager-o6B6AYuE.esm.js} +3 -3
  51. package/dist/{emailManager-BjaZRPOE.d.ts → emailManager-q2qVoNbM.d.ts} +2 -2
  52. package/dist/{emailStateMachine-CU7vLH9D.esm.js → emailStateMachine-B5M_HlVm.esm.js} +4 -4
  53. package/dist/{events-CV5uidDd.esm.js → events-Deg_qfet.esm.js} +4 -2
  54. package/dist/events.d.ts +1 -0
  55. package/dist/events.esm.js +2 -2
  56. package/dist/extensibility.d.ts +15 -15
  57. package/dist/extensibility.esm.js +33 -33
  58. package/dist/face-match.d.ts +1 -1
  59. package/dist/face-match.esm.js +4 -4
  60. package/dist/{faceCaptureManagerFactory-CMdOPsTP.esm.js → faceCaptureManagerFactory-Bq_skXK4.esm.js} +2 -2
  61. package/dist/{faceCaptureManagerFactory-GTqrsqKv.d.ts → faceCaptureManagerFactory-DAQqd0EL.d.ts} +8 -8
  62. package/dist/{faceCaptureSetup-C65JUwp_.esm.js → faceCaptureSetup-C9RqcwR9.esm.js} +7 -6
  63. package/dist/{faceMatchStateMachine-Di16HdSh.esm.js → faceMatchStateMachine-DCh79GWp.esm.js} +3 -3
  64. package/dist/flow.d.ts +8 -8
  65. package/dist/flow.esm.js +9 -9
  66. package/dist/{flowCompletionService-CPVnNnJ9.esm.js → flowCompletionService-BnZC_DV0.esm.js} +2 -2
  67. package/dist/{flowServices-vi1byokq.esm.js → flowServices-s0CiH0WO.esm.js} +13 -3
  68. package/dist/geolocation.d.ts +2 -2
  69. package/dist/geolocation.esm.js +5 -5
  70. package/dist/{geolocationStateMachine-DsN-Fw45.esm.js → geolocationStateMachine-CxQCX2NJ.esm.js} +4 -4
  71. package/dist/{getDeviceClass-Cs-jWK1p.esm.js → getDeviceClass-DStKSj3Q.esm.js} +1 -1
  72. package/dist/government-validation.d.ts +2 -2
  73. package/dist/government-validation.esm.js +5 -5
  74. package/dist/{governmentValidationStateMachine-BZBLJrpr.esm.js → governmentValidationStateMachine-L7nwlJPw.esm.js} +4 -4
  75. package/dist/home.d.ts +14 -14
  76. package/dist/home.esm.js +3 -3
  77. package/dist/http.esm.js +1 -1
  78. package/dist/id.d.ts +10 -10
  79. package/dist/id.esm.js +22 -22
  80. package/dist/{idCaptureManager-CvRf3c1m.d.ts → idCaptureManager-C2L4R8rT.d.ts} +7 -7
  81. package/dist/{idCaptureManager-CLJJoV74.esm.js → idCaptureManager-Cuq1R8jW.esm.js} +4 -4
  82. package/dist/{idCaptureStateMachine-DJGWsVbh.esm.js → idCaptureStateMachine-B1eBofuq.esm.js} +19 -18
  83. package/dist/identity-reuse.d.ts +49 -49
  84. package/dist/identity-reuse.esm.js +3 -3
  85. package/dist/{index-C4L3Okdp.d.ts → index-DMN6Upfk.d.ts} +120 -120
  86. package/dist/index.d.ts +2 -2
  87. package/dist/index.esm.js +8 -8
  88. package/dist/{lib-DO0i6JDP.esm.js → lib-DP0jsq7O.esm.js} +1 -1
  89. package/dist/mandatory-consent.d.ts +55 -55
  90. package/dist/mandatory-consent.esm.js +4 -4
  91. package/dist/{mandatoryConsentStateMachine-QSbgUA99.esm.js → mandatoryConsentStateMachine-Bjqy6QyQ.esm.js} +3 -3
  92. package/dist/openviduLazy-7pgMhjPB.esm.js +3 -0
  93. package/dist/{openviduLazy-DXvuyuON.esm.js → openviduLazy-CYviBULf.esm.js} +2 -2
  94. package/dist/{permissionServices-7GX060Fo.esm.js → permissionServices-BJJE4sgW.esm.js} +4 -4
  95. package/dist/phone.d.ts +3 -3
  96. package/dist/phone.esm.js +6 -6
  97. package/dist/{phoneManager-D9CsGQPS.esm.js → phoneManager-C4QrFxRg.esm.js} +3 -3
  98. package/dist/{phoneManager-B06CapY3.d.ts → phoneManager-DBwE-qB0.d.ts} +3 -3
  99. package/dist/{phoneStateMachine-BDojEAdF.esm.js → phoneStateMachine-CMbJx57_.esm.js} +55 -39
  100. package/dist/{qe-signature-CLoM_jp6.esm.js → qe-signature-D7Ou3WtG.esm.js} +1 -1
  101. package/dist/qe-signature.d.ts +3 -3
  102. package/dist/qe-signature.esm.js +5 -5
  103. package/dist/{recordingService-DX6MuFa9.esm.js → recordingService-CtcIvA3E.esm.js} +13 -13
  104. package/dist/redirect-to-mobile.d.ts +2 -2
  105. package/dist/redirect-to-mobile.esm.js +5 -5
  106. package/dist/{redirectToMobileStateMachine-DwN4kV4j.esm.js → redirectToMobileStateMachine-CtWjarUj.esm.js} +4 -4
  107. package/dist/{runChildModule-CTY5xbQe.esm.js → runChildModule-DM84wxzE.esm.js} +1 -1
  108. package/dist/selfie.d.ts +11 -11
  109. package/dist/selfie.esm.js +22 -22
  110. package/dist/{selfieManager-BKRNGlRn.d.ts → selfieManager-Cfp4MKMu.d.ts} +2 -2
  111. package/dist/{selfieManager-BnBJ47OE.esm.js → selfieManager-CoyIn3Zl.esm.js} +6 -6
  112. package/dist/{selfieStateMachine-DbI8xrNK.esm.js → selfieStateMachine-CsI9YnHz.esm.js} +3 -3
  113. package/dist/{session-B80VcUre.esm.js → session-CrOl1xma.esm.js} +4 -4
  114. package/dist/session.d.ts +1 -1
  115. package/dist/session.esm.js +6 -6
  116. package/dist/{setup-ClMhlqda.esm.js → setup-BFXhW7cP.esm.js} +5 -5
  117. package/dist/{setup-pTsFPcze.d.ts → setup-VJbRmBIU.d.ts} +1 -1
  118. package/dist/signature.d.ts +2 -2
  119. package/dist/signature.esm.js +4 -4
  120. package/dist/{signatureStateMachine-C8qfgEjP.esm.js → signatureStateMachine-yaoE2OEY.esm.js} +3 -3
  121. package/dist/{stats-UZA4FM8j.esm.js → stats-BEwRvZG4.esm.js} +1 -1
  122. package/dist/stats.esm.js +2 -2
  123. package/dist/{types-DH6IUrUs.d.ts → types-BINKuP3l.d.ts} +1 -1
  124. package/dist/{types-A5Ncg34e.d.ts → types-BmHAVvm0.d.ts} +1 -1
  125. package/dist/{types-DoC698nG.d.ts → types-CgZVig-j.d.ts} +1 -1
  126. package/dist/wasm.d.ts +2 -2
  127. package/dist/wasm.esm.js +8 -8
  128. package/dist/watchlist-for-business.d.ts +79 -0
  129. package/dist/watchlist-for-business.esm.js +147 -0
  130. package/dist/watchlist.d.ts +1 -1
  131. package/dist/watchlist.esm.js +4 -4
  132. package/dist/{watchlistServices-CgFJcYl1.esm.js → watchlistServices-D2I0AZb-.esm.js} +2 -2
  133. package/dist/workflow.d.ts +116 -116
  134. package/dist/workflow.esm.js +44 -44
  135. package/package.json +43 -1
  136. package/dist/openviduLazy-COOSpMUH.esm.js +0 -3
  137. /package/dist/{Actor-B15bmdr9.d.ts → Actor-B-9T-DlO.d.ts} +0 -0
  138. /package/dist/{BaseWasmProvider-CBJzNbhW.esm.js → BaseWasmProvider-Cf3MNlAN.esm.js} +0 -0
  139. /package/dist/{BrowserStorageProvider-BZEFyh0O.esm.js → BrowserStorageProvider-Drw72wvG.esm.js} +0 -0
  140. /package/dist/{BrowserTimerProvider-N8UcbvU5.esm.js → BrowserTimerProvider-Dav3_fFy.esm.js} +0 -0
  141. /package/dist/{ITimerCapability-DS0Vjetp.esm.js → ITimerCapability-BriAkEyj.esm.js} +0 -0
  142. /package/dist/{IpifyProvider-6IaiettD.esm.js → IpifyProvider-j8lI27Fq.esm.js} +0 -0
  143. /package/dist/{Manager-gbK55c4u.d.ts → Manager-BCd4NBhe.d.ts} +0 -0
  144. /package/dist/{MotionSensorProvider-BVO7P6PB.esm.js → MotionSensorProvider-DYYBm_bL.esm.js} +0 -0
  145. /package/dist/{StateMachine-CnfoQpTv.d.ts → StateMachine-BNiyEj7J.d.ts} +0 -0
  146. /package/dist/{api-jWFd-4Qh.esm.js → api-CzVamIBG.esm.js} +0 -0
  147. /package/dist/{browserSimulation-B_fiWprz.esm.js → browserSimulation-C4a2KVIY.esm.js} +0 -0
  148. /package/dist/{camera-BORJdHZf.d.ts → camera-BZfRhPh2.d.ts} +0 -0
  149. /package/dist/{camera-YfPOKQXU.esm.js → camera-DaD3X_7m.esm.js} +0 -0
  150. /package/dist/{chunk-53AOVIGS.esm.js → chunk-DZf7laLq.esm.js} +0 -0
  151. /package/dist/{displayErrors-DUu76JT9.d.ts → displayErrors-YTUUYe7G.d.ts} +0 -0
  152. /package/dist/{flowCompletionService-BHqAcsOI.d.ts → flowCompletionService-MFzwlktR.d.ts} +0 -0
  153. /package/dist/{getBrowser-Bcjdnapi.esm.js → getBrowser-DxB_n8-W.esm.js} +0 -0
  154. /package/dist/{platform-uIVQUnJP.esm.js → platform-CTBj7PrA.esm.js} +0 -0
  155. /package/dist/{types-BEXctSKO.d.ts → types-CZwSG43_.d.ts} +0 -0
  156. /package/dist/{warmup-HP7iIGir.d.ts → warmup-BR9x_9iz.d.ts} +0 -0
  157. /package/dist/{xstate.esm-DMwldSzU.esm.js → xstate.esm-BXNheqIe.esm.js} +0 -0
@@ -1,12 +1,12 @@
1
- import { i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-CBJzNbhW.esm.js";
2
- import { t as api } from "./api-jWFd-4Qh.esm.js";
3
- import { _ as endpoints } from "./events-CV5uidDd.esm.js";
4
- import { n as IncodeCanvas } from "./deepsightService-DwQsyY5W.esm.js";
5
- import { i as stopCameraStream, r as requestCameraAccess } from "./camera-YfPOKQXU.esm.js";
6
- import { t as addDeviceStats } from "./stats-UZA4FM8j.esm.js";
7
- import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-uIVQUnJP.esm.js";
8
- import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-BEyWAklK.esm.js";
9
- import { t as getDeviceClass } from "./getDeviceClass-Cs-jWK1p.esm.js";
1
+ import { i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-Cf3MNlAN.esm.js";
2
+ import { t as api } from "./api-CzVamIBG.esm.js";
3
+ import { _ as endpoints } from "./events-Deg_qfet.esm.js";
4
+ import { n as IncodeCanvas } from "./deepsightService-B0Z-9gmQ.esm.js";
5
+ import { i as stopCameraStream, r as requestCameraAccess } from "./camera-DaD3X_7m.esm.js";
6
+ import { t as addDeviceStats } from "./stats-BEwRvZG4.esm.js";
7
+ import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-CTBj7PrA.esm.js";
8
+ import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-DSwtYHuO.esm.js";
9
+ import { t as getDeviceClass } from "./getDeviceClass-DStKSj3Q.esm.js";
10
10
 
11
11
  //#region src/internal/faceCapture/types.ts
12
12
  const FACE_ERROR_CODES = {
@@ -593,7 +593,7 @@ function buildResolutionFromStream(stream) {
593
593
  if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
594
594
  }
595
595
  async function createOpenViduRecordingProvider() {
596
- const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-TbcsfOCu.esm.js");
596
+ const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-3SvbmWdi.esm.js");
597
597
  return new OpenViduRecordingProvider();
598
598
  }
599
599
  async function startRecordingSession(params) {
@@ -633,7 +633,7 @@ async function stopRecording(session) {
633
633
  }
634
634
  }
635
635
  async function initializeDeepsightSession(options) {
636
- const { loadDeepsightSession } = await import("./deepsightLoader-6U4vWDdn.esm.js");
636
+ const { loadDeepsightSession } = await import("./deepsightLoader-BTrehKGp.esm.js");
637
637
  return loadDeepsightSession({
638
638
  ds: options.ds,
639
639
  storage: options.storage
@@ -891,12 +891,12 @@ var LocalRecordingProvider = class {
891
891
  let openViduProviderImportPromise;
892
892
  let openViduBrowserImportPromise;
893
893
  function loadOpenViduProviderModule() {
894
- if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-TbcsfOCu.esm.js");
894
+ if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-3SvbmWdi.esm.js");
895
895
  return openViduProviderImportPromise;
896
896
  }
897
897
  function loadOpenViduBrowserModule() {
898
898
  if (!openViduBrowserImportPromise) openViduBrowserImportPromise = (async () => {
899
- return (await import("./openviduLazy-COOSpMUH.esm.js")).loadOpenVidu();
899
+ return (await import("./openviduLazy-7pgMhjPB.esm.js")).loadOpenVidu();
900
900
  })();
901
901
  return openViduBrowserImportPromise;
902
902
  }
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-gbK55c4u.js";
2
- import "./Actor-B15bmdr9.js";
1
+ import { t as Manager } from "./Manager-BCd4NBhe.js";
2
+ import "./Actor-B-9T-DlO.js";
3
3
 
4
4
  //#region src/modules/redirect-to-mobile/types.d.ts
5
5
  type RedirectToMobileConfig = {
@@ -1,8 +1,8 @@
1
- import "./api-jWFd-4Qh.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CV5uidDd.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-DMwldSzU.esm.js";
4
- import "./BrowserTimerProvider-N8UcbvU5.esm.js";
5
- import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-DwN4kV4j.esm.js";
1
+ import "./api-CzVamIBG.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Deg_qfet.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-BXNheqIe.esm.js";
4
+ import "./BrowserTimerProvider-Dav3_fFy.esm.js";
5
+ import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-CtWjarUj.esm.js";
6
6
 
7
7
  //#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
8
8
  function createRedirectToMobileActor(options) {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-jWFd-4Qh.esm.js";
2
- import { _ as endpoints } from "./events-CV5uidDd.esm.js";
3
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DMwldSzU.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-N8UcbvU5.esm.js";
1
+ import { t as api } from "./api-CzVamIBG.esm.js";
2
+ import { _ as endpoints } from "./events-Deg_qfet.esm.js";
3
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BXNheqIe.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-Dav3_fFy.esm.js";
5
5
 
6
6
  //#region ../infra/src/url/urlUtils.ts
7
7
  function getUrlSearchParam(url, param) {
@@ -1,4 +1,4 @@
1
- import { a as createActor, r as fromCallback } from "./xstate.esm-DMwldSzU.esm.js";
1
+ import { a as createActor, r as fromCallback } from "./xstate.esm-BXNheqIe.esm.js";
2
2
 
3
3
  //#region src/internal/orchestration/runChildModule.ts
4
4
  const runChildModule = fromCallback(({ sendBack, input }) => {
package/dist/selfie.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import "./warmup-HP7iIGir.js";
2
- import "./Manager-gbK55c4u.js";
3
- import "./Actor-B15bmdr9.js";
4
- import "./StateMachine-CnfoQpTv.js";
5
- import { a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as DetectionStatus, y as FaceErrorCode } from "./faceCaptureManagerFactory-GTqrsqKv.js";
6
- import { t as CameraStream } from "./camera-BORJdHZf.js";
7
- import "./types-DH6IUrUs.js";
8
- import "./types-DoC698nG.js";
9
- import { t as DeepsightService } from "./deepsightService-69fWIZyA.js";
10
- import { n as PermissionStatus, t as PermissionResult } from "./types-BEXctSKO.js";
11
- import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BKRNGlRn.js";
1
+ import "./warmup-BR9x_9iz.js";
2
+ import "./Manager-BCd4NBhe.js";
3
+ import "./Actor-B-9T-DlO.js";
4
+ import "./StateMachine-BNiyEj7J.js";
5
+ import { a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as DetectionStatus, y as FaceErrorCode } from "./faceCaptureManagerFactory-DAQqd0EL.js";
6
+ import { t as CameraStream } from "./camera-BZfRhPh2.js";
7
+ import "./types-BINKuP3l.js";
8
+ import "./types-CgZVig-j.js";
9
+ import { t as DeepsightService } from "./deepsightService-BknZgccc.js";
10
+ import { n as PermissionStatus, t as PermissionResult } from "./types-CZwSG43_.js";
11
+ import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-Cfp4MKMu.js";
12
12
  export { type CameraStream, type DeepsightService, type DetectionStatus, type FaceErrorCode, type PermissionResult, type PermissionStatus, type ProcessFaceResponse, type SelfieConfig, type SelfieMachine, type SelfieManager, type SelfieState, createSelfieManager, processFace, selfieMachine };
@@ -1,24 +1,24 @@
1
- import "./BaseWasmProvider-CBJzNbhW.esm.js";
2
- import "./WasmUtilProvider-BwRC5keX.esm.js";
3
- import "./api-jWFd-4Qh.esm.js";
4
- import "./events-CV5uidDd.esm.js";
5
- import "./browserSimulation-B_fiWprz.esm.js";
6
- import "./xstate.esm-DMwldSzU.esm.js";
7
- import "./faceCaptureManagerFactory-CMdOPsTP.esm.js";
8
- import "./BrowserStorageProvider-BZEFyh0O.esm.js";
9
- import { l as processFace } from "./recordingService-DX6MuFa9.esm.js";
10
- import "./deepsightService-DwQsyY5W.esm.js";
11
- import "./permissionServices-7GX060Fo.esm.js";
12
- import "./camera-YfPOKQXU.esm.js";
13
- import "./getBrowser-Bcjdnapi.esm.js";
14
- import "./stats-UZA4FM8j.esm.js";
15
- import "./MotionSensorProvider-BVO7P6PB.esm.js";
16
- import "./platform-uIVQUnJP.esm.js";
17
- import "./ITimerCapability-DS0Vjetp.esm.js";
18
- import "./backCameraStream-BEyWAklK.esm.js";
19
- import "./getDeviceClass-Cs-jWK1p.esm.js";
20
- import "./faceCaptureSetup-C65JUwp_.esm.js";
21
- import { t as selfieMachine } from "./selfieStateMachine-DbI8xrNK.esm.js";
22
- import { t as createSelfieManager } from "./selfieManager-BnBJ47OE.esm.js";
1
+ import "./BaseWasmProvider-Cf3MNlAN.esm.js";
2
+ import "./WasmUtilProvider-DmbBSMl1.esm.js";
3
+ import "./api-CzVamIBG.esm.js";
4
+ import "./events-Deg_qfet.esm.js";
5
+ import "./browserSimulation-C4a2KVIY.esm.js";
6
+ import "./xstate.esm-BXNheqIe.esm.js";
7
+ import "./faceCaptureManagerFactory-Bq_skXK4.esm.js";
8
+ import "./BrowserStorageProvider-Drw72wvG.esm.js";
9
+ import { l as processFace } from "./recordingService-CtcIvA3E.esm.js";
10
+ import "./deepsightService-B0Z-9gmQ.esm.js";
11
+ import "./permissionServices-BJJE4sgW.esm.js";
12
+ import "./camera-DaD3X_7m.esm.js";
13
+ import "./getBrowser-DxB_n8-W.esm.js";
14
+ import "./stats-BEwRvZG4.esm.js";
15
+ import "./MotionSensorProvider-DYYBm_bL.esm.js";
16
+ import "./platform-CTBj7PrA.esm.js";
17
+ import "./ITimerCapability-BriAkEyj.esm.js";
18
+ import "./backCameraStream-DSwtYHuO.esm.js";
19
+ import "./getDeviceClass-DStKSj3Q.esm.js";
20
+ import "./faceCaptureSetup-C9RqcwR9.esm.js";
21
+ import { t as selfieMachine } from "./selfieStateMachine-CsI9YnHz.esm.js";
22
+ import { t as createSelfieManager } from "./selfieManager-CoyIn3Zl.esm.js";
23
23
 
24
24
  export { createSelfieManager, processFace, selfieMachine };
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-gbK55c4u.js";
2
- import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-GTqrsqKv.js";
1
+ import { t as Manager } from "./Manager-BCd4NBhe.js";
2
+ import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DAQqd0EL.js";
3
3
 
4
4
  //#region src/modules/selfie/selfieUploadService.d.ts
5
5
  type ProcessFaceImageType = 'selfie' | 'videoSelfie';
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BwRC5keX.esm.js";
2
- import { n as eventModuleNames } from "./events-CV5uidDd.esm.js";
3
- import { a as createActor } from "./xstate.esm-DMwldSzU.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CMdOPsTP.esm.js";
5
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BZEFyh0O.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-DbI8xrNK.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DmbBSMl1.esm.js";
2
+ import { n as eventModuleNames } from "./events-Deg_qfet.esm.js";
3
+ import { a as createActor } from "./xstate.esm-BXNheqIe.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Bq_skXK4.esm.js";
5
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Drw72wvG.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CsI9YnHz.esm.js";
7
7
 
8
8
  //#region src/modules/selfie/selfieActor.ts
9
9
  function createSelfieActor(options) {
@@ -1,6 +1,6 @@
1
- import { i as fromPromise, n as assign } from "./xstate.esm-DMwldSzU.esm.js";
2
- import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-DX6MuFa9.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-C65JUwp_.esm.js";
1
+ import { i as fromPromise, n as assign } from "./xstate.esm-BXNheqIe.esm.js";
2
+ import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-CtcIvA3E.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-C9RqcwR9.esm.js";
4
4
 
5
5
  //#region src/modules/selfie/selfieErrorUtils.ts
6
6
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
@@ -1,7 +1,7 @@
1
- import { n as getApi, t as api } from "./api-jWFd-4Qh.esm.js";
2
- import { _ as endpoints, m as addEvent } from "./events-CV5uidDd.esm.js";
3
- import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-6IaiettD.esm.js";
4
- import { t as isBrowserSimulation } from "./browserSimulation-B_fiWprz.esm.js";
1
+ import { n as getApi, t as api } from "./api-CzVamIBG.esm.js";
2
+ import { _ as endpoints, m as addEvent } from "./events-Deg_qfet.esm.js";
3
+ import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-j8lI27Fq.esm.js";
4
+ import { t as isBrowserSimulation } from "./browserSimulation-C4a2KVIY.esm.js";
5
5
 
6
6
  //#region src/internal/session/sessionService.ts
7
7
  var QrValidationError = class extends Error {
package/dist/session.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BHqAcsOI.js";
1
+ import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-MFzwlktR.js";
2
2
 
3
3
  //#region src/internal/session/sessionService.d.ts
4
4
  type CreateSessionOptions = {
@@ -1,8 +1,8 @@
1
- import "./api-jWFd-4Qh.esm.js";
2
- import "./events-CV5uidDd.esm.js";
3
- import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-B80VcUre.esm.js";
4
- import "./IpifyProvider-6IaiettD.esm.js";
5
- import "./browserSimulation-B_fiWprz.esm.js";
6
- import { t as getFinishStatus } from "./flowCompletionService-CPVnNnJ9.esm.js";
1
+ import "./api-CzVamIBG.esm.js";
2
+ import "./events-Deg_qfet.esm.js";
3
+ import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-CrOl1xma.esm.js";
4
+ import "./IpifyProvider-j8lI27Fq.esm.js";
5
+ import "./browserSimulation-C4a2KVIY.esm.js";
6
+ import { t as getFinishStatus } from "./flowCompletionService-BnZC_DV0.esm.js";
7
7
 
8
8
  export { QrValidationError, createSession, getFinishStatus, validateQrUuid };
@@ -1,8 +1,8 @@
1
- import { n as warmupWasm } from "./BaseWasmProvider-CBJzNbhW.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BwRC5keX.esm.js";
3
- import { a as resetApi, o as setClient, s as setToken } from "./api-jWFd-4Qh.esm.js";
4
- import { h as flushEventQueue } from "./events-CV5uidDd.esm.js";
5
- import { i as resetSessionInit, r as initializeSession } from "./session-B80VcUre.esm.js";
1
+ import { n as warmupWasm } from "./BaseWasmProvider-Cf3MNlAN.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DmbBSMl1.esm.js";
3
+ import { a as resetApi, o as setClient, s as setToken } from "./api-CzVamIBG.esm.js";
4
+ import { h as flushEventQueue } from "./events-Deg_qfet.esm.js";
5
+ import { i as resetSessionInit, r as initializeSession } from "./session-CrOl1xma.esm.js";
6
6
 
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -1,4 +1,4 @@
1
- import { n as WasmPipeline } from "./warmup-HP7iIGir.js";
1
+ import { n as WasmPipeline } from "./warmup-BR9x_9iz.js";
2
2
 
3
3
  //#region src/setup.d.ts
4
4
 
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-gbK55c4u.js";
2
- import "./Actor-B15bmdr9.js";
1
+ import { t as Manager } from "./Manager-BCd4NBhe.js";
2
+ import "./Actor-B-9T-DlO.js";
3
3
 
4
4
  //#region src/modules/signature/types.d.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
- import "./api-jWFd-4Qh.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CV5uidDd.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-DMwldSzU.esm.js";
4
- import { t as signatureMachine } from "./signatureStateMachine-C8qfgEjP.esm.js";
1
+ import "./api-CzVamIBG.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Deg_qfet.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-BXNheqIe.esm.js";
4
+ import { t as signatureMachine } from "./signatureStateMachine-yaoE2OEY.esm.js";
5
5
 
6
6
  //#region src/modules/signature/signatureActor.ts
7
7
  function createSignatureActor(options) {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-jWFd-4Qh.esm.js";
2
- import { _ as endpoints, m as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-CV5uidDd.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DMwldSzU.esm.js";
1
+ import { t as api } from "./api-CzVamIBG.esm.js";
2
+ import { _ as endpoints, m as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Deg_qfet.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BXNheqIe.esm.js";
4
4
 
5
5
  //#region src/modules/signature/signatureServices.ts
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-jWFd-4Qh.esm.js";
1
+ import { t as api } from "./api-CzVamIBG.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-jWFd-4Qh.esm.js";
2
- import { t as addDeviceStats } from "./stats-UZA4FM8j.esm.js";
1
+ import "./api-CzVamIBG.esm.js";
2
+ import { t as addDeviceStats } from "./stats-BEwRvZG4.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-BORJdHZf.js";
1
+ import { t as CameraStream } from "./camera-BZfRhPh2.js";
2
2
 
3
3
  //#region src/modules/document-upload/types.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as AnyStateMachine } from "./StateMachine-CnfoQpTv.js";
1
+ import { t as AnyStateMachine } from "./StateMachine-BNiyEj7J.js";
2
2
 
3
3
  //#region src/internal/orchestration/types.d.ts
4
4
  /** Eager module: a pre-imported state machine. */
@@ -1,4 +1,4 @@
1
- import { t as DocumentUploadConfig } from "./types-DH6IUrUs.js";
1
+ import { t as DocumentUploadConfig } from "./types-BINKuP3l.js";
2
2
 
3
3
  //#region src/modules/flow/types.d.ts
4
4
  type EmptyConfig = Record<string, never>;
package/dist/wasm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-HP7iIGir.js";
2
- import { n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-pTsFPcze.js";
1
+ import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-BR9x_9iz.js";
2
+ import { n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-VJbRmBIU.js";
3
3
 
4
4
  //#region ../infra/src/wasm/wasmDefaults.d.ts
5
5
  /** The WASM version bundled and tested with this SDK release. */
package/dist/wasm.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-ClMhlqda.esm.js";
2
- import { n as warmupWasm } from "./BaseWasmProvider-CBJzNbhW.esm.js";
3
- import "./WasmUtilProvider-BwRC5keX.esm.js";
4
- import "./api-jWFd-4Qh.esm.js";
5
- import "./events-CV5uidDd.esm.js";
6
- import "./session-B80VcUre.esm.js";
7
- import "./IpifyProvider-6IaiettD.esm.js";
8
- import "./browserSimulation-B_fiWprz.esm.js";
1
+ import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-BFXhW7cP.esm.js";
2
+ import { n as warmupWasm } from "./BaseWasmProvider-Cf3MNlAN.esm.js";
3
+ import "./WasmUtilProvider-DmbBSMl1.esm.js";
4
+ import "./api-CzVamIBG.esm.js";
5
+ import "./events-Deg_qfet.esm.js";
6
+ import "./session-CrOl1xma.esm.js";
7
+ import "./IpifyProvider-j8lI27Fq.esm.js";
8
+ import "./browserSimulation-C4a2KVIY.esm.js";
9
9
 
10
10
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, initializeWasmUtil, resolveWasmConfig, setWasmConfig, warmupWasm };
@@ -0,0 +1,79 @@
1
+ import { t as Manager } from "./Manager-BCd4NBhe.js";
2
+
3
+ //#region src/modules/watchlist-for-business/watchlistForBusinessManager.d.ts
4
+ /** Waiting for `load()` to be called. */
5
+ type WatchlistForBusinessIdleState = {
6
+ status: 'idle';
7
+ };
8
+ /** Form is ready — use `setCountry()`, `setBusinessName()`, and `submit()`. */
9
+ type WatchlistForBusinessFormState = {
10
+ status: 'form';
11
+ country: string;
12
+ businessName: string;
13
+ isValid: boolean;
14
+ };
15
+ /** API request in flight. */
16
+ type WatchlistForBusinessSubmittingState = {
17
+ status: 'submitting';
18
+ };
19
+ /**
20
+ * API succeeded — success screen visible for ~3 s before transitioning
21
+ * to `finished`.
22
+ */
23
+ type WatchlistForBusinessSuccessState = {
24
+ status: 'success';
25
+ };
26
+ /** Module complete. Fires regardless of API outcome (fire-and-forget). */
27
+ type WatchlistForBusinessFinishedState = {
28
+ status: 'finished';
29
+ };
30
+ /**
31
+ * Discriminated union of all possible watchlist-for-business manager states.
32
+ */
33
+ type WatchlistForBusinessState = WatchlistForBusinessIdleState | WatchlistForBusinessFormState | WatchlistForBusinessSubmittingState | WatchlistForBusinessSuccessState | WatchlistForBusinessFinishedState;
34
+ /**
35
+ * Creates a watchlist-for-business manager for headless or UI-driven usage.
36
+ *
37
+ * On API error the module completes silently (fire-and-forget).
38
+ *
39
+ * @example Headless usage
40
+ * ```typescript
41
+ * import { createWatchlistForBusinessManager } from '@incodetech/core/watchlist-for-business';
42
+ *
43
+ * const manager = createWatchlistForBusinessManager();
44
+ * manager.subscribe((state) => {
45
+ * if (state.status === 'finished') console.log('Done');
46
+ * });
47
+ * manager.load();
48
+ * manager.setCountry('MX');
49
+ * manager.setBusinessName('Acme Corp');
50
+ * manager.submit();
51
+ * manager.stop();
52
+ * ```
53
+ */
54
+ declare function createWatchlistForBusinessManager(): Manager<WatchlistForBusinessState> & {
55
+ /** Transitions from `idle` to the form. Must be called before any other method. */
56
+ load(): void;
57
+ /** Updates the selected country code (ISO 3166-1 alpha-2). */
58
+ setCountry(country: string): void;
59
+ /** Updates the business name field and recomputes validity. */
60
+ setBusinessName(value: string): void;
61
+ /** Submits the form. Only transitions when `isValid` is true. */
62
+ submit(): void;
63
+ };
64
+ type WatchlistForBusinessManager = ReturnType<typeof createWatchlistForBusinessManager>;
65
+ //#endregion
66
+ //#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.d.ts
67
+ declare const watchlistForBusinessMachine: any;
68
+ //#endregion
69
+ //#region src/modules/watchlist-for-business/types.d.ts
70
+ /**
71
+ * Configuration for the watchlist-for-business module.
72
+ *
73
+ * No server-side configuration is required — the module collects
74
+ * country and business name from the user and submits them to the
75
+ * business watchlist endpoint.
76
+ */
77
+ type WatchlistForBusinessConfig = Record<string, never>;
78
+ //#endregion
79
+ export { type WatchlistForBusinessConfig, type WatchlistForBusinessFinishedState, type WatchlistForBusinessFormState, type WatchlistForBusinessManager, type WatchlistForBusinessState, createWatchlistForBusinessManager, watchlistForBusinessMachine };
@@ -0,0 +1,147 @@
1
+ import { t as api } from "./api-CzVamIBG.esm.js";
2
+ import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Deg_qfet.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BXNheqIe.esm.js";
4
+
5
+ //#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
6
+ async function submitWatchlistForBusiness(data, signal) {
7
+ const res = await api.post(endpoints.watchlistForBusinessSubmit, data, { signal });
8
+ if (!res.ok) throw new Error(`POST ${endpoints.watchlistForBusinessSubmit} failed: ${res.status} ${res.statusText}`);
9
+ return res.data;
10
+ }
11
+
12
+ //#endregion
13
+ //#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.ts
14
+ const DEFAULT_COUNTRY = "US";
15
+ function computeIsValid(businessName) {
16
+ return businessName.trim().length > 0;
17
+ }
18
+ const watchlistForBusinessMachine = setup({
19
+ types: {
20
+ context: {},
21
+ events: {}
22
+ },
23
+ actors: { submitWatchlistForBusiness: fromPromise(async ({ input, signal }) => {
24
+ await submitWatchlistForBusiness(input, signal);
25
+ }) },
26
+ actions: {
27
+ setCountry: assign(({ event }) => {
28
+ const { country } = event;
29
+ return { country };
30
+ }),
31
+ setBusinessName: assign(({ event }) => {
32
+ const { value } = event;
33
+ return {
34
+ businessName: value,
35
+ isValid: computeIsValid(value)
36
+ };
37
+ })
38
+ },
39
+ guards: { isValid: ({ context }) => context.isValid }
40
+ }).createMachine({
41
+ id: "watchlist-for-business",
42
+ initial: "idle",
43
+ context: {
44
+ country: DEFAULT_COUNTRY,
45
+ businessName: "",
46
+ isValid: false
47
+ },
48
+ states: {
49
+ idle: { on: { LOAD: { target: "form" } } },
50
+ form: { on: {
51
+ SET_COUNTRY: { actions: "setCountry" },
52
+ SET_BUSINESS_NAME: { actions: "setBusinessName" },
53
+ SUBMIT: {
54
+ target: "submitting",
55
+ guard: "isValid"
56
+ }
57
+ } },
58
+ submitting: { invoke: {
59
+ id: "submitWatchlistForBusiness",
60
+ src: "submitWatchlistForBusiness",
61
+ input: ({ context }) => ({
62
+ countryCodes: [context.country],
63
+ businessName: context.businessName
64
+ }),
65
+ onDone: { target: "success" },
66
+ onError: { target: "finished" }
67
+ } },
68
+ success: { after: { 3e3: { target: "finished" } } },
69
+ finished: { type: "final" }
70
+ }
71
+ });
72
+
73
+ //#endregion
74
+ //#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
75
+ function createWatchlistForBusinessActor() {
76
+ return createActor(watchlistForBusinessMachine).start();
77
+ }
78
+
79
+ //#endregion
80
+ //#region src/modules/watchlist-for-business/watchlistForBusinessManager.ts
81
+ function mapState(snapshot) {
82
+ const typedSnapshot = snapshot;
83
+ const { context } = typedSnapshot;
84
+ if (typedSnapshot.matches("form")) return {
85
+ status: "form",
86
+ country: context.country,
87
+ businessName: context.businessName,
88
+ isValid: context.isValid
89
+ };
90
+ if (typedSnapshot.matches("submitting")) return { status: "submitting" };
91
+ if (typedSnapshot.matches("success")) return { status: "success" };
92
+ if (typedSnapshot.matches("finished")) return { status: "finished" };
93
+ return { status: "idle" };
94
+ }
95
+ function createApi({ actor }) {
96
+ return {
97
+ load() {
98
+ actor.send({ type: "LOAD" });
99
+ },
100
+ setCountry(country) {
101
+ actor.send({
102
+ type: "SET_COUNTRY",
103
+ country
104
+ });
105
+ },
106
+ setBusinessName(value) {
107
+ actor.send({
108
+ type: "SET_BUSINESS_NAME",
109
+ value
110
+ });
111
+ },
112
+ submit() {
113
+ actor.send({ type: "SUBMIT" });
114
+ }
115
+ };
116
+ }
117
+ /**
118
+ * Creates a watchlist-for-business manager for headless or UI-driven usage.
119
+ *
120
+ * On API error the module completes silently (fire-and-forget).
121
+ *
122
+ * @example Headless usage
123
+ * ```typescript
124
+ * import { createWatchlistForBusinessManager } from '@incodetech/core/watchlist-for-business';
125
+ *
126
+ * const manager = createWatchlistForBusinessManager();
127
+ * manager.subscribe((state) => {
128
+ * if (state.status === 'finished') console.log('Done');
129
+ * });
130
+ * manager.load();
131
+ * manager.setCountry('MX');
132
+ * manager.setBusinessName('Acme Corp');
133
+ * manager.submit();
134
+ * manager.stop();
135
+ * ```
136
+ */
137
+ function createWatchlistForBusinessManager() {
138
+ return createManager({
139
+ actor: createWatchlistForBusinessActor(),
140
+ mapState,
141
+ createApi,
142
+ instrumentation: createManagerInstrumentation(eventModuleNames.watchlistForBusiness)
143
+ });
144
+ }
145
+
146
+ //#endregion
147
+ export { createWatchlistForBusinessManager, watchlistForBusinessMachine };
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-gbK55c4u.js";
1
+ import { t as Manager } from "./Manager-BCd4NBhe.js";
2
2
 
3
3
  //#region src/modules/watchlist/watchlistStateMachine.d.ts
4
4
  type WatchlistResult = 'success' | 'skipped';
@@ -1,7 +1,7 @@
1
- import "./api-jWFd-4Qh.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CV5uidDd.esm.js";
3
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DMwldSzU.esm.js";
4
- import { t as processWatchlist } from "./watchlistServices-CgFJcYl1.esm.js";
1
+ import "./api-CzVamIBG.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Deg_qfet.esm.js";
3
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BXNheqIe.esm.js";
4
+ import { t as processWatchlist } from "./watchlistServices-D2I0AZb-.esm.js";
5
5
 
6
6
  //#region src/modules/watchlist/watchlistStateMachine.ts
7
7
  const watchlistMachine = setup({
@@ -1,5 +1,5 @@
1
- import { t as api } from "./api-jWFd-4Qh.esm.js";
2
- import { _ as endpoints } from "./events-CV5uidDd.esm.js";
1
+ import { t as api } from "./api-CzVamIBG.esm.js";
2
+ import { _ as endpoints } from "./events-Deg_qfet.esm.js";
3
3
 
4
4
  //#region src/modules/watchlist/watchlistServices.ts
5
5
  async function processWatchlist(signal) {