@incodetech/core 0.0.0-dev-20260427-0672a89 → 0.0.0-dev-20260427-7dc009f

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 (164) hide show
  1. package/dist/{OpenViduRecordingProvider-7PqRexCU.esm.js → OpenViduRecordingProvider-fsWaumbq.esm.js} +1 -1
  2. package/dist/{WasmUtilProvider-3sS7TzsG.esm.js → WasmUtilProvider-C1QSkwNV.esm.js} +1 -1
  3. package/dist/{addressSearch-CMO_-Isa.esm.js → addressSearch-DqiXc5k8.esm.js} +4 -4
  4. package/dist/{ae-signature-C07fpdHw.esm.js → ae-signature-EpgEyDf5.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-BOUj16Hj.esm.js → antifraudStateMachine-BzoGRWXi.esm.js} +3 -3
  10. package/dist/authentication.d.ts +11 -11
  11. package/dist/authentication.esm.js +22 -22
  12. package/dist/{authenticationManager-URLydvU9.esm.js → authenticationManager-Bs07YcDZ.esm.js} +6 -6
  13. package/dist/{authenticationManager-CGn-1c-V.d.ts → authenticationManager-S7ynmxba.d.ts} +2 -2
  14. package/dist/{authenticationStateMachine-D8N6ERZa.esm.js → authenticationStateMachine-MFNXdtaO.esm.js} +6 -6
  15. package/dist/{backCameraStream-CrljCJ-Q.esm.js → backCameraStream-CphKyzSw.esm.js} +3 -3
  16. package/dist/camera.d.ts +1 -1
  17. package/dist/camera.esm.js +3 -3
  18. package/dist/consent.d.ts +55 -55
  19. package/dist/consent.esm.js +4 -4
  20. package/dist/{consentStateMachine-Fa4KYzzn.esm.js → consentStateMachine-Bo4tEHZ7.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-oXdccErv.esm.js → curpValidationStateMachine-Bu7fSmqn.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-QMFaZ2jE.esm.js → deepsightLoader-B4UGVVdQ.esm.js} +10 -10
  31. package/dist/{deepsightService-BAbwxVdZ.d.ts → deepsightService-D5u0gQNa.d.ts} +2 -2
  32. package/dist/{deepsightService-BFLmC3ua.esm.js → deepsightService-DN0659qr.esm.js} +5 -5
  33. package/dist/device.esm.js +3 -3
  34. package/dist/document-capture.d.ts +77 -77
  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-CDttntnk.esm.js → documentCaptureStateMachine-CjLKB4Ug.esm.js} +5 -5
  39. package/dist/ekyb.d.ts +3 -3
  40. package/dist/ekyb.esm.js +10 -10
  41. package/dist/{ekybStateMachine-DruS8yRg.esm.js → ekybStateMachine-BaMBRura.esm.js} +5 -5
  42. package/dist/ekyc.d.ts +3 -3
  43. package/dist/ekyc.esm.js +7 -7
  44. package/dist/{ekycStateMachine-U3ivS4-5.esm.js → ekycStateMachine-DvU7sNW5.esm.js} +5 -5
  45. package/dist/electronic-signature.d.ts +3 -3
  46. package/dist/electronic-signature.esm.js +4 -4
  47. package/dist/{electronicSignatureManager-CWJyes3f.esm.js → electronicSignatureManager-B7esTPHN.esm.js} +3 -3
  48. package/dist/email.d.ts +3 -3
  49. package/dist/email.esm.js +6 -6
  50. package/dist/{emailManager-CCrXrAU3.d.ts → emailManager-CAcyOCUc.d.ts} +2 -2
  51. package/dist/{emailManager-y8HVFngo.esm.js → emailManager-RepmkFKY.esm.js} +3 -3
  52. package/dist/{emailStateMachine-bLpj4LRr.esm.js → emailStateMachine-COffWrto.esm.js} +4 -4
  53. package/dist/{events-BYuumPiB.esm.js → events-CMA7Inmi.esm.js} +45 -18
  54. package/dist/events.d.ts +17 -2
  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-0bTuXnNo.esm.js → faceCaptureManagerFactory-BcB-giLW.esm.js} +2 -2
  61. package/dist/{faceCaptureManagerFactory-B9SCeUbN.d.ts → faceCaptureManagerFactory-DgUEV3a1.d.ts} +8 -8
  62. package/dist/{faceCaptureSetup-BLsm9VU9.esm.js → faceCaptureSetup-CYHH3B2R.esm.js} +4 -4
  63. package/dist/{faceMatchStateMachine-CB5JYxiV.esm.js → faceMatchStateMachine-BVAC8vpn.esm.js} +3 -3
  64. package/dist/flow-events.d.ts +6 -0
  65. package/dist/flow-events.esm.js +0 -0
  66. package/dist/flow.d.ts +11 -10
  67. package/dist/flow.esm.js +13 -13
  68. package/dist/{flowCompletionService-B0ua9_Oo.esm.js → flowCompletionService-35cyRGQ2.esm.js} +2 -2
  69. package/dist/{flowServices-ngHx2Tal.esm.js → flowServices-C4ZwSDb5.esm.js} +3 -3
  70. package/dist/geolocation.d.ts +2 -2
  71. package/dist/geolocation.esm.js +5 -5
  72. package/dist/{geolocationStateMachine-Cc2eFVZU.esm.js → geolocationStateMachine-CFOJL1-G.esm.js} +4 -4
  73. package/dist/{getDeviceClass-B_Y-Y-zj.esm.js → getDeviceClass-CR_OFNww.esm.js} +1 -1
  74. package/dist/government-validation.d.ts +2 -2
  75. package/dist/government-validation.esm.js +5 -5
  76. package/dist/{governmentValidationStateMachine-wvZ5ysEM.esm.js → governmentValidationStateMachine-Cb30eJqS.esm.js} +4 -4
  77. package/dist/home.d.ts +14 -14
  78. package/dist/home.esm.js +3 -3
  79. package/dist/http.esm.js +1 -1
  80. package/dist/id-ocr.d.ts +57 -57
  81. package/dist/id-ocr.esm.js +4 -4
  82. package/dist/id.d.ts +10 -10
  83. package/dist/id.esm.js +22 -22
  84. package/dist/{idCaptureManager-DvJEDPBW.esm.js → idCaptureManager-DKXUrFsY.esm.js} +4 -4
  85. package/dist/{idCaptureManager-B_dajBGr.d.ts → idCaptureManager-DRvhAm2R.d.ts} +7 -7
  86. package/dist/{idCaptureStateMachine-CgddydGJ.esm.js → idCaptureStateMachine-BXbSfdjN.esm.js} +16 -16
  87. package/dist/identity-reuse.d.ts +45 -45
  88. package/dist/identity-reuse.esm.js +3 -3
  89. package/dist/{index-ByV8-iY1.d.ts → index-BUWTxs22.d.ts} +120 -120
  90. package/dist/index-DrJrMkIV.d.ts +97 -0
  91. package/dist/index.d.ts +2 -2
  92. package/dist/index.esm.js +8 -8
  93. package/dist/{lib-Db1XxJuS.esm.js → lib-Rxj5LQ3p.esm.js} +1 -1
  94. package/dist/mandatory-consent.d.ts +52 -52
  95. package/dist/mandatory-consent.esm.js +4 -4
  96. package/dist/{mandatoryConsentStateMachine-0bZm4vNr.esm.js → mandatoryConsentStateMachine-D82Km4iM.esm.js} +3 -3
  97. package/dist/{openviduLazy-sruV5sxi.esm.js → openviduLazy-BfcUOckM.esm.js} +2 -2
  98. package/dist/openviduLazy-gXIZhh2F.esm.js +3 -0
  99. package/dist/{permissionServices-BdE8_Evq.esm.js → permissionServices-DdpgW9SN.esm.js} +2 -2
  100. package/dist/phone.d.ts +3 -3
  101. package/dist/phone.esm.js +6 -6
  102. package/dist/{phoneManager-Da8QkPv7.d.ts → phoneManager-C6xPF1n9.d.ts} +2 -2
  103. package/dist/{phoneManager-Wr-zvTY1.esm.js → phoneManager-DtubRN1_.esm.js} +3 -3
  104. package/dist/{phoneStateMachine-BiwbfBRz.esm.js → phoneStateMachine-BxkbhRyM.esm.js} +4 -4
  105. package/dist/{qe-signature-DhBKlGUH.esm.js → qe-signature-BUD-LTiq.esm.js} +1 -1
  106. package/dist/qe-signature.d.ts +3 -3
  107. package/dist/qe-signature.esm.js +5 -5
  108. package/dist/{recordingService-CpbeUNqo.esm.js → recordingService-CcldnifQ.esm.js} +13 -13
  109. package/dist/redirect-to-mobile.d.ts +2 -2
  110. package/dist/redirect-to-mobile.esm.js +5 -5
  111. package/dist/{redirectToMobileStateMachine-BMXJRSAC.esm.js → redirectToMobileStateMachine-DKVT036O.esm.js} +4 -4
  112. package/dist/runChildModule-CE6a3Qge.esm.js +219 -0
  113. package/dist/selfie.d.ts +11 -11
  114. package/dist/selfie.esm.js +22 -22
  115. package/dist/{selfieManager-CkmC58-2.esm.js → selfieManager-C8i4ptVK.esm.js} +6 -6
  116. package/dist/{selfieManager-dLehZvQm.d.ts → selfieManager-D7hFaMqp.d.ts} +2 -2
  117. package/dist/{selfieStateMachine-BusOHMBN.esm.js → selfieStateMachine-D3srIKsi.esm.js} +3 -3
  118. package/dist/{session-CEsW15cJ.esm.js → session-CVnn78wp.esm.js} +4 -4
  119. package/dist/session.d.ts +1 -1
  120. package/dist/session.esm.js +6 -6
  121. package/dist/{setup-Bmg8jzCw.esm.js → setup-C-yXR1rb.esm.js} +5 -5
  122. package/dist/{setup-v-TAsAN2.d.ts → setup-DBlZTmIg.d.ts} +1 -1
  123. package/dist/signature.d.ts +2 -2
  124. package/dist/signature.esm.js +4 -4
  125. package/dist/{signatureStateMachine-D6E5ZdHV.esm.js → signatureStateMachine-ChlaDq9V.esm.js} +3 -3
  126. package/dist/{stats-DE05K1o9.esm.js → stats-B0zmnDQ3.esm.js} +1 -1
  127. package/dist/stats.esm.js +2 -2
  128. package/dist/{types-DZ7Qw6Yc.d.ts → types-Bp25vxVp.d.ts} +1 -1
  129. package/dist/{types-BxjVn8Ry.d.ts → types-ClH8UoEK.d.ts} +1 -1
  130. package/dist/{types-BelKmTqU.d.ts → types-CqgOGNlq.d.ts} +1 -1
  131. package/dist/wasm.d.ts +2 -2
  132. package/dist/wasm.esm.js +8 -8
  133. package/dist/watchlist-for-business.d.ts +1 -1
  134. package/dist/watchlist-for-business.esm.js +3 -3
  135. package/dist/watchlist.d.ts +1 -1
  136. package/dist/watchlist.esm.js +4 -4
  137. package/dist/{watchlistServices-BW1w845W.esm.js → watchlistServices-is8oT4UM.esm.js} +2 -2
  138. package/dist/workflow.d.ts +91 -87
  139. package/dist/workflow.esm.js +47 -47
  140. package/package.json +8 -3
  141. package/dist/openviduLazy-ClEZ-Z5M.esm.js +0 -3
  142. package/dist/runChildModule-DHxT1RV0.esm.js +0 -27
  143. /package/dist/{Actor-gwS4PQSi.d.ts → Actor-BW-sqJw1.d.ts} +0 -0
  144. /package/dist/{BaseWasmProvider-DsxKeFBt.esm.js → BaseWasmProvider-DJVllLC1.esm.js} +0 -0
  145. /package/dist/{BrowserStorageProvider-D99-O_Kf.esm.js → BrowserStorageProvider-DVAPVDBF.esm.js} +0 -0
  146. /package/dist/{BrowserTimerProvider-Dl6dq0R8.esm.js → BrowserTimerProvider-COJygdJT.esm.js} +0 -0
  147. /package/dist/{ITimerCapability-DUFfKzTs.esm.js → ITimerCapability-DUyV4pr-.esm.js} +0 -0
  148. /package/dist/{IpifyProvider-BRMpdf22.esm.js → IpifyProvider-VUtQbLEw.esm.js} +0 -0
  149. /package/dist/{Manager-BmmucBrC.d.ts → Manager-uUcXOI3u.d.ts} +0 -0
  150. /package/dist/{MotionSensorProvider-Qfs1LN2o.esm.js → MotionSensorProvider-4PfJXzu5.esm.js} +0 -0
  151. /package/dist/{StateMachine-B1c7OspS.d.ts → StateMachine-By9gV4uV.d.ts} +0 -0
  152. /package/dist/{api-Bv7xXuMw.esm.js → api-BSXEhIP9.esm.js} +0 -0
  153. /package/dist/{browserSimulation-CB1iKoSy.esm.js → browserSimulation-DkgWRpm9.esm.js} +0 -0
  154. /package/dist/{camera-CXfeCsaz.d.ts → camera-8mZXnNHU.d.ts} +0 -0
  155. /package/dist/{camera-BEKg9OFz.esm.js → camera-BAIH5oJw.esm.js} +0 -0
  156. /package/dist/{chunk-BPmmK_1R.esm.js → chunk-CEPtMTxf.esm.js} +0 -0
  157. /package/dist/{cpf-DEcHUluo.esm.js → cpf-BajDetgO.esm.js} +0 -0
  158. /package/dist/{displayErrors-DT-jBLuo.d.ts → displayErrors-DeBh5qA_.d.ts} +0 -0
  159. /package/dist/{flowCompletionService-BxOJeebo.d.ts → flowCompletionService-CE_7r8I6.d.ts} +0 -0
  160. /package/dist/{getBrowser-COVIk8a4.esm.js → getBrowser-BZ7lWEk3.esm.js} +0 -0
  161. /package/dist/{platform-bAk6j4kV.esm.js → platform-C8vhi30I.esm.js} +0 -0
  162. /package/dist/{types-nURQ3pMv.d.ts → types-B7cBCEFG.d.ts} +0 -0
  163. /package/dist/{warmup-SnxLgQsT.d.ts → warmup-DBMdabeq.d.ts} +0 -0
  164. /package/dist/{xstate.esm-DGcAhoQP.esm.js → xstate.esm-CgUlXRcS.esm.js} +0 -0
@@ -1,36 +1,36 @@
1
- import "./BaseWasmProvider-DsxKeFBt.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-3sS7TzsG.esm.js";
3
- import "./api-Bv7xXuMw.esm.js";
4
- import "./events-BYuumPiB.esm.js";
5
- import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-CEsW15cJ.esm.js";
6
- import { t as IpifyProvider } from "./IpifyProvider-BRMpdf22.esm.js";
7
- import "./browserSimulation-CB1iKoSy.esm.js";
8
- import { a as createActor, i as fromPromise } from "./xstate.esm-DGcAhoQP.esm.js";
9
- import "./faceCaptureManagerFactory-0bTuXnNo.esm.js";
10
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-D99-O_Kf.esm.js";
11
- import "./recordingService-CpbeUNqo.esm.js";
12
- import "./deepsightService-BFLmC3ua.esm.js";
13
- import "./permissionServices-BdE8_Evq.esm.js";
14
- import "./camera-BEKg9OFz.esm.js";
15
- import "./getBrowser-COVIk8a4.esm.js";
16
- import "./stats-DE05K1o9.esm.js";
17
- import "./MotionSensorProvider-Qfs1LN2o.esm.js";
18
- import "./platform-bAk6j4kV.esm.js";
19
- import "./ITimerCapability-DUFfKzTs.esm.js";
20
- import "./backCameraStream-CrljCJ-Q.esm.js";
21
- import "./getDeviceClass-B_Y-Y-zj.esm.js";
22
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BLsm9VU9.esm.js";
23
- import "./authenticationStateMachine-D8N6ERZa.esm.js";
24
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-URLydvU9.esm.js";
25
- import "./BrowserTimerProvider-Dl6dq0R8.esm.js";
26
- import "./emailStateMachine-bLpj4LRr.esm.js";
27
- import { n as createEmailManagerFromActor } from "./emailManager-y8HVFngo.esm.js";
28
- import "./selfieStateMachine-BusOHMBN.esm.js";
29
- import { n as createSelfieManagerFromActor } from "./selfieManager-CkmC58-2.esm.js";
30
- import "./idCaptureStateMachine-CgddydGJ.esm.js";
31
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DvJEDPBW.esm.js";
32
- import "./phoneStateMachine-BiwbfBRz.esm.js";
33
- import { n as createPhoneManagerFromActor } from "./phoneManager-Wr-zvTY1.esm.js";
1
+ import "./BaseWasmProvider-DJVllLC1.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-C1QSkwNV.esm.js";
3
+ import "./api-BSXEhIP9.esm.js";
4
+ import "./events-CMA7Inmi.esm.js";
5
+ import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-CVnn78wp.esm.js";
6
+ import { t as IpifyProvider } from "./IpifyProvider-VUtQbLEw.esm.js";
7
+ import "./browserSimulation-DkgWRpm9.esm.js";
8
+ import { a as createActor, i as fromPromise } from "./xstate.esm-CgUlXRcS.esm.js";
9
+ import "./faceCaptureManagerFactory-BcB-giLW.esm.js";
10
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DVAPVDBF.esm.js";
11
+ import "./recordingService-CcldnifQ.esm.js";
12
+ import "./deepsightService-DN0659qr.esm.js";
13
+ import "./permissionServices-DdpgW9SN.esm.js";
14
+ import "./camera-BAIH5oJw.esm.js";
15
+ import "./getBrowser-BZ7lWEk3.esm.js";
16
+ import "./stats-B0zmnDQ3.esm.js";
17
+ import "./MotionSensorProvider-4PfJXzu5.esm.js";
18
+ import "./platform-C8vhi30I.esm.js";
19
+ import "./ITimerCapability-DUyV4pr-.esm.js";
20
+ import "./backCameraStream-CphKyzSw.esm.js";
21
+ import "./getDeviceClass-CR_OFNww.esm.js";
22
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CYHH3B2R.esm.js";
23
+ import "./authenticationStateMachine-MFNXdtaO.esm.js";
24
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Bs07YcDZ.esm.js";
25
+ import "./BrowserTimerProvider-COJygdJT.esm.js";
26
+ import "./emailStateMachine-COffWrto.esm.js";
27
+ import { n as createEmailManagerFromActor } from "./emailManager-RepmkFKY.esm.js";
28
+ import "./selfieStateMachine-D3srIKsi.esm.js";
29
+ import { n as createSelfieManagerFromActor } from "./selfieManager-C8i4ptVK.esm.js";
30
+ import "./idCaptureStateMachine-BXbSfdjN.esm.js";
31
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DKXUrFsY.esm.js";
32
+ import "./phoneStateMachine-BxkbhRyM.esm.js";
33
+ import { n as createPhoneManagerFromActor } from "./phoneManager-DtubRN1_.esm.js";
34
34
 
35
35
  //#region src/internal/fingerprint/fingerprintApi.ts
36
36
  async function getFingerprint(disableIpify) {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-BmmucBrC.js";
1
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
2
2
 
3
3
  //#region src/modules/face-match/types.d.ts
4
4
 
@@ -1,7 +1,7 @@
1
- import "./api-Bv7xXuMw.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
4
- import { t as faceMatchMachine } from "./faceMatchStateMachine-CB5JYxiV.esm.js";
1
+ import "./api-BSXEhIP9.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMA7Inmi.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-CgUlXRcS.esm.js";
4
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-BVAC8vpn.esm.js";
5
5
 
6
6
  //#region src/modules/face-match/faceMatchActor.ts
7
7
  function createFaceMatchActor(options) {
@@ -1,5 +1,5 @@
1
- import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-BYuumPiB.esm.js";
2
- import { o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
1
+ import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-CMA7Inmi.esm.js";
2
+ import { o as createManager } from "./xstate.esm-CgUlXRcS.esm.js";
3
3
 
4
4
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
5
5
  function getPermissionStatus(snapshot) {
@@ -1,11 +1,11 @@
1
- import { n as WasmPipeline } from "./warmup-SnxLgQsT.js";
2
- import { t as Manager } from "./Manager-BmmucBrC.js";
3
- import { t as ActorRefFrom } from "./Actor-gwS4PQSi.js";
4
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-B1c7OspS.js";
5
- import { t as CameraStream } from "./camera-CXfeCsaz.js";
6
- import { i as FlowModuleConfig, n as Flow } from "./types-BelKmTqU.js";
7
- import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-BAbwxVdZ.js";
8
- import { n as PermissionStatus, t as PermissionResult } from "./types-nURQ3pMv.js";
1
+ import { n as WasmPipeline } from "./warmup-DBMdabeq.js";
2
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
3
+ import { t as ActorRefFrom } from "./Actor-BW-sqJw1.js";
4
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-By9gV4uV.js";
5
+ import { t as CameraStream } from "./camera-8mZXnNHU.js";
6
+ import { i as FlowModuleConfig, n as Flow } from "./types-CqgOGNlq.js";
7
+ import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-D5u0gQNa.js";
8
+ import { n as PermissionStatus, t as PermissionResult } from "./types-B7cBCEFG.js";
9
9
 
10
10
  //#region src/modules/authentication/authenticationStateMachine.d.ts
11
11
  declare const _authenticationMachine: AnyStateMachine;
@@ -1,7 +1,7 @@
1
- import { r as getToken } from "./api-Bv7xXuMw.esm.js";
2
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
3
- import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-CpbeUNqo.esm.js";
4
- import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-BdE8_Evq.esm.js";
1
+ import { r as getToken } from "./api-BSXEhIP9.esm.js";
2
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
3
+ import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-CcldnifQ.esm.js";
4
+ import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DdpgW9SN.esm.js";
5
5
 
6
6
  //#region src/internal/faceCapture/faceCaptureSetup.ts
7
7
  const getAttemptsFromConfig = (config) => {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-Bv7xXuMw.esm.js";
2
- import { _ as endpoints } from "./events-BYuumPiB.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
1
+ import { t as api } from "./api-BSXEhIP9.esm.js";
2
+ import { v as endpoints } from "./events-CMA7Inmi.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
4
4
 
5
5
  //#region src/modules/face-match/faceMatchServices.ts
6
6
  /**
@@ -0,0 +1,6 @@
1
+ import "./camera-8mZXnNHU.js";
2
+ import "./types-ClH8UoEK.js";
3
+ import "./types-CqgOGNlq.js";
4
+ import "./flowCompletionService-CE_7r8I6.js";
5
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-DrJrMkIV.js";
6
+ export { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
File without changes
package/dist/flow.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- import { n as WasmPipeline } from "./warmup-SnxLgQsT.js";
2
- import { t as Manager } from "./Manager-BmmucBrC.js";
3
- import { t as AnyStateMachine } from "./StateMachine-B1c7OspS.js";
4
- import "./camera-CXfeCsaz.js";
5
- import "./types-BxjVn8Ry.js";
6
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BelKmTqU.js";
7
- import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BxOJeebo.js";
8
- import { t as ModuleRegistry } from "./types-DZ7Qw6Yc.js";
1
+ import { n as WasmPipeline } from "./warmup-DBMdabeq.js";
2
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
3
+ import { t as AnyStateMachine } from "./StateMachine-By9gV4uV.js";
4
+ import "./camera-8mZXnNHU.js";
5
+ import "./types-ClH8UoEK.js";
6
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-CqgOGNlq.js";
7
+ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-CE_7r8I6.js";
8
+ import { o as FlowEventSubscribable } from "./index-DrJrMkIV.js";
9
+ import { t as ModuleRegistry } from "./types-Bp25vxVp.js";
9
10
 
10
11
  //#region src/modules/flow/flowUtils.d.ts
11
12
  type NormalizeFlowModulesOptions = {
@@ -170,7 +171,7 @@ declare function createFlowManager(options?: CreateFlowActorOptions): Manager<Fl
170
171
  * @returns `true` if the module exists in the flow, `false` otherwise or if not in `ready` state
171
172
  */
172
173
  isModuleEnabled: (moduleKey: string) => boolean;
173
- };
174
+ } & FlowEventSubscribable;
174
175
  //#endregion
175
176
  //#region src/modules/flow/moduleLoader.d.ts
176
177
  type LazyModule<T$1> = () => Promise<T$1>;
@@ -333,6 +334,6 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
333
334
  getLazyModuleKey(): string | undefined;
334
335
  shouldRenderHomeScreen(): boolean;
335
336
  continueFromHome(): Promise<void>;
336
- };
337
+ } & FlowEventSubscribable;
337
338
  //#endregion
338
339
  export { type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowReadyState, type FlowState, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, createFlowManager, createModuleLoader, createOrchestratedFlowManager, getFlow, getRequiredWasmPipelines, normalizeFlowModules };
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
- import "./api-Bv7xXuMw.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
3
- import "./session-CEsW15cJ.esm.js";
4
- import "./IpifyProvider-BRMpdf22.esm.js";
5
- import "./browserSimulation-CB1iKoSy.esm.js";
6
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
7
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-ngHx2Tal.esm.js";
8
- import { t as getFinishStatus } from "./flowCompletionService-B0ua9_Oo.esm.js";
9
- import { t as runChildModule } from "./runChildModule-DHxT1RV0.esm.js";
1
+ import "./api-BSXEhIP9.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-CMA7Inmi.esm.js";
3
+ import "./session-CVnn78wp.esm.js";
4
+ import "./IpifyProvider-VUtQbLEw.esm.js";
5
+ import "./browserSimulation-DkgWRpm9.esm.js";
6
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
7
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-C4ZwSDb5.esm.js";
8
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CE6a3Qge.esm.js";
9
+ import { t as getFinishStatus } from "./flowCompletionService-35cyRGQ2.esm.js";
10
10
 
11
11
  //#region src/modules/flow/flowStateMachine.ts
12
12
  const flowMachine = setup({
@@ -237,12 +237,12 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
237
237
  * ```
238
238
  */
239
239
  function createFlowManager(options) {
240
- return createManager({
240
+ return attachFlowEventEmitter(createManager({
241
241
  actor: createFlowActor(options),
242
242
  mapState,
243
243
  createApi,
244
244
  instrumentation: createManagerInstrumentation("FLOW")
245
- });
245
+ }));
246
246
  }
247
247
 
248
248
  //#endregion
@@ -793,12 +793,12 @@ function createOrchestratedFlowManager(options) {
793
793
  const actor = createOrchestratedFlowActor(options);
794
794
  const enableHome = options.enableHome === true;
795
795
  const uiOpts = { enableHome };
796
- return createManager({
796
+ return attachFlowEventEmitter(createManager({
797
797
  actor,
798
798
  mapState: (snapshot) => mapOrchestratedFlowState(snapshot, uiOpts),
799
799
  createApi: (apiOpts) => createOrchestratedFlowApi(apiOpts, { enableHome }),
800
800
  instrumentation: createManagerInstrumentation("FLOW")
801
- });
801
+ }));
802
802
  }
803
803
 
804
804
  //#endregion
@@ -1,5 +1,5 @@
1
- import { t as api } from "./api-Bv7xXuMw.esm.js";
2
- import { _ as endpoints } from "./events-BYuumPiB.esm.js";
1
+ import { t as api } from "./api-BSXEhIP9.esm.js";
2
+ import { v as endpoints } from "./events-CMA7Inmi.esm.js";
3
3
 
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-Bv7xXuMw.esm.js";
2
- import { _ as endpoints } from "./events-BYuumPiB.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CEsW15cJ.esm.js";
1
+ import { t as api } from "./api-BSXEhIP9.esm.js";
2
+ import { v as endpoints } from "./events-CMA7Inmi.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-CVnn78wp.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BmmucBrC.js";
2
- import "./Actor-gwS4PQSi.js";
1
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
2
+ import "./Actor-BW-sqJw1.js";
3
3
 
4
4
  //#region ../infra/src/capabilities/IGeolocationCapability.d.ts
5
5
  type GeolocationCoords = {
@@ -1,8 +1,8 @@
1
- import "./api-Bv7xXuMw.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
4
- import "./platform-bAk6j4kV.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-Cc2eFVZU.esm.js";
1
+ import "./api-BSXEhIP9.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMA7Inmi.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-CgUlXRcS.esm.js";
4
+ import "./platform-C8vhi30I.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-CFOJL1-G.esm.js";
6
6
 
7
7
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
8
8
  var BrowserGeolocationProvider = class {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-Bv7xXuMw.esm.js";
2
- import { _ as endpoints } from "./events-BYuumPiB.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
4
- import { r as isIOS, t as isAndroid } from "./platform-bAk6j4kV.esm.js";
1
+ import { t as api } from "./api-BSXEhIP9.esm.js";
2
+ import { v as endpoints } from "./events-CMA7Inmi.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
4
+ import { r as isIOS, t as isAndroid } from "./platform-C8vhi30I.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 { n as getDeviceInfo } from "./getBrowser-COVIk8a4.esm.js";
1
+ import { n as getDeviceInfo } from "./getBrowser-BZ7lWEk3.esm.js";
2
2
 
3
3
  //#region src/internal/device/getDeviceClass.ts
4
4
  function getDeviceClass() {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-BmmucBrC.js";
2
- import "./Actor-gwS4PQSi.js";
1
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
2
+ import "./Actor-BW-sqJw1.js";
3
3
 
4
4
  //#region src/modules/government-validation/types.d.ts
5
5
  type GovernmentValidationConfig = {
@@ -1,8 +1,8 @@
1
- import "./api-Bv7xXuMw.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
4
- import "./BrowserTimerProvider-Dl6dq0R8.esm.js";
5
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-wvZ5ysEM.esm.js";
1
+ import "./api-BSXEhIP9.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-CMA7Inmi.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-CgUlXRcS.esm.js";
4
+ import "./BrowserTimerProvider-COJygdJT.esm.js";
5
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-Cb30eJqS.esm.js";
6
6
 
7
7
  //#region src/modules/government-validation/governmentValidationActor.ts
8
8
  function createGovernmentValidationActor(options) {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-Bv7xXuMw.esm.js";
2
- import { _ as endpoints } from "./events-BYuumPiB.esm.js";
3
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-Dl6dq0R8.esm.js";
1
+ import { t as api } from "./api-BSXEhIP9.esm.js";
2
+ import { v as endpoints } from "./events-CMA7Inmi.esm.js";
3
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-COJygdJT.esm.js";
5
5
 
6
6
  //#region src/modules/government-validation/governmentValidationServices.ts
7
7
  async function processGovernmentValidation(signal) {
package/dist/home.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { t as Manager } from "./Manager-BmmucBrC.js";
2
- import "./camera-CXfeCsaz.js";
3
- import "./types-BxjVn8Ry.js";
4
- import { t as EmptyConfig } from "./types-BelKmTqU.js";
5
- import * as xstate919 from "xstate";
1
+ import { t as Manager } from "./Manager-uUcXOI3u.js";
2
+ import "./camera-8mZXnNHU.js";
3
+ import "./types-ClH8UoEK.js";
4
+ import { t as EmptyConfig } from "./types-CqgOGNlq.js";
5
+ import * as xstate379 from "xstate";
6
6
 
7
7
  //#region src/modules/home/types.d.ts
8
8
  type HomeConfig = EmptyConfig;
@@ -34,41 +34,41 @@ type HomeContext = {
34
34
  type HomeInput = {
35
35
  config: EmptyConfig;
36
36
  };
37
- declare const homeMachine: xstate919.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate379.StateMachine<HomeContext, {
38
38
  type: "LOAD";
39
39
  } | {
40
40
  type: "COMPLETE";
41
41
  } | {
42
42
  type: "RESET";
43
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate919.NonReducibleUnknown, xstate919.EventObject, xstate919.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate379.NonReducibleUnknown, xstate379.EventObject, xstate379.MetaObject, {
44
44
  readonly id: "home";
45
45
  readonly initial: "idle";
46
46
  readonly context: ({
47
47
  input
48
48
  }: {
49
49
  spawn: {
50
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate919.ActorRefFromLogic<never>;
51
- <TLogic extends xstate919.AnyActorLogic>(src: TLogic, ...[options]: xstate919.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate379.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate379.AnyActorLogic>(src: TLogic, ...[options]: xstate379.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate919.InputFrom<TLogic> | undefined;
54
+ input?: xstate379.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate919.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate919.IsNotNever<xstate919.RequiredLogicInput<TLogic>>>): xstate919.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate379.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate379.IsNotNever<xstate379.RequiredLogicInput<TLogic>>>): xstate379.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate919.ActorRef<xstate919.MachineSnapshot<HomeContext, {
59
+ self: xstate379.ActorRef<xstate379.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate919.AnyActorRef | undefined>, xstate919.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate379.AnyActorRef | undefined>, xstate379.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate919.AnyEventObject>;
71
+ }, xstate379.AnyEventObject>;
72
72
  }) => {
73
73
  config: EmptyConfig;
74
74
  };
package/dist/home.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import "./api-Bv7xXuMw.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
3
- import { a as createActor, o as createManager, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
1
+ import "./api-BSXEhIP9.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-CMA7Inmi.esm.js";
3
+ import { a as createActor, o as createManager, t as setup } from "./xstate.esm-CgUlXRcS.esm.js";
4
4
 
5
5
  //#region src/modules/home/homeStateMachine.ts
6
6
  const homeMachine = setup({ types: {
package/dist/http.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getApi, t as api } from "./api-Bv7xXuMw.esm.js";
1
+ import { n as getApi, t as api } from "./api-BSXEhIP9.esm.js";
2
2
 
3
3
  export { api, getApi };