@safaricom-mxl/web-sdk 0.0.16 → 0.0.17

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 (819) hide show
  1. package/DATA_EXPORT.md +2 -3
  2. package/REACT.md +5 -7
  3. package/README.md +94 -57
  4. package/UPGRADING.md +29 -19
  5. package/dist/api-logs/api/LogAPI/LogAPI.cjs +3 -3
  6. package/dist/api-logs/api/LogAPI/LogAPI.cjs.map +1 -1
  7. package/dist/api-logs/api/LogAPI/LogAPI.js +3 -3
  8. package/dist/api-logs/api/LogAPI/LogAPI.js.map +1 -1
  9. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs.map +1 -1
  10. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js.map +1 -1
  11. package/dist/api-logs/manager/types.d.cts +4 -4
  12. package/dist/api-logs/manager/types.d.cts.map +1 -1
  13. package/dist/api-logs/manager/types.d.ts +4 -4
  14. package/dist/api-logs/manager/types.d.ts.map +1 -1
  15. package/dist/api-page/api/PageAPI/PageAPI.cjs +3 -3
  16. package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -1
  17. package/dist/api-page/api/PageAPI/PageAPI.js +3 -3
  18. package/dist/api-page/api/PageAPI/PageAPI.js.map +1 -1
  19. package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs +9 -9
  20. package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -1
  21. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +5 -7
  22. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -1
  23. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +5 -7
  24. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -1
  25. package/dist/api-sessions/api/SessionAPI/SessionAPI.js +9 -9
  26. package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -1
  27. package/dist/api-sessions/index.cjs +4 -4
  28. package/dist/api-sessions/index.d.cts +4 -4
  29. package/dist/api-sessions/index.d.ts +4 -4
  30. package/dist/api-sessions/index.js +3 -3
  31. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs +47 -0
  32. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs.map +1 -0
  33. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts +30 -0
  34. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts.map +1 -0
  35. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts +30 -0
  36. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts.map +1 -0
  37. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js +46 -0
  38. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js.map +1 -0
  39. package/dist/api-sessions/manager/NoOpUserSessionManager/index.cjs +3 -0
  40. package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.cts +2 -0
  41. package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.ts +2 -0
  42. package/dist/api-sessions/manager/NoOpUserSessionManager/index.js +2 -0
  43. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs +81 -0
  44. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs.map +1 -0
  45. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts +35 -0
  46. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts.map +1 -0
  47. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts +35 -0
  48. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts.map +1 -0
  49. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js +81 -0
  50. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js.map +1 -0
  51. package/dist/api-sessions/manager/ProxyUserSessionManager/index.cjs +3 -0
  52. package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.cts +2 -0
  53. package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.ts +2 -0
  54. package/dist/api-sessions/manager/ProxyUserSessionManager/index.js +2 -0
  55. package/dist/api-sessions/manager/index.cjs +4 -4
  56. package/dist/api-sessions/manager/index.d.cts +4 -4
  57. package/dist/api-sessions/manager/index.d.ts +4 -4
  58. package/dist/api-sessions/manager/index.js +3 -3
  59. package/dist/api-sessions/manager/types.d.cts +14 -24
  60. package/dist/api-sessions/manager/types.d.cts.map +1 -1
  61. package/dist/api-sessions/manager/types.d.ts +14 -24
  62. package/dist/api-sessions/manager/types.d.ts.map +1 -1
  63. package/dist/api-traces/api/TraceAPI/TraceAPI.cjs +3 -3
  64. package/dist/api-traces/api/TraceAPI/TraceAPI.cjs.map +1 -1
  65. package/dist/api-traces/api/TraceAPI/TraceAPI.js +3 -3
  66. package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -1
  67. package/dist/api-traces/api/TraceAPI/types.d.cts +2 -2
  68. package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -1
  69. package/dist/api-traces/api/TraceAPI/types.d.ts +2 -2
  70. package/dist/api-traces/api/TraceAPI/types.d.ts.map +1 -1
  71. package/dist/api-users/api/UserAPI/UserAPI.cjs +3 -3
  72. package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -1
  73. package/dist/api-users/api/UserAPI/UserAPI.js +3 -3
  74. package/dist/api-users/api/UserAPI/UserAPI.js.map +1 -1
  75. package/dist/common/types.d.cts +2 -0
  76. package/dist/common/types.d.cts.map +1 -1
  77. package/dist/common/types.d.ts +2 -0
  78. package/dist/common/types.d.ts.map +1 -1
  79. package/dist/constants/attributes.cjs +28 -0
  80. package/dist/constants/attributes.cjs.map +1 -1
  81. package/dist/constants/attributes.d.cts +17 -2
  82. package/dist/constants/attributes.d.cts.map +1 -1
  83. package/dist/constants/attributes.d.ts +17 -2
  84. package/dist/constants/attributes.d.ts.map +1 -1
  85. package/dist/constants/attributes.js +16 -1
  86. package/dist/constants/attributes.js.map +1 -1
  87. package/dist/constants/index.cjs +13 -0
  88. package/dist/constants/index.d.cts +2 -2
  89. package/dist/constants/index.d.ts +2 -2
  90. package/dist/constants/index.js +2 -2
  91. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +1 -2
  92. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -1
  93. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts +1 -2
  94. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -1
  95. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts +1 -2
  96. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -1
  97. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +1 -2
  98. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js.map +1 -1
  99. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs.map +1 -1
  100. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js.map +1 -1
  101. package/dist/exporters/constants.cjs +1 -1
  102. package/dist/exporters/constants.cjs.map +1 -1
  103. package/dist/exporters/constants.d.cts +1 -1
  104. package/dist/exporters/constants.d.ts +1 -1
  105. package/dist/exporters/constants.js +1 -1
  106. package/dist/exporters/constants.js.map +1 -1
  107. package/dist/exporters/otlpBrowserFetchExportDelegate.cjs.map +1 -1
  108. package/dist/exporters/otlpBrowserFetchExportDelegate.js.map +1 -1
  109. package/dist/index.cjs +2 -0
  110. package/dist/index.d.cts +2 -1
  111. package/dist/index.d.ts +2 -1
  112. package/dist/index.js +2 -1
  113. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs +2 -2
  114. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs.map +1 -1
  115. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts.map +1 -1
  116. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts.map +1 -1
  117. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js +2 -2
  118. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js.map +1 -1
  119. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +6 -7
  120. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -1
  121. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +4 -5
  122. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts.map +1 -1
  123. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +4 -5
  124. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts.map +1 -1
  125. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +6 -7
  126. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js.map +1 -1
  127. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs +8 -8
  128. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs.map +1 -1
  129. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts.map +1 -1
  130. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts.map +1 -1
  131. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js +8 -8
  132. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js.map +1 -1
  133. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs +10 -10
  134. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs.map +1 -1
  135. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js +10 -10
  136. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js.map +1 -1
  137. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs +2 -2
  138. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs.map +1 -1
  139. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js +2 -2
  140. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js.map +1 -1
  141. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs +5 -5
  142. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs.map +1 -1
  143. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js +5 -5
  144. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js.map +1 -1
  145. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs +4 -4
  146. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -1
  147. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js +4 -4
  148. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js.map +1 -1
  149. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs +7 -7
  150. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -1
  151. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js +7 -7
  152. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js.map +1 -1
  153. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs +2 -2
  154. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -1
  155. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts +4 -4
  156. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts.map +1 -1
  157. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts +4 -4
  158. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts.map +1 -1
  159. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +2 -2
  160. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -1
  161. package/dist/instrumentations/index.cjs +2 -4
  162. package/dist/instrumentations/index.d.cts +4 -6
  163. package/dist/instrumentations/index.d.ts +4 -6
  164. package/dist/instrumentations/index.js +2 -3
  165. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs +23 -23
  166. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs.map +1 -1
  167. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts +2 -3
  168. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts.map +1 -1
  169. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts +2 -3
  170. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts.map +1 -1
  171. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js +23 -23
  172. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js.map +1 -1
  173. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs +5 -5
  174. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs.map +1 -1
  175. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts.map +1 -1
  176. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts.map +1 -1
  177. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js +5 -5
  178. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js.map +1 -1
  179. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs.map +1 -1
  180. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js.map +1 -1
  181. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs +1 -1
  182. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -1
  183. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js +1 -1
  184. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -1
  185. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts +10 -10
  186. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -1
  187. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts +10 -10
  188. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -1
  189. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts +2 -2
  190. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts.map +1 -1
  191. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts +2 -2
  192. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts.map +1 -1
  193. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs.map +1 -1
  194. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js.map +1 -1
  195. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs +257 -0
  196. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs.map +1 -0
  197. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts +56 -0
  198. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts.map +1 -0
  199. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts +56 -0
  200. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts.map +1 -0
  201. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js +252 -0
  202. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js.map +1 -0
  203. package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs +15 -0
  204. package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs.map +1 -0
  205. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts +9 -0
  206. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts.map +1 -0
  207. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts +9 -0
  208. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts.map +1 -0
  209. package/dist/instrumentations/replay/ReplayInstrumentation/constants.js +10 -0
  210. package/dist/instrumentations/replay/ReplayInstrumentation/constants.js.map +1 -0
  211. package/dist/instrumentations/replay/ReplayInstrumentation/index.cjs +3 -0
  212. package/dist/instrumentations/replay/ReplayInstrumentation/index.d.cts +3 -0
  213. package/dist/instrumentations/replay/ReplayInstrumentation/index.d.ts +3 -0
  214. package/dist/instrumentations/replay/ReplayInstrumentation/index.js +2 -0
  215. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts +17 -0
  216. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts.map +1 -0
  217. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts +17 -0
  218. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts.map +1 -0
  219. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs +18 -0
  220. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs.map +1 -0
  221. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts +8 -0
  222. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts.map +1 -0
  223. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts +8 -0
  224. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts.map +1 -0
  225. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js +17 -0
  226. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js.map +1 -0
  227. package/dist/instrumentations/replay/index.cjs +8 -0
  228. package/dist/instrumentations/replay/index.d.cts +4 -0
  229. package/dist/instrumentations/replay/index.d.ts +4 -0
  230. package/dist/instrumentations/replay/index.js +3 -0
  231. package/dist/instrumentations/replay/utils/index.cjs +5 -0
  232. package/dist/instrumentations/replay/utils/index.d.cts +2 -0
  233. package/dist/instrumentations/replay/utils/index.d.ts +2 -0
  234. package/dist/instrumentations/replay/utils/index.js +2 -0
  235. package/dist/instrumentations/replay/utils/session-recording-utils.cjs +79 -0
  236. package/dist/instrumentations/replay/utils/session-recording-utils.cjs.map +1 -0
  237. package/dist/instrumentations/replay/utils/session-recording-utils.d.cts +32 -0
  238. package/dist/instrumentations/replay/utils/session-recording-utils.d.cts.map +1 -0
  239. package/dist/instrumentations/replay/utils/session-recording-utils.d.ts +32 -0
  240. package/dist/instrumentations/replay/utils/session-recording-utils.d.ts.map +1 -0
  241. package/dist/instrumentations/replay/utils/session-recording-utils.js +73 -0
  242. package/dist/instrumentations/replay/utils/session-recording-utils.js.map +1 -0
  243. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs +6 -6
  244. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs.map +1 -1
  245. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js +6 -6
  246. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js.map +1 -1
  247. package/dist/instrumentations/session/index.cjs +0 -6
  248. package/dist/instrumentations/session/index.d.cts +2 -7
  249. package/dist/instrumentations/session/index.d.ts +2 -7
  250. package/dist/instrumentations/session/index.js +1 -4
  251. package/dist/instrumentations/session/types.d.cts +5 -5
  252. package/dist/instrumentations/session/types.d.cts.map +1 -1
  253. package/dist/instrumentations/session/types.d.ts +5 -5
  254. package/dist/instrumentations/session/types.d.ts.map +1 -1
  255. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs +10 -10
  256. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs.map +1 -1
  257. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js +10 -10
  258. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map +1 -1
  259. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +15 -15
  260. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map +1 -1
  261. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js +15 -15
  262. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -1
  263. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts +1 -3
  264. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -1
  265. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts +1 -3
  266. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -1
  267. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs +0 -1
  268. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs.map +1 -1
  269. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts.map +1 -1
  270. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts.map +1 -1
  271. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js +0 -1
  272. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -1
  273. package/dist/managers/MXLConfigManager/constants.cjs +2 -2
  274. package/dist/managers/MXLConfigManager/constants.cjs.map +1 -1
  275. package/dist/managers/MXLConfigManager/constants.js +2 -2
  276. package/dist/managers/MXLConfigManager/constants.js.map +1 -1
  277. package/dist/managers/MXLConfigManager/types.d.cts +8 -7
  278. package/dist/managers/MXLConfigManager/types.d.cts.map +1 -1
  279. package/dist/managers/MXLConfigManager/types.d.ts +8 -7
  280. package/dist/managers/MXLConfigManager/types.d.ts.map +1 -1
  281. package/dist/managers/MXLLimitManager/MXLLimitManager.cjs +20 -20
  282. package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -1
  283. package/dist/managers/MXLLimitManager/MXLLimitManager.js +20 -20
  284. package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -1
  285. package/dist/managers/MXLLimitManager/constants.cjs +20 -20
  286. package/dist/managers/MXLLimitManager/constants.cjs.map +1 -1
  287. package/dist/managers/MXLLimitManager/constants.js +20 -20
  288. package/dist/managers/MXLLimitManager/constants.js.map +1 -1
  289. package/dist/managers/MXLLimitManager/types.d.cts +8 -8
  290. package/dist/managers/MXLLimitManager/types.d.cts.map +1 -1
  291. package/dist/managers/MXLLimitManager/types.d.ts +8 -8
  292. package/dist/managers/MXLLimitManager/types.d.ts.map +1 -1
  293. package/dist/managers/MXLLogManager/MXLLogManager.cjs +19 -19
  294. package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -1
  295. package/dist/managers/MXLLogManager/MXLLogManager.d.cts +2 -2
  296. package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -1
  297. package/dist/managers/MXLLogManager/MXLLogManager.d.ts +2 -2
  298. package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -1
  299. package/dist/managers/MXLLogManager/MXLLogManager.js +19 -19
  300. package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -1
  301. package/dist/managers/MXLLogManager/types.d.cts +2 -2
  302. package/dist/managers/MXLLogManager/types.d.ts +2 -2
  303. package/dist/managers/MXLPageManager/MXLPageManager.cjs +1 -3
  304. package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -1
  305. package/dist/managers/MXLPageManager/MXLPageManager.d.cts.map +1 -1
  306. package/dist/managers/MXLPageManager/MXLPageManager.d.ts.map +1 -1
  307. package/dist/managers/MXLPageManager/MXLPageManager.js +1 -3
  308. package/dist/managers/MXLPageManager/MXLPageManager.js.map +1 -1
  309. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs +0 -4
  310. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -1
  311. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts +0 -1
  312. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts.map +1 -1
  313. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts +0 -1
  314. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts.map +1 -1
  315. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js +0 -4
  316. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -1
  317. package/dist/managers/MXLSDKFeaturesManager/types.d.cts +0 -1
  318. package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -1
  319. package/dist/managers/MXLSDKFeaturesManager/types.d.ts +0 -1
  320. package/dist/managers/MXLSDKFeaturesManager/types.d.ts.map +1 -1
  321. package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs.map +1 -1
  322. package/dist/managers/MXLTraceManager/MXLExtendedSpan.js.map +1 -1
  323. package/dist/managers/MXLUserManager/MXLUserManager.cjs +14 -14
  324. package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -1
  325. package/dist/managers/MXLUserManager/MXLUserManager.js +14 -14
  326. package/dist/managers/MXLUserManager/MXLUserManager.js.map +1 -1
  327. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs +574 -0
  328. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs.map +1 -0
  329. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts +142 -0
  330. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts.map +1 -0
  331. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts +142 -0
  332. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts.map +1 -0
  333. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js +572 -0
  334. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js.map +1 -0
  335. package/dist/managers/MXLUserSessionManager/constants.cjs +55 -0
  336. package/dist/managers/MXLUserSessionManager/constants.cjs.map +1 -0
  337. package/dist/managers/MXLUserSessionManager/constants.d.cts +31 -0
  338. package/dist/managers/MXLUserSessionManager/constants.d.cts.map +1 -0
  339. package/dist/managers/MXLUserSessionManager/constants.d.ts +31 -0
  340. package/dist/managers/MXLUserSessionManager/constants.d.ts.map +1 -0
  341. package/dist/managers/MXLUserSessionManager/constants.js +37 -0
  342. package/dist/managers/MXLUserSessionManager/constants.js.map +1 -0
  343. package/dist/managers/MXLUserSessionManager/index.cjs +6 -0
  344. package/dist/managers/MXLUserSessionManager/index.d.cts +4 -0
  345. package/dist/managers/MXLUserSessionManager/index.d.ts +4 -0
  346. package/dist/managers/MXLUserSessionManager/index.js +3 -0
  347. package/dist/managers/MXLUserSessionManager/types.d.cts +84 -0
  348. package/dist/managers/MXLUserSessionManager/types.d.cts.map +1 -0
  349. package/dist/managers/MXLUserSessionManager/types.d.ts +84 -0
  350. package/dist/managers/MXLUserSessionManager/types.d.ts.map +1 -0
  351. package/dist/managers/MXLUserSessionManager/utils/activity.cjs +25 -0
  352. package/dist/managers/MXLUserSessionManager/utils/activity.cjs.map +1 -0
  353. package/dist/managers/MXLUserSessionManager/utils/activity.d.cts +40 -0
  354. package/dist/managers/MXLUserSessionManager/utils/activity.d.cts.map +1 -0
  355. package/dist/managers/MXLUserSessionManager/utils/activity.d.ts +40 -0
  356. package/dist/managers/MXLUserSessionManager/utils/activity.d.ts.map +1 -0
  357. package/dist/managers/MXLUserSessionManager/utils/activity.js +22 -0
  358. package/dist/managers/MXLUserSessionManager/utils/activity.js.map +1 -0
  359. package/dist/managers/MXLUserSessionManager/utils/index.cjs +11 -0
  360. package/dist/managers/MXLUserSessionManager/utils/index.d.cts +3 -0
  361. package/dist/managers/MXLUserSessionManager/utils/index.d.ts +3 -0
  362. package/dist/managers/MXLUserSessionManager/utils/index.js +3 -0
  363. package/dist/managers/MXLUserSessionManager/utils/state.cjs +78 -0
  364. package/dist/managers/MXLUserSessionManager/utils/state.cjs.map +1 -0
  365. package/dist/managers/MXLUserSessionManager/utils/state.d.cts +39 -0
  366. package/dist/managers/MXLUserSessionManager/utils/state.d.cts.map +1 -0
  367. package/dist/managers/MXLUserSessionManager/utils/state.d.ts +39 -0
  368. package/dist/managers/MXLUserSessionManager/utils/state.d.ts.map +1 -0
  369. package/dist/managers/MXLUserSessionManager/utils/state.js +73 -0
  370. package/dist/managers/MXLUserSessionManager/utils/state.js.map +1 -0
  371. package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs +132 -0
  372. package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs.map +1 -0
  373. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts +33 -0
  374. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts.map +1 -0
  375. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts +33 -0
  376. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts.map +1 -0
  377. package/dist/managers/MXLUserSessionManager/utils/tabTracking.js +127 -0
  378. package/dist/managers/MXLUserSessionManager/utils/tabTracking.js.map +1 -0
  379. package/dist/managers/index.cjs +5 -2
  380. package/dist/managers/index.d.cts +4 -3
  381. package/dist/managers/index.d.ts +4 -3
  382. package/dist/managers/index.js +3 -2
  383. package/dist/mxl-web-sdk.js +1 -23
  384. package/dist/mxl-web-sdk.js.map +1 -1
  385. package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.cjs.map +1 -1
  386. package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.js.map +1 -1
  387. package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.cjs.map +1 -1
  388. package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.js.map +1 -1
  389. package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs.map +1 -1
  390. package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js.map +1 -1
  391. package/dist/processors/LogRecordScrubProcessor/types.d.cts +2 -2
  392. package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -1
  393. package/dist/processors/LogRecordScrubProcessor/types.d.ts +2 -2
  394. package/dist/processors/LogRecordScrubProcessor/types.d.ts.map +1 -1
  395. package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs.map +1 -1
  396. package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js.map +1 -1
  397. package/dist/processors/MXLLogRecordProcessor/types.d.cts +2 -2
  398. package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -1
  399. package/dist/processors/MXLLogRecordProcessor/types.d.ts +2 -2
  400. package/dist/processors/MXLLogRecordProcessor/types.d.ts.map +1 -1
  401. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs.map +1 -1
  402. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js.map +1 -1
  403. package/dist/processors/MXLNetworkSpanProcessor/types.cjs.map +1 -1
  404. package/dist/processors/MXLNetworkSpanProcessor/types.js.map +1 -1
  405. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs +74 -0
  406. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs.map +1 -0
  407. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts +28 -0
  408. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts.map +1 -0
  409. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts +28 -0
  410. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts.map +1 -0
  411. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js +72 -0
  412. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js.map +1 -0
  413. package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.cjs +3 -0
  414. package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.cts +3 -0
  415. package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.ts +3 -0
  416. package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.js +2 -0
  417. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts +15 -0
  418. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts.map +1 -0
  419. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts +15 -0
  420. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts.map +1 -0
  421. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs.map +1 -1
  422. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js.map +1 -1
  423. package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs.map +1 -1
  424. package/dist/processors/PageSpanProcessor/PageSpanProcessor.js.map +1 -1
  425. package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs.map +1 -1
  426. package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js.map +1 -1
  427. package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs.map +1 -1
  428. package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js.map +1 -1
  429. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs +34 -0
  430. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs.map +1 -0
  431. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts +16 -0
  432. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts.map +1 -0
  433. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts +16 -0
  434. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts.map +1 -0
  435. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js +32 -0
  436. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js.map +1 -0
  437. package/dist/processors/UserSessionLogRecordProcessor/index.cjs +3 -0
  438. package/dist/processors/UserSessionLogRecordProcessor/index.d.cts +3 -0
  439. package/dist/processors/UserSessionLogRecordProcessor/index.d.ts +3 -0
  440. package/dist/processors/UserSessionLogRecordProcessor/index.js +2 -0
  441. package/dist/processors/UserSessionLogRecordProcessor/types.d.cts +8 -0
  442. package/dist/processors/UserSessionLogRecordProcessor/types.d.cts.map +1 -0
  443. package/dist/processors/UserSessionLogRecordProcessor/types.d.ts +8 -0
  444. package/dist/processors/UserSessionLogRecordProcessor/types.d.ts.map +1 -0
  445. package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs.map +1 -1
  446. package/dist/processors/UserSpanProcessor/UserSpanProcessor.js.map +1 -1
  447. package/dist/processors/index.cjs +4 -4
  448. package/dist/processors/index.d.cts +3 -3
  449. package/dist/processors/index.d.ts +3 -3
  450. package/dist/processors/index.js +3 -3
  451. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs.map +1 -1
  452. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js.map +1 -1
  453. package/dist/resources/appInstanceId.cjs +4 -4
  454. package/dist/resources/appInstanceId.cjs.map +1 -1
  455. package/dist/resources/appInstanceId.js +4 -4
  456. package/dist/resources/appInstanceId.js.map +1 -1
  457. package/dist/resources/constants/index.cjs +1 -1
  458. package/dist/resources/constants/index.cjs.map +1 -1
  459. package/dist/resources/constants/index.d.cts +1 -1
  460. package/dist/resources/constants/index.d.ts +1 -1
  461. package/dist/resources/constants/index.js +1 -1
  462. package/dist/resources/constants/index.js.map +1 -1
  463. package/dist/resources/webSdkResource.cjs +15 -19
  464. package/dist/resources/webSdkResource.cjs.map +1 -1
  465. package/dist/resources/webSdkResource.d.cts.map +1 -1
  466. package/dist/resources/webSdkResource.d.ts.map +1 -1
  467. package/dist/resources/webSdkResource.js +15 -19
  468. package/dist/resources/webSdkResource.js.map +1 -1
  469. package/dist/sdk/defaultAttributeScrubbers.cjs +8 -8
  470. package/dist/sdk/defaultAttributeScrubbers.cjs.map +1 -1
  471. package/dist/sdk/defaultAttributeScrubbers.js +8 -8
  472. package/dist/sdk/defaultAttributeScrubbers.js.map +1 -1
  473. package/dist/sdk/index.d.cts +3 -2
  474. package/dist/sdk/index.d.ts +3 -2
  475. package/dist/sdk/initSDK.cjs +137 -98
  476. package/dist/sdk/initSDK.cjs.map +1 -1
  477. package/dist/sdk/initSDK.d.cts +4 -2
  478. package/dist/sdk/initSDK.d.cts.map +1 -1
  479. package/dist/sdk/initSDK.d.ts +4 -2
  480. package/dist/sdk/initSDK.d.ts.map +1 -1
  481. package/dist/sdk/initSDK.js +137 -98
  482. package/dist/sdk/initSDK.js.map +1 -1
  483. package/dist/sdk/registry.cjs +1 -3
  484. package/dist/sdk/registry.cjs.map +1 -1
  485. package/dist/sdk/registry.d.cts.map +1 -1
  486. package/dist/sdk/registry.d.ts.map +1 -1
  487. package/dist/sdk/registry.js +1 -3
  488. package/dist/sdk/registry.js.map +1 -1
  489. package/dist/sdk/setupDefaultInstrumentations.cjs +9 -5
  490. package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -1
  491. package/dist/sdk/setupDefaultInstrumentations.d.cts +5 -2
  492. package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -1
  493. package/dist/sdk/setupDefaultInstrumentations.d.ts +5 -2
  494. package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -1
  495. package/dist/sdk/setupDefaultInstrumentations.js +9 -5
  496. package/dist/sdk/setupDefaultInstrumentations.js.map +1 -1
  497. package/dist/sdk/types.d.cts +68 -56
  498. package/dist/sdk/types.d.cts.map +1 -1
  499. package/dist/sdk/types.d.ts +69 -57
  500. package/dist/sdk/types.d.ts.map +1 -1
  501. package/dist/sdk/utils.cjs +1 -1
  502. package/dist/sdk/utils.cjs.map +1 -1
  503. package/dist/sdk/utils.d.cts.map +1 -1
  504. package/dist/sdk/utils.d.ts.map +1 -1
  505. package/dist/sdk/utils.js +1 -1
  506. package/dist/sdk/utils.js.map +1 -1
  507. package/dist/transport/FetchTransport/FetchTransport.cjs +13 -13
  508. package/dist/transport/FetchTransport/FetchTransport.cjs.map +1 -1
  509. package/dist/transport/FetchTransport/FetchTransport.js +13 -13
  510. package/dist/transport/FetchTransport/FetchTransport.js.map +1 -1
  511. package/dist/transport/RetryingTransport/RetryingTransport.cjs +1 -1
  512. package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -1
  513. package/dist/transport/RetryingTransport/RetryingTransport.js +1 -1
  514. package/dist/transport/RetryingTransport/RetryingTransport.js.map +1 -1
  515. package/dist/utils/NamespacedStorage/NamespacedStorage.cjs +69 -24
  516. package/dist/utils/NamespacedStorage/NamespacedStorage.cjs.map +1 -1
  517. package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts +27 -13
  518. package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts.map +1 -1
  519. package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts +27 -13
  520. package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts.map +1 -1
  521. package/dist/utils/NamespacedStorage/NamespacedStorage.js +68 -24
  522. package/dist/utils/NamespacedStorage/NamespacedStorage.js.map +1 -1
  523. package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs.map +1 -1
  524. package/dist/utils/PerformanceManager/OTelPerformanceManager.js.map +1 -1
  525. package/dist/utils/clampNumber.cjs +23 -0
  526. package/dist/utils/clampNumber.cjs.map +1 -0
  527. package/dist/utils/clampNumber.d.cts +24 -0
  528. package/dist/utils/clampNumber.d.cts.map +1 -0
  529. package/dist/utils/clampNumber.d.ts +24 -0
  530. package/dist/utils/clampNumber.d.ts.map +1 -0
  531. package/dist/utils/clampNumber.js +22 -0
  532. package/dist/utils/clampNumber.js.map +1 -0
  533. package/dist/utils/createSafeProxy/createSafeProxy.cjs +2 -2
  534. package/dist/utils/createSafeProxy/createSafeProxy.cjs.map +1 -1
  535. package/dist/utils/createSafeProxy/createSafeProxy.d.cts.map +1 -1
  536. package/dist/utils/createSafeProxy/createSafeProxy.d.ts.map +1 -1
  537. package/dist/utils/createSafeProxy/createSafeProxy.js +2 -2
  538. package/dist/utils/createSafeProxy/createSafeProxy.js.map +1 -1
  539. package/dist/utils/generateWebVitalID.cjs +1 -3
  540. package/dist/utils/generateWebVitalID.cjs.map +1 -1
  541. package/dist/utils/generateWebVitalID.js +1 -3
  542. package/dist/utils/generateWebVitalID.js.map +1 -1
  543. package/dist/utils/getIncrementedCount.cjs +2 -2
  544. package/dist/utils/getIncrementedCount.cjs.map +1 -1
  545. package/dist/utils/getIncrementedCount.js +2 -2
  546. package/dist/utils/getIncrementedCount.js.map +1 -1
  547. package/dist/utils/globalConfig.cjs.map +1 -1
  548. package/dist/utils/globalConfig.d.cts +2 -2
  549. package/dist/utils/globalConfig.d.cts.map +1 -1
  550. package/dist/utils/globalConfig.d.ts +2 -2
  551. package/dist/utils/globalConfig.d.ts.map +1 -1
  552. package/dist/utils/globalConfig.js.map +1 -1
  553. package/dist/utils/index.cjs +2 -2
  554. package/dist/utils/index.d.cts +3 -3
  555. package/dist/utils/index.d.ts +3 -3
  556. package/dist/utils/index.js +2 -2
  557. package/dist/utils/isDeviceIdEnabled.cjs.map +1 -1
  558. package/dist/utils/isDeviceIdEnabled.js.map +1 -1
  559. package/dist/utils/performanceObserver/performanceObserver.cjs +3 -3
  560. package/dist/utils/performanceObserver/performanceObserver.cjs.map +1 -1
  561. package/dist/utils/performanceObserver/performanceObserver.js +3 -3
  562. package/dist/utils/performanceObserver/performanceObserver.js.map +1 -1
  563. package/dist/utils/throttle.cjs +13 -9
  564. package/dist/utils/throttle.cjs.map +1 -1
  565. package/dist/utils/throttle.d.cts +6 -3
  566. package/dist/utils/throttle.d.cts.map +1 -1
  567. package/dist/utils/throttle.d.ts +6 -3
  568. package/dist/utils/throttle.d.ts.map +1 -1
  569. package/dist/utils/throttle.js +13 -9
  570. package/dist/utils/throttle.js.map +1 -1
  571. package/package.json +56 -56
  572. package/dist/api-sessions/api/SessionAPI/types.d.cts +0 -8
  573. package/dist/api-sessions/api/SessionAPI/types.d.cts.map +0 -1
  574. package/dist/api-sessions/api/SessionAPI/types.d.ts +0 -8
  575. package/dist/api-sessions/api/SessionAPI/types.d.ts.map +0 -1
  576. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs +0 -31
  577. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs.map +0 -1
  578. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts +0 -24
  579. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts.map +0 -1
  580. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts +0 -24
  581. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts.map +0 -1
  582. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js +0 -30
  583. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js.map +0 -1
  584. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.cjs +0 -3
  585. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.cts +0 -2
  586. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.ts +0 -2
  587. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.js +0 -2
  588. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs +0 -55
  589. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs.map +0 -1
  590. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts +0 -27
  591. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts.map +0 -1
  592. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts +0 -27
  593. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts.map +0 -1
  594. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js +0 -55
  595. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js.map +0 -1
  596. package/dist/api-sessions/manager/ProxySpanSessionManager/index.cjs +0 -3
  597. package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.cts +0 -2
  598. package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.ts +0 -2
  599. package/dist/api-sessions/manager/ProxySpanSessionManager/index.js +0 -2
  600. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs +0 -27
  601. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs.map +0 -1
  602. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts +0 -15
  603. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts.map +0 -1
  604. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts +0 -15
  605. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts.map +0 -1
  606. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js +0 -25
  607. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js.map +0 -1
  608. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.cjs +0 -3
  609. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.cts +0 -2
  610. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.ts +0 -2
  611. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.js +0 -2
  612. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts +0 -9
  613. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts.map +0 -1
  614. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts +0 -9
  615. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts.map +0 -1
  616. package/dist/instrumentations/fetch/index.cjs +0 -3
  617. package/dist/instrumentations/fetch/index.d.cts +0 -3
  618. package/dist/instrumentations/fetch/index.d.ts +0 -3
  619. package/dist/instrumentations/fetch/index.js +0 -2
  620. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs +0 -60
  621. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs.map +0 -1
  622. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts +0 -24
  623. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts.map +0 -1
  624. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts +0 -24
  625. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts.map +0 -1
  626. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js +0 -59
  627. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js.map +0 -1
  628. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs +0 -19
  629. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map +0 -1
  630. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts +0 -10
  631. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map +0 -1
  632. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts +0 -10
  633. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map +0 -1
  634. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js +0 -16
  635. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map +0 -1
  636. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.cjs +0 -3
  637. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.cts +0 -3
  638. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.ts +0 -3
  639. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.js +0 -2
  640. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts +0 -6
  641. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map +0 -1
  642. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts +0 -6
  643. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map +0 -1
  644. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs +0 -24
  645. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs.map +0 -1
  646. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts +0 -14
  647. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts.map +0 -1
  648. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts +0 -14
  649. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts.map +0 -1
  650. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js +0 -23
  651. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js.map +0 -1
  652. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.cjs +0 -3
  653. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.cts +0 -3
  654. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.ts +0 -3
  655. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.js +0 -2
  656. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts +0 -6
  657. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts.map +0 -1
  658. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts +0 -6
  659. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts.map +0 -1
  660. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs +0 -55
  661. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs.map +0 -1
  662. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts +0 -22
  663. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts.map +0 -1
  664. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts +0 -22
  665. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts.map +0 -1
  666. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js +0 -54
  667. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js.map +0 -1
  668. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs +0 -7
  669. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs.map +0 -1
  670. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts +0 -5
  671. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts.map +0 -1
  672. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts +0 -5
  673. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts.map +0 -1
  674. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js +0 -6
  675. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js.map +0 -1
  676. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.cjs +0 -3
  677. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.cts +0 -3
  678. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.ts +0 -3
  679. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.js +0 -2
  680. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.cjs +0 -0
  681. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts +0 -6
  682. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts.map +0 -1
  683. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts +0 -6
  684. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts.map +0 -1
  685. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.js +0 -0
  686. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs +0 -38
  687. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs.map +0 -1
  688. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts +0 -17
  689. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts.map +0 -1
  690. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts +0 -17
  691. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts.map +0 -1
  692. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js +0 -37
  693. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js.map +0 -1
  694. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.cjs +0 -3
  695. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.cts +0 -3
  696. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.ts +0 -3
  697. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.js +0 -2
  698. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.cjs +0 -0
  699. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts +0 -10
  700. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts.map +0 -1
  701. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts +0 -10
  702. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts.map +0 -1
  703. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.js +0 -0
  704. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs +0 -27
  705. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs.map +0 -1
  706. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts +0 -15
  707. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts.map +0 -1
  708. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts +0 -15
  709. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts.map +0 -1
  710. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js +0 -25
  711. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js.map +0 -1
  712. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.cjs +0 -3
  713. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.cts +0 -2
  714. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.ts +0 -2
  715. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.js +0 -2
  716. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.cjs +0 -0
  717. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts +0 -9
  718. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts.map +0 -1
  719. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts +0 -9
  720. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts.map +0 -1
  721. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.js +0 -0
  722. package/dist/instrumentations/xhr/index.cjs +0 -3
  723. package/dist/instrumentations/xhr/index.d.cts +0 -3
  724. package/dist/instrumentations/xhr/index.d.ts +0 -3
  725. package/dist/instrumentations/xhr/index.js +0 -2
  726. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs +0 -350
  727. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs.map +0 -1
  728. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts +0 -72
  729. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts.map +0 -1
  730. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts +0 -72
  731. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts.map +0 -1
  732. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js +0 -348
  733. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js.map +0 -1
  734. package/dist/managers/MXLSpanSessionManager/constants.cjs +0 -11
  735. package/dist/managers/MXLSpanSessionManager/constants.cjs.map +0 -1
  736. package/dist/managers/MXLSpanSessionManager/constants.d.cts +0 -7
  737. package/dist/managers/MXLSpanSessionManager/constants.d.cts.map +0 -1
  738. package/dist/managers/MXLSpanSessionManager/constants.d.ts +0 -7
  739. package/dist/managers/MXLSpanSessionManager/constants.d.ts.map +0 -1
  740. package/dist/managers/MXLSpanSessionManager/constants.js +0 -8
  741. package/dist/managers/MXLSpanSessionManager/constants.js.map +0 -1
  742. package/dist/managers/MXLSpanSessionManager/index.cjs +0 -3
  743. package/dist/managers/MXLSpanSessionManager/index.d.cts +0 -3
  744. package/dist/managers/MXLSpanSessionManager/index.d.ts +0 -3
  745. package/dist/managers/MXLSpanSessionManager/index.js +0 -2
  746. package/dist/managers/MXLSpanSessionManager/types.cjs +0 -0
  747. package/dist/managers/MXLSpanSessionManager/types.d.cts +0 -41
  748. package/dist/managers/MXLSpanSessionManager/types.d.cts.map +0 -1
  749. package/dist/managers/MXLSpanSessionManager/types.d.ts +0 -41
  750. package/dist/managers/MXLSpanSessionManager/types.d.ts.map +0 -1
  751. package/dist/managers/MXLSpanSessionManager/types.js +0 -0
  752. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs +0 -28
  753. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs.map +0 -1
  754. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts +0 -16
  755. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts.map +0 -1
  756. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts +0 -16
  757. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts.map +0 -1
  758. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js +0 -26
  759. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js.map +0 -1
  760. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.cjs +0 -3
  761. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.cts +0 -2
  762. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.ts +0 -2
  763. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.js +0 -2
  764. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.cjs +0 -0
  765. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts +0 -9
  766. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts.map +0 -1
  767. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts +0 -9
  768. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts.map +0 -1
  769. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.js +0 -0
  770. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs +0 -95
  771. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs.map +0 -1
  772. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts +0 -34
  773. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts.map +0 -1
  774. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts +0 -34
  775. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts.map +0 -1
  776. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js +0 -93
  777. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js.map +0 -1
  778. package/dist/processors/MXLSessionBatchedSpanProcessor/index.cjs +0 -3
  779. package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.cts +0 -2
  780. package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.ts +0 -2
  781. package/dist/processors/MXLSessionBatchedSpanProcessor/index.js +0 -2
  782. package/dist/processors/MXLSessionBatchedSpanProcessor/types.cjs +0 -0
  783. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts +0 -19
  784. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts.map +0 -1
  785. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts +0 -19
  786. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts.map +0 -1
  787. package/dist/processors/MXLSessionBatchedSpanProcessor/types.js +0 -0
  788. package/dist/sdk/setupSessionRecorder.cjs +0 -87
  789. package/dist/sdk/setupSessionRecorder.cjs.map +0 -1
  790. package/dist/sdk/setupSessionRecorder.d.cts +0 -30
  791. package/dist/sdk/setupSessionRecorder.d.cts.map +0 -1
  792. package/dist/sdk/setupSessionRecorder.d.ts +0 -30
  793. package/dist/sdk/setupSessionRecorder.d.ts.map +0 -1
  794. package/dist/sdk/setupSessionRecorder.js +0 -83
  795. package/dist/sdk/setupSessionRecorder.js.map +0 -1
  796. package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs +0 -116
  797. package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs.map +0 -1
  798. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts +0 -42
  799. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts.map +0 -1
  800. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts +0 -42
  801. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts.map +0 -1
  802. package/dist/utils/MXLSpanStorage/MXLSpanStorage.js +0 -114
  803. package/dist/utils/MXLSpanStorage/MXLSpanStorage.js.map +0 -1
  804. package/dist/utils/MXLSpanStorage/index.cjs +0 -3
  805. package/dist/utils/MXLSpanStorage/index.d.cts +0 -2
  806. package/dist/utils/MXLSpanStorage/index.d.ts +0 -2
  807. package/dist/utils/MXLSpanStorage/index.js +0 -2
  808. package/dist/utils/MXLSpanStorage/types.cjs +0 -0
  809. package/dist/utils/MXLSpanStorage/types.d.cts +0 -2
  810. package/dist/utils/MXLSpanStorage/types.d.ts +0 -2
  811. package/dist/utils/MXLSpanStorage/types.js +0 -0
  812. /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.cjs +0 -0
  813. /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.js +0 -0
  814. /package/dist/{instrumentations/fetch/MXLFetchInstrumentation → managers/MXLUserSessionManager}/types.cjs +0 -0
  815. /package/dist/{instrumentations/fetch/MXLFetchInstrumentation → managers/MXLUserSessionManager}/types.js +0 -0
  816. /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.cjs +0 -0
  817. /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.js +0 -0
  818. /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/UserSessionLogRecordProcessor}/types.cjs +0 -0
  819. /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/UserSessionLogRecordProcessor}/types.js +0 -0
@@ -1,55 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
3
- const require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants = require("./constants.cjs");
4
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts
5
- /**
6
- * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
7
- * It will immediately start a new session after the previous one ends.
8
- **/
9
- var SpanSessionTimeoutInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
10
- _sessionTimeout;
11
- constructor({ diag, perf } = {}) {
12
- super({
13
- instrumentationName: "SpanSessionTimeoutInstrumentation",
14
- instrumentationVersion: "1.0.0",
15
- diag,
16
- perf,
17
- config: {}
18
- });
19
- this._sessionTimeout = null;
20
- if (this._config.enabled) this.enable();
21
- }
22
- disable = () => {
23
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
24
- this._sessionTimeout = null;
25
- };
26
- enable = () => {
27
- this._checkTimeout();
28
- };
29
- _onTimeout = () => {
30
- this._diag.debug("Timeout detected");
31
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
32
- this.sessionManager.endSessionSpanInternal("timer");
33
- this.sessionManager.startSessionSpan({ reason: "timer" });
34
- this._sessionTimeout = setTimeout(this._checkTimeout, require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME);
35
- };
36
- _checkTimeout = () => {
37
- const currentSessionStartTime = this.sessionManager.getSessionStartTime();
38
- if (currentSessionStartTime) {
39
- const remainingTime = require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME - this.perf.millisSinceHRTime(currentSessionStartTime);
40
- if (remainingTime <= 0) {
41
- this._onTimeout();
42
- return;
43
- }
44
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
45
- this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);
46
- return;
47
- }
48
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
49
- this._sessionTimeout = setTimeout(this._checkTimeout, require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME);
50
- };
51
- };
52
- //#endregion
53
- exports.SpanSessionTimeoutInstrumentation = SpanSessionTimeoutInstrumentation;
54
-
55
- //# sourceMappingURL=SpanSessionTimeoutInstrumentation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionTimeoutInstrumentation.cjs","names":["MXLInstrumentationBase","TIMEOUT_TIME"],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport { TIMEOUT_TIME } from './constants';\nimport type { SpanSessionTimeoutInstrumentationArgs } from './types';\n\n/**\n * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.\n * It will immediately start a new session after the previous one ends.\n **/\nexport class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {\n private _sessionTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n perf,\n }: SpanSessionTimeoutInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionTimeoutInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._sessionTimeout = null;\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = null;\n };\n\n public enable = () => {\n this._checkTimeout();\n };\n\n private readonly _onTimeout = () => {\n this._diag.debug('Timeout detected');\n // clear existing timeout\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this.sessionManager.endSessionSpanInternal('timer');\n this.sessionManager.startSessionSpan({ reason: 'timer' });\n // set a new check in TIMEOUT_TIME for the session we just started\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n\n private readonly _checkTimeout = () => {\n const currentSessionStartTime = this.sessionManager.getSessionStartTime();\n // validate that there is an active session, as it may already been finished for other reasons.\n if (currentSessionStartTime) {\n // check how much time has passed since the session started\n const timePassed = this.perf.millisSinceHRTime(currentSessionStartTime);\n const remainingTime = TIMEOUT_TIME - timePassed;\n // if the remaining time is 0 or less, the session has already timed out.\n if (remainingTime <= 0) {\n // the session has already timed out.\n this._onTimeout();\n return;\n }\n // if there is time remaining, set a new timeout for check again after it\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);\n return;\n }\n // if there is no currentSessionStartTime then there is no active session,\n // check again in TIMEOUT_TIME in case a new one is started.\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;;AASA,IAAa,oCAAb,cAAuDA,uEAAAA,uBAAuB;CAC5E;CAEA,YAAmB,EACjB,MACA,SACyC,EAAE,EAAE;AAC7C,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,kBAAkB;AACvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB;;CAGzB,eAAsB;AACpB,OAAK,eAAe;;CAGtB,mBAAoC;AAClC,OAAK,MAAM,MAAM,mBAAmB;AAEpC,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,eAAe,uBAAuB,QAAQ;AACnD,OAAK,eAAe,iBAAiB,EAAE,QAAQ,SAAS,CAAC;AAEzD,OAAK,kBAAkB,WAAW,KAAK,eAAeC,6EAAAA,aAAa;;CAGrE,sBAAuC;EACrC,MAAM,0BAA0B,KAAK,eAAe,qBAAqB;AAEzE,MAAI,yBAAyB;GAG3B,MAAM,gBAAgBA,6EAAAA,eADH,KAAK,KAAK,kBAAkB,wBACA;AAE/C,OAAI,iBAAiB,GAAG;AAEtB,SAAK,YAAY;AACjB;;AAGF,OAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,QAAK,kBAAkB,WAAW,KAAK,eAAe,cAAc;AACpE;;AAIF,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB,WAAW,KAAK,eAAeA,6EAAAA,aAAa"}
@@ -1,22 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
2
- import { SpanSessionTimeoutInstrumentationArgs } from "./types.cjs";
3
-
4
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts
5
- /**
6
- * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
7
- * It will immediately start a new session after the previous one ends.
8
- **/
9
- declare class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {
10
- private _sessionTimeout;
11
- constructor({
12
- diag,
13
- perf
14
- }?: SpanSessionTimeoutInstrumentationArgs);
15
- disable: () => void;
16
- enable: () => void;
17
- private readonly _onTimeout;
18
- private readonly _checkTimeout;
19
- }
20
- //#endregion
21
- export { SpanSessionTimeoutInstrumentation };
22
- //# sourceMappingURL=SpanSessionTimeoutInstrumentation.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionTimeoutInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"mappings":";;;;;;;AASA;cAAa,iCAAA,SAA0C,sBAAA;EAAA,QAC7C,eAAA;;IAGN,IAAA;IACA;EAAA,IACC,qCAAA;EAcI,OAAA;EAOA,MAAA;EAAA,iBAIU,UAAA;EAAA,iBAYA,aAAA;AAAA"}
@@ -1,22 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
2
- import { SpanSessionTimeoutInstrumentationArgs } from "./types.js";
3
-
4
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts
5
- /**
6
- * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
7
- * It will immediately start a new session after the previous one ends.
8
- **/
9
- declare class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {
10
- private _sessionTimeout;
11
- constructor({
12
- diag,
13
- perf
14
- }?: SpanSessionTimeoutInstrumentationArgs);
15
- disable: () => void;
16
- enable: () => void;
17
- private readonly _onTimeout;
18
- private readonly _checkTimeout;
19
- }
20
- //#endregion
21
- export { SpanSessionTimeoutInstrumentation };
22
- //# sourceMappingURL=SpanSessionTimeoutInstrumentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionTimeoutInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"mappings":";;;;;;;AASA;cAAa,iCAAA,SAA0C,sBAAA;EAAA,QAC7C,eAAA;;IAGN,IAAA;IACA;EAAA,IACC,qCAAA;EAcI,OAAA;EAOA,MAAA;EAAA,iBAIU,UAAA;EAAA,iBAYA,aAAA;AAAA"}
@@ -1,54 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
2
- import { TIMEOUT_TIME } from "./constants.js";
3
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts
4
- /**
5
- * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
6
- * It will immediately start a new session after the previous one ends.
7
- **/
8
- var SpanSessionTimeoutInstrumentation = class extends MXLInstrumentationBase {
9
- _sessionTimeout;
10
- constructor({ diag, perf } = {}) {
11
- super({
12
- instrumentationName: "SpanSessionTimeoutInstrumentation",
13
- instrumentationVersion: "1.0.0",
14
- diag,
15
- perf,
16
- config: {}
17
- });
18
- this._sessionTimeout = null;
19
- if (this._config.enabled) this.enable();
20
- }
21
- disable = () => {
22
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
23
- this._sessionTimeout = null;
24
- };
25
- enable = () => {
26
- this._checkTimeout();
27
- };
28
- _onTimeout = () => {
29
- this._diag.debug("Timeout detected");
30
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
31
- this.sessionManager.endSessionSpanInternal("timer");
32
- this.sessionManager.startSessionSpan({ reason: "timer" });
33
- this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);
34
- };
35
- _checkTimeout = () => {
36
- const currentSessionStartTime = this.sessionManager.getSessionStartTime();
37
- if (currentSessionStartTime) {
38
- const remainingTime = TIMEOUT_TIME - this.perf.millisSinceHRTime(currentSessionStartTime);
39
- if (remainingTime <= 0) {
40
- this._onTimeout();
41
- return;
42
- }
43
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
44
- this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);
45
- return;
46
- }
47
- if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
48
- this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);
49
- };
50
- };
51
- //#endregion
52
- export { SpanSessionTimeoutInstrumentation };
53
-
54
- //# sourceMappingURL=SpanSessionTimeoutInstrumentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionTimeoutInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport { TIMEOUT_TIME } from './constants';\nimport type { SpanSessionTimeoutInstrumentationArgs } from './types';\n\n/**\n * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.\n * It will immediately start a new session after the previous one ends.\n **/\nexport class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {\n private _sessionTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n perf,\n }: SpanSessionTimeoutInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionTimeoutInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._sessionTimeout = null;\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = null;\n };\n\n public enable = () => {\n this._checkTimeout();\n };\n\n private readonly _onTimeout = () => {\n this._diag.debug('Timeout detected');\n // clear existing timeout\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this.sessionManager.endSessionSpanInternal('timer');\n this.sessionManager.startSessionSpan({ reason: 'timer' });\n // set a new check in TIMEOUT_TIME for the session we just started\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n\n private readonly _checkTimeout = () => {\n const currentSessionStartTime = this.sessionManager.getSessionStartTime();\n // validate that there is an active session, as it may already been finished for other reasons.\n if (currentSessionStartTime) {\n // check how much time has passed since the session started\n const timePassed = this.perf.millisSinceHRTime(currentSessionStartTime);\n const remainingTime = TIMEOUT_TIME - timePassed;\n // if the remaining time is 0 or less, the session has already timed out.\n if (remainingTime <= 0) {\n // the session has already timed out.\n this._onTimeout();\n return;\n }\n // if there is time remaining, set a new timeout for check again after it\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);\n return;\n }\n // if there is no currentSessionStartTime then there is no active session,\n // check again in TIMEOUT_TIME in case a new one is started.\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;AASA,IAAa,oCAAb,cAAuD,uBAAuB;CAC5E;CAEA,YAAmB,EACjB,MACA,SACyC,EAAE,EAAE;AAC7C,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,kBAAkB;AACvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB;;CAGzB,eAAsB;AACpB,OAAK,eAAe;;CAGtB,mBAAoC;AAClC,OAAK,MAAM,MAAM,mBAAmB;AAEpC,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,eAAe,uBAAuB,QAAQ;AACnD,OAAK,eAAe,iBAAiB,EAAE,QAAQ,SAAS,CAAC;AAEzD,OAAK,kBAAkB,WAAW,KAAK,eAAe,aAAa;;CAGrE,sBAAuC;EACrC,MAAM,0BAA0B,KAAK,eAAe,qBAAqB;AAEzE,MAAI,yBAAyB;GAG3B,MAAM,gBAAgB,eADH,KAAK,KAAK,kBAAkB,wBACA;AAE/C,OAAI,iBAAiB,GAAG;AAEtB,SAAK,YAAY;AACjB;;AAGF,OAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,QAAK,kBAAkB,WAAW,KAAK,eAAe,cAAc;AACpE;;AAIF,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB,WAAW,KAAK,eAAe,aAAa"}
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts
3
- const TIMEOUT_TIME = 14400 * 1e3;
4
- //#endregion
5
- exports.TIMEOUT_TIME = TIMEOUT_TIME;
6
-
7
- //# sourceMappingURL=constants.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.cjs","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"sourcesContent":["export const TIMEOUT_TIME = 4 * 60 * 60 * 1000; // 4 hours in milis = 14.400.000 milis\n"],"mappings":";;AAAA,MAAa,eAAe,QAAc"}
@@ -1,5 +0,0 @@
1
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts
2
- declare const TIMEOUT_TIME: number;
3
- //#endregion
4
- export { TIMEOUT_TIME };
5
- //# sourceMappingURL=constants.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"mappings":";cAAa,YAAA"}
@@ -1,5 +0,0 @@
1
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts
2
- declare const TIMEOUT_TIME: number;
3
- //#endregion
4
- export { TIMEOUT_TIME };
5
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"mappings":";cAAa,YAAA"}
@@ -1,6 +0,0 @@
1
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts
2
- const TIMEOUT_TIME = 14400 * 1e3;
3
- //#endregion
4
- export { TIMEOUT_TIME };
5
-
6
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"sourcesContent":["export const TIMEOUT_TIME = 4 * 60 * 60 * 1000; // 4 hours in milis = 14.400.000 milis\n"],"mappings":";AAAA,MAAa,eAAe,QAAc"}
@@ -1,3 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_instrumentations_session_SpanSessionTimeoutInstrumentation_SpanSessionTimeoutInstrumentation = require("./SpanSessionTimeoutInstrumentation.cjs");
3
- exports.SpanSessionTimeoutInstrumentation = require_instrumentations_session_SpanSessionTimeoutInstrumentation_SpanSessionTimeoutInstrumentation.SpanSessionTimeoutInstrumentation;
@@ -1,3 +0,0 @@
1
- import { SpanSessionTimeoutInstrumentationArgs } from "./types.cjs";
2
- import { SpanSessionTimeoutInstrumentation } from "./SpanSessionTimeoutInstrumentation.cjs";
3
- export { SpanSessionTimeoutInstrumentation, type SpanSessionTimeoutInstrumentationArgs };
@@ -1,3 +0,0 @@
1
- import { SpanSessionTimeoutInstrumentationArgs } from "./types.js";
2
- import { SpanSessionTimeoutInstrumentation } from "./SpanSessionTimeoutInstrumentation.js";
3
- export { SpanSessionTimeoutInstrumentation, type SpanSessionTimeoutInstrumentationArgs };
@@ -1,2 +0,0 @@
1
- import { SpanSessionTimeoutInstrumentation } from "./SpanSessionTimeoutInstrumentation.js";
2
- export { SpanSessionTimeoutInstrumentation };
@@ -1,6 +0,0 @@
1
- import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
2
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts
3
- type SpanSessionTimeoutInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'>;
4
- //#endregion
5
- export { SpanSessionTimeoutInstrumentationArgs };
6
- //# sourceMappingURL=types.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.ts"],"mappings":";;KAEY,qCAAA,GAAwC,IAAA,CAClD,0BAAA"}
@@ -1,6 +0,0 @@
1
- import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
2
- //#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts
3
- type SpanSessionTimeoutInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'>;
4
- //#endregion
5
- export { SpanSessionTimeoutInstrumentationArgs };
6
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.ts"],"mappings":";;KAEY,qCAAA,GAAwC,IAAA,CAClD,0BAAA"}
@@ -1,38 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
3
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts
4
- var SpanSessionVisibilityInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
5
- _onVisibilityChange;
6
- constructor({ diag, perf, visibilityDoc = window.document } = {}) {
7
- super({
8
- instrumentationName: "SpanSessionVisibilityInstrumentation",
9
- instrumentationVersion: "1.0.0",
10
- diag,
11
- perf,
12
- config: {}
13
- });
14
- this._onVisibilityChange = () => {
15
- this._diag.debug(`Visibility change detected: ${visibilityDoc.visibilityState}`);
16
- try {
17
- this.sessionManager.endSessionSpanInternal("state_changed");
18
- if (visibilityDoc.visibilityState === "visible") {
19
- this._diag.debug("Starting a session since document visibility switched to visible");
20
- this.sessionManager.startSessionSpan({ reason: "visible" });
21
- }
22
- } catch (error) {
23
- this._diag.error(`Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`, error);
24
- }
25
- };
26
- if (this._config.enabled) this.enable();
27
- }
28
- disable() {
29
- window.removeEventListener("visibilitychange", this._onVisibilityChange);
30
- }
31
- enable() {
32
- window.addEventListener("visibilitychange", this._onVisibilityChange);
33
- }
34
- };
35
- //#endregion
36
- exports.SpanSessionVisibilityInstrumentation = SpanSessionVisibilityInstrumentation;
37
-
38
- //# sourceMappingURL=SpanSessionVisibilityInstrumentation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionVisibilityInstrumentation.cjs","names":["MXLInstrumentationBase"],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionVisibilityInstrumentationArgs } from './types';\n\nexport class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {\n private readonly _onVisibilityChange: () => void;\n\n public constructor({\n diag,\n perf,\n visibilityDoc = window.document,\n }: SpanSessionVisibilityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionVisibilityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n\n this._onVisibilityChange = () => {\n this._diag.debug(\n `Visibility change detected: ${visibilityDoc.visibilityState}`,\n );\n\n try {\n this.sessionManager.endSessionSpanInternal('state_changed');\n\n if (visibilityDoc.visibilityState === 'visible') {\n this._diag.debug(\n 'Starting a session since document visibility switched to visible',\n );\n this.sessionManager.startSessionSpan({ reason: 'visible' });\n }\n } catch (error) {\n this._diag.error(\n `Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`,\n error,\n );\n }\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n window.removeEventListener('visibilitychange', this._onVisibilityChange);\n }\n\n public enable(): void {\n window.addEventListener('visibilitychange', this._onVisibilityChange);\n }\n}\n"],"mappings":";;;AAGA,IAAa,uCAAb,cAA0DA,uEAAAA,uBAAuB;CAC/E;CAEA,YAAmB,EACjB,MACA,MACA,gBAAgB,OAAO,aACqB,EAAE,EAAE;AAChD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,4BAA4B;AAC/B,QAAK,MAAM,MACT,+BAA+B,cAAc,kBAC9C;AAED,OAAI;AACF,SAAK,eAAe,uBAAuB,gBAAgB;AAE3D,QAAI,cAAc,oBAAoB,WAAW;AAC/C,UAAK,MAAM,MACT,mEACD;AACD,UAAK,eAAe,iBAAiB,EAAE,QAAQ,WAAW,CAAC;;YAEtD,OAAO;AACd,SAAK,MAAM,MACT,oDAAoD,cAAc,mBAClE,MACD;;;AAIL,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,SAAO,oBAAoB,oBAAoB,KAAK,oBAAoB;;CAG1E,SAAsB;AACpB,SAAO,iBAAiB,oBAAoB,KAAK,oBAAoB"}
@@ -1,17 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
2
- import { SpanSessionVisibilityInstrumentationArgs } from "./types.cjs";
3
-
4
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts
5
- declare class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {
6
- private readonly _onVisibilityChange;
7
- constructor({
8
- diag,
9
- perf,
10
- visibilityDoc
11
- }?: SpanSessionVisibilityInstrumentationArgs);
12
- disable(): void;
13
- enable(): void;
14
- }
15
- //#endregion
16
- export { SpanSessionVisibilityInstrumentation };
17
- //# sourceMappingURL=SpanSessionVisibilityInstrumentation.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionVisibilityInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"mappings":";;;;cAGa,oCAAA,SAA6C,sBAAA;EAAA,iBACvC,mBAAA;;IAGf,IAAA;IACA,IAAA;IACA;EAAA,IACC,wCAAA;EAoCI,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
@@ -1,17 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
2
- import { SpanSessionVisibilityInstrumentationArgs } from "./types.js";
3
-
4
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts
5
- declare class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {
6
- private readonly _onVisibilityChange;
7
- constructor({
8
- diag,
9
- perf,
10
- visibilityDoc
11
- }?: SpanSessionVisibilityInstrumentationArgs);
12
- disable(): void;
13
- enable(): void;
14
- }
15
- //#endregion
16
- export { SpanSessionVisibilityInstrumentation };
17
- //# sourceMappingURL=SpanSessionVisibilityInstrumentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionVisibilityInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"mappings":";;;;cAGa,oCAAA,SAA6C,sBAAA;EAAA,iBACvC,mBAAA;;IAGf,IAAA;IACA,IAAA;IACA;EAAA,IACC,wCAAA;EAoCI,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
@@ -1,37 +0,0 @@
1
- import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
2
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts
3
- var SpanSessionVisibilityInstrumentation = class extends MXLInstrumentationBase {
4
- _onVisibilityChange;
5
- constructor({ diag, perf, visibilityDoc = window.document } = {}) {
6
- super({
7
- instrumentationName: "SpanSessionVisibilityInstrumentation",
8
- instrumentationVersion: "1.0.0",
9
- diag,
10
- perf,
11
- config: {}
12
- });
13
- this._onVisibilityChange = () => {
14
- this._diag.debug(`Visibility change detected: ${visibilityDoc.visibilityState}`);
15
- try {
16
- this.sessionManager.endSessionSpanInternal("state_changed");
17
- if (visibilityDoc.visibilityState === "visible") {
18
- this._diag.debug("Starting a session since document visibility switched to visible");
19
- this.sessionManager.startSessionSpan({ reason: "visible" });
20
- }
21
- } catch (error) {
22
- this._diag.error(`Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`, error);
23
- }
24
- };
25
- if (this._config.enabled) this.enable();
26
- }
27
- disable() {
28
- window.removeEventListener("visibilitychange", this._onVisibilityChange);
29
- }
30
- enable() {
31
- window.addEventListener("visibilitychange", this._onVisibilityChange);
32
- }
33
- };
34
- //#endregion
35
- export { SpanSessionVisibilityInstrumentation };
36
-
37
- //# sourceMappingURL=SpanSessionVisibilityInstrumentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpanSessionVisibilityInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionVisibilityInstrumentationArgs } from './types';\n\nexport class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {\n private readonly _onVisibilityChange: () => void;\n\n public constructor({\n diag,\n perf,\n visibilityDoc = window.document,\n }: SpanSessionVisibilityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionVisibilityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n\n this._onVisibilityChange = () => {\n this._diag.debug(\n `Visibility change detected: ${visibilityDoc.visibilityState}`,\n );\n\n try {\n this.sessionManager.endSessionSpanInternal('state_changed');\n\n if (visibilityDoc.visibilityState === 'visible') {\n this._diag.debug(\n 'Starting a session since document visibility switched to visible',\n );\n this.sessionManager.startSessionSpan({ reason: 'visible' });\n }\n } catch (error) {\n this._diag.error(\n `Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`,\n error,\n );\n }\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n window.removeEventListener('visibilitychange', this._onVisibilityChange);\n }\n\n public enable(): void {\n window.addEventListener('visibilitychange', this._onVisibilityChange);\n }\n}\n"],"mappings":";;AAGA,IAAa,uCAAb,cAA0D,uBAAuB;CAC/E;CAEA,YAAmB,EACjB,MACA,MACA,gBAAgB,OAAO,aACqB,EAAE,EAAE;AAChD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,4BAA4B;AAC/B,QAAK,MAAM,MACT,+BAA+B,cAAc,kBAC9C;AAED,OAAI;AACF,SAAK,eAAe,uBAAuB,gBAAgB;AAE3D,QAAI,cAAc,oBAAoB,WAAW;AAC/C,UAAK,MAAM,MACT,mEACD;AACD,UAAK,eAAe,iBAAiB,EAAE,QAAQ,WAAW,CAAC;;YAEtD,OAAO;AACd,SAAK,MAAM,MACT,oDAAoD,cAAc,mBAClE,MACD;;;AAIL,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,SAAO,oBAAoB,oBAAoB,KAAK,oBAAoB;;CAG1E,SAAsB;AACpB,SAAO,iBAAiB,oBAAoB,KAAK,oBAAoB"}
@@ -1,3 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_instrumentations_session_SpanSessionVisibilityInstrumentation_SpanSessionVisibilityInstrumentation = require("./SpanSessionVisibilityInstrumentation.cjs");
3
- exports.SpanSessionVisibilityInstrumentation = require_instrumentations_session_SpanSessionVisibilityInstrumentation_SpanSessionVisibilityInstrumentation.SpanSessionVisibilityInstrumentation;
@@ -1,3 +0,0 @@
1
- import { SpanSessionVisibilityInstrumentationArgs } from "./types.cjs";
2
- import { SpanSessionVisibilityInstrumentation } from "./SpanSessionVisibilityInstrumentation.cjs";
3
- export { SpanSessionVisibilityInstrumentation, type SpanSessionVisibilityInstrumentationArgs };
@@ -1,3 +0,0 @@
1
- import { SpanSessionVisibilityInstrumentationArgs } from "./types.js";
2
- import { SpanSessionVisibilityInstrumentation } from "./SpanSessionVisibilityInstrumentation.js";
3
- export { SpanSessionVisibilityInstrumentation, type SpanSessionVisibilityInstrumentationArgs };
@@ -1,2 +0,0 @@
1
- import { SpanSessionVisibilityInstrumentation } from "./SpanSessionVisibilityInstrumentation.js";
2
- export { SpanSessionVisibilityInstrumentation };
@@ -1,10 +0,0 @@
1
- import { VisibilityStateDocument } from "../../../common/types.cjs";
2
- import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
3
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts
4
- type SpanSessionVisibilityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'> & {
5
- visibilityDoc?: VisibilityStateDocument; /** Passed through to {@link MXLSessionBatchedSpanProcessor} when sending to MXL. */
6
- storedSpansExpireTimeoutMS?: number;
7
- };
8
- //#endregion
9
- export { SpanSessionVisibilityInstrumentationArgs };
10
- //# sourceMappingURL=types.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.ts"],"mappings":";;;KAGY,wCAAA,GAA2C,IAAA,CACrD,0BAAA;EAGA,aAAA,GAAgB,uBAAA;EAGhB,0BAAA;AAAA"}
@@ -1,10 +0,0 @@
1
- import { VisibilityStateDocument } from "../../../common/types.js";
2
- import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
3
- //#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts
4
- type SpanSessionVisibilityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'> & {
5
- visibilityDoc?: VisibilityStateDocument; /** Passed through to {@link MXLSessionBatchedSpanProcessor} when sending to MXL. */
6
- storedSpansExpireTimeoutMS?: number;
7
- };
8
- //#endregion
9
- export { SpanSessionVisibilityInstrumentationArgs };
10
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.ts"],"mappings":";;;KAGY,wCAAA,GAA2C,IAAA,CACrD,0BAAA;EAGA,aAAA,GAAgB,uBAAA;EAGhB,0BAAA;AAAA"}
@@ -1,27 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../../_virtual/_rolldown/runtime.cjs");
3
- let _opentelemetry_instrumentation = require("@opentelemetry/instrumentation");
4
- let _opentelemetry_instrumentation_xml_http_request = require("@opentelemetry/instrumentation-xml-http-request");
5
- //#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts
6
- var MXLXHRInstrumentation = class extends _opentelemetry_instrumentation_xml_http_request.XMLHttpRequestInstrumentation {
7
- _omitIfAlreadyPatched;
8
- constructor({ omitIfAlreadyPatched, ...rest } = {}) {
9
- super({
10
- ...rest,
11
- enabled: false
12
- });
13
- this._omitIfAlreadyPatched = omitIfAlreadyPatched;
14
- if (rest.enabled) this.enable();
15
- }
16
- enable() {
17
- if (this._omitIfAlreadyPatched && ((0, _opentelemetry_instrumentation.isWrapped)(XMLHttpRequest.prototype.open) || (0, _opentelemetry_instrumentation.isWrapped)(XMLHttpRequest.prototype.send))) {
18
- this._diag.debug("XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation");
19
- return;
20
- }
21
- super.enable();
22
- }
23
- };
24
- //#endregion
25
- exports.MXLXHRInstrumentation = MXLXHRInstrumentation;
26
-
27
- //# sourceMappingURL=MXLXHRInstrumentation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MXLXHRInstrumentation.cjs","names":["XMLHttpRequestInstrumentation"],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"sourcesContent":["import { isWrapped } from '@opentelemetry/instrumentation';\nimport { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';\nimport type { MXLXHRInstrumentationArgs } from './types';\n\nexport class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {\n private readonly _omitIfAlreadyPatched?: boolean;\n\n public constructor({\n omitIfAlreadyPatched,\n ...rest\n }: MXLXHRInstrumentationArgs = {}) {\n // Base constructor automatically calls this.enable() if enabled is true, but we need to run our overridden constructor\n // first so force enabled false here and call it ourselves later\n super({ ...rest, enabled: false });\n\n this._omitIfAlreadyPatched = omitIfAlreadyPatched;\n\n if (rest.enabled) {\n this.enable();\n }\n }\n\n public override enable(): void {\n // The base implementation always removes and then re-patches, this means the last instrumentation to run \"wins\":\n // https://github.com/open-telemetry/opentelemetry-js/blob/2d7eecbb19aec17bf2d8b9a4e4b2d84dc92c2d88/experimental/packages/opentelemetry-instrumentation-xml-http-request/src/xhr.ts#L639\n // Exposing an option in this class to allow leaving the existing patch in place and letting a previous instrumentation\n // control the global\n if (\n this._omitIfAlreadyPatched &&\n (isWrapped(XMLHttpRequest.prototype.open) ||\n isWrapped(XMLHttpRequest.prototype.send))\n ) {\n this._diag.debug(\n 'XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation',\n );\n return;\n }\n\n super.enable();\n }\n}\n"],"mappings":";;;;;AAIA,IAAa,wBAAb,cAA2CA,gDAAAA,8BAA8B;CACvE;CAEA,YAAmB,EACjB,sBACA,GAAG,SAC0B,EAAE,EAAE;AAGjC,QAAM;GAAE,GAAG;GAAM,SAAS;GAAO,CAAC;AAElC,OAAK,wBAAwB;AAE7B,MAAI,KAAK,QACP,MAAK,QAAQ;;CAIjB,SAA+B;AAK7B,MACE,KAAK,2BAAA,GAAA,+BAAA,WACM,eAAe,UAAU,KAAK,KAAA,GAAA,+BAAA,WAC7B,eAAe,UAAU,KAAK,GAC1C;AACA,QAAK,MAAM,MACT,8GACD;AACD;;AAGF,QAAM,QAAQ"}
@@ -1,15 +0,0 @@
1
- import { MXLXHRInstrumentationArgs } from "./types.cjs";
2
- import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
3
-
4
- //#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts
5
- declare class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {
6
- private readonly _omitIfAlreadyPatched?;
7
- constructor({
8
- omitIfAlreadyPatched,
9
- ...rest
10
- }?: MXLXHRInstrumentationArgs);
11
- enable(): void;
12
- }
13
- //#endregion
14
- export { MXLXHRInstrumentation };
15
- //# sourceMappingURL=MXLXHRInstrumentation.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MXLXHRInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"mappings":";;;;cAIa,qBAAA,SAA8B,6BAAA;EAAA,iBACxB,qBAAA;;IAGf,oBAAA;IAAA,GACG;EAAA,IACF,yBAAA;EAYa,MAAA,CAAA;AAAA"}
@@ -1,15 +0,0 @@
1
- import { MXLXHRInstrumentationArgs } from "./types.js";
2
- import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
3
-
4
- //#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts
5
- declare class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {
6
- private readonly _omitIfAlreadyPatched?;
7
- constructor({
8
- omitIfAlreadyPatched,
9
- ...rest
10
- }?: MXLXHRInstrumentationArgs);
11
- enable(): void;
12
- }
13
- //#endregion
14
- export { MXLXHRInstrumentation };
15
- //# sourceMappingURL=MXLXHRInstrumentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MXLXHRInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"mappings":";;;;cAIa,qBAAA,SAA8B,6BAAA;EAAA,iBACxB,qBAAA;;IAGf,oBAAA;IAAA,GACG;EAAA,IACF,yBAAA;EAYa,MAAA,CAAA;AAAA"}
@@ -1,25 +0,0 @@
1
- import { isWrapped } from "@opentelemetry/instrumentation";
2
- import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
3
- //#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts
4
- var MXLXHRInstrumentation = class extends XMLHttpRequestInstrumentation {
5
- _omitIfAlreadyPatched;
6
- constructor({ omitIfAlreadyPatched, ...rest } = {}) {
7
- super({
8
- ...rest,
9
- enabled: false
10
- });
11
- this._omitIfAlreadyPatched = omitIfAlreadyPatched;
12
- if (rest.enabled) this.enable();
13
- }
14
- enable() {
15
- if (this._omitIfAlreadyPatched && (isWrapped(XMLHttpRequest.prototype.open) || isWrapped(XMLHttpRequest.prototype.send))) {
16
- this._diag.debug("XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation");
17
- return;
18
- }
19
- super.enable();
20
- }
21
- };
22
- //#endregion
23
- export { MXLXHRInstrumentation };
24
-
25
- //# sourceMappingURL=MXLXHRInstrumentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MXLXHRInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"sourcesContent":["import { isWrapped } from '@opentelemetry/instrumentation';\nimport { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';\nimport type { MXLXHRInstrumentationArgs } from './types';\n\nexport class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {\n private readonly _omitIfAlreadyPatched?: boolean;\n\n public constructor({\n omitIfAlreadyPatched,\n ...rest\n }: MXLXHRInstrumentationArgs = {}) {\n // Base constructor automatically calls this.enable() if enabled is true, but we need to run our overridden constructor\n // first so force enabled false here and call it ourselves later\n super({ ...rest, enabled: false });\n\n this._omitIfAlreadyPatched = omitIfAlreadyPatched;\n\n if (rest.enabled) {\n this.enable();\n }\n }\n\n public override enable(): void {\n // The base implementation always removes and then re-patches, this means the last instrumentation to run \"wins\":\n // https://github.com/open-telemetry/opentelemetry-js/blob/2d7eecbb19aec17bf2d8b9a4e4b2d84dc92c2d88/experimental/packages/opentelemetry-instrumentation-xml-http-request/src/xhr.ts#L639\n // Exposing an option in this class to allow leaving the existing patch in place and letting a previous instrumentation\n // control the global\n if (\n this._omitIfAlreadyPatched &&\n (isWrapped(XMLHttpRequest.prototype.open) ||\n isWrapped(XMLHttpRequest.prototype.send))\n ) {\n this._diag.debug(\n 'XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation',\n );\n return;\n }\n\n super.enable();\n }\n}\n"],"mappings":";;;AAIA,IAAa,wBAAb,cAA2C,8BAA8B;CACvE;CAEA,YAAmB,EACjB,sBACA,GAAG,SAC0B,EAAE,EAAE;AAGjC,QAAM;GAAE,GAAG;GAAM,SAAS;GAAO,CAAC;AAElC,OAAK,wBAAwB;AAE7B,MAAI,KAAK,QACP,MAAK,QAAQ;;CAIjB,SAA+B;AAK7B,MACE,KAAK,0BACJ,UAAU,eAAe,UAAU,KAAK,IACvC,UAAU,eAAe,UAAU,KAAK,GAC1C;AACA,QAAK,MAAM,MACT,8GACD;AACD;;AAGF,QAAM,QAAQ"}
@@ -1,3 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_instrumentations_xhr_MXLXHRInstrumentation_MXLXHRInstrumentation = require("./MXLXHRInstrumentation.cjs");
3
- exports.MXLXHRInstrumentation = require_instrumentations_xhr_MXLXHRInstrumentation_MXLXHRInstrumentation.MXLXHRInstrumentation;
@@ -1,2 +0,0 @@
1
- import { MXLXHRInstrumentation } from "./MXLXHRInstrumentation.cjs";
2
- export { MXLXHRInstrumentation };
@@ -1,2 +0,0 @@
1
- import { MXLXHRInstrumentation } from "./MXLXHRInstrumentation.js";
2
- export { MXLXHRInstrumentation };
@@ -1,2 +0,0 @@
1
- import { MXLXHRInstrumentation } from "./MXLXHRInstrumentation.js";
2
- export { MXLXHRInstrumentation };