@incodetech/core 0.0.0-dev-20260615-7defa108 → 0.0.0-dev-20260616-e026f0c8

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 (218) hide show
  1. package/dist/{OpenViduRecordingProvider-DtCkxhaa.esm.js → OpenViduRecordingProvider-BDIlX9Cq.esm.js} +1 -1
  2. package/dist/{StreamCanvasCapture-CPTcu6u6.esm.js → StreamCanvasCapture-Dr5n_iK1.esm.js} +1 -1
  3. package/dist/{StreamCanvasCapture-DFBEzBLB.d.ts → StreamCanvasCapture-uQFmjDCE.d.ts} +1 -1
  4. package/dist/{addressSearch-BQCvIe1E.esm.js → addressSearch-4xxBiFtH.esm.js} +4 -4
  5. package/dist/{ae-signature-DxX99lOP.esm.js → ae-signature-C8mNUYSC.esm.js} +1 -1
  6. package/dist/ae-signature.d.ts +3 -3
  7. package/dist/ae-signature.esm.js +9 -9
  8. package/dist/antifraud.d.ts +3 -3
  9. package/dist/antifraud.esm.js +6 -6
  10. package/dist/{antifraudManager-DI9S7XTK.esm.js → antifraudManager-By70WUpS.esm.js} +3 -3
  11. package/dist/{antifraudManager-CMzQ05Gx.d.ts → antifraudManager-vkuogwAe.d.ts} +2 -2
  12. package/dist/{antifraudStateMachine-ZzjAr546.esm.js → antifraudStateMachine-DPs0Knyq.esm.js} +3 -3
  13. package/dist/authentication.d.ts +13 -13
  14. package/dist/authentication.esm.js +27 -27
  15. package/dist/{authenticationManager-bKzA0gLB.d.ts → authenticationManager-CDxVMHF1.d.ts} +2 -2
  16. package/dist/{authenticationManager-CwcMuMzK.esm.js → authenticationManager-Dz4IJIrK.esm.js} +6 -6
  17. package/dist/{authenticationStateMachine-D7BUqBCb.esm.js → authenticationStateMachine-ZqIWl4M4.esm.js} +8 -8
  18. package/dist/{backCameraStream-lMXrbEpC.esm.js → backCameraStream-iftkf3rd.esm.js} +3 -3
  19. package/dist/browser-8Za96B1X-CUY3snMa.esm.js +1425 -0
  20. package/dist/{browserSimulation-DJfvkbAE.esm.js → browserSimulation-CGjpdNA1.esm.js} +2 -2
  21. package/dist/camera.d.ts +1 -1
  22. package/dist/camera.esm.js +4 -4
  23. package/dist/certificate-issuance.d.ts +30 -30
  24. package/dist/certificate-issuance.esm.js +7 -7
  25. package/dist/{certificateIssuanceStateMachine-DpPZoGT3.esm.js → certificateIssuanceStateMachine-DB2r-cpB.esm.js} +4 -4
  26. package/dist/consent.d.ts +3 -3
  27. package/dist/consent.esm.js +6 -6
  28. package/dist/{consentManager-BIoVcRI-.esm.js → consentManager-ChvHt6T_.esm.js} +3 -3
  29. package/dist/{consentManager-dB4AdXT1.d.ts → consentManager-DWB0fOnC.d.ts} +52 -52
  30. package/dist/{consentStateMachine-DbaAIypS.esm.js → consentStateMachine-CWypW8J8.esm.js} +3 -3
  31. package/dist/cpf-ocr.d.ts +3 -3
  32. package/dist/cpf-ocr.esm.js +6 -6
  33. package/dist/{cpfOcrManager-qoIZene3.esm.js → cpfOcrManager-B52QLxQV.esm.js} +5 -5
  34. package/dist/{cpfOcrManager-BoKvGSo5.d.ts → cpfOcrManager-DZudorH5.d.ts} +25 -25
  35. package/dist/cross-document-data-match.d.ts +1 -1
  36. package/dist/cross-document-data-match.esm.js +5 -5
  37. package/dist/curp-validation.d.ts +7 -7
  38. package/dist/curp-validation.esm.js +6 -6
  39. package/dist/{curpValidationManager-BYxOLnL5.d.ts → curpValidationManager-CeXO_2dN.d.ts} +3 -3
  40. package/dist/{curpValidationManager-Bzxw5FVS.esm.js → curpValidationManager-De6xoNE4.esm.js} +3 -3
  41. package/dist/{curpValidationStateMachine-HGNg1cZZ.esm.js → curpValidationStateMachine-Cx2u6xYU.esm.js} +3 -3
  42. package/dist/custom-fields.d.ts +2 -2
  43. package/dist/custom-fields.esm.js +5 -5
  44. package/dist/custom-watchlist.d.ts +1 -1
  45. package/dist/custom-watchlist.esm.js +5 -5
  46. package/dist/{customWatchlistStateMachine-DOv0pHd_.esm.js → customWatchlistStateMachine-EkXjc819.esm.js} +3 -3
  47. package/dist/{deepsightLoader-Cm_PBWfU.esm.js → deepsightLoader-cR0EgL9O.esm.js} +13 -13
  48. package/dist/{deepsightService-C5vSOVue.esm.js → deepsightService-40p8oygL.esm.js} +7 -7
  49. package/dist/{deepsightService-DmCqRh9-.d.ts → deepsightService-BpVpDm2O.d.ts} +1 -1
  50. package/dist/device.esm.js +4 -4
  51. package/dist/document-capture.d.ts +235 -235
  52. package/dist/document-capture.esm.js +13 -13
  53. package/dist/document-upload.d.ts +53 -53
  54. package/dist/document-upload.esm.js +8 -8
  55. package/dist/{documentCaptureStateMachine-D6ZC_Ty0.esm.js → documentCaptureStateMachine-BBEoBbLb.esm.js} +7 -7
  56. package/dist/dynamic-forms.d.ts +2 -2
  57. package/dist/dynamic-forms.esm.js +5 -5
  58. package/dist/ekyb.d.ts +6 -6
  59. package/dist/ekyb.esm.js +16 -16
  60. package/dist/{ekybStateMachine-BStKk0D1.esm.js → ekybStateMachine-iBJaSAJs.esm.js} +5 -5
  61. package/dist/ekyc.d.ts +3 -3
  62. package/dist/ekyc.esm.js +8 -8
  63. package/dist/{ekycStateMachine-IqmWlBh8.esm.js → ekycStateMachine-dXnYshTa.esm.js} +5 -5
  64. package/dist/electronic-signature.d.ts +3 -3
  65. package/dist/electronic-signature.esm.js +8 -8
  66. package/dist/{electronicSignatureManager-D2WzDJUK.esm.js → electronicSignatureManager-Db9SeoGj.esm.js} +6 -6
  67. package/dist/email.d.ts +4 -4
  68. package/dist/email.esm.js +8 -8
  69. package/dist/{emailManager-DnID6SGV.d.ts → emailManager-DLFWfHIl.d.ts} +3 -3
  70. package/dist/{emailManager-BbI08-We.esm.js → emailManager-DQJIAsix.esm.js} +4 -4
  71. package/dist/{emailStateMachine-CgLix5Wg.esm.js → emailStateMachine-C1DabizS.esm.js} +5 -5
  72. package/dist/{events-BAfXOOYZ.esm.js → events-CmarQoum.esm.js} +1 -1
  73. package/dist/events.esm.js +2 -2
  74. package/dist/extensibility.d.ts +26 -26
  75. package/dist/extensibility.esm.js +57 -57
  76. package/dist/{externalFetch-h7WAdNPQ.esm.js → externalFetch-crimxkN9.esm.js} +1 -1
  77. package/dist/face-match.d.ts +1 -1
  78. package/dist/face-match.esm.js +5 -5
  79. package/dist/{faceCaptureManagerFactory-C2o4b80r.d.ts → faceCaptureManagerFactory-BQg4HVQ0.d.ts} +9 -9
  80. package/dist/{faceCaptureManagerFactory-BIG0X_6p.esm.js → faceCaptureManagerFactory-ByC4Qa8y.esm.js} +4 -4
  81. package/dist/{faceCaptureSetup-CWZnwDLg.esm.js → faceCaptureSetup-B2H2mNGa.esm.js} +7 -7
  82. package/dist/{faceMatchStateMachine-dCBdFrmq.esm.js → faceMatchStateMachine-eQOGyK1R.esm.js} +3 -3
  83. package/dist/field-comparison.d.ts +3 -3
  84. package/dist/field-comparison.esm.js +5 -5
  85. package/dist/{fieldComparisonManager-BOIJSYPj.d.ts → fieldComparisonManager-CgJctoEw.d.ts} +2 -2
  86. package/dist/{fieldComparisonManager-Ce8rDT_m.esm.js → fieldComparisonManager-IaJfvmEt.esm.js} +4 -4
  87. package/dist/fiscal-qr.d.ts +3 -3
  88. package/dist/fiscal-qr.esm.js +12 -12
  89. package/dist/flow-events.d.ts +6 -6
  90. package/dist/flow.d.ts +12 -12
  91. package/dist/flow.esm.js +16 -16
  92. package/dist/{flowCompletionService-D8OXFjRA.esm.js → flowCompletionService-D9l6fDFY.esm.js} +3 -3
  93. package/dist/{flowServices-DPPO-zkq.esm.js → flowServices-BRfa1_9p.esm.js} +4 -4
  94. package/dist/geolocation.d.ts +2 -2
  95. package/dist/geolocation.esm.js +6 -6
  96. package/dist/{geolocationStateMachine-CiwWx_j9.esm.js → geolocationStateMachine-CB4yyRz1.esm.js} +4 -4
  97. package/dist/{getDeviceClass-BnkJjTVR.esm.js → getDeviceClass-rXKlXywy.esm.js} +1 -1
  98. package/dist/government-validation.d.ts +3 -3
  99. package/dist/government-validation.esm.js +7 -7
  100. package/dist/{governmentValidationStateMachine-Kvfdljb6.esm.js → governmentValidationStateMachine-DXqbvuKL.esm.js} +5 -5
  101. package/dist/home.d.ts +15 -15
  102. package/dist/home.esm.js +3 -3
  103. package/dist/http.esm.js +2 -2
  104. package/dist/id-ocr.d.ts +54 -54
  105. package/dist/id-ocr.esm.js +6 -6
  106. package/dist/id-verification.d.ts +27 -27
  107. package/dist/id-verification.esm.js +5 -5
  108. package/dist/id.d.ts +12 -12
  109. package/dist/id.esm.js +31 -31
  110. package/dist/{idCaptureManager-DWRE6Jd4.esm.js → idCaptureManager-Cm-IXB70.esm.js} +5 -5
  111. package/dist/{idCaptureManager-CLOK998H.d.ts → idCaptureManager-Wn84cPTa.d.ts} +8 -8
  112. package/dist/{idCaptureStateMachine-BIz8XI5L.esm.js → idCaptureStateMachine-CU3F89Pn.esm.js} +19 -19
  113. package/dist/{idOcrStateMachine-Dmqb6Lay.esm.js → idOcrStateMachine-BwksZ-bt.esm.js} +5 -5
  114. package/dist/{idVerificationStateMachine-DoxfID_7.esm.js → idVerificationStateMachine-BMzgkkbQ.esm.js} +3 -3
  115. package/dist/identity-reuse.d.ts +3 -3
  116. package/dist/identity-reuse.esm.js +6 -6
  117. package/dist/{identityReuseManager-DcBFqi3g.esm.js → identityReuseManager-Bew667Pj.esm.js} +3 -3
  118. package/dist/{identityReuseManager-BqsBPObh.d.ts → identityReuseManager-mEnl2R8N.d.ts} +36 -36
  119. package/dist/{identityReuseStateMachine-BYee6d-o.esm.js → identityReuseStateMachine-CbR5itoo.esm.js} +3 -3
  120. package/dist/{index-DeuHzDNj.d.ts → index-B1r8U5de.d.ts} +169 -169
  121. package/dist/index-Dn9cDS6f.d.ts +99 -0
  122. package/dist/{index-BbKckxUr.d.ts → index-cIuvyWMa.d.ts} +2 -2
  123. package/dist/index.d.ts +3 -2
  124. package/dist/index.esm.js +13 -12
  125. package/dist/{invokeOnCaptureCallback-DW53sNuV.esm.js → invokeOnCaptureCallback-DyJrH089.esm.js} +1 -1
  126. package/dist/{lib-BCAntT8H.esm.js → lib-DOI53AqI.esm.js} +1 -1
  127. package/dist/mandatory-consent.d.ts +7 -7
  128. package/dist/mandatory-consent.esm.js +6 -6
  129. package/dist/{mandatoryConsentManager--05U1ab3.d.ts → mandatoryConsentManager-HAXD0YGt.d.ts} +53 -53
  130. package/dist/{mandatoryConsentManager-CaZap2vM.esm.js → mandatoryConsentManager-kbO0Dr65.esm.js} +3 -3
  131. package/dist/{mandatoryConsentStateMachine-DebtfjHH.esm.js → mandatoryConsentStateMachine-DtjGqH2e.esm.js} +3 -3
  132. package/dist/openviduLazy--VDjpeVq.esm.js +3 -0
  133. package/dist/{openviduLazy-D7RY-Wk1.esm.js → openviduLazy-BapX8Ljx.esm.js} +2 -2
  134. package/dist/{permissionGuards-D-u5o-ZS.esm.js → permissionGuards-MDEdZAXO.esm.js} +1 -1
  135. package/dist/{permissionServices-DOMAS5FL.esm.js → permissionServices-BApXq7a0.esm.js} +3 -3
  136. package/dist/phone.d.ts +4 -4
  137. package/dist/phone.esm.js +8 -8
  138. package/dist/{phoneManager-C0NWX3dt.esm.js → phoneManager-CZA4CST1.esm.js} +4 -4
  139. package/dist/{phoneManager-BjqCfWeD.d.ts → phoneManager-CkEiuAuM.d.ts} +3 -3
  140. package/dist/{phoneStateMachine-BGhYP8mx.esm.js → phoneStateMachine-BQNuJGjq.esm.js} +5 -5
  141. package/dist/{qe-signature-D10dlZ0x.esm.js → qe-signature-BVUV3TE_.esm.js} +1 -1
  142. package/dist/qe-signature.d.ts +3 -3
  143. package/dist/qe-signature.esm.js +9 -9
  144. package/dist/{recordingService-CBkqroyl.esm.js → recordingService-Cw3hJgT2.esm.js} +15 -15
  145. package/dist/redirect-to-mobile.d.ts +3 -3
  146. package/dist/redirect-to-mobile.esm.js +8 -8
  147. package/dist/{redirectToMobileManager-DK7C4-jS.esm.js → redirectToMobileManager-B4PTmB3H.esm.js} +4 -4
  148. package/dist/{redirectToMobileManager-BzdVum0z.d.ts → redirectToMobileManager-DYQsXMqo.d.ts} +2 -2
  149. package/dist/{redirectToMobileStateMachine-POVmJ2pQ.esm.js → redirectToMobileStateMachine-BWrpS_sN.esm.js} +5 -5
  150. package/dist/{runChildModule-D1kJKuZp.esm.js → runChildModule-DaOsL9FE.esm.js} +3 -3
  151. package/dist/selfie.d.ts +13 -13
  152. package/dist/selfie.esm.js +28 -28
  153. package/dist/{selfieManager-CEO1DECO.d.ts → selfieManager-CxktnRiy.d.ts} +2 -2
  154. package/dist/{selfieManager-CQwbCfx1.esm.js → selfieManager-MGv9xxlB.esm.js} +6 -6
  155. package/dist/{selfieStateMachine-D0azn4SB.esm.js → selfieStateMachine-DIep8sRA.esm.js} +4 -4
  156. package/dist/{session-Bdskj4-a.esm.js → session-C_G3d7av.esm.js} +3 -3
  157. package/dist/session.d.ts +5 -5
  158. package/dist/session.esm.js +12 -12
  159. package/dist/{sessionInitializer-CnF49tUG.esm.js → sessionInitializer-Qlg7EwTl.esm.js} +7 -7
  160. package/dist/{setup-Xw_UwsPu.d.ts → setup-CPD1Cb_d.d.ts} +47 -1
  161. package/dist/{setup-BtMy_8iH.esm.js → setup-wZGxwi9m.esm.js} +36 -7
  162. package/dist/signature.d.ts +2 -2
  163. package/dist/signature.esm.js +5 -5
  164. package/dist/{signatureStateMachine-B8MOqm3t.esm.js → signatureStateMachine-B7hxdXio.esm.js} +3 -3
  165. package/dist/{stats-DYtpAi8r.esm.js → stats-32mOt6D8.esm.js} +2 -2
  166. package/dist/stats.esm.js +3 -3
  167. package/dist/tri-Bn_ESCop.esm.js +326 -0
  168. package/dist/tri.d.ts +2 -0
  169. package/dist/tri.esm-Drm5tKql.esm.js +2590 -0
  170. package/dist/tri.esm.js +4 -0
  171. package/dist/trust-graph.d.ts +3 -3
  172. package/dist/trust-graph.esm.js +3 -3
  173. package/dist/{types-CMtiO-70.d.ts → types-CNiMvUpA.d.ts} +1 -1
  174. package/dist/{types-DVP3cl71.d.ts → types-D8y52YD5.d.ts} +2 -2
  175. package/dist/{types-GHZBxVAa.d.ts → types-DR2YKE_o.d.ts} +1 -1
  176. package/dist/wasm.d.ts +3 -2
  177. package/dist/wasm.esm.js +13 -12
  178. package/dist/watchlist-for-business.d.ts +1 -1
  179. package/dist/watchlist-for-business.esm.js +5 -5
  180. package/dist/watchlist.d.ts +1 -1
  181. package/dist/watchlist.esm.js +5 -5
  182. package/dist/{watchlistForBusinessStateMachine-C_w0OJjF.esm.js → watchlistForBusinessStateMachine-D3W0_TEt.esm.js} +3 -3
  183. package/dist/{watchlistStateMachine-C6vF9Zrp.esm.js → watchlistStateMachine-D8EXhr5W.esm.js} +3 -3
  184. package/dist/workflow.d.ts +97 -97
  185. package/dist/workflow.esm.js +63 -63
  186. package/package.json +6 -1
  187. package/dist/openviduLazy-Cen9OnxA.esm.js +0 -3
  188. /package/dist/{Actor-VPMjMiQi.d.ts → Actor-CeqUTqL9.d.ts} +0 -0
  189. /package/dist/{BrowserStorageProvider-r6RSzdfq.esm.js → BrowserStorageProvider-CGCKial0.esm.js} +0 -0
  190. /package/dist/{BrowserTimerProvider-CswUX7jZ.esm.js → BrowserTimerProvider-BVgutW_b.esm.js} +0 -0
  191. /package/dist/{ITimerCapability-BAVwUNw-.esm.js → ITimerCapability-BvH0pDwp.esm.js} +0 -0
  192. /package/dist/{IpifyProvider-WAAszwtP.esm.js → IpifyProvider-oZf7Ke1O.esm.js} +0 -0
  193. /package/dist/{Manager-TNEsbB6B.d.ts → Manager-CHiHBvMT.d.ts} +0 -0
  194. /package/dist/{MotionSensorProvider-CnpzpFUv.esm.js → MotionSensorProvider-C9fPAJdS.esm.js} +0 -0
  195. /package/dist/{StateMachine-D1N4vDv3.d.ts → StateMachine-HpHVxl3G.d.ts} +0 -0
  196. /package/dist/{WasmUtilProvider-DrWyN0yi.esm.js → WasmUtilProvider-CAZ4AD98.esm.js} +0 -0
  197. /package/dist/{api-D5AupVUC.esm.js → api-DUZwyz0o.esm.js} +0 -0
  198. /package/dist/{apiError-DNxc6p50.esm.js → apiError-D-GTvFrH.esm.js} +0 -0
  199. /package/dist/{camera-q1KoKNR1.d.ts → camera-D0c7ez3w.d.ts} +0 -0
  200. /package/dist/{camera-CBMl39hO.esm.js → camera-x4LjGTjZ.esm.js} +0 -0
  201. /package/dist/{canvas-Q8Scx3Gn.esm.js → canvas-7uX2izHb.esm.js} +0 -0
  202. /package/dist/{chunk-DHPE1s-n.esm.js → chunk-BK1xu56N.esm.js} +0 -0
  203. /package/dist/{cpf-BSpGHuIr.esm.js → cpf-xBg-DFNn.esm.js} +0 -0
  204. /package/dist/{dateUtils-D-YO9_Hp.esm.js → dateUtils-8dCcuArE.esm.js} +0 -0
  205. /package/dist/{endpoints-BUiak39U.esm.js → endpoints-B2t80MAM.esm.js} +0 -0
  206. /package/dist/{flowCompletionService-CamSPuV-.d.ts → flowCompletionService-DSPt5J5M.d.ts} +0 -0
  207. /package/dist/{getBrowser-CNCEFWPH.esm.js → getBrowser-Dv8LZyHE.esm.js} +0 -0
  208. /package/dist/{getDeviceClass-C3N2KaOI.esm.js → getDeviceClass-C0zrM97a.esm.js} +0 -0
  209. /package/dist/{http-CkcES084.esm.js → http-B2UWIXGr.esm.js} +0 -0
  210. /package/dist/{otp-Buh7Tv8k.d.ts → otp-BHJnjEEc.d.ts} +0 -0
  211. /package/dist/{otp-BiWjw9ZQ.esm.js → otp-BcSa5nTM.esm.js} +0 -0
  212. /package/dist/{platform-DctkySJU.esm.js → platform-BfoqeM61.esm.js} +0 -0
  213. /package/dist/{types-CruqHl68.d.ts → types-C1ixFPzO.d.ts} +0 -0
  214. /package/dist/{types-rL_0z8ZR.esm.js → types-C3Yf5jrM.esm.js} +0 -0
  215. /package/dist/{types-BBaEWy5n.d.ts → types-F0IXbaCB.d.ts} +0 -0
  216. /package/dist/{urlUtils-C9o6zrp8.esm.js → urlUtils-8RNHyW3x.esm.js} +0 -0
  217. /package/dist/{warmup-bRMrjEVP.d.ts → warmup-CdT_pVcp.d.ts} +0 -0
  218. /package/dist/{xstate.esm-BMAePvR6.esm.js → xstate.esm-CbU9dpcC.esm.js} +0 -0
@@ -0,0 +1,99 @@
1
+ import { IncodeTRIConfig, IncodeTRIState, Session } from "@incodetech/tri-sdk";
2
+
3
+ //#region ../infra/src/tri/TransactionalRiskIntelligence.d.ts
4
+
5
+ /**
6
+ * Runtime TRI configuration passed to `IncodeTRI.setup`.
7
+ * Mirrors the upstream `IncodeTRIConfig` (a `TRIConfigBase` intersected with a
8
+ * layer-/collector-based selector union).
9
+ */
10
+ type TransactionalRiskIntelligenceConfig = IncodeTRIConfig;
11
+ type TransactionalRiskIntelligenceState = IncodeTRIState;
12
+ /**
13
+ * Result of exchanging an organization API key for a short-lived TRI SDK token.
14
+ * Mirrors the upstream `Session` shape: `{ token, eventsCollectionEnabled, error? }`.
15
+ */
16
+ type TransactionalRiskIntelligenceSession = Session;
17
+ /**
18
+ * Options accepted by the TRI `createSession` exchange. The upstream SDK does
19
+ * not export this shape, so it is mirrored here.
20
+ */
21
+ type TransactionalRiskIntelligenceSessionOptions = {
22
+ apiURL?: string;
23
+ signal?: AbortSignal;
24
+ timeout?: number;
25
+ };
26
+ //#endregion
27
+ //#region src/integrations/tri/types.d.ts
28
+ /**
29
+ * Setup-time TRI configuration supplied as `SetupOptions.tri`.
30
+ *
31
+ * Extends the runtime `TransactionalRiskIntelligenceConfig` with one
32
+ * SDK-specific field:
33
+ *
34
+ * - `autostart` — when `false`, `setup()` registers the TRI config but does
35
+ * not call `setupTRI` / `startTRI` automatically. Useful when you need to
36
+ * control the exact moment collection starts (e.g. after a consent gate).
37
+ * Omit (or set `true`) to let `setup()` start TRI during boot.
38
+ *
39
+ * `token` and `apiURL` are both required. TRI will not start unless both are
40
+ * present — omitting either is the implicit opt-out.
41
+ */
42
+ type TransactionalRiskIntelligenceSetupConfig = TransactionalRiskIntelligenceConfig & {
43
+ autostart?: boolean;
44
+ };
45
+ //#endregion
46
+ //#region src/integrations/tri/tri.d.ts
47
+ /**
48
+ * Exchanges an organization API key for a short-lived TRI SDK token. This is
49
+ * the entry point that triggers the lazy-load of `@incodetech/tri-sdk` (via the
50
+ * provider's dynamic `import()`); the cached lazy handle is reused by a
51
+ * subsequent `setupTRI()`.
52
+ *
53
+ * In production the exchange should happen server-side. On a load timeout or
54
+ * failure the returned session carries `token: null` and an `error`, rather
55
+ * than throwing.
56
+ *
57
+ * @param apiKey - Organization API key.
58
+ * @param options - Optional `apiURL`, `signal`, and `timeout` overrides.
59
+ */
60
+ declare function createTRISession(apiKey: string, options?: TransactionalRiskIntelligenceSessionOptions): Promise<TransactionalRiskIntelligenceSession>;
61
+ /**
62
+ * Initializes TRI in a single step: resolves the config, calls `setupTRI`,
63
+ * and calls `startTRI`.
64
+ *
65
+ * Returns the resolved {@link TransactionalRiskIntelligenceState}. If the
66
+ * config cannot be resolved (e.g. missing `token` or `apiURL`), returns
67
+ * `'init-failed'` after emitting a `[TRI]` warning.
68
+ *
69
+ * @param config - TRI setup config (must include `token` and `apiURL`).
70
+ */
71
+ declare function initializeTRI(config: TransactionalRiskIntelligenceSetupConfig): Promise<TransactionalRiskIntelligenceState>;
72
+ /**
73
+ * Calls the provider's `setup()` with the given config. This is the step that
74
+ * lazy-loads `@incodetech/tri-sdk`, validates the config, and checks the
75
+ * backend collection-status endpoint. Must be called before `startTRI`.
76
+ *
77
+ * @param config - Resolved TRI config (`token` and `apiURL` required).
78
+ * @returns The resulting {@link TransactionalRiskIntelligenceState}.
79
+ */
80
+ declare function setupTRI(config: TransactionalRiskIntelligenceConfig): Promise<TransactionalRiskIntelligenceState>;
81
+ /**
82
+ * Begins behavioral data collection. Requires a prior successful `setupTRI()`
83
+ * call. Returns `'init-failed'` without starting if called beforehand.
84
+ *
85
+ * @returns The resulting {@link TransactionalRiskIntelligenceState}.
86
+ */
87
+ declare function startTRI(): Promise<TransactionalRiskIntelligenceState>;
88
+ /**
89
+ * Stops all TRI collectors and managers. Idempotent. No-op if TRI was never
90
+ * set up.
91
+ */
92
+ declare function stopTRI(): Promise<TransactionalRiskIntelligenceState>;
93
+ /**
94
+ * Resets the TRI SDK to its initial state. Call this from the SDK's `reset()`
95
+ * so that a subsequent `setupTRI` / `startTRI` can begin fresh.
96
+ */
97
+ declare function resetTRI(): Promise<TransactionalRiskIntelligenceState>;
98
+ //#endregion
99
+ export { startTRI as a, setupTRI as i, initializeTRI as n, stopTRI as o, resetTRI as r, TransactionalRiskIntelligenceSetupConfig as s, createTRISession as t };
@@ -1,5 +1,5 @@
1
- import { n as Flow } from "./types-DVP3cl71.js";
2
- import { t as FinishStatus } from "./flowCompletionService-CamSPuV-.js";
1
+ import { n as Flow } from "./types-D8y52YD5.js";
2
+ import { t as FinishStatus } from "./flowCompletionService-DSPt5J5M.js";
3
3
 
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import "./warmup-bRMrjEVP.js";
2
- import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-Xw_UwsPu.js";
1
+ import "./warmup-CdT_pVcp.js";
2
+ import "./index-Dn9cDS6f.js";
3
+ import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-CPD1Cb_d.js";
3
4
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,14 +1,15 @@
1
- import "./WasmUtilProvider-DrWyN0yi.esm.js";
2
- import { a as setup, n as isConfigured, r as reset } from "./setup-BtMy_8iH.esm.js";
3
- import "./BrowserTimerProvider-CswUX7jZ.esm.js";
4
- import "./api-D5AupVUC.esm.js";
5
- import "./events-BAfXOOYZ.esm.js";
6
- import "./endpoints-BUiak39U.esm.js";
7
- import "./stats-DYtpAi8r.esm.js";
8
- import "./IpifyProvider-WAAszwtP.esm.js";
9
- import "./browserSimulation-DJfvkbAE.esm.js";
10
- import "./sessionInitializer-CnF49tUG.esm.js";
11
- import "./platform-DctkySJU.esm.js";
12
- import "./getBrowser-CNCEFWPH.esm.js";
1
+ import "./WasmUtilProvider-CAZ4AD98.esm.js";
2
+ import { a as setup, n as isConfigured, r as reset } from "./setup-wZGxwi9m.esm.js";
3
+ import "./BrowserTimerProvider-BVgutW_b.esm.js";
4
+ import "./api-DUZwyz0o.esm.js";
5
+ import "./events-CmarQoum.esm.js";
6
+ import "./endpoints-B2t80MAM.esm.js";
7
+ import "./stats-32mOt6D8.esm.js";
8
+ import "./IpifyProvider-oZf7Ke1O.esm.js";
9
+ import "./browserSimulation-CGjpdNA1.esm.js";
10
+ import "./sessionInitializer-Qlg7EwTl.esm.js";
11
+ import "./platform-BfoqeM61.esm.js";
12
+ import "./getBrowser-Dv8LZyHE.esm.js";
13
+ import "./tri-Bn_ESCop.esm.js";
13
14
 
14
15
  export { isConfigured, reset, setup };
@@ -1,4 +1,4 @@
1
- import { g as addEvent } from "./events-BAfXOOYZ.esm.js";
1
+ import { g as addEvent } from "./events-CmarQoum.esm.js";
2
2
 
3
3
  //#region src/internal/captureOnly/invokeOnCaptureCallback.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-DHPE1s-n.esm.js";
1
+ import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-BK1xu56N.esm.js";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js
4
4
  var require_jsnlog = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js": ((exports) => {
@@ -1,8 +1,8 @@
1
- import "./Manager-TNEsbB6B.js";
2
- import "./Actor-VPMjMiQi.js";
3
- import "./camera-q1KoKNR1.js";
4
- import "./types-GHZBxVAa.js";
5
- import "./types-CruqHl68.js";
6
- import "./types-DVP3cl71.js";
7
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager--05U1ab3.js";
1
+ import "./Manager-CHiHBvMT.js";
2
+ import "./Actor-CeqUTqL9.js";
3
+ import "./camera-D0c7ez3w.js";
4
+ import "./types-DR2YKE_o.js";
5
+ import "./types-C1ixFPzO.js";
6
+ import "./types-D8y52YD5.js";
7
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-HAXD0YGt.js";
8
8
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,8 +1,8 @@
1
- import "./api-D5AupVUC.esm.js";
2
- import "./events-BAfXOOYZ.esm.js";
3
- import "./endpoints-BUiak39U.esm.js";
4
- import "./xstate.esm-BMAePvR6.esm.js";
5
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DebtfjHH.esm.js";
6
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CaZap2vM.esm.js";
1
+ import "./api-DUZwyz0o.esm.js";
2
+ import "./events-CmarQoum.esm.js";
3
+ import "./endpoints-B2t80MAM.esm.js";
4
+ import "./xstate.esm-CbU9dpcC.esm.js";
5
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
6
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-kbO0Dr65.esm.js";
7
7
 
8
8
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,7 @@
1
- import { t as Manager } from "./Manager-TNEsbB6B.js";
2
- import { t as ActorRefFrom } from "./Actor-VPMjMiQi.js";
3
- import { a as RegulationTypes } from "./types-DVP3cl71.js";
4
- import * as xstate1043 from "xstate";
1
+ import { t as Manager } from "./Manager-CHiHBvMT.js";
2
+ import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
3
+ import { a as RegulationTypes } from "./types-D8y52YD5.js";
4
+ import * as xstate1205 from "xstate";
5
5
 
6
6
  //#region src/modules/mandatory-consent/types.d.ts
7
7
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
32
32
  type MandatoryConsentInput = {
33
33
  config: MandatoryConsentConfig;
34
34
  };
35
- declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentContext, {
35
+ declare const mandatoryConsentMachine: xstate1205.StateMachine<MandatoryConsentContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "TOGGLE";
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
45
45
  } | {
46
46
  type: "RESET";
47
47
  }, {
48
- [x: string]: xstate1043.ActorRefFromLogic<xstate1043.PromiseActorLogic<FetchMandatoryConsentResponse, {
48
+ [x: string]: xstate1205.ActorRefFromLogic<xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
49
49
  config: MandatoryConsentConfig;
50
- }, xstate1043.EventObject>> | xstate1043.ActorRefFromLogic<xstate1043.PromiseActorLogic<void, {
50
+ }, xstate1205.EventObject>> | xstate1205.ActorRefFromLogic<xstate1205.PromiseActorLogic<void, {
51
51
  consentId: string;
52
52
  isSigned: boolean;
53
- }, xstate1043.EventObject>> | undefined;
54
- }, xstate1043.Values<{
53
+ }, xstate1205.EventObject>> | undefined;
54
+ }, xstate1205.Values<{
55
55
  fetchConsent: {
56
56
  src: "fetchConsent";
57
- logic: xstate1043.PromiseActorLogic<FetchMandatoryConsentResponse, {
57
+ logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
58
58
  config: MandatoryConsentConfig;
59
- }, xstate1043.EventObject>;
59
+ }, xstate1205.EventObject>;
60
60
  id: string | undefined;
61
61
  };
62
62
  submitConsent: {
63
63
  src: "submitConsent";
64
- logic: xstate1043.PromiseActorLogic<void, {
64
+ logic: xstate1205.PromiseActorLogic<void, {
65
65
  consentId: string;
66
66
  isSigned: boolean;
67
- }, xstate1043.EventObject>;
67
+ }, xstate1205.EventObject>;
68
68
  id: string | undefined;
69
69
  };
70
- }>, xstate1043.Values<{
70
+ }>, xstate1205.Values<{
71
71
  setConsent: {
72
72
  type: "setConsent";
73
- params: xstate1043.NonReducibleUnknown;
74
- };
75
- clearError: {
76
- type: "clearError";
77
- params: xstate1043.NonReducibleUnknown;
73
+ params: xstate1205.NonReducibleUnknown;
78
74
  };
79
75
  setError: {
80
76
  type: "setError";
81
- params: xstate1043.NonReducibleUnknown;
77
+ params: xstate1205.NonReducibleUnknown;
78
+ };
79
+ clearError: {
80
+ type: "clearError";
81
+ params: xstate1205.NonReducibleUnknown;
82
82
  };
83
83
  resetContext: {
84
84
  type: "resetContext";
85
- params: xstate1043.NonReducibleUnknown;
85
+ params: xstate1205.NonReducibleUnknown;
86
86
  };
87
87
  toggleSigned: {
88
88
  type: "toggleSigned";
89
- params: xstate1043.NonReducibleUnknown;
89
+ params: xstate1205.NonReducibleUnknown;
90
90
  };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1043.NonReducibleUnknown, xstate1043.EventObject, xstate1043.MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1205.NonReducibleUnknown, xstate1205.EventObject, xstate1205.MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
100
100
  spawn: {
101
101
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
102
102
  src: "fetchConsent";
103
- logic: xstate1043.PromiseActorLogic<FetchMandatoryConsentResponse, {
103
+ logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
104
104
  config: MandatoryConsentConfig;
105
- }, xstate1043.EventObject>;
105
+ }, xstate1205.EventObject>;
106
106
  id: string | undefined;
107
107
  } extends infer T ? T extends {
108
108
  src: "fetchConsent";
109
- logic: xstate1043.PromiseActorLogic<FetchMandatoryConsentResponse, {
109
+ logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
110
110
  config: MandatoryConsentConfig;
111
- }, xstate1043.EventObject>;
111
+ }, xstate1205.EventObject>;
112
112
  id: string | undefined;
113
113
  } ? T extends {
114
114
  src: TSrc;
115
- } ? xstate1043.ConditionalRequired<[options?: ({
115
+ } ? xstate1205.ConditionalRequired<[options?: ({
116
116
  id?: T["id"] | undefined;
117
117
  systemId?: string;
118
- input?: xstate1043.InputFrom<T["logic"]> | undefined;
118
+ input?: xstate1205.InputFrom<T["logic"]> | undefined;
119
119
  syncSnapshot?: boolean;
120
- } & { [K in xstate1043.RequiredActorOptions<T>]: unknown }) | undefined], xstate1043.IsNotNever<xstate1043.RequiredActorOptions<T>>> : never : never : never) | ({
120
+ } & { [K in xstate1205.RequiredActorOptions<T>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredActorOptions<T>>> : never : never : never) | ({
121
121
  src: "submitConsent";
122
- logic: xstate1043.PromiseActorLogic<void, {
122
+ logic: xstate1205.PromiseActorLogic<void, {
123
123
  consentId: string;
124
124
  isSigned: boolean;
125
- }, xstate1043.EventObject>;
125
+ }, xstate1205.EventObject>;
126
126
  id: string | undefined;
127
127
  } extends infer T_1 ? T_1 extends {
128
128
  src: "submitConsent";
129
- logic: xstate1043.PromiseActorLogic<void, {
129
+ logic: xstate1205.PromiseActorLogic<void, {
130
130
  consentId: string;
131
131
  isSigned: boolean;
132
- }, xstate1043.EventObject>;
132
+ }, xstate1205.EventObject>;
133
133
  id: string | undefined;
134
134
  } ? T_1 extends {
135
135
  src: TSrc;
136
- } ? xstate1043.ConditionalRequired<[options?: ({
136
+ } ? xstate1205.ConditionalRequired<[options?: ({
137
137
  id?: T_1["id"] | undefined;
138
138
  systemId?: string;
139
- input?: xstate1043.InputFrom<T_1["logic"]> | undefined;
139
+ input?: xstate1205.InputFrom<T_1["logic"]> | undefined;
140
140
  syncSnapshot?: boolean;
141
- } & { [K_1 in xstate1043.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1043.IsNotNever<xstate1043.RequiredActorOptions<T_1>>> : never : never : never)): xstate1043.ActorRefFromLogic<xstate1043.GetConcreteByKey<xstate1043.Values<{
141
+ } & { [K_1 in xstate1205.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredActorOptions<T_1>>> : never : never : never)): xstate1205.ActorRefFromLogic<xstate1205.GetConcreteByKey<xstate1205.Values<{
142
142
  fetchConsent: {
143
143
  src: "fetchConsent";
144
- logic: xstate1043.PromiseActorLogic<FetchMandatoryConsentResponse, {
144
+ logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
145
145
  config: MandatoryConsentConfig;
146
- }, xstate1043.EventObject>;
146
+ }, xstate1205.EventObject>;
147
147
  id: string | undefined;
148
148
  };
149
149
  submitConsent: {
150
150
  src: "submitConsent";
151
- logic: xstate1043.PromiseActorLogic<void, {
151
+ logic: xstate1205.PromiseActorLogic<void, {
152
152
  consentId: string;
153
153
  isSigned: boolean;
154
- }, xstate1043.EventObject>;
154
+ }, xstate1205.EventObject>;
155
155
  id: string | undefined;
156
156
  };
157
157
  }>, "src", TSrc>["logic"]>;
158
- <TLogic extends xstate1043.AnyActorLogic>(src: TLogic, ...[options]: xstate1043.ConditionalRequired<[options?: ({
158
+ <TLogic extends xstate1205.AnyActorLogic>(src: TLogic, ...[options]: xstate1205.ConditionalRequired<[options?: ({
159
159
  id?: never;
160
160
  systemId?: string;
161
- input?: xstate1043.InputFrom<TLogic> | undefined;
161
+ input?: xstate1205.InputFrom<TLogic> | undefined;
162
162
  syncSnapshot?: boolean;
163
- } & { [K in xstate1043.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1043.IsNotNever<xstate1043.RequiredLogicInput<TLogic>>>): xstate1043.ActorRefFromLogic<TLogic>;
163
+ } & { [K in xstate1205.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredLogicInput<TLogic>>>): xstate1205.ActorRefFromLogic<TLogic>;
164
164
  };
165
165
  input: MandatoryConsentInput;
166
- self: xstate1043.ActorRef<xstate1043.MachineSnapshot<MandatoryConsentContext, {
166
+ self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
167
167
  type: "LOAD";
168
168
  } | {
169
169
  type: "TOGGLE";
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
175
175
  type: "RETRY";
176
176
  } | {
177
177
  type: "RESET";
178
- }, Record<string, xstate1043.AnyActorRef | undefined>, xstate1043.StateValue, string, unknown, any, any>, {
178
+ }, Record<string, xstate1205.AnyActorRef | undefined>, xstate1205.StateValue, string, unknown, any, any>, {
179
179
  type: "LOAD";
180
180
  } | {
181
181
  type: "TOGGLE";
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
187
187
  type: "RETRY";
188
188
  } | {
189
189
  type: "RESET";
190
- }, xstate1043.AnyEventObject>;
190
+ }, xstate1205.AnyEventObject>;
191
191
  }) => {
192
192
  config: MandatoryConsentConfig;
193
193
  consent: undefined;
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
224
224
  } | {
225
225
  type: "RESET";
226
226
  };
227
- self: xstate1043.ActorRef<xstate1043.MachineSnapshot<MandatoryConsentContext, {
227
+ self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
228
228
  type: "LOAD";
229
229
  } | {
230
230
  type: "TOGGLE";
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "RESET";
239
- }, Record<string, xstate1043.AnyActorRef>, xstate1043.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate1205.AnyActorRef>, xstate1205.StateValue, string, unknown, any, any>, {
240
240
  type: "LOAD";
241
241
  } | {
242
242
  type: "TOGGLE";
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate1043.AnyEventObject>;
251
+ }, xstate1205.AnyEventObject>;
252
252
  }) => {
253
253
  config: MandatoryConsentConfig;
254
254
  };
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
301
301
  } | {
302
302
  type: "RESET";
303
303
  };
304
- self: xstate1043.ActorRef<xstate1043.MachineSnapshot<MandatoryConsentContext, {
304
+ self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
305
305
  type: "LOAD";
306
306
  } | {
307
307
  type: "TOGGLE";
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
313
313
  type: "RETRY";
314
314
  } | {
315
315
  type: "RESET";
316
- }, Record<string, xstate1043.AnyActorRef>, xstate1043.StateValue, string, unknown, any, any>, {
316
+ }, Record<string, xstate1205.AnyActorRef>, xstate1205.StateValue, string, unknown, any, any>, {
317
317
  type: "LOAD";
318
318
  } | {
319
319
  type: "TOGGLE";
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
325
325
  type: "RETRY";
326
326
  } | {
327
327
  type: "RESET";
328
- }, xstate1043.AnyEventObject>;
328
+ }, xstate1205.AnyEventObject>;
329
329
  }) => {
330
330
  consentId: string;
331
331
  isSigned: boolean;
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BAfXOOYZ.esm.js";
2
- import { c as createManager, s as createActor } from "./xstate.esm-BMAePvR6.esm.js";
3
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DebtfjHH.esm.js";
1
+ import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
2
+ import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
3
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
6
6
  function createMandatoryConsentActor(options) {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-D5AupVUC.esm.js";
2
- import { t as endpoints } from "./endpoints-BUiak39U.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-BMAePvR6.esm.js";
1
+ import { t as api } from "./api-DUZwyz0o.esm.js";
2
+ import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentServices.ts
6
6
  async function fetchMandatoryConsent(regulationType, language, type, signal) {
@@ -0,0 +1,3 @@
1
+ import { t as loadOpenVidu } from "./openviduLazy-BapX8Ljx.esm.js";
2
+
3
+ export { loadOpenVidu };
@@ -1,10 +1,10 @@
1
- import { a as __toDynamicImportESM } from "./chunk-DHPE1s-n.esm.js";
1
+ import { a as __toDynamicImportESM } from "./chunk-BK1xu56N.esm.js";
2
2
 
3
3
  //#region ../infra/src/providers/browser/openviduLazy.ts
4
4
  let openViduImport;
5
5
  async function loadOpenVidu() {
6
6
  if (openViduImport) return openViduImport;
7
- openViduImport = import("./lib-BCAntT8H.esm.js").then(__toDynamicImportESM(1));
7
+ openViduImport = import("./lib-DOI53AqI.esm.js").then(__toDynamicImportESM(1));
8
8
  return openViduImport;
9
9
  }
10
10
 
@@ -1,4 +1,4 @@
1
- import { a as isWasmMotionPrimedForModule } from "./permissionServices-DOMAS5FL.esm.js";
1
+ import { a as isWasmMotionPrimedForModule } from "./permissionServices-BApXq7a0.esm.js";
2
2
 
3
3
  //#region src/internal/permissions/permissionGuards.ts
4
4
  function resolveStoredPermissionResult(fromEvent, fromContext) {
@@ -1,6 +1,6 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DrWyN0yi.esm.js";
2
- import { t as MotionSensorProvider } from "./MotionSensorProvider-CnpzpFUv.esm.js";
3
- import { i as stopCameraStream, r as requestCameraAccess } from "./camera-CBMl39hO.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-CAZ4AD98.esm.js";
2
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-C9fPAJdS.esm.js";
3
+ import { i as stopCameraStream, r as requestCameraAccess } from "./camera-x4LjGTjZ.esm.js";
4
4
 
5
5
  //#region ../infra/src/media/cameraPermissionSession.ts
6
6
  const CAMERA_PERMISSIONS_GRANTED_KEY = "cameraPermissionsGranted";
package/dist/phone.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import "./Manager-TNEsbB6B.js";
2
- import "./Actor-VPMjMiQi.js";
3
- import "./otp-Buh7Tv8k.js";
4
- import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-BjqCfWeD.js";
1
+ import "./Manager-CHiHBvMT.js";
2
+ import "./Actor-CeqUTqL9.js";
3
+ import "./otp-BHJnjEEc.js";
4
+ import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-CkEiuAuM.js";
5
5
  export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
package/dist/phone.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import "./BrowserTimerProvider-CswUX7jZ.esm.js";
2
- import "./api-D5AupVUC.esm.js";
3
- import "./events-BAfXOOYZ.esm.js";
4
- import "./endpoints-BUiak39U.esm.js";
5
- import "./xstate.esm-BMAePvR6.esm.js";
6
- import "./otp-BiWjw9ZQ.esm.js";
7
- import { t as phoneMachine } from "./phoneStateMachine-BGhYP8mx.esm.js";
8
- import { t as createPhoneManager } from "./phoneManager-C0NWX3dt.esm.js";
1
+ import "./BrowserTimerProvider-BVgutW_b.esm.js";
2
+ import "./api-DUZwyz0o.esm.js";
3
+ import "./events-CmarQoum.esm.js";
4
+ import "./endpoints-B2t80MAM.esm.js";
5
+ import "./xstate.esm-CbU9dpcC.esm.js";
6
+ import "./otp-BcSa5nTM.esm.js";
7
+ import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
8
+ import { t as createPhoneManager } from "./phoneManager-CZA4CST1.esm.js";
9
9
 
10
10
  export { createPhoneManager, phoneMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BAfXOOYZ.esm.js";
2
- import { c as createManager, s as createActor } from "./xstate.esm-BMAePvR6.esm.js";
3
- import { t as OTP_CODE_LENGTH } from "./otp-BiWjw9ZQ.esm.js";
4
- import { t as phoneMachine } from "./phoneStateMachine-BGhYP8mx.esm.js";
1
+ import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
2
+ import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
3
+ import { t as OTP_CODE_LENGTH } from "./otp-BcSa5nTM.esm.js";
4
+ import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
5
5
 
6
6
  //#region src/modules/phone/phoneActor.ts
7
7
  function createPhoneActor(options) {
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-TNEsbB6B.js";
2
- import { t as ActorRefFrom } from "./Actor-VPMjMiQi.js";
3
- import { t as OtpValidationErrors } from "./otp-Buh7Tv8k.js";
1
+ import { t as Manager } from "./Manager-CHiHBvMT.js";
2
+ import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
3
+ import { t as OtpValidationErrors } from "./otp-BHJnjEEc.js";
4
4
 
5
5
  //#region src/modules/phone/types.d.ts
6
6
 
@@ -1,8 +1,8 @@
1
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CswUX7jZ.esm.js";
2
- import { t as api } from "./api-D5AupVUC.esm.js";
3
- import { t as endpoints } from "./endpoints-BUiak39U.esm.js";
4
- import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-BMAePvR6.esm.js";
5
- import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-BiWjw9ZQ.esm.js";
1
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
2
+ import { t as api } from "./api-DUZwyz0o.esm.js";
3
+ import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
4
+ import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
5
+ import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-BcSa5nTM.esm.js";
6
6
 
7
7
  //#region src/modules/phone/phoneServices.ts
8
8
  function getPhoneServerFailureReason(error, invalidStatus) {
@@ -1,4 +1,4 @@
1
- import { t as createElectronicSignatureManager } from "./electronicSignatureManager-D2WzDJUK.esm.js";
1
+ import { t as createElectronicSignatureManager } from "./electronicSignatureManager-Db9SeoGj.esm.js";
2
2
 
3
3
  //#region src/modules/qe-signature/index.ts
4
4
  function createQeSignatureManager(options) {
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-TNEsbB6B.js";
2
- import "./Actor-VPMjMiQi.js";
3
- import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DeuHzDNj.js";
1
+ import { t as Manager } from "./Manager-CHiHBvMT.js";
2
+ import "./Actor-CeqUTqL9.js";
3
+ import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-B1r8U5de.js";
4
4
 
5
5
  //#region src/modules/qe-signature/index.d.ts
6
6
 
@@ -1,11 +1,11 @@
1
- import "./api-D5AupVUC.esm.js";
2
- import "./events-BAfXOOYZ.esm.js";
3
- import "./endpoints-BUiak39U.esm.js";
4
- import "./xstate.esm-BMAePvR6.esm.js";
5
- import "./apiError-DNxc6p50.esm.js";
6
- import "./urlUtils-C9o6zrp8.esm.js";
7
- import "./externalFetch-h7WAdNPQ.esm.js";
8
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-D2WzDJUK.esm.js";
9
- import { t as createQeSignatureManager } from "./qe-signature-D10dlZ0x.esm.js";
1
+ import "./api-DUZwyz0o.esm.js";
2
+ import "./events-CmarQoum.esm.js";
3
+ import "./endpoints-B2t80MAM.esm.js";
4
+ import "./xstate.esm-CbU9dpcC.esm.js";
5
+ import "./apiError-D-GTvFrH.esm.js";
6
+ import "./urlUtils-8RNHyW3x.esm.js";
7
+ import "./externalFetch-crimxkN9.esm.js";
8
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-Db9SeoGj.esm.js";
9
+ import { t as createQeSignatureManager } from "./qe-signature-BVUV3TE_.esm.js";
10
10
 
11
11
  export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };