@safaricom-mxl/web-sdk 0.0.16 → 0.0.18

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 (1703) hide show
  1. package/DATA_EXPORT.md +2 -3
  2. package/REACT.md +26 -12
  3. package/README.md +94 -57
  4. package/UPGRADING.md +29 -19
  5. package/dist/_virtual/_rolldown/runtime.cjs +2 -0
  6. package/dist/_virtual/_rolldown/runtime.js +24 -0
  7. package/dist/api-logs/api/LogAPI/LogAPI.cjs +3 -3
  8. package/dist/api-logs/api/LogAPI/LogAPI.cjs.map +1 -1
  9. package/dist/api-logs/api/LogAPI/LogAPI.d.cts +1 -0
  10. package/dist/api-logs/api/LogAPI/LogAPI.d.cts.map +1 -1
  11. package/dist/api-logs/api/LogAPI/LogAPI.d.ts +1 -0
  12. package/dist/api-logs/api/LogAPI/LogAPI.d.ts.map +1 -1
  13. package/dist/api-logs/api/LogAPI/LogAPI.js +3 -3
  14. package/dist/api-logs/api/LogAPI/LogAPI.js.map +1 -1
  15. package/dist/api-logs/api/LogAPI/types.d.cts +1 -0
  16. package/dist/api-logs/api/LogAPI/types.d.cts.map +1 -1
  17. package/dist/api-logs/api/LogAPI/types.d.ts +1 -0
  18. package/dist/api-logs/api/LogAPI/types.d.ts.map +1 -1
  19. package/dist/api-logs/logAPI.cjs.map +1 -1
  20. package/dist/api-logs/logAPI.d.cts.map +1 -1
  21. package/dist/api-logs/logAPI.d.ts.map +1 -1
  22. package/dist/api-logs/logAPI.js.map +1 -1
  23. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs.map +1 -1
  24. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts +1 -0
  25. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts.map +1 -1
  26. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts +1 -0
  27. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts.map +1 -1
  28. package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js.map +1 -1
  29. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.cjs.map +1 -1
  30. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts +1 -0
  31. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts.map +1 -1
  32. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts +1 -0
  33. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts.map +1 -1
  34. package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.js.map +1 -1
  35. package/dist/api-logs/manager/types.d.cts +4 -4
  36. package/dist/api-logs/manager/types.d.cts.map +1 -1
  37. package/dist/api-logs/manager/types.d.ts +4 -4
  38. package/dist/api-logs/manager/types.d.ts.map +1 -1
  39. package/dist/api-page/api/PageAPI/PageAPI.cjs +3 -3
  40. package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -1
  41. package/dist/api-page/api/PageAPI/PageAPI.js +3 -3
  42. package/dist/api-page/api/PageAPI/PageAPI.js.map +1 -1
  43. package/dist/api-page/api/PageAPI/types.d.cts.map +1 -1
  44. package/dist/api-page/api/PageAPI/types.d.ts.map +1 -1
  45. package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.cjs.map +1 -1
  46. package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.js.map +1 -1
  47. package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.cjs.map +1 -1
  48. package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.cts.map +1 -1
  49. package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.ts.map +1 -1
  50. package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.js.map +1 -1
  51. package/dist/api-page/pageAPI.cjs.map +1 -1
  52. package/dist/api-page/pageAPI.js.map +1 -1
  53. package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs +9 -9
  54. package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -1
  55. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +6 -7
  56. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -1
  57. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +6 -7
  58. package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -1
  59. package/dist/api-sessions/api/SessionAPI/SessionAPI.js +9 -9
  60. package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -1
  61. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs +47 -0
  62. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs.map +1 -0
  63. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts +31 -0
  64. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts.map +1 -0
  65. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts +31 -0
  66. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts.map +1 -0
  67. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js +46 -0
  68. package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js.map +1 -0
  69. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs +81 -0
  70. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs.map +1 -0
  71. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts +35 -0
  72. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts.map +1 -0
  73. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts +35 -0
  74. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts.map +1 -0
  75. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js +81 -0
  76. package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js.map +1 -0
  77. package/dist/api-sessions/manager/types.d.cts +14 -23
  78. package/dist/api-sessions/manager/types.d.cts.map +1 -1
  79. package/dist/api-sessions/manager/types.d.ts +14 -23
  80. package/dist/api-sessions/manager/types.d.ts.map +1 -1
  81. package/dist/api-sessions/sessionAPI.cjs.map +1 -1
  82. package/dist/api-sessions/sessionAPI.d.cts.map +1 -1
  83. package/dist/api-sessions/sessionAPI.d.ts.map +1 -1
  84. package/dist/api-sessions/sessionAPI.js.map +1 -1
  85. package/dist/api-traces/api/TraceAPI/TraceAPI.cjs +3 -3
  86. package/dist/api-traces/api/TraceAPI/TraceAPI.cjs.map +1 -1
  87. package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts +1 -0
  88. package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts.map +1 -1
  89. package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts +1 -0
  90. package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts.map +1 -1
  91. package/dist/api-traces/api/TraceAPI/TraceAPI.js +3 -3
  92. package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -1
  93. package/dist/api-traces/api/TraceAPI/types.d.cts +2 -2
  94. package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -1
  95. package/dist/api-traces/api/TraceAPI/types.d.ts +2 -2
  96. package/dist/api-traces/api/TraceAPI/types.d.ts.map +1 -1
  97. package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.cjs.map +1 -1
  98. package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.js.map +1 -1
  99. package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.cjs.map +1 -1
  100. package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.cts.map +1 -1
  101. package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.ts.map +1 -1
  102. package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.js.map +1 -1
  103. package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.cjs.map +1 -1
  104. package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.cts.map +1 -1
  105. package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.ts.map +1 -1
  106. package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.js.map +1 -1
  107. package/dist/api-traces/manager/types.d.cts.map +1 -1
  108. package/dist/api-traces/manager/types.d.ts.map +1 -1
  109. package/dist/api-traces/traceAPI.cjs.map +1 -1
  110. package/dist/api-traces/traceAPI.js.map +1 -1
  111. package/dist/api-users/api/UserAPI/UserAPI.cjs +3 -3
  112. package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -1
  113. package/dist/api-users/api/UserAPI/UserAPI.js +3 -3
  114. package/dist/api-users/api/UserAPI/UserAPI.js.map +1 -1
  115. package/dist/api-users/api/UserAPI/types.d.cts.map +1 -1
  116. package/dist/api-users/api/UserAPI/types.d.ts.map +1 -1
  117. package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.cjs.map +1 -1
  118. package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.js.map +1 -1
  119. package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.cjs.map +1 -1
  120. package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.cts.map +1 -1
  121. package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.ts.map +1 -1
  122. package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.js.map +1 -1
  123. package/dist/api-users/manager/types.d.cts +1 -1
  124. package/dist/api-users/manager/types.d.ts +1 -1
  125. package/dist/api-users/manager/userConstants.cjs +7 -0
  126. package/dist/api-users/manager/userConstants.cjs.map +1 -0
  127. package/dist/api-users/manager/userConstants.d.cts +5 -0
  128. package/dist/api-users/manager/userConstants.d.cts.map +1 -0
  129. package/dist/api-users/manager/userConstants.d.ts +5 -0
  130. package/dist/api-users/manager/userConstants.d.ts.map +1 -0
  131. package/dist/api-users/manager/userConstants.js +6 -0
  132. package/dist/api-users/manager/userConstants.js.map +1 -0
  133. package/dist/api-users/userAPI.cjs.map +1 -1
  134. package/dist/api-users/userAPI.d.cts.map +1 -1
  135. package/dist/api-users/userAPI.d.ts.map +1 -1
  136. package/dist/api-users/userAPI.js.map +1 -1
  137. package/dist/common/attributes.cjs.map +1 -1
  138. package/dist/common/attributes.d.cts.map +1 -1
  139. package/dist/common/attributes.d.ts.map +1 -1
  140. package/dist/common/attributes.js.map +1 -1
  141. package/dist/common/types.d.cts +2 -0
  142. package/dist/common/types.d.cts.map +1 -1
  143. package/dist/common/types.d.ts +2 -0
  144. package/dist/common/types.d.ts.map +1 -1
  145. package/dist/constants/attributes.cjs +28 -0
  146. package/dist/constants/attributes.cjs.map +1 -1
  147. package/dist/constants/attributes.d.cts +17 -2
  148. package/dist/constants/attributes.d.cts.map +1 -1
  149. package/dist/constants/attributes.d.ts +17 -2
  150. package/dist/constants/attributes.d.ts.map +1 -1
  151. package/dist/constants/attributes.js +16 -1
  152. package/dist/constants/attributes.js.map +1 -1
  153. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +4 -4
  154. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -1
  155. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts +1 -2
  156. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -1
  157. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts +1 -2
  158. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -1
  159. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +2 -3
  160. package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js.map +1 -1
  161. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs +3 -2
  162. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs.map +1 -1
  163. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js +1 -1
  164. package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js.map +1 -1
  165. package/dist/exporters/constants.cjs +1 -1
  166. package/dist/exporters/constants.cjs.map +1 -1
  167. package/dist/exporters/constants.d.cts +1 -1
  168. package/dist/exporters/constants.d.ts +1 -1
  169. package/dist/exporters/constants.js +1 -1
  170. package/dist/exporters/constants.js.map +1 -1
  171. package/dist/exporters/otlpBrowserFetchExportDelegate.cjs.map +1 -1
  172. package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts +1 -1
  173. package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts.map +1 -1
  174. package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts +1 -1
  175. package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts.map +1 -1
  176. package/dist/exporters/otlpBrowserFetchExportDelegate.js.map +1 -1
  177. package/dist/index.cjs +2 -0
  178. package/dist/index.d.cts +4 -3
  179. package/dist/index.d.ts +4 -3
  180. package/dist/index.js +2 -1
  181. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs +2 -2
  182. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs.map +1 -1
  183. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts +1 -1
  184. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts.map +1 -1
  185. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts +1 -1
  186. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts.map +1 -1
  187. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js +2 -2
  188. package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js.map +1 -1
  189. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +7 -8
  190. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -1
  191. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +5 -6
  192. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts.map +1 -1
  193. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +5 -6
  194. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts.map +1 -1
  195. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +7 -8
  196. package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js.map +1 -1
  197. package/dist/instrumentations/MXLInstrumentationBase/types.d.cts +1 -1
  198. package/dist/instrumentations/MXLInstrumentationBase/types.d.cts.map +1 -1
  199. package/dist/instrumentations/MXLInstrumentationBase/types.d.ts +1 -1
  200. package/dist/instrumentations/MXLInstrumentationBase/types.d.ts.map +1 -1
  201. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs +8 -8
  202. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs.map +1 -1
  203. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts.map +1 -1
  204. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts.map +1 -1
  205. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js +8 -8
  206. package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js.map +1 -1
  207. package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts +1 -0
  208. package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts.map +1 -1
  209. package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts +1 -0
  210. package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts.map +1 -1
  211. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs +10 -10
  212. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs.map +1 -1
  213. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.cts.map +1 -1
  214. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.ts.map +1 -1
  215. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js +10 -10
  216. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js.map +1 -1
  217. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.cts.map +1 -1
  218. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.ts.map +1 -1
  219. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs +2 -2
  220. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs.map +1 -1
  221. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js +2 -2
  222. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js.map +1 -1
  223. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs +6 -6
  224. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs.map +1 -1
  225. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.d.cts.map +1 -1
  226. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.d.ts.map +1 -1
  227. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js +6 -6
  228. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js.map +1 -1
  229. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs +4 -4
  230. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -1
  231. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js +4 -4
  232. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js.map +1 -1
  233. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts +1 -0
  234. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts.map +1 -1
  235. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts +1 -0
  236. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts.map +1 -1
  237. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs +7 -7
  238. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -1
  239. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js +7 -7
  240. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js.map +1 -1
  241. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts +1 -0
  242. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts.map +1 -1
  243. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts +1 -0
  244. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts.map +1 -1
  245. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs +3 -3
  246. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -1
  247. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts +4 -4
  248. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts.map +1 -1
  249. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts +4 -4
  250. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts.map +1 -1
  251. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +3 -3
  252. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -1
  253. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs +25 -25
  254. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs.map +1 -1
  255. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts +2 -2
  256. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts.map +1 -1
  257. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts +2 -2
  258. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts.map +1 -1
  259. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js +25 -25
  260. package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js.map +1 -1
  261. package/dist/instrumentations/loaf/LoafInstrumentation/types.d.cts +1 -0
  262. package/dist/instrumentations/loaf/LoafInstrumentation/types.d.cts.map +1 -1
  263. package/dist/instrumentations/loaf/LoafInstrumentation/types.d.ts +1 -0
  264. package/dist/instrumentations/loaf/LoafInstrumentation/types.d.ts.map +1 -1
  265. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs +6 -6
  266. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs.map +1 -1
  267. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts.map +1 -1
  268. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts.map +1 -1
  269. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js +6 -6
  270. package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js.map +1 -1
  271. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.cjs.map +1 -1
  272. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts +1 -0
  273. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts.map +1 -1
  274. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts +1 -0
  275. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts.map +1 -1
  276. package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.js.map +1 -1
  277. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs +3 -3
  278. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs.map +1 -1
  279. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js +4 -2
  280. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js.map +1 -1
  281. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs +1 -1
  282. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -1
  283. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js +1 -1
  284. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -1
  285. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts +10 -10
  286. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -1
  287. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts +10 -10
  288. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -1
  289. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts +2 -2
  290. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts.map +1 -1
  291. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts +2 -2
  292. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts.map +1 -1
  293. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs +3 -3
  294. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs.map +1 -1
  295. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js +4 -2
  296. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js.map +1 -1
  297. package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts +1 -0
  298. package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts.map +1 -1
  299. package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts +1 -0
  300. package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts.map +1 -1
  301. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs +240 -0
  302. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs.map +1 -0
  303. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts +51 -0
  304. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts.map +1 -0
  305. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts +51 -0
  306. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts.map +1 -0
  307. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js +235 -0
  308. package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js.map +1 -0
  309. package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs +15 -0
  310. package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs.map +1 -0
  311. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts +9 -0
  312. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts.map +1 -0
  313. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts +9 -0
  314. package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts.map +1 -0
  315. package/dist/instrumentations/replay/ReplayInstrumentation/constants.js +10 -0
  316. package/dist/instrumentations/replay/ReplayInstrumentation/constants.js.map +1 -0
  317. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts +17 -0
  318. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts.map +1 -0
  319. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts +17 -0
  320. package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts.map +1 -0
  321. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs +18 -0
  322. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs.map +1 -0
  323. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts +8 -0
  324. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts.map +1 -0
  325. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts +8 -0
  326. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts.map +1 -0
  327. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js +17 -0
  328. package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js.map +1 -0
  329. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.cjs +6 -0
  330. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.d.cts +3 -0
  331. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.d.ts +3 -0
  332. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.cjs +29 -0
  333. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.cjs.map +1 -0
  334. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.cts +11 -0
  335. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.cts.map +1 -0
  336. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.ts +11 -0
  337. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.ts.map +1 -0
  338. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.js +25 -0
  339. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.js.map +1 -0
  340. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.cjs +48 -0
  341. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.cjs.map +1 -0
  342. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.cts +10 -0
  343. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.cts.map +1 -0
  344. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.ts +10 -0
  345. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.ts.map +1 -0
  346. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.js +44 -0
  347. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.js.map +1 -0
  348. package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.js +2 -0
  349. package/dist/instrumentations/replay/rrwebLoader/types.d.cts +17 -0
  350. package/dist/instrumentations/replay/rrwebLoader/types.d.cts.map +1 -0
  351. package/dist/instrumentations/replay/rrwebLoader/types.d.ts +17 -0
  352. package/dist/instrumentations/replay/rrwebLoader/types.d.ts.map +1 -0
  353. package/dist/instrumentations/replay/utils/session-recording-utils.cjs +79 -0
  354. package/dist/instrumentations/replay/utils/session-recording-utils.cjs.map +1 -0
  355. package/dist/instrumentations/replay/utils/session-recording-utils.d.cts +32 -0
  356. package/dist/instrumentations/replay/utils/session-recording-utils.d.cts.map +1 -0
  357. package/dist/instrumentations/replay/utils/session-recording-utils.d.ts +32 -0
  358. package/dist/instrumentations/replay/utils/session-recording-utils.d.ts.map +1 -0
  359. package/dist/instrumentations/replay/utils/session-recording-utils.js +73 -0
  360. package/dist/instrumentations/replay/utils/session-recording-utils.js.map +1 -0
  361. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs +6 -6
  362. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs.map +1 -1
  363. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js +6 -6
  364. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js.map +1 -1
  365. package/dist/instrumentations/session/types.d.cts +5 -5
  366. package/dist/instrumentations/session/types.d.cts.map +1 -1
  367. package/dist/instrumentations/session/types.d.ts +5 -5
  368. package/dist/instrumentations/session/types.d.ts.map +1 -1
  369. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs +11 -11
  370. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs.map +1 -1
  371. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.d.cts.map +1 -1
  372. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.d.ts.map +1 -1
  373. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js +11 -11
  374. package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map +1 -1
  375. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +16 -16
  376. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map +1 -1
  377. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts.map +1 -1
  378. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts.map +1 -1
  379. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js +16 -16
  380. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -1
  381. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts +1 -3
  382. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -1
  383. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts +1 -3
  384. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -1
  385. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs +0 -1
  386. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs.map +1 -1
  387. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts.map +1 -1
  388. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts.map +1 -1
  389. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js +0 -1
  390. package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -1
  391. package/dist/managers/MXLConfigManager/constants.cjs +2 -2
  392. package/dist/managers/MXLConfigManager/constants.cjs.map +1 -1
  393. package/dist/managers/MXLConfigManager/constants.d.cts +1 -0
  394. package/dist/managers/MXLConfigManager/constants.d.cts.map +1 -1
  395. package/dist/managers/MXLConfigManager/constants.d.ts +1 -0
  396. package/dist/managers/MXLConfigManager/constants.d.ts.map +1 -1
  397. package/dist/managers/MXLConfigManager/constants.js +2 -2
  398. package/dist/managers/MXLConfigManager/constants.js.map +1 -1
  399. package/dist/managers/MXLConfigManager/types.d.cts +8 -7
  400. package/dist/managers/MXLConfigManager/types.d.cts.map +1 -1
  401. package/dist/managers/MXLConfigManager/types.d.ts +8 -7
  402. package/dist/managers/MXLConfigManager/types.d.ts.map +1 -1
  403. package/dist/managers/MXLLimitManager/MXLLimitManager.cjs +20 -20
  404. package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -1
  405. package/dist/managers/MXLLimitManager/MXLLimitManager.js +20 -20
  406. package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -1
  407. package/dist/managers/MXLLimitManager/constants.cjs +20 -20
  408. package/dist/managers/MXLLimitManager/constants.cjs.map +1 -1
  409. package/dist/managers/MXLLimitManager/constants.js +20 -20
  410. package/dist/managers/MXLLimitManager/constants.js.map +1 -1
  411. package/dist/managers/MXLLimitManager/types.d.cts +8 -8
  412. package/dist/managers/MXLLimitManager/types.d.cts.map +1 -1
  413. package/dist/managers/MXLLimitManager/types.d.ts +8 -8
  414. package/dist/managers/MXLLimitManager/types.d.ts.map +1 -1
  415. package/dist/managers/MXLLogManager/MXLLogManager.cjs +23 -23
  416. package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -1
  417. package/dist/managers/MXLLogManager/MXLLogManager.d.cts +2 -2
  418. package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -1
  419. package/dist/managers/MXLLogManager/MXLLogManager.d.ts +2 -2
  420. package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -1
  421. package/dist/managers/MXLLogManager/MXLLogManager.js +23 -23
  422. package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -1
  423. package/dist/managers/MXLLogManager/types.d.cts +3 -3
  424. package/dist/managers/MXLLogManager/types.d.cts.map +1 -1
  425. package/dist/managers/MXLLogManager/types.d.ts +3 -3
  426. package/dist/managers/MXLLogManager/types.d.ts.map +1 -1
  427. package/dist/managers/MXLPageManager/MXLPageManager.cjs +1 -3
  428. package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -1
  429. package/dist/managers/MXLPageManager/MXLPageManager.d.cts.map +1 -1
  430. package/dist/managers/MXLPageManager/MXLPageManager.d.ts.map +1 -1
  431. package/dist/managers/MXLPageManager/MXLPageManager.js +1 -3
  432. package/dist/managers/MXLPageManager/MXLPageManager.js.map +1 -1
  433. package/dist/managers/MXLPageManager/types.d.cts.map +1 -1
  434. package/dist/managers/MXLPageManager/types.d.ts.map +1 -1
  435. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs +0 -4
  436. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -1
  437. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts +0 -1
  438. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts.map +1 -1
  439. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts +0 -1
  440. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts.map +1 -1
  441. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js +0 -4
  442. package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -1
  443. package/dist/managers/MXLSDKFeaturesManager/types.d.cts +1 -1
  444. package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -1
  445. package/dist/managers/MXLSDKFeaturesManager/types.d.ts +1 -1
  446. package/dist/managers/MXLSDKFeaturesManager/types.d.ts.map +1 -1
  447. package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs.map +1 -1
  448. package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.cts.map +1 -1
  449. package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.ts.map +1 -1
  450. package/dist/managers/MXLTraceManager/MXLExtendedSpan.js.map +1 -1
  451. package/dist/managers/MXLTraceManager/MXLTraceManager.cjs.map +1 -1
  452. package/dist/managers/MXLTraceManager/MXLTraceManager.d.cts.map +1 -1
  453. package/dist/managers/MXLTraceManager/MXLTraceManager.d.ts.map +1 -1
  454. package/dist/managers/MXLTraceManager/MXLTraceManager.js.map +1 -1
  455. package/dist/managers/MXLUserManager/MXLUserManager.cjs +16 -16
  456. package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -1
  457. package/dist/managers/MXLUserManager/MXLUserManager.js +15 -15
  458. package/dist/managers/MXLUserManager/MXLUserManager.js.map +1 -1
  459. package/dist/managers/MXLUserManager/types.cjs +1 -1
  460. package/dist/managers/MXLUserManager/types.cjs.map +1 -1
  461. package/dist/managers/MXLUserManager/types.js +1 -1
  462. package/dist/managers/MXLUserManager/types.js.map +1 -1
  463. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs +574 -0
  464. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs.map +1 -0
  465. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts +142 -0
  466. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts.map +1 -0
  467. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts +142 -0
  468. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts.map +1 -0
  469. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js +572 -0
  470. package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js.map +1 -0
  471. package/dist/managers/MXLUserSessionManager/constants.cjs +55 -0
  472. package/dist/managers/MXLUserSessionManager/constants.cjs.map +1 -0
  473. package/dist/managers/MXLUserSessionManager/constants.d.cts +31 -0
  474. package/dist/managers/MXLUserSessionManager/constants.d.cts.map +1 -0
  475. package/dist/managers/MXLUserSessionManager/constants.d.ts +31 -0
  476. package/dist/managers/MXLUserSessionManager/constants.d.ts.map +1 -0
  477. package/dist/managers/MXLUserSessionManager/constants.js +37 -0
  478. package/dist/managers/MXLUserSessionManager/constants.js.map +1 -0
  479. package/dist/managers/MXLUserSessionManager/types.d.cts +84 -0
  480. package/dist/managers/MXLUserSessionManager/types.d.cts.map +1 -0
  481. package/dist/managers/MXLUserSessionManager/types.d.ts +84 -0
  482. package/dist/managers/MXLUserSessionManager/types.d.ts.map +1 -0
  483. package/dist/managers/MXLUserSessionManager/utils/activity.cjs +25 -0
  484. package/dist/managers/MXLUserSessionManager/utils/activity.cjs.map +1 -0
  485. package/dist/managers/MXLUserSessionManager/utils/activity.d.cts +40 -0
  486. package/dist/managers/MXLUserSessionManager/utils/activity.d.cts.map +1 -0
  487. package/dist/managers/MXLUserSessionManager/utils/activity.d.ts +40 -0
  488. package/dist/managers/MXLUserSessionManager/utils/activity.d.ts.map +1 -0
  489. package/dist/managers/MXLUserSessionManager/utils/activity.js +22 -0
  490. package/dist/managers/MXLUserSessionManager/utils/activity.js.map +1 -0
  491. package/dist/managers/MXLUserSessionManager/utils/state.cjs +78 -0
  492. package/dist/managers/MXLUserSessionManager/utils/state.cjs.map +1 -0
  493. package/dist/managers/MXLUserSessionManager/utils/state.d.cts +39 -0
  494. package/dist/managers/MXLUserSessionManager/utils/state.d.cts.map +1 -0
  495. package/dist/managers/MXLUserSessionManager/utils/state.d.ts +39 -0
  496. package/dist/managers/MXLUserSessionManager/utils/state.d.ts.map +1 -0
  497. package/dist/managers/MXLUserSessionManager/utils/state.js +73 -0
  498. package/dist/managers/MXLUserSessionManager/utils/state.js.map +1 -0
  499. package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs +132 -0
  500. package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs.map +1 -0
  501. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts +33 -0
  502. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts.map +1 -0
  503. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts +33 -0
  504. package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts.map +1 -0
  505. package/dist/managers/MXLUserSessionManager/utils/tabTracking.js +127 -0
  506. package/dist/managers/MXLUserSessionManager/utils/tabTracking.js.map +1 -0
  507. package/dist/mxl-web-sdk.js +1 -23
  508. package/dist/mxl-web-sdk.js.map +1 -1
  509. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js +54 -0
  510. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js.map +1 -0
  511. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js +32 -0
  512. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js.map +1 -0
  513. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/internal.js +66 -0
  514. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/internal.js.map +1 -0
  515. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js +24 -0
  516. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js.map +1 -0
  517. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +115 -0
  518. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -0
  519. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js +24 -0
  520. package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js.map +1 -0
  521. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/hex-to-binary.cjs +31 -0
  522. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/hex-to-binary.cjs.map +1 -0
  523. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/internal.cjs +69 -0
  524. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/internal.cjs.map +1 -0
  525. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/common-serializer.cjs +170 -0
  526. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/common-serializer.cjs.map +1 -0
  527. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-reader.cjs +108 -0
  528. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-reader.cjs.map +1 -0
  529. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-size-estimator.cjs +82 -0
  530. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-size-estimator.cjs.map +1 -0
  531. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-writer.cjs +240 -0
  532. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-writer.cjs.map +1 -0
  533. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/utils.cjs +33 -0
  534. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/utils.cjs.map +1 -0
  535. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/utils.cjs +72 -0
  536. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/utils.cjs.map +1 -0
  537. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.cts +19 -0
  538. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.cts.map +1 -0
  539. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts +19 -0
  540. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts.map +1 -0
  541. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.cjs +64 -0
  542. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.cjs.map +1 -0
  543. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.d.cts +1 -0
  544. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.d.ts +1 -0
  545. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal.cjs +80 -0
  546. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal.cjs.map +1 -0
  547. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.cjs +24 -0
  548. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.cjs.map +1 -0
  549. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.d.cts +1 -0
  550. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.d.ts +1 -0
  551. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.cjs +37 -0
  552. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.cjs.map +1 -0
  553. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.d.cts +1 -0
  554. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.d.ts +1 -0
  555. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.cjs +24 -0
  556. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.cjs.map +1 -0
  557. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.d.cts +1 -0
  558. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.d.ts +1 -0
  559. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs-serializer.cjs +146 -0
  560. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs-serializer.cjs.map +1 -0
  561. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.cjs +28 -0
  562. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.cjs.map +1 -0
  563. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.d.cts +1 -0
  564. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.d.ts +1 -0
  565. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/response-deserializer.cjs +70 -0
  566. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/response-deserializer.cjs.map +1 -0
  567. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.cjs +79 -0
  568. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.cjs.map +1 -0
  569. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal.cjs +145 -0
  570. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal.cjs.map +1 -0
  571. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.cjs +24 -0
  572. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.cjs.map +1 -0
  573. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.d.cts +1 -0
  574. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.d.ts +1 -0
  575. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.cjs +37 -0
  576. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.cjs.map +1 -0
  577. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.d.cts +1 -0
  578. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.d.ts +1 -0
  579. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.cjs +24 -0
  580. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.cjs.map +1 -0
  581. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.d.cts +1 -0
  582. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.d.ts +1 -0
  583. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics-serializer.cjs +366 -0
  584. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics-serializer.cjs.map +1 -0
  585. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.cjs +28 -0
  586. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.cjs.map +1 -0
  587. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.d.cts +1 -0
  588. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.d.ts +1 -0
  589. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/response-deserializer.cjs +70 -0
  590. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/response-deserializer.cjs.map +1 -0
  591. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.cjs +131 -0
  592. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.cjs.map +1 -0
  593. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.cjs +24 -0
  594. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.cjs.map +1 -0
  595. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.d.cts +1 -0
  596. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.d.ts +1 -0
  597. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.cjs +37 -0
  598. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.cjs.map +1 -0
  599. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.d.cts +1 -0
  600. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.d.ts +1 -0
  601. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.cjs +24 -0
  602. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.cjs.map +1 -0
  603. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.d.cts +1 -0
  604. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.d.ts +1 -0
  605. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/response-deserializer.cjs +70 -0
  606. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/response-deserializer.cjs.map +1 -0
  607. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace-serializer.cjs +253 -0
  608. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace-serializer.cjs.map +1 -0
  609. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.cjs +28 -0
  610. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.cjs.map +1 -0
  611. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.d.cts +1 -0
  612. package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.d.ts +1 -0
  613. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.cjs +51 -0
  614. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.cjs.map +1 -0
  615. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.d.cts +1 -0
  616. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.d.ts +1 -0
  617. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Instruments.cjs +129 -0
  618. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Instruments.cjs.map +1 -0
  619. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Meter.cjs +100 -0
  620. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Meter.cjs.map +1 -0
  621. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.cjs +85 -0
  622. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.cjs.map +1 -0
  623. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.d.cts +2 -0
  624. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.d.ts +2 -0
  625. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/ObservableResult.cjs +83 -0
  626. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/ObservableResult.cjs.map +1 -0
  627. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.cjs +27 -0
  628. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.cjs.map +1 -0
  629. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.d.cts +1 -0
  630. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.d.ts +1 -0
  631. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.cjs +423 -0
  632. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.cjs.map +1 -0
  633. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.cts +1 -0
  634. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.ts +1 -0
  635. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.cjs +172 -0
  636. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.cjs.map +1 -0
  637. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.d.cts +1 -0
  638. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.d.ts +1 -0
  639. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.cjs +84 -0
  640. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.cjs.map +1 -0
  641. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.d.cts +1 -0
  642. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.d.ts +1 -0
  643. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.cjs +94 -0
  644. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.cjs.map +1 -0
  645. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.d.cts +1 -0
  646. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.d.ts +1 -0
  647. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/Buckets.cjs +246 -0
  648. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/Buckets.cjs.map +1 -0
  649. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.cjs +74 -0
  650. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.cjs.map +1 -0
  651. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.cjs +83 -0
  652. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.cjs.map +1 -0
  653. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/getMapping.cjs +40 -0
  654. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/getMapping.cjs.map +1 -0
  655. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.cjs +82 -0
  656. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.cjs.map +1 -0
  657. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.cjs +17 -0
  658. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.cjs.map +1 -0
  659. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/util.cjs +51 -0
  660. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/util.cjs.map +1 -0
  661. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.cjs +80 -0
  662. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.cjs.map +1 -0
  663. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.d.cts +1 -0
  664. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.d.ts +1 -0
  665. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.cjs +22 -0
  666. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.cjs.map +1 -0
  667. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.d.cts +1 -0
  668. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.d.ts +1 -0
  669. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.cjs +26 -0
  670. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.cjs.map +1 -0
  671. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.d.cts +1 -0
  672. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.d.ts +1 -0
  673. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.cjs +19 -0
  674. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.cjs.map +1 -0
  675. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/CardinalitySelector.d.cts +1 -0
  676. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/CardinalitySelector.d.ts +1 -0
  677. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.cjs +51 -0
  678. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.cjs.map +1 -0
  679. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.d.cts +1 -0
  680. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.d.ts +1 -0
  681. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.cjs +61 -0
  682. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.cjs.map +1 -0
  683. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.d.cts +1 -0
  684. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.d.ts +1 -0
  685. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.cjs +48 -0
  686. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.cjs.map +1 -0
  687. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.d.cts +2 -0
  688. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.d.ts +2 -0
  689. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricExporter.d.cts +1 -0
  690. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricExporter.d.ts +1 -0
  691. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricProducer.d.cts +1 -0
  692. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricProducer.d.ts +1 -0
  693. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.cjs +92 -0
  694. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.cjs.map +1 -0
  695. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.d.cts +1 -0
  696. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.d.ts +1 -0
  697. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.cjs +109 -0
  698. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.cjs.map +1 -0
  699. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.cts +1 -0
  700. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts +1 -0
  701. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.cjs +108 -0
  702. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.cjs.map +1 -0
  703. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.d.cts +1 -0
  704. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.d.ts +1 -0
  705. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/AsyncMetricStorage.cjs +59 -0
  706. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/AsyncMetricStorage.cjs.map +1 -0
  707. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/DeltaMetricProcessor.cjs +88 -0
  708. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/DeltaMetricProcessor.cjs.map +1 -0
  709. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/HashMap.cjs +77 -0
  710. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/HashMap.cjs.map +1 -0
  711. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterProviderSharedState.cjs +51 -0
  712. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterProviderSharedState.cjs.map +1 -0
  713. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterSharedState.cjs +107 -0
  714. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterSharedState.cjs.map +1 -0
  715. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricCollector.cjs +73 -0
  716. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricCollector.cjs.map +1 -0
  717. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorage.cjs +41 -0
  718. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorage.cjs.map +1 -0
  719. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorageRegistry.cjs +81 -0
  720. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorageRegistry.cjs.map +1 -0
  721. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MultiWritableMetricStorage.cjs +29 -0
  722. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MultiWritableMetricStorage.cjs.map +1 -0
  723. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/ObservableRegistry.cjs +108 -0
  724. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/ObservableRegistry.cjs.map +1 -0
  725. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/SyncMetricStorage.cjs +55 -0
  726. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/SyncMetricStorage.cjs.map +1 -0
  727. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/TemporalMetricProcessor.cjs +106 -0
  728. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/TemporalMetricProcessor.cjs.map +1 -0
  729. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.cjs +100 -0
  730. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.cjs.map +1 -0
  731. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.d.cts +1 -0
  732. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.d.ts +1 -0
  733. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.cjs +151 -0
  734. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.cjs.map +1 -0
  735. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.d.cts +1 -0
  736. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.d.ts +1 -0
  737. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.cjs +46 -0
  738. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.cjs.map +1 -0
  739. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.d.cts +1 -0
  740. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.d.ts +1 -0
  741. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.cjs +89 -0
  742. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.cjs.map +1 -0
  743. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.d.cts +1 -0
  744. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.d.ts +1 -0
  745. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.cjs +38 -0
  746. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.cjs.map +1 -0
  747. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.d.cts +1 -0
  748. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.d.ts +1 -0
  749. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/MeterSelector.cjs +41 -0
  750. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/MeterSelector.cjs.map +1 -0
  751. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Predicate.cjs +53 -0
  752. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Predicate.cjs.map +1 -0
  753. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/RegistrationConflicts.cjs +62 -0
  754. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/RegistrationConflicts.cjs.map +1 -0
  755. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.cjs +121 -0
  756. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.cjs.map +1 -0
  757. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.d.cts +1 -0
  758. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.d.ts +1 -0
  759. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/ViewRegistry.cjs +33 -0
  760. package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/ViewRegistry.cjs.map +1 -0
  761. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/BasicTracerProvider.d.cts +1 -0
  762. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/BasicTracerProvider.d.ts +1 -0
  763. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Sampler.d.cts +1 -0
  764. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Sampler.d.ts +1 -0
  765. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.d.cts +2 -0
  766. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.d.ts +2 -0
  767. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/SpanProcessor.d.cts +1 -0
  768. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/SpanProcessor.d.ts +1 -0
  769. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.cts +1 -0
  770. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.ts +1 -0
  771. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/BatchSpanProcessorBase.d.cts +1 -0
  772. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/BatchSpanProcessorBase.d.ts +1 -0
  773. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ConsoleSpanExporter.d.cts +1 -0
  774. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ConsoleSpanExporter.d.ts +1 -0
  775. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/InMemorySpanExporter.d.cts +1 -0
  776. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/InMemorySpanExporter.d.ts +1 -0
  777. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/NoopSpanProcessor.d.cts +1 -0
  778. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/NoopSpanProcessor.d.ts +1 -0
  779. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ReadableSpan.d.cts +2 -0
  780. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ReadableSpan.d.ts +2 -0
  781. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SimpleSpanProcessor.d.cts +1 -0
  782. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SimpleSpanProcessor.d.ts +1 -0
  783. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SpanExporter.d.cts +1 -0
  784. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SpanExporter.d.ts +1 -0
  785. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/index.d.cts +1 -0
  786. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/index.d.ts +1 -0
  787. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/index.d.cts +1 -0
  788. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/index.d.ts +1 -0
  789. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/export/BatchSpanProcessor.d.cts +1 -0
  790. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/export/BatchSpanProcessor.d.ts +1 -0
  791. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/index.d.cts +1 -0
  792. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/index.d.ts +1 -0
  793. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOffSampler.d.cts +1 -0
  794. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOffSampler.d.ts +1 -0
  795. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOnSampler.d.cts +1 -0
  796. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOnSampler.d.ts +1 -0
  797. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/ParentBasedSampler.d.cts +1 -0
  798. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/ParentBasedSampler.d.ts +1 -0
  799. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/TraceIdRatioBasedSampler.d.cts +1 -0
  800. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/TraceIdRatioBasedSampler.d.ts +1 -0
  801. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/types.d.cts +2 -0
  802. package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/types.d.ts +2 -0
  803. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs +93 -0
  804. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs.map +1 -0
  805. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +88 -0
  806. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
  807. package/dist/node_modules/react-is/cjs/react-is.development.cjs +159 -0
  808. package/dist/node_modules/react-is/cjs/react-is.development.cjs.map +1 -0
  809. package/dist/node_modules/react-is/cjs/react-is.development.js +155 -0
  810. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  811. package/dist/node_modules/react-is/cjs/react-is.production.min.cjs +103 -0
  812. package/dist/node_modules/react-is/cjs/react-is.production.min.cjs.map +1 -0
  813. package/dist/node_modules/react-is/index.cjs +18 -0
  814. package/dist/node_modules/react-is/index.cjs.map +1 -0
  815. package/dist/node_modules/react-is/index.js +11 -0
  816. package/dist/node_modules/react-is/index.js.map +1 -0
  817. package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.cjs.map +1 -1
  818. package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.js.map +1 -1
  819. package/dist/processors/BrowserLogRecordProcessor/types.d.cts.map +1 -1
  820. package/dist/processors/BrowserLogRecordProcessor/types.d.ts.map +1 -1
  821. package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.cjs.map +1 -1
  822. package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.js.map +1 -1
  823. package/dist/processors/BrowserSpanProcessor/types.d.cts.map +1 -1
  824. package/dist/processors/BrowserSpanProcessor/types.d.ts.map +1 -1
  825. package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs.map +1 -1
  826. package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js.map +1 -1
  827. package/dist/processors/LogRecordScrubProcessor/types.d.cts +2 -2
  828. package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -1
  829. package/dist/processors/LogRecordScrubProcessor/types.d.ts +2 -2
  830. package/dist/processors/LogRecordScrubProcessor/types.d.ts.map +1 -1
  831. package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs.map +1 -1
  832. package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js.map +1 -1
  833. package/dist/processors/MXLLogRecordProcessor/types.d.cts +2 -2
  834. package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -1
  835. package/dist/processors/MXLLogRecordProcessor/types.d.ts +2 -2
  836. package/dist/processors/MXLLogRecordProcessor/types.d.ts.map +1 -1
  837. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs +5 -5
  838. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs.map +1 -1
  839. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.cts.map +1 -1
  840. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.ts.map +1 -1
  841. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js +5 -5
  842. package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js.map +1 -1
  843. package/dist/processors/MXLNetworkSpanProcessor/types.cjs.map +1 -1
  844. package/dist/processors/MXLNetworkSpanProcessor/types.js.map +1 -1
  845. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs +74 -0
  846. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs.map +1 -0
  847. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts +28 -0
  848. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts.map +1 -0
  849. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts +28 -0
  850. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts.map +1 -0
  851. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js +72 -0
  852. package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js.map +1 -0
  853. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts +15 -0
  854. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts.map +1 -0
  855. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts +15 -0
  856. package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts.map +1 -0
  857. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs.map +1 -1
  858. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.cts.map +1 -1
  859. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.ts.map +1 -1
  860. package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js.map +1 -1
  861. package/dist/processors/PageLogRecordProcessor/types.d.cts.map +1 -1
  862. package/dist/processors/PageLogRecordProcessor/types.d.ts.map +1 -1
  863. package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs.map +1 -1
  864. package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.cts.map +1 -1
  865. package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.ts.map +1 -1
  866. package/dist/processors/PageSpanProcessor/PageSpanProcessor.js.map +1 -1
  867. package/dist/processors/PageSpanProcessor/types.d.cts.map +1 -1
  868. package/dist/processors/PageSpanProcessor/types.d.ts.map +1 -1
  869. package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs.map +1 -1
  870. package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js.map +1 -1
  871. package/dist/processors/SpanScrubProcessor/types.d.cts.map +1 -1
  872. package/dist/processors/SpanScrubProcessor/types.d.ts.map +1 -1
  873. package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs.map +1 -1
  874. package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js.map +1 -1
  875. package/dist/processors/UserLogRecordProcessor/types.d.cts.map +1 -1
  876. package/dist/processors/UserLogRecordProcessor/types.d.ts.map +1 -1
  877. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs +34 -0
  878. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs.map +1 -0
  879. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts +16 -0
  880. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts.map +1 -0
  881. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts +16 -0
  882. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts.map +1 -0
  883. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js +32 -0
  884. package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js.map +1 -0
  885. package/dist/processors/UserSessionLogRecordProcessor/types.d.cts +9 -0
  886. package/dist/processors/UserSessionLogRecordProcessor/types.d.cts.map +1 -0
  887. package/dist/processors/UserSessionLogRecordProcessor/types.d.ts +9 -0
  888. package/dist/processors/UserSessionLogRecordProcessor/types.d.ts.map +1 -0
  889. package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs.map +1 -1
  890. package/dist/processors/UserSpanProcessor/UserSpanProcessor.js.map +1 -1
  891. package/dist/processors/UserSpanProcessor/types.d.cts.map +1 -1
  892. package/dist/processors/UserSpanProcessor/types.d.ts.map +1 -1
  893. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs.map +1 -1
  894. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.cts.map +1 -1
  895. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.ts.map +1 -1
  896. package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js.map +1 -1
  897. package/dist/react-instrumentation/error-boundary.cjs +3 -0
  898. package/dist/react-instrumentation/error-boundary.d.cts +2 -0
  899. package/dist/react-instrumentation/error-boundary.d.ts +2 -0
  900. package/dist/react-instrumentation/error-boundary.js +2 -0
  901. package/dist/react-instrumentation/index.cjs +1 -1
  902. package/dist/react-instrumentation/index.js +1 -1
  903. package/dist/react-instrumentation/navigation.cjs +3 -0
  904. package/dist/react-instrumentation/navigation.d.cts +2 -0
  905. package/dist/react-instrumentation/navigation.d.ts +2 -0
  906. package/dist/react-instrumentation/navigation.js +2 -0
  907. package/dist/react-instrumentation/router-v5.cjs +3 -0
  908. package/dist/react-instrumentation/router-v5.d.cts +2 -0
  909. package/dist/react-instrumentation/router-v5.d.ts +2 -0
  910. package/dist/react-instrumentation/router-v5.js +2 -0
  911. package/dist/react-instrumentation/router-v6-data.cjs +3 -0
  912. package/dist/react-instrumentation/router-v6-data.d.cts +2 -0
  913. package/dist/react-instrumentation/router-v6-data.d.ts +2 -0
  914. package/dist/react-instrumentation/router-v6-data.js +2 -0
  915. package/dist/react-instrumentation/router-v6-declarative.cjs +3 -0
  916. package/dist/react-instrumentation/router-v6-declarative.d.cts +2 -0
  917. package/dist/react-instrumentation/router-v6-declarative.d.ts +2 -0
  918. package/dist/react-instrumentation/router-v6-declarative.js +2 -0
  919. package/dist/resources/appInstanceId.cjs +7 -7
  920. package/dist/resources/appInstanceId.cjs.map +1 -1
  921. package/dist/resources/appInstanceId.js +5 -5
  922. package/dist/resources/appInstanceId.js.map +1 -1
  923. package/dist/resources/sdkConstants.cjs +15 -0
  924. package/dist/resources/sdkConstants.cjs.map +1 -0
  925. package/dist/resources/sdkConstants.d.cts +9 -0
  926. package/dist/resources/sdkConstants.d.cts.map +1 -0
  927. package/dist/resources/sdkConstants.d.ts +9 -0
  928. package/dist/resources/sdkConstants.d.ts.map +1 -0
  929. package/dist/resources/sdkConstants.js +10 -0
  930. package/dist/resources/sdkConstants.js.map +1 -0
  931. package/dist/resources/webSdkResource.cjs +15 -19
  932. package/dist/resources/webSdkResource.cjs.map +1 -1
  933. package/dist/resources/webSdkResource.d.cts.map +1 -1
  934. package/dist/resources/webSdkResource.d.ts.map +1 -1
  935. package/dist/resources/webSdkResource.js +15 -19
  936. package/dist/resources/webSdkResource.js.map +1 -1
  937. package/dist/sdk/defaultAttributeScrubbers.cjs +8 -8
  938. package/dist/sdk/defaultAttributeScrubbers.cjs.map +1 -1
  939. package/dist/sdk/defaultAttributeScrubbers.d.cts.map +1 -1
  940. package/dist/sdk/defaultAttributeScrubbers.d.ts.map +1 -1
  941. package/dist/sdk/defaultAttributeScrubbers.js +8 -8
  942. package/dist/sdk/defaultAttributeScrubbers.js.map +1 -1
  943. package/dist/sdk/initSDK.cjs +142 -103
  944. package/dist/sdk/initSDK.cjs.map +1 -1
  945. package/dist/sdk/initSDK.d.cts +4 -2
  946. package/dist/sdk/initSDK.d.cts.map +1 -1
  947. package/dist/sdk/initSDK.d.ts +4 -2
  948. package/dist/sdk/initSDK.d.ts.map +1 -1
  949. package/dist/sdk/initSDK.js +142 -103
  950. package/dist/sdk/initSDK.js.map +1 -1
  951. package/dist/sdk/registry.cjs +1 -3
  952. package/dist/sdk/registry.cjs.map +1 -1
  953. package/dist/sdk/registry.d.cts.map +1 -1
  954. package/dist/sdk/registry.d.ts.map +1 -1
  955. package/dist/sdk/registry.js +1 -3
  956. package/dist/sdk/registry.js.map +1 -1
  957. package/dist/sdk/setupDefaultInstrumentations.cjs +11 -7
  958. package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -1
  959. package/dist/sdk/setupDefaultInstrumentations.d.cts +5 -2
  960. package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -1
  961. package/dist/sdk/setupDefaultInstrumentations.d.ts +5 -2
  962. package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -1
  963. package/dist/sdk/setupDefaultInstrumentations.js +11 -7
  964. package/dist/sdk/setupDefaultInstrumentations.js.map +1 -1
  965. package/dist/sdk/types.d.cts +72 -60
  966. package/dist/sdk/types.d.cts.map +1 -1
  967. package/dist/sdk/types.d.ts +72 -60
  968. package/dist/sdk/types.d.ts.map +1 -1
  969. package/dist/sdk/utils.cjs +3 -3
  970. package/dist/sdk/utils.cjs.map +1 -1
  971. package/dist/sdk/utils.d.cts.map +1 -1
  972. package/dist/sdk/utils.d.ts.map +1 -1
  973. package/dist/sdk/utils.js +2 -2
  974. package/dist/sdk/utils.js.map +1 -1
  975. package/dist/transport/FetchTransport/FetchTransport.cjs +13 -13
  976. package/dist/transport/FetchTransport/FetchTransport.cjs.map +1 -1
  977. package/dist/transport/FetchTransport/FetchTransport.js +13 -13
  978. package/dist/transport/FetchTransport/FetchTransport.js.map +1 -1
  979. package/dist/transport/RetryingTransport/RetryingTransport.cjs +1 -1
  980. package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -1
  981. package/dist/transport/RetryingTransport/RetryingTransport.js +1 -1
  982. package/dist/transport/RetryingTransport/RetryingTransport.js.map +1 -1
  983. package/dist/transport/RetryingTransport/createRetryingTransport.cjs.map +1 -1
  984. package/dist/transport/RetryingTransport/createRetryingTransport.d.cts.map +1 -1
  985. package/dist/transport/RetryingTransport/createRetryingTransport.d.ts.map +1 -1
  986. package/dist/transport/RetryingTransport/createRetryingTransport.js.map +1 -1
  987. package/dist/utils/NamespacedStorage/NamespacedStorage.cjs +69 -24
  988. package/dist/utils/NamespacedStorage/NamespacedStorage.cjs.map +1 -1
  989. package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts +27 -13
  990. package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts.map +1 -1
  991. package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts +27 -13
  992. package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts.map +1 -1
  993. package/dist/utils/NamespacedStorage/NamespacedStorage.js +68 -24
  994. package/dist/utils/NamespacedStorage/NamespacedStorage.js.map +1 -1
  995. package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs.map +1 -1
  996. package/dist/utils/PerformanceManager/OTelPerformanceManager.js.map +1 -1
  997. package/dist/utils/clampNumber.cjs +23 -0
  998. package/dist/utils/clampNumber.cjs.map +1 -0
  999. package/dist/utils/clampNumber.d.cts +24 -0
  1000. package/dist/utils/clampNumber.d.cts.map +1 -0
  1001. package/dist/utils/clampNumber.d.ts +24 -0
  1002. package/dist/utils/clampNumber.d.ts.map +1 -0
  1003. package/dist/utils/clampNumber.js +22 -0
  1004. package/dist/utils/clampNumber.js.map +1 -0
  1005. package/dist/utils/createSafeProxy/createSafeProxy.cjs +2 -2
  1006. package/dist/utils/createSafeProxy/createSafeProxy.cjs.map +1 -1
  1007. package/dist/utils/createSafeProxy/createSafeProxy.d.cts.map +1 -1
  1008. package/dist/utils/createSafeProxy/createSafeProxy.d.ts.map +1 -1
  1009. package/dist/utils/createSafeProxy/createSafeProxy.js +2 -2
  1010. package/dist/utils/createSafeProxy/createSafeProxy.js.map +1 -1
  1011. package/dist/utils/generateWebVitalID.cjs +1 -3
  1012. package/dist/utils/generateWebVitalID.cjs.map +1 -1
  1013. package/dist/utils/generateWebVitalID.js +1 -3
  1014. package/dist/utils/generateWebVitalID.js.map +1 -1
  1015. package/dist/utils/getIncrementedCount.cjs +2 -2
  1016. package/dist/utils/getIncrementedCount.cjs.map +1 -1
  1017. package/dist/utils/getIncrementedCount.js +2 -2
  1018. package/dist/utils/getIncrementedCount.js.map +1 -1
  1019. package/dist/utils/getVisibilityState.cjs.map +1 -1
  1020. package/dist/utils/getVisibilityState.d.cts.map +1 -1
  1021. package/dist/utils/getVisibilityState.d.ts.map +1 -1
  1022. package/dist/utils/getVisibilityState.js.map +1 -1
  1023. package/dist/utils/globalConfig.cjs.map +1 -1
  1024. package/dist/utils/globalConfig.d.cts +2 -2
  1025. package/dist/utils/globalConfig.d.cts.map +1 -1
  1026. package/dist/utils/globalConfig.d.ts +2 -2
  1027. package/dist/utils/globalConfig.d.ts.map +1 -1
  1028. package/dist/utils/globalConfig.js.map +1 -1
  1029. package/dist/utils/isDeviceIdEnabled.cjs.map +1 -1
  1030. package/dist/utils/isDeviceIdEnabled.js.map +1 -1
  1031. package/dist/utils/nsfConfigValidation.cjs.map +1 -1
  1032. package/dist/utils/nsfConfigValidation.d.cts.map +1 -1
  1033. package/dist/utils/nsfConfigValidation.d.ts.map +1 -1
  1034. package/dist/utils/nsfConfigValidation.js.map +1 -1
  1035. package/dist/utils/performanceObserver/performanceObserver.cjs +3 -3
  1036. package/dist/utils/performanceObserver/performanceObserver.cjs.map +1 -1
  1037. package/dist/utils/performanceObserver/performanceObserver.js +3 -3
  1038. package/dist/utils/performanceObserver/performanceObserver.js.map +1 -1
  1039. package/dist/utils/throttle.cjs +13 -9
  1040. package/dist/utils/throttle.cjs.map +1 -1
  1041. package/dist/utils/throttle.d.cts +6 -3
  1042. package/dist/utils/throttle.d.cts.map +1 -1
  1043. package/dist/utils/throttle.d.ts +6 -3
  1044. package/dist/utils/throttle.d.ts.map +1 -1
  1045. package/dist/utils/throttle.js +13 -9
  1046. package/dist/utils/throttle.js.map +1 -1
  1047. package/package.json +92 -58
  1048. package/dist/api-logs/api/LogAPI/index.cjs +0 -3
  1049. package/dist/api-logs/api/LogAPI/index.d.cts +0 -2
  1050. package/dist/api-logs/api/LogAPI/index.d.ts +0 -2
  1051. package/dist/api-logs/api/LogAPI/index.js +0 -2
  1052. package/dist/api-logs/api/index.cjs +0 -3
  1053. package/dist/api-logs/api/index.d.cts +0 -2
  1054. package/dist/api-logs/api/index.d.ts +0 -2
  1055. package/dist/api-logs/api/index.js +0 -2
  1056. package/dist/api-logs/index.cjs +0 -7
  1057. package/dist/api-logs/index.d.cts +0 -5
  1058. package/dist/api-logs/index.d.ts +0 -5
  1059. package/dist/api-logs/index.js +0 -4
  1060. package/dist/api-logs/manager/NoOpLogManager/index.cjs +0 -3
  1061. package/dist/api-logs/manager/NoOpLogManager/index.d.cts +0 -2
  1062. package/dist/api-logs/manager/NoOpLogManager/index.d.ts +0 -2
  1063. package/dist/api-logs/manager/NoOpLogManager/index.js +0 -2
  1064. package/dist/api-logs/manager/ProxyLogManager/index.cjs +0 -3
  1065. package/dist/api-logs/manager/ProxyLogManager/index.d.cts +0 -2
  1066. package/dist/api-logs/manager/ProxyLogManager/index.d.ts +0 -2
  1067. package/dist/api-logs/manager/ProxyLogManager/index.js +0 -2
  1068. package/dist/api-logs/manager/index.cjs +0 -5
  1069. package/dist/api-logs/manager/index.d.cts +0 -4
  1070. package/dist/api-logs/manager/index.d.ts +0 -4
  1071. package/dist/api-logs/manager/index.js +0 -3
  1072. package/dist/api-page/api/PageAPI/index.cjs +0 -3
  1073. package/dist/api-page/api/PageAPI/index.d.cts +0 -3
  1074. package/dist/api-page/api/PageAPI/index.d.ts +0 -3
  1075. package/dist/api-page/api/PageAPI/index.js +0 -2
  1076. package/dist/api-page/api/index.cjs +0 -3
  1077. package/dist/api-page/api/index.d.cts +0 -3
  1078. package/dist/api-page/api/index.d.ts +0 -3
  1079. package/dist/api-page/api/index.js +0 -2
  1080. package/dist/api-page/index.cjs +0 -7
  1081. package/dist/api-page/index.d.cts +0 -5
  1082. package/dist/api-page/index.d.ts +0 -5
  1083. package/dist/api-page/index.js +0 -4
  1084. package/dist/api-page/manager/NoOpPageManager/index.cjs +0 -3
  1085. package/dist/api-page/manager/NoOpPageManager/index.d.cts +0 -2
  1086. package/dist/api-page/manager/NoOpPageManager/index.d.ts +0 -2
  1087. package/dist/api-page/manager/NoOpPageManager/index.js +0 -2
  1088. package/dist/api-page/manager/ProxyPageManager/index.cjs +0 -3
  1089. package/dist/api-page/manager/ProxyPageManager/index.d.cts +0 -2
  1090. package/dist/api-page/manager/ProxyPageManager/index.d.ts +0 -2
  1091. package/dist/api-page/manager/ProxyPageManager/index.js +0 -2
  1092. package/dist/api-page/manager/index.cjs +0 -5
  1093. package/dist/api-page/manager/index.d.cts +0 -4
  1094. package/dist/api-page/manager/index.d.ts +0 -4
  1095. package/dist/api-page/manager/index.js +0 -3
  1096. package/dist/api-sessions/api/SessionAPI/index.cjs +0 -3
  1097. package/dist/api-sessions/api/SessionAPI/index.d.cts +0 -2
  1098. package/dist/api-sessions/api/SessionAPI/index.d.ts +0 -2
  1099. package/dist/api-sessions/api/SessionAPI/index.js +0 -2
  1100. package/dist/api-sessions/api/SessionAPI/types.d.cts +0 -8
  1101. package/dist/api-sessions/api/SessionAPI/types.d.cts.map +0 -1
  1102. package/dist/api-sessions/api/SessionAPI/types.d.ts +0 -8
  1103. package/dist/api-sessions/api/SessionAPI/types.d.ts.map +0 -1
  1104. package/dist/api-sessions/api/index.cjs +0 -3
  1105. package/dist/api-sessions/api/index.d.cts +0 -2
  1106. package/dist/api-sessions/api/index.d.ts +0 -2
  1107. package/dist/api-sessions/api/index.js +0 -2
  1108. package/dist/api-sessions/index.cjs +0 -7
  1109. package/dist/api-sessions/index.d.cts +0 -5
  1110. package/dist/api-sessions/index.d.ts +0 -5
  1111. package/dist/api-sessions/index.js +0 -4
  1112. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs +0 -31
  1113. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs.map +0 -1
  1114. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts +0 -24
  1115. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts.map +0 -1
  1116. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts +0 -24
  1117. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts.map +0 -1
  1118. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js +0 -30
  1119. package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js.map +0 -1
  1120. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.cjs +0 -3
  1121. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.cts +0 -2
  1122. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.ts +0 -2
  1123. package/dist/api-sessions/manager/NoOpSpanSessionManager/index.js +0 -2
  1124. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs +0 -55
  1125. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs.map +0 -1
  1126. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts +0 -27
  1127. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts.map +0 -1
  1128. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts +0 -27
  1129. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts.map +0 -1
  1130. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js +0 -55
  1131. package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js.map +0 -1
  1132. package/dist/api-sessions/manager/ProxySpanSessionManager/index.cjs +0 -3
  1133. package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.cts +0 -2
  1134. package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.ts +0 -2
  1135. package/dist/api-sessions/manager/ProxySpanSessionManager/index.js +0 -2
  1136. package/dist/api-sessions/manager/index.cjs +0 -5
  1137. package/dist/api-sessions/manager/index.d.cts +0 -4
  1138. package/dist/api-sessions/manager/index.d.ts +0 -4
  1139. package/dist/api-sessions/manager/index.js +0 -3
  1140. package/dist/api-traces/api/TraceAPI/index.cjs +0 -3
  1141. package/dist/api-traces/api/TraceAPI/index.d.cts +0 -3
  1142. package/dist/api-traces/api/TraceAPI/index.d.ts +0 -3
  1143. package/dist/api-traces/api/TraceAPI/index.js +0 -2
  1144. package/dist/api-traces/api/index.cjs +0 -3
  1145. package/dist/api-traces/api/index.d.cts +0 -3
  1146. package/dist/api-traces/api/index.d.ts +0 -3
  1147. package/dist/api-traces/api/index.js +0 -2
  1148. package/dist/api-traces/index.cjs +0 -7
  1149. package/dist/api-traces/index.d.cts +0 -6
  1150. package/dist/api-traces/index.d.ts +0 -6
  1151. package/dist/api-traces/index.js +0 -4
  1152. package/dist/api-traces/manager/NoOpTraceManager/index.cjs +0 -3
  1153. package/dist/api-traces/manager/NoOpTraceManager/index.d.cts +0 -2
  1154. package/dist/api-traces/manager/NoOpTraceManager/index.d.ts +0 -2
  1155. package/dist/api-traces/manager/NoOpTraceManager/index.js +0 -2
  1156. package/dist/api-traces/manager/ProxyTraceManager/index.cjs +0 -3
  1157. package/dist/api-traces/manager/ProxyTraceManager/index.d.cts +0 -2
  1158. package/dist/api-traces/manager/ProxyTraceManager/index.d.ts +0 -2
  1159. package/dist/api-traces/manager/ProxyTraceManager/index.js +0 -2
  1160. package/dist/api-traces/manager/index.cjs +0 -5
  1161. package/dist/api-traces/manager/index.d.cts +0 -4
  1162. package/dist/api-traces/manager/index.d.ts +0 -4
  1163. package/dist/api-traces/manager/index.js +0 -3
  1164. package/dist/api-users/api/UserAPI/index.cjs +0 -3
  1165. package/dist/api-users/api/UserAPI/index.d.cts +0 -2
  1166. package/dist/api-users/api/UserAPI/index.d.ts +0 -2
  1167. package/dist/api-users/api/UserAPI/index.js +0 -2
  1168. package/dist/api-users/api/index.cjs +0 -3
  1169. package/dist/api-users/api/index.d.cts +0 -2
  1170. package/dist/api-users/api/index.d.ts +0 -2
  1171. package/dist/api-users/api/index.js +0 -2
  1172. package/dist/api-users/index.cjs +0 -9
  1173. package/dist/api-users/index.d.cts +0 -6
  1174. package/dist/api-users/index.d.ts +0 -6
  1175. package/dist/api-users/index.js +0 -5
  1176. package/dist/api-users/manager/NoOpUserManager/index.cjs +0 -3
  1177. package/dist/api-users/manager/NoOpUserManager/index.d.cts +0 -2
  1178. package/dist/api-users/manager/NoOpUserManager/index.d.ts +0 -2
  1179. package/dist/api-users/manager/NoOpUserManager/index.js +0 -2
  1180. package/dist/api-users/manager/ProxyUserManager/index.cjs +0 -3
  1181. package/dist/api-users/manager/ProxyUserManager/index.d.cts +0 -2
  1182. package/dist/api-users/manager/ProxyUserManager/index.d.ts +0 -2
  1183. package/dist/api-users/manager/ProxyUserManager/index.js +0 -2
  1184. package/dist/api-users/manager/constants/index.cjs +0 -7
  1185. package/dist/api-users/manager/constants/index.cjs.map +0 -1
  1186. package/dist/api-users/manager/constants/index.d.cts +0 -5
  1187. package/dist/api-users/manager/constants/index.d.cts.map +0 -1
  1188. package/dist/api-users/manager/constants/index.d.ts +0 -5
  1189. package/dist/api-users/manager/constants/index.d.ts.map +0 -1
  1190. package/dist/api-users/manager/constants/index.js +0 -6
  1191. package/dist/api-users/manager/constants/index.js.map +0 -1
  1192. package/dist/api-users/manager/index.cjs +0 -7
  1193. package/dist/api-users/manager/index.d.cts +0 -5
  1194. package/dist/api-users/manager/index.d.ts +0 -5
  1195. package/dist/api-users/manager/index.js +0 -4
  1196. package/dist/common/index.cjs +0 -3
  1197. package/dist/common/index.d.cts +0 -3
  1198. package/dist/common/index.d.ts +0 -3
  1199. package/dist/common/index.js +0 -2
  1200. package/dist/constants/index.cjs +0 -34
  1201. package/dist/constants/index.d.cts +0 -2
  1202. package/dist/constants/index.d.ts +0 -2
  1203. package/dist/constants/index.js +0 -2
  1204. package/dist/exporters/BaseFetchExporter/index.cjs +0 -3
  1205. package/dist/exporters/BaseFetchExporter/index.d.cts +0 -2
  1206. package/dist/exporters/BaseFetchExporter/index.d.ts +0 -2
  1207. package/dist/exporters/BaseFetchExporter/index.js +0 -2
  1208. package/dist/exporters/MXLLogExporter/index.cjs +0 -3
  1209. package/dist/exporters/MXLLogExporter/index.d.cts +0 -2
  1210. package/dist/exporters/MXLLogExporter/index.d.ts +0 -2
  1211. package/dist/exporters/MXLLogExporter/index.js +0 -2
  1212. package/dist/exporters/MXLTraceExporter/index.cjs +0 -3
  1213. package/dist/exporters/MXLTraceExporter/index.d.cts +0 -2
  1214. package/dist/exporters/MXLTraceExporter/index.d.ts +0 -2
  1215. package/dist/exporters/MXLTraceExporter/index.js +0 -2
  1216. package/dist/exporters/index.cjs +0 -12
  1217. package/dist/exporters/index.d.cts +0 -7
  1218. package/dist/exporters/index.d.ts +0 -7
  1219. package/dist/exporters/index.js +0 -6
  1220. package/dist/instrumentations/InstrumentationAbstract/index.cjs +0 -3
  1221. package/dist/instrumentations/InstrumentationAbstract/index.d.cts +0 -2
  1222. package/dist/instrumentations/InstrumentationAbstract/index.d.ts +0 -2
  1223. package/dist/instrumentations/InstrumentationAbstract/index.js +0 -2
  1224. package/dist/instrumentations/MXLInstrumentationBase/index.cjs +0 -3
  1225. package/dist/instrumentations/MXLInstrumentationBase/index.d.cts +0 -3
  1226. package/dist/instrumentations/MXLInstrumentationBase/index.d.ts +0 -3
  1227. package/dist/instrumentations/MXLInstrumentationBase/index.js +0 -2
  1228. package/dist/instrumentations/clicks/ClicksInstrumentation/index.cjs +0 -3
  1229. package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.cts +0 -2
  1230. package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.ts +0 -2
  1231. package/dist/instrumentations/clicks/ClicksInstrumentation/index.js +0 -2
  1232. package/dist/instrumentations/clicks/index.cjs +0 -3
  1233. package/dist/instrumentations/clicks/index.d.cts +0 -3
  1234. package/dist/instrumentations/clicks/index.d.ts +0 -3
  1235. package/dist/instrumentations/clicks/index.js +0 -2
  1236. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.cjs +0 -5
  1237. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.cts +0 -4
  1238. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.ts +0 -4
  1239. package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.js +0 -3
  1240. package/dist/instrumentations/document-load/index.cjs +0 -5
  1241. package/dist/instrumentations/document-load/index.d.cts +0 -4
  1242. package/dist/instrumentations/document-load/index.d.ts +0 -4
  1243. package/dist/instrumentations/document-load/index.js +0 -3
  1244. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.cjs +0 -3
  1245. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.d.cts +0 -3
  1246. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.d.ts +0 -3
  1247. package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.js +0 -2
  1248. package/dist/instrumentations/element-timing/index.cjs +0 -3
  1249. package/dist/instrumentations/element-timing/index.d.cts +0 -3
  1250. package/dist/instrumentations/element-timing/index.d.ts +0 -3
  1251. package/dist/instrumentations/element-timing/index.js +0 -2
  1252. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.cjs +0 -3
  1253. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.cts +0 -2
  1254. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.ts +0 -2
  1255. package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.js +0 -2
  1256. package/dist/instrumentations/empty-root/index.cjs +0 -3
  1257. package/dist/instrumentations/empty-root/index.d.cts +0 -3
  1258. package/dist/instrumentations/empty-root/index.d.ts +0 -3
  1259. package/dist/instrumentations/empty-root/index.js +0 -2
  1260. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.cjs +0 -3
  1261. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.cts +0 -2
  1262. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.ts +0 -2
  1263. package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.js +0 -2
  1264. package/dist/instrumentations/exceptions/index.cjs +0 -3
  1265. package/dist/instrumentations/exceptions/index.d.cts +0 -3
  1266. package/dist/instrumentations/exceptions/index.d.ts +0 -3
  1267. package/dist/instrumentations/exceptions/index.js +0 -2
  1268. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.cjs +0 -3
  1269. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.cts +0 -2
  1270. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.ts +0 -2
  1271. package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.js +0 -2
  1272. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs +0 -27
  1273. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs.map +0 -1
  1274. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts +0 -15
  1275. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts.map +0 -1
  1276. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts +0 -15
  1277. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts.map +0 -1
  1278. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js +0 -25
  1279. package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js.map +0 -1
  1280. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.cjs +0 -3
  1281. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.cts +0 -2
  1282. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.ts +0 -2
  1283. package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.js +0 -2
  1284. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts +0 -9
  1285. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts.map +0 -1
  1286. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts +0 -9
  1287. package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts.map +0 -1
  1288. package/dist/instrumentations/fetch/index.cjs +0 -3
  1289. package/dist/instrumentations/fetch/index.d.cts +0 -3
  1290. package/dist/instrumentations/fetch/index.d.ts +0 -3
  1291. package/dist/instrumentations/fetch/index.js +0 -2
  1292. package/dist/instrumentations/index.cjs +0 -27
  1293. package/dist/instrumentations/index.d.cts +0 -26
  1294. package/dist/instrumentations/index.d.ts +0 -26
  1295. package/dist/instrumentations/index.js +0 -14
  1296. package/dist/instrumentations/loaf/LoafInstrumentation/index.cjs +0 -3
  1297. package/dist/instrumentations/loaf/LoafInstrumentation/index.d.cts +0 -3
  1298. package/dist/instrumentations/loaf/LoafInstrumentation/index.d.ts +0 -3
  1299. package/dist/instrumentations/loaf/LoafInstrumentation/index.js +0 -2
  1300. package/dist/instrumentations/loaf/index.cjs +0 -3
  1301. package/dist/instrumentations/loaf/index.d.cts +0 -3
  1302. package/dist/instrumentations/loaf/index.d.ts +0 -3
  1303. package/dist/instrumentations/loaf/index.js +0 -2
  1304. package/dist/instrumentations/navigation/NavigationInstrumentation/index.cjs +0 -5
  1305. package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.cts +0 -4
  1306. package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.ts +0 -4
  1307. package/dist/instrumentations/navigation/NavigationInstrumentation/index.js +0 -3
  1308. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.cjs +0 -3
  1309. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.cts +0 -2
  1310. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.ts +0 -2
  1311. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.js +0 -2
  1312. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.cjs +0 -3
  1313. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.cts +0 -2
  1314. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.ts +0 -2
  1315. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.js +0 -2
  1316. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.cjs +0 -3
  1317. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.cts +0 -2
  1318. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.ts +0 -2
  1319. package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.js +0 -2
  1320. package/dist/instrumentations/navigation/index.cjs +0 -5
  1321. package/dist/instrumentations/navigation/index.d.cts +0 -3
  1322. package/dist/instrumentations/navigation/index.d.ts +0 -3
  1323. package/dist/instrumentations/navigation/index.js +0 -3
  1324. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.cjs +0 -3
  1325. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.d.cts +0 -3
  1326. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.d.ts +0 -3
  1327. package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.js +0 -2
  1328. package/dist/instrumentations/server-timing/index.cjs +0 -3
  1329. package/dist/instrumentations/server-timing/index.d.cts +0 -3
  1330. package/dist/instrumentations/server-timing/index.d.ts +0 -3
  1331. package/dist/instrumentations/server-timing/index.js +0 -2
  1332. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs +0 -60
  1333. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs.map +0 -1
  1334. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts +0 -24
  1335. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts.map +0 -1
  1336. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts +0 -24
  1337. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts.map +0 -1
  1338. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js +0 -59
  1339. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js.map +0 -1
  1340. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs +0 -19
  1341. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map +0 -1
  1342. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts +0 -10
  1343. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map +0 -1
  1344. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts +0 -10
  1345. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map +0 -1
  1346. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js +0 -16
  1347. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map +0 -1
  1348. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.cjs +0 -3
  1349. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.cts +0 -3
  1350. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.ts +0 -3
  1351. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.js +0 -2
  1352. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts +0 -6
  1353. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map +0 -1
  1354. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts +0 -6
  1355. package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map +0 -1
  1356. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs +0 -24
  1357. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs.map +0 -1
  1358. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts +0 -14
  1359. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts.map +0 -1
  1360. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts +0 -14
  1361. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts.map +0 -1
  1362. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js +0 -23
  1363. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js.map +0 -1
  1364. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.cjs +0 -3
  1365. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.cts +0 -3
  1366. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.ts +0 -3
  1367. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.js +0 -2
  1368. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts +0 -6
  1369. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts.map +0 -1
  1370. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts +0 -6
  1371. package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts.map +0 -1
  1372. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs +0 -55
  1373. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs.map +0 -1
  1374. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts +0 -22
  1375. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts.map +0 -1
  1376. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts +0 -22
  1377. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts.map +0 -1
  1378. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js +0 -54
  1379. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js.map +0 -1
  1380. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs +0 -7
  1381. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs.map +0 -1
  1382. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts +0 -5
  1383. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts.map +0 -1
  1384. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts +0 -5
  1385. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts.map +0 -1
  1386. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js +0 -6
  1387. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js.map +0 -1
  1388. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.cjs +0 -3
  1389. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.cts +0 -3
  1390. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.ts +0 -3
  1391. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.js +0 -2
  1392. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts +0 -6
  1393. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts.map +0 -1
  1394. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts +0 -6
  1395. package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts.map +0 -1
  1396. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs +0 -38
  1397. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs.map +0 -1
  1398. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts +0 -17
  1399. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts.map +0 -1
  1400. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts +0 -17
  1401. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts.map +0 -1
  1402. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js +0 -37
  1403. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js.map +0 -1
  1404. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.cjs +0 -3
  1405. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.cts +0 -3
  1406. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.ts +0 -3
  1407. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.js +0 -2
  1408. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.cjs +0 -0
  1409. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts +0 -10
  1410. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts.map +0 -1
  1411. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts +0 -10
  1412. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts.map +0 -1
  1413. package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.js +0 -0
  1414. package/dist/instrumentations/session/index.cjs +0 -9
  1415. package/dist/instrumentations/session/index.d.cts +0 -9
  1416. package/dist/instrumentations/session/index.d.ts +0 -9
  1417. package/dist/instrumentations/session/index.js +0 -5
  1418. package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.cjs +0 -3
  1419. package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.d.cts +0 -3
  1420. package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.d.ts +0 -3
  1421. package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.js +0 -2
  1422. package/dist/instrumentations/user-timing/index.cjs +0 -3
  1423. package/dist/instrumentations/user-timing/index.d.cts +0 -3
  1424. package/dist/instrumentations/user-timing/index.d.ts +0 -3
  1425. package/dist/instrumentations/user-timing/index.js +0 -2
  1426. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.cjs +0 -3
  1427. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.cts +0 -3
  1428. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.ts +0 -3
  1429. package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.js +0 -2
  1430. package/dist/instrumentations/web-vitals/index.cjs +0 -3
  1431. package/dist/instrumentations/web-vitals/index.d.cts +0 -3
  1432. package/dist/instrumentations/web-vitals/index.d.ts +0 -3
  1433. package/dist/instrumentations/web-vitals/index.js +0 -2
  1434. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs +0 -27
  1435. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs.map +0 -1
  1436. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts +0 -15
  1437. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts.map +0 -1
  1438. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts +0 -15
  1439. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts.map +0 -1
  1440. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js +0 -25
  1441. package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js.map +0 -1
  1442. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.cjs +0 -3
  1443. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.cts +0 -2
  1444. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.ts +0 -2
  1445. package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.js +0 -2
  1446. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.cjs +0 -0
  1447. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts +0 -9
  1448. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts.map +0 -1
  1449. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts +0 -9
  1450. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts.map +0 -1
  1451. package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.js +0 -0
  1452. package/dist/instrumentations/xhr/index.cjs +0 -3
  1453. package/dist/instrumentations/xhr/index.d.cts +0 -3
  1454. package/dist/instrumentations/xhr/index.d.ts +0 -3
  1455. package/dist/instrumentations/xhr/index.js +0 -2
  1456. package/dist/managers/MXLConfigManager/index.cjs +0 -3
  1457. package/dist/managers/MXLConfigManager/index.d.cts +0 -2
  1458. package/dist/managers/MXLConfigManager/index.d.ts +0 -2
  1459. package/dist/managers/MXLConfigManager/index.js +0 -2
  1460. package/dist/managers/MXLLimitManager/index.cjs +0 -6
  1461. package/dist/managers/MXLLimitManager/index.d.cts +0 -4
  1462. package/dist/managers/MXLLimitManager/index.d.ts +0 -4
  1463. package/dist/managers/MXLLimitManager/index.js +0 -3
  1464. package/dist/managers/MXLLogManager/index.cjs +0 -3
  1465. package/dist/managers/MXLLogManager/index.d.cts +0 -2
  1466. package/dist/managers/MXLLogManager/index.d.ts +0 -2
  1467. package/dist/managers/MXLLogManager/index.js +0 -2
  1468. package/dist/managers/MXLPageManager/index.cjs +0 -3
  1469. package/dist/managers/MXLPageManager/index.d.cts +0 -3
  1470. package/dist/managers/MXLPageManager/index.d.ts +0 -3
  1471. package/dist/managers/MXLPageManager/index.js +0 -2
  1472. package/dist/managers/MXLSDKFeaturesManager/index.cjs +0 -3
  1473. package/dist/managers/MXLSDKFeaturesManager/index.d.cts +0 -3
  1474. package/dist/managers/MXLSDKFeaturesManager/index.d.ts +0 -3
  1475. package/dist/managers/MXLSDKFeaturesManager/index.js +0 -2
  1476. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs +0 -350
  1477. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs.map +0 -1
  1478. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts +0 -72
  1479. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts.map +0 -1
  1480. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts +0 -72
  1481. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts.map +0 -1
  1482. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js +0 -348
  1483. package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js.map +0 -1
  1484. package/dist/managers/MXLSpanSessionManager/constants.cjs +0 -11
  1485. package/dist/managers/MXLSpanSessionManager/constants.cjs.map +0 -1
  1486. package/dist/managers/MXLSpanSessionManager/constants.d.cts +0 -7
  1487. package/dist/managers/MXLSpanSessionManager/constants.d.cts.map +0 -1
  1488. package/dist/managers/MXLSpanSessionManager/constants.d.ts +0 -7
  1489. package/dist/managers/MXLSpanSessionManager/constants.d.ts.map +0 -1
  1490. package/dist/managers/MXLSpanSessionManager/constants.js +0 -8
  1491. package/dist/managers/MXLSpanSessionManager/constants.js.map +0 -1
  1492. package/dist/managers/MXLSpanSessionManager/index.cjs +0 -3
  1493. package/dist/managers/MXLSpanSessionManager/index.d.cts +0 -3
  1494. package/dist/managers/MXLSpanSessionManager/index.d.ts +0 -3
  1495. package/dist/managers/MXLSpanSessionManager/index.js +0 -2
  1496. package/dist/managers/MXLSpanSessionManager/types.cjs +0 -0
  1497. package/dist/managers/MXLSpanSessionManager/types.d.cts +0 -41
  1498. package/dist/managers/MXLSpanSessionManager/types.d.cts.map +0 -1
  1499. package/dist/managers/MXLSpanSessionManager/types.d.ts +0 -41
  1500. package/dist/managers/MXLSpanSessionManager/types.d.ts.map +0 -1
  1501. package/dist/managers/MXLSpanSessionManager/types.js +0 -0
  1502. package/dist/managers/MXLTraceManager/index.cjs +0 -5
  1503. package/dist/managers/MXLTraceManager/index.d.cts +0 -3
  1504. package/dist/managers/MXLTraceManager/index.d.ts +0 -3
  1505. package/dist/managers/MXLTraceManager/index.js +0 -3
  1506. package/dist/managers/MXLUserManager/index.cjs +0 -3
  1507. package/dist/managers/MXLUserManager/index.d.cts +0 -2
  1508. package/dist/managers/MXLUserManager/index.d.ts +0 -2
  1509. package/dist/managers/MXLUserManager/index.js +0 -2
  1510. package/dist/managers/index.cjs +0 -22
  1511. package/dist/managers/index.d.cts +0 -15
  1512. package/dist/managers/index.d.ts +0 -15
  1513. package/dist/managers/index.js +0 -11
  1514. package/dist/packages/otlp-transformer/dist/index.cjs +0 -533
  1515. package/dist/packages/otlp-transformer/dist/index.cjs.map +0 -1
  1516. package/dist/packages/otlp-transformer/dist/index.d.cts +0 -26
  1517. package/dist/packages/otlp-transformer/dist/index.d.cts.map +0 -1
  1518. package/dist/packages/otlp-transformer/dist/index.d.ts +0 -26
  1519. package/dist/packages/otlp-transformer/dist/index.d.ts.map +0 -1
  1520. package/dist/packages/otlp-transformer/dist/index.js +0 -532
  1521. package/dist/packages/otlp-transformer/dist/index.js.map +0 -1
  1522. package/dist/processors/BrowserLogRecordProcessor/index.cjs +0 -3
  1523. package/dist/processors/BrowserLogRecordProcessor/index.d.cts +0 -2
  1524. package/dist/processors/BrowserLogRecordProcessor/index.d.ts +0 -2
  1525. package/dist/processors/BrowserLogRecordProcessor/index.js +0 -2
  1526. package/dist/processors/BrowserSpanProcessor/index.cjs +0 -3
  1527. package/dist/processors/BrowserSpanProcessor/index.d.cts +0 -2
  1528. package/dist/processors/BrowserSpanProcessor/index.d.ts +0 -2
  1529. package/dist/processors/BrowserSpanProcessor/index.js +0 -2
  1530. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs +0 -28
  1531. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs.map +0 -1
  1532. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts +0 -16
  1533. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts.map +0 -1
  1534. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts +0 -16
  1535. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts.map +0 -1
  1536. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js +0 -26
  1537. package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js.map +0 -1
  1538. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.cjs +0 -3
  1539. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.cts +0 -2
  1540. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.ts +0 -2
  1541. package/dist/processors/IdentifiableSessionLogRecordProcessor/index.js +0 -2
  1542. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.cjs +0 -0
  1543. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts +0 -9
  1544. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts.map +0 -1
  1545. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts +0 -9
  1546. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts.map +0 -1
  1547. package/dist/processors/IdentifiableSessionLogRecordProcessor/types.js +0 -0
  1548. package/dist/processors/LogRecordScrubProcessor/index.cjs +0 -3
  1549. package/dist/processors/LogRecordScrubProcessor/index.d.cts +0 -2
  1550. package/dist/processors/LogRecordScrubProcessor/index.d.ts +0 -2
  1551. package/dist/processors/LogRecordScrubProcessor/index.js +0 -2
  1552. package/dist/processors/MXLLogRecordProcessor/index.cjs +0 -3
  1553. package/dist/processors/MXLLogRecordProcessor/index.d.cts +0 -2
  1554. package/dist/processors/MXLLogRecordProcessor/index.d.ts +0 -2
  1555. package/dist/processors/MXLLogRecordProcessor/index.js +0 -2
  1556. package/dist/processors/MXLNetworkSpanProcessor/index.cjs +0 -3
  1557. package/dist/processors/MXLNetworkSpanProcessor/index.d.cts +0 -2
  1558. package/dist/processors/MXLNetworkSpanProcessor/index.d.ts +0 -2
  1559. package/dist/processors/MXLNetworkSpanProcessor/index.js +0 -2
  1560. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs +0 -95
  1561. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs.map +0 -1
  1562. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts +0 -34
  1563. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts.map +0 -1
  1564. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts +0 -34
  1565. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts.map +0 -1
  1566. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js +0 -93
  1567. package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js.map +0 -1
  1568. package/dist/processors/MXLSessionBatchedSpanProcessor/index.cjs +0 -3
  1569. package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.cts +0 -2
  1570. package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.ts +0 -2
  1571. package/dist/processors/MXLSessionBatchedSpanProcessor/index.js +0 -2
  1572. package/dist/processors/MXLSessionBatchedSpanProcessor/types.cjs +0 -0
  1573. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts +0 -19
  1574. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts.map +0 -1
  1575. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts +0 -19
  1576. package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts.map +0 -1
  1577. package/dist/processors/MXLSessionBatchedSpanProcessor/types.js +0 -0
  1578. package/dist/processors/PageLogRecordProcessor/index.cjs +0 -3
  1579. package/dist/processors/PageLogRecordProcessor/index.d.cts +0 -2
  1580. package/dist/processors/PageLogRecordProcessor/index.d.ts +0 -2
  1581. package/dist/processors/PageLogRecordProcessor/index.js +0 -2
  1582. package/dist/processors/PageSpanProcessor/index.cjs +0 -3
  1583. package/dist/processors/PageSpanProcessor/index.d.cts +0 -2
  1584. package/dist/processors/PageSpanProcessor/index.d.ts +0 -2
  1585. package/dist/processors/PageSpanProcessor/index.js +0 -2
  1586. package/dist/processors/SpanScrubProcessor/index.cjs +0 -3
  1587. package/dist/processors/SpanScrubProcessor/index.d.cts +0 -2
  1588. package/dist/processors/SpanScrubProcessor/index.d.ts +0 -2
  1589. package/dist/processors/SpanScrubProcessor/index.js +0 -2
  1590. package/dist/processors/UserLogRecordProcessor/index.cjs +0 -3
  1591. package/dist/processors/UserLogRecordProcessor/index.d.cts +0 -2
  1592. package/dist/processors/UserLogRecordProcessor/index.d.ts +0 -2
  1593. package/dist/processors/UserLogRecordProcessor/index.js +0 -2
  1594. package/dist/processors/UserSpanProcessor/index.cjs +0 -3
  1595. package/dist/processors/UserSpanProcessor/index.d.cts +0 -2
  1596. package/dist/processors/UserSpanProcessor/index.d.ts +0 -2
  1597. package/dist/processors/UserSpanProcessor/index.js +0 -2
  1598. package/dist/processors/index.cjs +0 -25
  1599. package/dist/processors/index.d.cts +0 -13
  1600. package/dist/processors/index.d.ts +0 -13
  1601. package/dist/processors/index.js +0 -13
  1602. package/dist/propagators/MXLW3CTraceContextPropagator/index.cjs +0 -3
  1603. package/dist/propagators/MXLW3CTraceContextPropagator/index.d.cts +0 -2
  1604. package/dist/propagators/MXLW3CTraceContextPropagator/index.d.ts +0 -2
  1605. package/dist/propagators/MXLW3CTraceContextPropagator/index.js +0 -2
  1606. package/dist/propagators/index.cjs +0 -3
  1607. package/dist/propagators/index.d.cts +0 -2
  1608. package/dist/propagators/index.d.ts +0 -2
  1609. package/dist/propagators/index.js +0 -2
  1610. package/dist/resources/constants/index.cjs +0 -15
  1611. package/dist/resources/constants/index.cjs.map +0 -1
  1612. package/dist/resources/constants/index.d.cts +0 -9
  1613. package/dist/resources/constants/index.d.cts.map +0 -1
  1614. package/dist/resources/constants/index.d.ts +0 -9
  1615. package/dist/resources/constants/index.d.ts.map +0 -1
  1616. package/dist/resources/constants/index.js +0 -10
  1617. package/dist/resources/constants/index.js.map +0 -1
  1618. package/dist/resources/index.cjs +0 -10
  1619. package/dist/resources/index.d.cts +0 -4
  1620. package/dist/resources/index.d.ts +0 -4
  1621. package/dist/resources/index.js +0 -4
  1622. package/dist/sdk/index.cjs +0 -3
  1623. package/dist/sdk/index.d.cts +0 -3
  1624. package/dist/sdk/index.d.ts +0 -3
  1625. package/dist/sdk/index.js +0 -2
  1626. package/dist/sdk/setupSessionRecorder.cjs +0 -87
  1627. package/dist/sdk/setupSessionRecorder.cjs.map +0 -1
  1628. package/dist/sdk/setupSessionRecorder.d.cts +0 -30
  1629. package/dist/sdk/setupSessionRecorder.d.cts.map +0 -1
  1630. package/dist/sdk/setupSessionRecorder.d.ts +0 -30
  1631. package/dist/sdk/setupSessionRecorder.d.ts.map +0 -1
  1632. package/dist/sdk/setupSessionRecorder.js +0 -83
  1633. package/dist/sdk/setupSessionRecorder.js.map +0 -1
  1634. package/dist/transport/FetchTransport/index.cjs +0 -3
  1635. package/dist/transport/FetchTransport/index.d.cts +0 -2
  1636. package/dist/transport/FetchTransport/index.d.ts +0 -2
  1637. package/dist/transport/FetchTransport/index.js +0 -2
  1638. package/dist/transport/RetryingTransport/index.cjs +0 -3
  1639. package/dist/transport/RetryingTransport/index.d.cts +0 -2
  1640. package/dist/transport/RetryingTransport/index.d.ts +0 -2
  1641. package/dist/transport/RetryingTransport/index.js +0 -2
  1642. package/dist/transport/index.cjs +0 -5
  1643. package/dist/transport/index.d.cts +0 -3
  1644. package/dist/transport/index.d.ts +0 -3
  1645. package/dist/transport/index.js +0 -3
  1646. package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs +0 -116
  1647. package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs.map +0 -1
  1648. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts +0 -42
  1649. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts.map +0 -1
  1650. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts +0 -42
  1651. package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts.map +0 -1
  1652. package/dist/utils/MXLSpanStorage/MXLSpanStorage.js +0 -114
  1653. package/dist/utils/MXLSpanStorage/MXLSpanStorage.js.map +0 -1
  1654. package/dist/utils/MXLSpanStorage/index.cjs +0 -3
  1655. package/dist/utils/MXLSpanStorage/index.d.cts +0 -2
  1656. package/dist/utils/MXLSpanStorage/index.d.ts +0 -2
  1657. package/dist/utils/MXLSpanStorage/index.js +0 -2
  1658. package/dist/utils/MXLSpanStorage/types.cjs +0 -0
  1659. package/dist/utils/MXLSpanStorage/types.d.cts +0 -2
  1660. package/dist/utils/MXLSpanStorage/types.d.ts +0 -2
  1661. package/dist/utils/MXLSpanStorage/types.js +0 -0
  1662. package/dist/utils/NamespacedStorage/index.cjs +0 -3
  1663. package/dist/utils/NamespacedStorage/index.d.cts +0 -2
  1664. package/dist/utils/NamespacedStorage/index.d.ts +0 -2
  1665. package/dist/utils/NamespacedStorage/index.js +0 -2
  1666. package/dist/utils/PerformanceManager/index.cjs +0 -3
  1667. package/dist/utils/PerformanceManager/index.d.cts +0 -3
  1668. package/dist/utils/PerformanceManager/index.d.ts +0 -3
  1669. package/dist/utils/PerformanceManager/index.js +0 -2
  1670. package/dist/utils/bulkAddEventListener/index.cjs +0 -3
  1671. package/dist/utils/bulkAddEventListener/index.d.cts +0 -2
  1672. package/dist/utils/bulkAddEventListener/index.d.ts +0 -2
  1673. package/dist/utils/bulkAddEventListener/index.js +0 -2
  1674. package/dist/utils/bulkRemoveEventListener/index.cjs +0 -3
  1675. package/dist/utils/bulkRemoveEventListener/index.d.cts +0 -2
  1676. package/dist/utils/bulkRemoveEventListener/index.d.ts +0 -2
  1677. package/dist/utils/bulkRemoveEventListener/index.js +0 -2
  1678. package/dist/utils/createSafeProxy/index.cjs +0 -3
  1679. package/dist/utils/createSafeProxy/index.d.cts +0 -2
  1680. package/dist/utils/createSafeProxy/index.d.ts +0 -2
  1681. package/dist/utils/createSafeProxy/index.js +0 -2
  1682. package/dist/utils/index.cjs +0 -32
  1683. package/dist/utils/index.d.cts +0 -18
  1684. package/dist/utils/index.d.ts +0 -18
  1685. package/dist/utils/index.js +0 -16
  1686. package/dist/utils/performanceObserver/index.cjs +0 -4
  1687. package/dist/utils/performanceObserver/index.d.cts +0 -2
  1688. package/dist/utils/performanceObserver/index.d.ts +0 -2
  1689. package/dist/utils/performanceObserver/index.js +0 -2
  1690. package/dist/utils/timeout/index.cjs +0 -0
  1691. package/dist/utils/timeout/index.d.cts +0 -2
  1692. package/dist/utils/timeout/index.d.ts +0 -2
  1693. package/dist/utils/timeout/index.js +0 -0
  1694. /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.cjs +0 -0
  1695. /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.js +0 -0
  1696. /package/dist/instrumentations/{fetch/MXLFetchInstrumentation → replay/rrwebLoader}/types.cjs +0 -0
  1697. /package/dist/instrumentations/{fetch/MXLFetchInstrumentation → replay/rrwebLoader}/types.js +0 -0
  1698. /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → managers/MXLUserSessionManager}/types.cjs +0 -0
  1699. /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → managers/MXLUserSessionManager}/types.js +0 -0
  1700. /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.cjs +0 -0
  1701. /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.js +0 -0
  1702. /package/dist/{instrumentations/session/SpanSessionTimeoutInstrumentation → processors/UserSessionLogRecordProcessor}/types.cjs +0 -0
  1703. /package/dist/{instrumentations/session/SpanSessionTimeoutInstrumentation → processors/UserSessionLogRecordProcessor}/types.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationInstrumentation.cjs","names":["MXLInstrumentationBase","page","KEY_MXL_TYPE","KEY_MXL_PAGE_PATH","KEY_MXL_PAGE_ID","KEY_MXL_INSTRUMENTATION"],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"sourcesContent":["import type { Span } from '@opentelemetry/api';\nimport type { Route } from '../../../api-page';\nimport { page } from '../../../api-page';\nimport {\n KEY_MXL_INSTRUMENTATION,\n KEY_MXL_PAGE_ID,\n KEY_MXL_PAGE_PATH,\n KEY_MXL_TYPE,\n MXL_NAVIGATION_INSTRUMENTATIONS,\n MXL_TYPES,\n} from '../../../constants';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { NavigationInstrumentationArgs } from './types';\n\n// Regular expression to match path options in the format \"(option)\"\n// Used to clean up paths that are like \"/order/:orderState(pending|shipped|delivered)/type:(sale|normal)\" to \"/order/:orderState/:type\"\n// Could be simplified but done this way to prevent: https://javascript.info/regexp-catastrophic-backtracking\nconst PATH_OPTIONS_RE = /\\([^()]+\\)/g;\n\nexport class NavigationInstrumentation extends MXLInstrumentationBase {\n private readonly _shouldCleanupPathOptionsFromRouteName: boolean = true;\n private _currentRouteSpan: Span | null = null;\n private _instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS =\n MXL_NAVIGATION_INSTRUMENTATIONS.Manual;\n private _removeSessionStartedFn: (() => void) | null = null;\n private _removeSessionEndedFn: (() => void) | null = null;\n\n public constructor({\n diag,\n shouldCleanupPathOptionsFromRouteName = true,\n }: NavigationInstrumentationArgs) {\n super({\n instrumentationName: 'NavigationInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n\n this._shouldCleanupPathOptionsFromRouteName =\n shouldCleanupPathOptionsFromRouteName;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public setInstrumentationType = (\n instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS,\n ) => {\n this._instrumentationType = instrumentationType;\n };\n\n public setCurrentRoute = (route: Route) => {\n if (!this._config.enabled) {\n return;\n }\n\n const currentRoute = page.getCurrentRoute();\n\n if (route.url !== currentRoute?.url) {\n page.setCurrentRoute(route);\n\n this._endRouteSpan(currentRoute);\n this._startRouteSpan(route);\n }\n };\n\n private readonly _setupSessionListeners = () => {\n if (!this._removeSessionStartedFn) {\n this._removeSessionStartedFn =\n this.sessionManager.addSessionStartedListener(() => {\n const currentRoute = page.getCurrentRoute();\n\n if (currentRoute && !this._currentRouteSpan) {\n this._diag.debug('Session started, starting route span.');\n\n this._startRouteSpan(currentRoute);\n }\n });\n }\n\n if (!this._removeSessionEndedFn) {\n this._removeSessionEndedFn = this.sessionManager.addSessionEndedListener(\n () => {\n if (this._currentRouteSpan) {\n this._diag.debug('Session ended, ending route span.');\n\n this._endRouteSpan(page.getCurrentRoute());\n }\n },\n );\n }\n };\n\n private readonly _cleanUpSessionListeners = () => {\n if (this._removeSessionStartedFn) {\n this._removeSessionStartedFn();\n this._removeSessionStartedFn = null;\n }\n\n if (this._removeSessionEndedFn) {\n this._removeSessionEndedFn();\n this._removeSessionEndedFn = null;\n }\n };\n\n private readonly _startRouteSpan = (route: Route): Span => {\n this._diag.debug(`Starting route span for url: ${route.url}`);\n this._setupSessionListeners();\n\n const pathName = this._shouldCleanupPathOptionsFromRouteName\n ? route.path.replace(PATH_OPTIONS_RE, '')\n : route.path;\n this._currentRouteSpan = this.tracer.startSpan(pathName, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Surface,\n [KEY_MXL_PAGE_PATH]: pathName,\n [KEY_MXL_PAGE_ID]: page.getCurrentPageId() || undefined,\n },\n });\n\n this._currentRouteSpan.setAttribute(\n KEY_MXL_INSTRUMENTATION,\n this._instrumentationType,\n );\n\n return this._currentRouteSpan;\n };\n\n private readonly _endRouteSpan = (currentRoute: Route | null) => {\n if (this._currentRouteSpan) {\n if (currentRoute) {\n this._diag.debug(`Ending route span for url: ${currentRoute.url}`);\n }\n\n this._currentRouteSpan.end();\n this._currentRouteSpan = null;\n }\n };\n\n public enable = () => {\n this.setConfig({\n enabled: true,\n });\n this._diag.debug(\n 'NavigationInstrumentation enabled, listening for navigation events.',\n );\n };\n\n public disable = () => {\n this._cleanUpSessionListeners();\n this.setConfig({\n enabled: false,\n });\n this._diag.debug(\n 'NavigationInstrumentation disabled, stopped listening for navigation events.',\n );\n };\n}\n"],"mappings":";;;;;AAiBA,MAAM,kBAAkB;AAExB,IAAa,4BAAb,cAA+CA,uEAAAA,uBAAuB;CACpE,yCAAmE;CACnE,oBAAyC;CACzC,uBAAQ;CAER,0BAAuD;CACvD,wBAAqD;CAErD,YAAmB,EACjB,MACA,wCAAwC,QACR;AAChC,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,yCACH;AAEF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,0BACE,wBACG;AACH,OAAK,uBAAuB;;CAG9B,mBAA0B,UAAiB;AACzC,MAAI,CAAC,KAAK,QAAQ,QAChB;EAGF,MAAM,eAAeC,yBAAAA,KAAK,iBAAiB;AAE3C,MAAI,MAAM,QAAQ,cAAc,KAAK;AACnC,4BAAA,KAAK,gBAAgB,MAAM;AAE3B,QAAK,cAAc,aAAa;AAChC,QAAK,gBAAgB,MAAM;;;CAI/B,+BAAgD;AAC9C,MAAI,CAAC,KAAK,wBACR,MAAK,0BACH,KAAK,eAAe,gCAAgC;GAClD,MAAM,eAAeA,yBAAAA,KAAK,iBAAiB;AAE3C,OAAI,gBAAgB,CAAC,KAAK,mBAAmB;AAC3C,SAAK,MAAM,MAAM,wCAAwC;AAEzD,SAAK,gBAAgB,aAAa;;IAEpC;AAGN,MAAI,CAAC,KAAK,sBACR,MAAK,wBAAwB,KAAK,eAAe,8BACzC;AACJ,OAAI,KAAK,mBAAmB;AAC1B,SAAK,MAAM,MAAM,oCAAoC;AAErD,SAAK,cAAcA,yBAAAA,KAAK,iBAAiB,CAAC;;IAG/C;;CAIL,iCAAkD;AAChD,MAAI,KAAK,yBAAyB;AAChC,QAAK,yBAAyB;AAC9B,QAAK,0BAA0B;;AAGjC,MAAI,KAAK,uBAAuB;AAC9B,QAAK,uBAAuB;AAC5B,QAAK,wBAAwB;;;CAIjC,mBAAoC,UAAuB;AACzD,OAAK,MAAM,MAAM,gCAAgC,MAAM,MAAM;AAC7D,OAAK,wBAAwB;EAE7B,MAAM,WAAW,KAAK,yCAClB,MAAM,KAAK,QAAQ,iBAAiB,GAAG,GACvC,MAAM;AACV,OAAK,oBAAoB,KAAK,OAAO,UAAU,UAAU,EACvD,YAAY;IACTC,6BAAAA,eAAAA;IACAC,6BAAAA,oBAAoB;IACpBC,6BAAAA,kBAAkBH,yBAAAA,KAAK,kBAAkB,IAAI,KAAA;GAC/C,EACF,CAAC;AAEF,OAAK,kBAAkB,aACrBI,6BAAAA,yBACA,KAAK,qBACN;AAED,SAAO,KAAK;;CAGd,iBAAkC,iBAA+B;AAC/D,MAAI,KAAK,mBAAmB;AAC1B,OAAI,aACF,MAAK,MAAM,MAAM,8BAA8B,aAAa,MAAM;AAGpE,QAAK,kBAAkB,KAAK;AAC5B,QAAK,oBAAoB;;;CAI7B,eAAsB;AACpB,OAAK,UAAU,EACb,SAAS,MACV,CAAC;AACF,OAAK,MAAM,MACT,sEACD;;CAGH,gBAAuB;AACrB,OAAK,0BAA0B;AAC/B,OAAK,UAAU,EACb,SAAS,OACV,CAAC;AACF,OAAK,MAAM,MACT,+EACD"}
1
+ {"version":3,"file":"NavigationInstrumentation.cjs","names":["MXLInstrumentationBase","page","KEY_MXL_TYPE","KEY_MXL_PAGE_PATH","KEY_MXL_PAGE_ID","KEY_MXL_INSTRUMENTATION"],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"sourcesContent":["import type { Span } from '@opentelemetry/api';\nimport type { Route } from '../../../api-page/manager/types';\nimport { page } from '../../../api-page/pageAPI';\nimport { KEY_MXL_INSTRUMENTATION, KEY_MXL_PAGE_ID, KEY_MXL_PAGE_PATH, KEY_MXL_TYPE, MXL_NAVIGATION_INSTRUMENTATIONS, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport type { NavigationInstrumentationArgs } from './types';\n\n// Regular expression to match path options in the format \"(option)\"\n// Used to clean up paths that are like \"/order/:orderState(pending|shipped|delivered)/type:(sale|normal)\" to \"/order/:orderState/:type\"\n// Could be simplified but done this way to prevent: https://javascript.info/regexp-catastrophic-backtracking\nconst PATH_OPTIONS_RE = /\\([^()]+\\)/g;\n\nexport class NavigationInstrumentation extends MXLInstrumentationBase {\n private readonly _shouldCleanupPathOptionsFromRouteName: boolean = true;\n private _currentRouteSpan: Span | null = null;\n private _instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS =\n MXL_NAVIGATION_INSTRUMENTATIONS.Manual;\n private _removeSessionStartedFn: (() => void) | null = null;\n private _removeSessionEndedFn: (() => void) | null = null;\n\n public constructor({\n diag,\n shouldCleanupPathOptionsFromRouteName = true,\n }: NavigationInstrumentationArgs) {\n super({\n config: {},\n diag,\n instrumentationName: 'NavigationInstrumentation',\n instrumentationVersion: '1.0.0',\n });\n\n this._shouldCleanupPathOptionsFromRouteName =\n shouldCleanupPathOptionsFromRouteName;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public setInstrumentationType = (\n instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS,\n ) => {\n this._instrumentationType = instrumentationType;\n };\n\n public setCurrentRoute = (route: Route) => {\n if (!this._config.enabled) {\n return;\n }\n\n const currentRoute = page.getCurrentRoute();\n\n if (route.url !== currentRoute?.url) {\n page.setCurrentRoute(route);\n\n this._endRouteSpan(currentRoute);\n this._startRouteSpan(route);\n }\n };\n\n private readonly _setupSessionListeners = () => {\n if (!this._removeSessionStartedFn) {\n this._removeSessionStartedFn =\n this.userSessionManager.addSessionPartStartedListener(() => {\n const currentRoute = page.getCurrentRoute();\n\n if (currentRoute && !this._currentRouteSpan) {\n this._diag.debug('Session started, starting route span.');\n\n this._startRouteSpan(currentRoute);\n }\n });\n }\n\n if (!this._removeSessionEndedFn) {\n this._removeSessionEndedFn =\n this.userSessionManager.addSessionPartEndedListener(() => {\n if (this._currentRouteSpan) {\n this._diag.debug('Session ended, ending route span.');\n\n this._endRouteSpan(page.getCurrentRoute());\n }\n });\n }\n };\n\n private readonly _cleanUpSessionListeners = () => {\n if (this._removeSessionStartedFn) {\n this._removeSessionStartedFn();\n this._removeSessionStartedFn = null;\n }\n\n if (this._removeSessionEndedFn) {\n this._removeSessionEndedFn();\n this._removeSessionEndedFn = null;\n }\n };\n\n private readonly _startRouteSpan = (route: Route): Span => {\n this._diag.debug(`Starting route span for url: ${route.url}`);\n this._setupSessionListeners();\n\n const pathName = this._shouldCleanupPathOptionsFromRouteName\n ? route.path.replace(PATH_OPTIONS_RE, '')\n : route.path;\n this._currentRouteSpan = this.tracer.startSpan(pathName, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Surface,\n [KEY_MXL_PAGE_PATH]: pathName,\n [KEY_MXL_PAGE_ID]: page.getCurrentPageId() || undefined,\n },\n });\n\n this._currentRouteSpan.setAttribute(\n KEY_MXL_INSTRUMENTATION,\n this._instrumentationType,\n );\n\n return this._currentRouteSpan;\n };\n\n private readonly _endRouteSpan = (currentRoute: Route | null) => {\n if (this._currentRouteSpan) {\n if (currentRoute) {\n this._diag.debug(`Ending route span for url: ${currentRoute.url}`);\n }\n\n this._currentRouteSpan.end();\n this._currentRouteSpan = null;\n }\n };\n\n public enable = () => {\n this.setConfig({\n enabled: true,\n });\n this._diag.debug(\n 'NavigationInstrumentation enabled, listening for navigation events.',\n );\n };\n\n public disable = () => {\n this._cleanUpSessionListeners();\n this.setConfig({\n enabled: false,\n });\n this._diag.debug(\n 'NavigationInstrumentation disabled, stopped listening for navigation events.',\n );\n };\n}\n"],"mappings":";;;;;AAUA,MAAM,kBAAkB;AAExB,IAAa,4BAAb,cAA+CA,uEAAAA,uBAAuB;CACpE,yCAAmE;CACnE,oBAAyC;CACzC,uBAAQ;CAER,0BAAuD;CACvD,wBAAqD;CAErD,YAAmB,EACjB,MACA,wCAAwC,QACR;AAChC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACzB,CAAC;AAEF,OAAK,yCACH;AAEF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,0BACE,wBACG;AACH,OAAK,uBAAuB;;CAG9B,mBAA0B,UAAiB;AACzC,MAAI,CAAC,KAAK,QAAQ,QAChB;EAGF,MAAM,eAAeC,yBAAAA,KAAK,iBAAiB;AAE3C,MAAI,MAAM,QAAQ,cAAc,KAAK;AACnC,4BAAA,KAAK,gBAAgB,MAAM;AAE3B,QAAK,cAAc,aAAa;AAChC,QAAK,gBAAgB,MAAM;;;CAI/B,+BAAgD;AAC9C,MAAI,CAAC,KAAK,wBACR,MAAK,0BACH,KAAK,mBAAmB,oCAAoC;GAC1D,MAAM,eAAeA,yBAAAA,KAAK,iBAAiB;AAE3C,OAAI,gBAAgB,CAAC,KAAK,mBAAmB;AAC3C,SAAK,MAAM,MAAM,wCAAwC;AAEzD,SAAK,gBAAgB,aAAa;;IAEpC;AAGN,MAAI,CAAC,KAAK,sBACR,MAAK,wBACH,KAAK,mBAAmB,kCAAkC;AACxD,OAAI,KAAK,mBAAmB;AAC1B,SAAK,MAAM,MAAM,oCAAoC;AAErD,SAAK,cAAcA,yBAAAA,KAAK,iBAAiB,CAAC;;IAE5C;;CAIR,iCAAkD;AAChD,MAAI,KAAK,yBAAyB;AAChC,QAAK,yBAAyB;AAC9B,QAAK,0BAA0B;;AAGjC,MAAI,KAAK,uBAAuB;AAC9B,QAAK,uBAAuB;AAC5B,QAAK,wBAAwB;;;CAIjC,mBAAoC,UAAuB;AACzD,OAAK,MAAM,MAAM,gCAAgC,MAAM,MAAM;AAC7D,OAAK,wBAAwB;EAE7B,MAAM,WAAW,KAAK,yCAClB,MAAM,KAAK,QAAQ,iBAAiB,GAAG,GACvC,MAAM;AACV,OAAK,oBAAoB,KAAK,OAAO,UAAU,UAAU,EACvD,YAAY;IACTC,6BAAAA,eAAAA;IACAC,6BAAAA,oBAAoB;IACpBC,6BAAAA,kBAAkBH,yBAAAA,KAAK,kBAAkB,IAAI,KAAA;GAC/C,EACF,CAAC;AAEF,OAAK,kBAAkB,aACrBI,6BAAAA,yBACA,KAAK,qBACN;AAED,SAAO,KAAK;;CAGd,iBAAkC,iBAA+B;AAC/D,MAAI,KAAK,mBAAmB;AAC1B,OAAI,aACF,MAAK,MAAM,MAAM,8BAA8B,aAAa,MAAM;AAGpE,QAAK,kBAAkB,KAAK;AAC5B,QAAK,oBAAoB;;;CAI7B,eAAsB;AACpB,OAAK,UAAU,EACb,SAAS,MACV,CAAC;AACF,OAAK,MAAM,MACT,sEACD;;CAGH,gBAAuB;AACrB,OAAK,0BAA0B;AAC/B,OAAK,UAAU,EACb,SAAS,OACV,CAAC;AACF,OAAK,MAAM,MACT,+EACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"mappings":";;;;;;cAmBa,yBAAA,SAAkC,sBAAA;EAAA,iBAC5B,sCAAA;EAAA,QACT,iBAAA;EAAA,QACA,oBAAA;EAAA,QAEA,uBAAA;EAAA,QACA,qBAAA;;IAGN,IAAA;IACA;EAAA,GACC,6BAAA;EAgBI,sBAAA,GACL,mBAAA,EAAqB,+BAAA;EAKhB,eAAA,GAAmB,KAAA,EAAO,KAAA;EAAA,iBAehB,sBAAA;EAAA,iBA2BA,wBAAA;EAAA,iBAYA,eAAA;EAAA,iBAuBA,aAAA;EAWV,MAAA;EASA,OAAA;AAAA"}
1
+ {"version":3,"file":"NavigationInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"mappings":";;;;;;cAYa,yBAAA,SAAkC,sBAAA;EAAA,iBAC5B,sCAAA;EAAA,QACT,iBAAA;EAAA,QACA,oBAAA;EAAA,QAEA,uBAAA;EAAA,QACA,qBAAA;;IAGN,IAAA;IACA;EAAA,GACC,6BAAA;EAgBI,sBAAA,GACL,mBAAA,EAAqB,+BAAA;EAKhB,eAAA,GAAmB,KAAA,EAAO,KAAA;EAAA,iBAehB,sBAAA;EAAA,iBA0BA,wBAAA;EAAA,iBAYA,eAAA;EAAA,iBAuBA,aAAA;EAWV,MAAA;EASA,OAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"mappings":";;;;;;cAmBa,yBAAA,SAAkC,sBAAA;EAAA,iBAC5B,sCAAA;EAAA,QACT,iBAAA;EAAA,QACA,oBAAA;EAAA,QAEA,uBAAA;EAAA,QACA,qBAAA;;IAGN,IAAA;IACA;EAAA,GACC,6BAAA;EAgBI,sBAAA,GACL,mBAAA,EAAqB,+BAAA;EAKhB,eAAA,GAAmB,KAAA,EAAO,KAAA;EAAA,iBAehB,sBAAA;EAAA,iBA2BA,wBAAA;EAAA,iBAYA,eAAA;EAAA,iBAuBA,aAAA;EAWV,MAAA;EASA,OAAA;AAAA"}
1
+ {"version":3,"file":"NavigationInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"mappings":";;;;;;cAYa,yBAAA,SAAkC,sBAAA;EAAA,iBAC5B,sCAAA;EAAA,QACT,iBAAA;EAAA,QACA,oBAAA;EAAA,QAEA,uBAAA;EAAA,QACA,qBAAA;;IAGN,IAAA;IACA;EAAA,GACC,6BAAA;EAgBI,sBAAA,GACL,mBAAA,EAAqB,+BAAA;EAKhB,eAAA,GAAmB,KAAA,EAAO,KAAA;EAAA,iBAehB,sBAAA;EAAA,iBA0BA,wBAAA;EAAA,iBAYA,eAAA;EAAA,iBAuBA,aAAA;EAWV,MAAA;EASA,OAAA;AAAA"}
@@ -1,5 +1,5 @@
1
- import { KEY_MXL_INSTRUMENTATION, KEY_MXL_PAGE_ID, KEY_MXL_PAGE_PATH, KEY_MXL_TYPE } from "../../../constants/attributes.js";
2
1
  import { page } from "../../../api-page/pageAPI.js";
2
+ import { KEY_MXL_INSTRUMENTATION, KEY_MXL_PAGE_ID, KEY_MXL_PAGE_PATH, KEY_MXL_TYPE } from "../../../constants/attributes.js";
3
3
  import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
4
4
  //#region src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts
5
5
  const PATH_OPTIONS_RE = /\([^()]+\)/g;
@@ -11,10 +11,10 @@ var NavigationInstrumentation = class extends MXLInstrumentationBase {
11
11
  _removeSessionEndedFn = null;
12
12
  constructor({ diag, shouldCleanupPathOptionsFromRouteName = true }) {
13
13
  super({
14
- instrumentationName: "NavigationInstrumentation",
15
- instrumentationVersion: "1.0.0",
14
+ config: {},
16
15
  diag,
17
- config: {}
16
+ instrumentationName: "NavigationInstrumentation",
17
+ instrumentationVersion: "1.0.0"
18
18
  });
19
19
  this._shouldCleanupPathOptionsFromRouteName = shouldCleanupPathOptionsFromRouteName;
20
20
  if (this._config.enabled) this.enable();
@@ -32,14 +32,14 @@ var NavigationInstrumentation = class extends MXLInstrumentationBase {
32
32
  }
33
33
  };
34
34
  _setupSessionListeners = () => {
35
- if (!this._removeSessionStartedFn) this._removeSessionStartedFn = this.sessionManager.addSessionStartedListener(() => {
35
+ if (!this._removeSessionStartedFn) this._removeSessionStartedFn = this.userSessionManager.addSessionPartStartedListener(() => {
36
36
  const currentRoute = page.getCurrentRoute();
37
37
  if (currentRoute && !this._currentRouteSpan) {
38
38
  this._diag.debug("Session started, starting route span.");
39
39
  this._startRouteSpan(currentRoute);
40
40
  }
41
41
  });
42
- if (!this._removeSessionEndedFn) this._removeSessionEndedFn = this.sessionManager.addSessionEndedListener(() => {
42
+ if (!this._removeSessionEndedFn) this._removeSessionEndedFn = this.userSessionManager.addSessionPartEndedListener(() => {
43
43
  if (this._currentRouteSpan) {
44
44
  this._diag.debug("Session ended, ending route span.");
45
45
  this._endRouteSpan(page.getCurrentRoute());
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"sourcesContent":["import type { Span } from '@opentelemetry/api';\nimport type { Route } from '../../../api-page';\nimport { page } from '../../../api-page';\nimport {\n KEY_MXL_INSTRUMENTATION,\n KEY_MXL_PAGE_ID,\n KEY_MXL_PAGE_PATH,\n KEY_MXL_TYPE,\n MXL_NAVIGATION_INSTRUMENTATIONS,\n MXL_TYPES,\n} from '../../../constants';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { NavigationInstrumentationArgs } from './types';\n\n// Regular expression to match path options in the format \"(option)\"\n// Used to clean up paths that are like \"/order/:orderState(pending|shipped|delivered)/type:(sale|normal)\" to \"/order/:orderState/:type\"\n// Could be simplified but done this way to prevent: https://javascript.info/regexp-catastrophic-backtracking\nconst PATH_OPTIONS_RE = /\\([^()]+\\)/g;\n\nexport class NavigationInstrumentation extends MXLInstrumentationBase {\n private readonly _shouldCleanupPathOptionsFromRouteName: boolean = true;\n private _currentRouteSpan: Span | null = null;\n private _instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS =\n MXL_NAVIGATION_INSTRUMENTATIONS.Manual;\n private _removeSessionStartedFn: (() => void) | null = null;\n private _removeSessionEndedFn: (() => void) | null = null;\n\n public constructor({\n diag,\n shouldCleanupPathOptionsFromRouteName = true,\n }: NavigationInstrumentationArgs) {\n super({\n instrumentationName: 'NavigationInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n\n this._shouldCleanupPathOptionsFromRouteName =\n shouldCleanupPathOptionsFromRouteName;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public setInstrumentationType = (\n instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS,\n ) => {\n this._instrumentationType = instrumentationType;\n };\n\n public setCurrentRoute = (route: Route) => {\n if (!this._config.enabled) {\n return;\n }\n\n const currentRoute = page.getCurrentRoute();\n\n if (route.url !== currentRoute?.url) {\n page.setCurrentRoute(route);\n\n this._endRouteSpan(currentRoute);\n this._startRouteSpan(route);\n }\n };\n\n private readonly _setupSessionListeners = () => {\n if (!this._removeSessionStartedFn) {\n this._removeSessionStartedFn =\n this.sessionManager.addSessionStartedListener(() => {\n const currentRoute = page.getCurrentRoute();\n\n if (currentRoute && !this._currentRouteSpan) {\n this._diag.debug('Session started, starting route span.');\n\n this._startRouteSpan(currentRoute);\n }\n });\n }\n\n if (!this._removeSessionEndedFn) {\n this._removeSessionEndedFn = this.sessionManager.addSessionEndedListener(\n () => {\n if (this._currentRouteSpan) {\n this._diag.debug('Session ended, ending route span.');\n\n this._endRouteSpan(page.getCurrentRoute());\n }\n },\n );\n }\n };\n\n private readonly _cleanUpSessionListeners = () => {\n if (this._removeSessionStartedFn) {\n this._removeSessionStartedFn();\n this._removeSessionStartedFn = null;\n }\n\n if (this._removeSessionEndedFn) {\n this._removeSessionEndedFn();\n this._removeSessionEndedFn = null;\n }\n };\n\n private readonly _startRouteSpan = (route: Route): Span => {\n this._diag.debug(`Starting route span for url: ${route.url}`);\n this._setupSessionListeners();\n\n const pathName = this._shouldCleanupPathOptionsFromRouteName\n ? route.path.replace(PATH_OPTIONS_RE, '')\n : route.path;\n this._currentRouteSpan = this.tracer.startSpan(pathName, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Surface,\n [KEY_MXL_PAGE_PATH]: pathName,\n [KEY_MXL_PAGE_ID]: page.getCurrentPageId() || undefined,\n },\n });\n\n this._currentRouteSpan.setAttribute(\n KEY_MXL_INSTRUMENTATION,\n this._instrumentationType,\n );\n\n return this._currentRouteSpan;\n };\n\n private readonly _endRouteSpan = (currentRoute: Route | null) => {\n if (this._currentRouteSpan) {\n if (currentRoute) {\n this._diag.debug(`Ending route span for url: ${currentRoute.url}`);\n }\n\n this._currentRouteSpan.end();\n this._currentRouteSpan = null;\n }\n };\n\n public enable = () => {\n this.setConfig({\n enabled: true,\n });\n this._diag.debug(\n 'NavigationInstrumentation enabled, listening for navigation events.',\n );\n };\n\n public disable = () => {\n this._cleanUpSessionListeners();\n this.setConfig({\n enabled: false,\n });\n this._diag.debug(\n 'NavigationInstrumentation disabled, stopped listening for navigation events.',\n );\n };\n}\n"],"mappings":";;;;AAiBA,MAAM,kBAAkB;AAExB,IAAa,4BAAb,cAA+C,uBAAuB;CACpE,yCAAmE;CACnE,oBAAyC;CACzC,uBAAQ;CAER,0BAAuD;CACvD,wBAAqD;CAErD,YAAmB,EACjB,MACA,wCAAwC,QACR;AAChC,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,yCACH;AAEF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,0BACE,wBACG;AACH,OAAK,uBAAuB;;CAG9B,mBAA0B,UAAiB;AACzC,MAAI,CAAC,KAAK,QAAQ,QAChB;EAGF,MAAM,eAAe,KAAK,iBAAiB;AAE3C,MAAI,MAAM,QAAQ,cAAc,KAAK;AACnC,QAAK,gBAAgB,MAAM;AAE3B,QAAK,cAAc,aAAa;AAChC,QAAK,gBAAgB,MAAM;;;CAI/B,+BAAgD;AAC9C,MAAI,CAAC,KAAK,wBACR,MAAK,0BACH,KAAK,eAAe,gCAAgC;GAClD,MAAM,eAAe,KAAK,iBAAiB;AAE3C,OAAI,gBAAgB,CAAC,KAAK,mBAAmB;AAC3C,SAAK,MAAM,MAAM,wCAAwC;AAEzD,SAAK,gBAAgB,aAAa;;IAEpC;AAGN,MAAI,CAAC,KAAK,sBACR,MAAK,wBAAwB,KAAK,eAAe,8BACzC;AACJ,OAAI,KAAK,mBAAmB;AAC1B,SAAK,MAAM,MAAM,oCAAoC;AAErD,SAAK,cAAc,KAAK,iBAAiB,CAAC;;IAG/C;;CAIL,iCAAkD;AAChD,MAAI,KAAK,yBAAyB;AAChC,QAAK,yBAAyB;AAC9B,QAAK,0BAA0B;;AAGjC,MAAI,KAAK,uBAAuB;AAC9B,QAAK,uBAAuB;AAC5B,QAAK,wBAAwB;;;CAIjC,mBAAoC,UAAuB;AACzD,OAAK,MAAM,MAAM,gCAAgC,MAAM,MAAM;AAC7D,OAAK,wBAAwB;EAE7B,MAAM,WAAW,KAAK,yCAClB,MAAM,KAAK,QAAQ,iBAAiB,GAAG,GACvC,MAAM;AACV,OAAK,oBAAoB,KAAK,OAAO,UAAU,UAAU,EACvD,YAAY;IACT,eAAA;IACA,oBAAoB;IACpB,kBAAkB,KAAK,kBAAkB,IAAI,KAAA;GAC/C,EACF,CAAC;AAEF,OAAK,kBAAkB,aACrB,yBACA,KAAK,qBACN;AAED,SAAO,KAAK;;CAGd,iBAAkC,iBAA+B;AAC/D,MAAI,KAAK,mBAAmB;AAC1B,OAAI,aACF,MAAK,MAAM,MAAM,8BAA8B,aAAa,MAAM;AAGpE,QAAK,kBAAkB,KAAK;AAC5B,QAAK,oBAAoB;;;CAI7B,eAAsB;AACpB,OAAK,UAAU,EACb,SAAS,MACV,CAAC;AACF,OAAK,MAAM,MACT,sEACD;;CAGH,gBAAuB;AACrB,OAAK,0BAA0B;AAC/B,OAAK,UAAU,EACb,SAAS,OACV,CAAC;AACF,OAAK,MAAM,MACT,+EACD"}
1
+ {"version":3,"file":"NavigationInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.ts"],"sourcesContent":["import type { Span } from '@opentelemetry/api';\nimport type { Route } from '../../../api-page/manager/types';\nimport { page } from '../../../api-page/pageAPI';\nimport { KEY_MXL_INSTRUMENTATION, KEY_MXL_PAGE_ID, KEY_MXL_PAGE_PATH, KEY_MXL_TYPE, MXL_NAVIGATION_INSTRUMENTATIONS, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport type { NavigationInstrumentationArgs } from './types';\n\n// Regular expression to match path options in the format \"(option)\"\n// Used to clean up paths that are like \"/order/:orderState(pending|shipped|delivered)/type:(sale|normal)\" to \"/order/:orderState/:type\"\n// Could be simplified but done this way to prevent: https://javascript.info/regexp-catastrophic-backtracking\nconst PATH_OPTIONS_RE = /\\([^()]+\\)/g;\n\nexport class NavigationInstrumentation extends MXLInstrumentationBase {\n private readonly _shouldCleanupPathOptionsFromRouteName: boolean = true;\n private _currentRouteSpan: Span | null = null;\n private _instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS =\n MXL_NAVIGATION_INSTRUMENTATIONS.Manual;\n private _removeSessionStartedFn: (() => void) | null = null;\n private _removeSessionEndedFn: (() => void) | null = null;\n\n public constructor({\n diag,\n shouldCleanupPathOptionsFromRouteName = true,\n }: NavigationInstrumentationArgs) {\n super({\n config: {},\n diag,\n instrumentationName: 'NavigationInstrumentation',\n instrumentationVersion: '1.0.0',\n });\n\n this._shouldCleanupPathOptionsFromRouteName =\n shouldCleanupPathOptionsFromRouteName;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public setInstrumentationType = (\n instrumentationType: MXL_NAVIGATION_INSTRUMENTATIONS,\n ) => {\n this._instrumentationType = instrumentationType;\n };\n\n public setCurrentRoute = (route: Route) => {\n if (!this._config.enabled) {\n return;\n }\n\n const currentRoute = page.getCurrentRoute();\n\n if (route.url !== currentRoute?.url) {\n page.setCurrentRoute(route);\n\n this._endRouteSpan(currentRoute);\n this._startRouteSpan(route);\n }\n };\n\n private readonly _setupSessionListeners = () => {\n if (!this._removeSessionStartedFn) {\n this._removeSessionStartedFn =\n this.userSessionManager.addSessionPartStartedListener(() => {\n const currentRoute = page.getCurrentRoute();\n\n if (currentRoute && !this._currentRouteSpan) {\n this._diag.debug('Session started, starting route span.');\n\n this._startRouteSpan(currentRoute);\n }\n });\n }\n\n if (!this._removeSessionEndedFn) {\n this._removeSessionEndedFn =\n this.userSessionManager.addSessionPartEndedListener(() => {\n if (this._currentRouteSpan) {\n this._diag.debug('Session ended, ending route span.');\n\n this._endRouteSpan(page.getCurrentRoute());\n }\n });\n }\n };\n\n private readonly _cleanUpSessionListeners = () => {\n if (this._removeSessionStartedFn) {\n this._removeSessionStartedFn();\n this._removeSessionStartedFn = null;\n }\n\n if (this._removeSessionEndedFn) {\n this._removeSessionEndedFn();\n this._removeSessionEndedFn = null;\n }\n };\n\n private readonly _startRouteSpan = (route: Route): Span => {\n this._diag.debug(`Starting route span for url: ${route.url}`);\n this._setupSessionListeners();\n\n const pathName = this._shouldCleanupPathOptionsFromRouteName\n ? route.path.replace(PATH_OPTIONS_RE, '')\n : route.path;\n this._currentRouteSpan = this.tracer.startSpan(pathName, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Surface,\n [KEY_MXL_PAGE_PATH]: pathName,\n [KEY_MXL_PAGE_ID]: page.getCurrentPageId() || undefined,\n },\n });\n\n this._currentRouteSpan.setAttribute(\n KEY_MXL_INSTRUMENTATION,\n this._instrumentationType,\n );\n\n return this._currentRouteSpan;\n };\n\n private readonly _endRouteSpan = (currentRoute: Route | null) => {\n if (this._currentRouteSpan) {\n if (currentRoute) {\n this._diag.debug(`Ending route span for url: ${currentRoute.url}`);\n }\n\n this._currentRouteSpan.end();\n this._currentRouteSpan = null;\n }\n };\n\n public enable = () => {\n this.setConfig({\n enabled: true,\n });\n this._diag.debug(\n 'NavigationInstrumentation enabled, listening for navigation events.',\n );\n };\n\n public disable = () => {\n this._cleanUpSessionListeners();\n this.setConfig({\n enabled: false,\n });\n this._diag.debug(\n 'NavigationInstrumentation disabled, stopped listening for navigation events.',\n );\n };\n}\n"],"mappings":";;;;AAUA,MAAM,kBAAkB;AAExB,IAAa,4BAAb,cAA+C,uBAAuB;CACpE,yCAAmE;CACnE,oBAAyC;CACzC,uBAAQ;CAER,0BAAuD;CACvD,wBAAqD;CAErD,YAAmB,EACjB,MACA,wCAAwC,QACR;AAChC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACzB,CAAC;AAEF,OAAK,yCACH;AAEF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,0BACE,wBACG;AACH,OAAK,uBAAuB;;CAG9B,mBAA0B,UAAiB;AACzC,MAAI,CAAC,KAAK,QAAQ,QAChB;EAGF,MAAM,eAAe,KAAK,iBAAiB;AAE3C,MAAI,MAAM,QAAQ,cAAc,KAAK;AACnC,QAAK,gBAAgB,MAAM;AAE3B,QAAK,cAAc,aAAa;AAChC,QAAK,gBAAgB,MAAM;;;CAI/B,+BAAgD;AAC9C,MAAI,CAAC,KAAK,wBACR,MAAK,0BACH,KAAK,mBAAmB,oCAAoC;GAC1D,MAAM,eAAe,KAAK,iBAAiB;AAE3C,OAAI,gBAAgB,CAAC,KAAK,mBAAmB;AAC3C,SAAK,MAAM,MAAM,wCAAwC;AAEzD,SAAK,gBAAgB,aAAa;;IAEpC;AAGN,MAAI,CAAC,KAAK,sBACR,MAAK,wBACH,KAAK,mBAAmB,kCAAkC;AACxD,OAAI,KAAK,mBAAmB;AAC1B,SAAK,MAAM,MAAM,oCAAoC;AAErD,SAAK,cAAc,KAAK,iBAAiB,CAAC;;IAE5C;;CAIR,iCAAkD;AAChD,MAAI,KAAK,yBAAyB;AAChC,QAAK,yBAAyB;AAC9B,QAAK,0BAA0B;;AAGjC,MAAI,KAAK,uBAAuB;AAC9B,QAAK,uBAAuB;AAC5B,QAAK,wBAAwB;;;CAIjC,mBAAoC,UAAuB;AACzD,OAAK,MAAM,MAAM,gCAAgC,MAAM,MAAM;AAC7D,OAAK,wBAAwB;EAE7B,MAAM,WAAW,KAAK,yCAClB,MAAM,KAAK,QAAQ,iBAAiB,GAAG,GACvC,MAAM;AACV,OAAK,oBAAoB,KAAK,OAAO,UAAU,UAAU,EACvD,YAAY;IACT,eAAA;IACA,oBAAoB;IACpB,kBAAkB,KAAK,kBAAkB,IAAI,KAAA;GAC/C,EACF,CAAC;AAEF,OAAK,kBAAkB,aACrB,yBACA,KAAK,qBACN;AAED,SAAO,KAAK;;CAGd,iBAAkC,iBAA+B;AAC/D,MAAI,KAAK,mBAAmB;AAC1B,OAAI,aACF,MAAK,MAAM,MAAM,8BAA8B,aAAa,MAAM;AAGpE,QAAK,kBAAkB,KAAK;AAC5B,QAAK,oBAAoB;;;CAI7B,eAAsB;AACpB,OAAK,UAAU,EACb,SAAS,MACV,CAAC;AACF,OAAK,MAAM,MACT,sEACD;;CAGH,gBAAuB;AACrB,OAAK,0BAA0B;AAC/B,OAAK,UAAU,EACb,SAAS,OACV,CAAC;AACF,OAAK,MAAM,MACT,+EACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"createReactRouterNavigationInstrumentation.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"sourcesContent":["import type { NavigationInstrumentationArgs } from '../index';\nimport { getNavigationInstrumentation } from '../index';\n\nexport const createReactRouterNavigationInstrumentation = (\n config: NavigationInstrumentationArgs = {},\n) => getNavigationInstrumentation(config);\n"],"mappings":";;;AAGA,MAAa,8CACX,SAAwC,EAAE,KACvCA,uEAAAA,6BAA6B,OAAO"}
1
+ {"version":3,"file":"createReactRouterNavigationInstrumentation.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"sourcesContent":["import type { NavigationInstrumentationArgs } from '../types';\nimport { getNavigationInstrumentation } from '../instance';\n\nexport const createReactRouterNavigationInstrumentation = (\n config: NavigationInstrumentationArgs = {},\n) => getNavigationInstrumentation(config);\n"],"mappings":";;;AAGA,MAAa,8CACX,SAAwC,EAAE,KACvCA,uEAAAA,6BAA6B,OAAO"}
@@ -1,5 +1,6 @@
1
1
  import { NavigationInstrumentationArgs } from "../types.cjs";
2
2
  import { NavigationInstrumentation } from "../NavigationInstrumentation.cjs";
3
+
3
4
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts
4
5
  declare const createReactRouterNavigationInstrumentation: (config?: NavigationInstrumentationArgs) => NavigationInstrumentation;
5
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"createReactRouterNavigationInstrumentation.d.cts","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"mappings":";;;cAGa,0CAAA,GACX,MAAA,GAAQ,6BAAA,KAAkC,yBAAA"}
1
+ {"version":3,"file":"createReactRouterNavigationInstrumentation.d.cts","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"mappings":";;;;cAGa,0CAAA,GACX,MAAA,GAAQ,6BAAA,KAAkC,yBAAA"}
@@ -1,5 +1,6 @@
1
1
  import { NavigationInstrumentationArgs } from "../types.js";
2
2
  import { NavigationInstrumentation } from "../NavigationInstrumentation.js";
3
+
3
4
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts
4
5
  declare const createReactRouterNavigationInstrumentation: (config?: NavigationInstrumentationArgs) => NavigationInstrumentation;
5
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"createReactRouterNavigationInstrumentation.d.ts","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"mappings":";;;cAGa,0CAAA,GACX,MAAA,GAAQ,6BAAA,KAAkC,yBAAA"}
1
+ {"version":3,"file":"createReactRouterNavigationInstrumentation.d.ts","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"mappings":";;;;cAGa,0CAAA,GACX,MAAA,GAAQ,6BAAA,KAAkC,yBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"createReactRouterNavigationInstrumentation.js","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"sourcesContent":["import type { NavigationInstrumentationArgs } from '../index';\nimport { getNavigationInstrumentation } from '../index';\n\nexport const createReactRouterNavigationInstrumentation = (\n config: NavigationInstrumentationArgs = {},\n) => getNavigationInstrumentation(config);\n"],"mappings":";;AAGA,MAAa,8CACX,SAAwC,EAAE,KACvC,6BAA6B,OAAO"}
1
+ {"version":3,"file":"createReactRouterNavigationInstrumentation.js","names":[],"sources":["../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.ts"],"sourcesContent":["import type { NavigationInstrumentationArgs } from '../types';\nimport { getNavigationInstrumentation } from '../instance';\n\nexport const createReactRouterNavigationInstrumentation = (\n config: NavigationInstrumentationArgs = {},\n) => getNavigationInstrumentation(config);\n"],"mappings":";;AAGA,MAAa,8CACX,SAAwC,EAAE,KACvC,6BAA6B,OAAO"}
@@ -2,11 +2,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_runtime = require("../../../../../_virtual/_rolldown/runtime.cjs");
3
3
  require("../../../../../constants/attributes.cjs");
4
4
  const require_instrumentations_navigation_NavigationInstrumentation_instance = require("../../instance.cjs");
5
+ const require_hoist_non_react_statics_cjs$1 = require("../../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs");
5
6
  let react = require("react");
6
7
  react = require_runtime.__toESM(react, 1);
7
- let hoist_non_react_statics = require("hoist-non-react-statics");
8
- hoist_non_react_statics = require_runtime.__toESM(hoist_non_react_statics, 1);
9
8
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts
9
+ var import_hoist_non_react_statics_cjs = /* @__PURE__ */ require_runtime.__toESM(require_hoist_non_react_statics_cjs$1.default, 1);
10
10
  const withMXLRoutingLegacy = (WrappedComponent) => {
11
11
  const navigationInstrumentation = require_instrumentations_navigation_NavigationInstrumentation_instance.getNavigationInstrumentation();
12
12
  navigationInstrumentation.setInstrumentationType("react_router_declarative_legacy");
@@ -21,7 +21,7 @@ const withMXLRoutingLegacy = (WrappedComponent) => {
21
21
  return react.createElement(WrappedComponent, props);
22
22
  };
23
23
  RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
24
- (0, hoist_non_react_statics.default)(RouteWithMXLRoutingLegacy, WrappedComponent);
24
+ (0, import_hoist_non_react_statics_cjs.default)(RouteWithMXLRoutingLegacy, WrappedComponent);
25
25
  return RouteWithMXLRoutingLegacy;
26
26
  };
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"withMXLRoutingLegacy.cjs","names":["getNavigationInstrumentation","React"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { RouteComponentProps, SwitchedRouteComponentProps } from './types';\n\nexport const withMXLRoutingLegacy = <P extends RouteComponentProps>(\n WrappedComponent: React.ComponentType<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.DeclarativeLegacy,\n );\n\n const RouteWithMXLRoutingLegacy: React.FC<P> = (props: P) => {\n // Make sure this is Route component\n if (props.path) {\n // Routes get injected with computedMatch when they are children of a <Switch> but the types do not reflect that\n // Manually setting the type here.\n const routeProps = props as SwitchedRouteComponentProps;\n\n // Depends on this internal behaviour\n // https://github.com/remix-run/react-router/blob/v5.3.4/packages/react-router/modules/Switch.js#L40\n // It shouldn't change as this version is legacy, and it's not being actively worked on\n if (routeProps.computedMatch) {\n navigationInstrumentation.setCurrentRoute({\n path: routeProps.computedMatch.path,\n url: routeProps.computedMatch.url,\n });\n }\n }\n\n return React.createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RouteWithMXLRoutingLegacy, WrappedComponent);\n\n return RouteWithMXLRoutingLegacy;\n};\n"],"mappings":";;;;;;;;;AAMA,MAAa,wBACX,qBACG;CACH,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,kCAEzB;CAED,MAAM,6BAA0C,UAAa;AAE3D,MAAI,MAAM,MAAM;GAGd,MAAM,aAAa;AAKnB,OAAI,WAAW,cACb,2BAA0B,gBAAgB;IACxC,MAAM,WAAW,cAAc;IAC/B,KAAK,WAAW,cAAc;IAC/B,CAAC;;AAIN,SAAOC,MAAM,cAAiB,kBAAkB,MAAM;;AAIxD,2BAA0B,cAAc,wBAAwB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AACrI,EAAA,GAAA,wBAAA,SAAqB,2BAA2B,iBAAiB;AAEjE,QAAO"}
1
+ {"version":3,"file":"withMXLRoutingLegacy.cjs","names":["getNavigationInstrumentation","React"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { RouteComponentProps, SwitchedRouteComponentProps } from './types';\n\nexport const withMXLRoutingLegacy = <P extends RouteComponentProps>(\n WrappedComponent: React.ComponentType<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.DeclarativeLegacy,\n );\n\n const RouteWithMXLRoutingLegacy: React.FC<P> = (props: P) => {\n // Make sure this is Route component\n if (props.path) {\n // Routes get injected with computedMatch when they are children of a <Switch> but the types do not reflect that\n // Manually setting the type here.\n const routeProps = props as SwitchedRouteComponentProps;\n\n // Depends on this internal behaviour\n // https://github.com/remix-run/react-router/blob/v5.3.4/packages/react-router/modules/Switch.js#L40\n // It shouldn't change as this version is legacy, and it's not being actively worked on\n if (routeProps.computedMatch) {\n navigationInstrumentation.setCurrentRoute({\n path: routeProps.computedMatch.path,\n url: routeProps.computedMatch.url,\n });\n }\n }\n\n return React.createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RouteWithMXLRoutingLegacy, WrappedComponent);\n\n return RouteWithMXLRoutingLegacy;\n};\n"],"mappings":";;;;;;;;;AAMA,MAAa,wBACX,qBACG;CACH,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,kCAEzB;CAED,MAAM,6BAA0C,UAAa;AAE3D,MAAI,MAAM,MAAM;GAGd,MAAM,aAAa;AAKnB,OAAI,WAAW,cACb,2BAA0B,gBAAgB;IACxC,MAAM,WAAW,cAAc;IAC/B,KAAK,WAAW,cAAc;IAC/B,CAAC;;AAIN,SAAOC,MAAM,cAAiB,kBAAkB,MAAM;;AAIxD,2BAA0B,cAAc,wBAAwB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AACrI,EAAA,GAAA,mCAAA,SAAqB,2BAA2B,iBAAiB;AAEjE,QAAO"}
@@ -1,8 +1,10 @@
1
+ import { __toESM } from "../../../../../_virtual/_rolldown/runtime.js";
1
2
  import "../../../../../constants/attributes.js";
2
3
  import { getNavigationInstrumentation } from "../../instance.js";
4
+ import { require_hoist_non_react_statics_cjs } from "../../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";
3
5
  import * as React$1 from "react";
4
- import hoistNonReactStatics from "hoist-non-react-statics";
5
6
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts
7
+ var import_hoist_non_react_statics_cjs = /* @__PURE__ */ __toESM(require_hoist_non_react_statics_cjs(), 1);
6
8
  const withMXLRoutingLegacy = (WrappedComponent) => {
7
9
  const navigationInstrumentation = getNavigationInstrumentation();
8
10
  navigationInstrumentation.setInstrumentationType("react_router_declarative_legacy");
@@ -17,7 +19,7 @@ const withMXLRoutingLegacy = (WrappedComponent) => {
17
19
  return React$1.createElement(WrappedComponent, props);
18
20
  };
19
21
  RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
20
- hoistNonReactStatics(RouteWithMXLRoutingLegacy, WrappedComponent);
22
+ (0, import_hoist_non_react_statics_cjs.default)(RouteWithMXLRoutingLegacy, WrappedComponent);
21
23
  return RouteWithMXLRoutingLegacy;
22
24
  };
23
25
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"withMXLRoutingLegacy.js","names":["React"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { RouteComponentProps, SwitchedRouteComponentProps } from './types';\n\nexport const withMXLRoutingLegacy = <P extends RouteComponentProps>(\n WrappedComponent: React.ComponentType<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.DeclarativeLegacy,\n );\n\n const RouteWithMXLRoutingLegacy: React.FC<P> = (props: P) => {\n // Make sure this is Route component\n if (props.path) {\n // Routes get injected with computedMatch when they are children of a <Switch> but the types do not reflect that\n // Manually setting the type here.\n const routeProps = props as SwitchedRouteComponentProps;\n\n // Depends on this internal behaviour\n // https://github.com/remix-run/react-router/blob/v5.3.4/packages/react-router/modules/Switch.js#L40\n // It shouldn't change as this version is legacy, and it's not being actively worked on\n if (routeProps.computedMatch) {\n navigationInstrumentation.setCurrentRoute({\n path: routeProps.computedMatch.path,\n url: routeProps.computedMatch.url,\n });\n }\n }\n\n return React.createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RouteWithMXLRoutingLegacy, WrappedComponent);\n\n return RouteWithMXLRoutingLegacy;\n};\n"],"mappings":";;;;;AAMA,MAAa,wBACX,qBACG;CACH,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,kCAEzB;CAED,MAAM,6BAA0C,UAAa;AAE3D,MAAI,MAAM,MAAM;GAGd,MAAM,aAAa;AAKnB,OAAI,WAAW,cACb,2BAA0B,gBAAgB;IACxC,MAAM,WAAW,cAAc;IAC/B,KAAK,WAAW,cAAc;IAC/B,CAAC;;AAIN,SAAOA,QAAM,cAAiB,kBAAkB,MAAM;;AAIxD,2BAA0B,cAAc,wBAAwB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AACrI,sBAAqB,2BAA2B,iBAAiB;AAEjE,QAAO"}
1
+ {"version":3,"file":"withMXLRoutingLegacy.js","names":["React"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { RouteComponentProps, SwitchedRouteComponentProps } from './types';\n\nexport const withMXLRoutingLegacy = <P extends RouteComponentProps>(\n WrappedComponent: React.ComponentType<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.DeclarativeLegacy,\n );\n\n const RouteWithMXLRoutingLegacy: React.FC<P> = (props: P) => {\n // Make sure this is Route component\n if (props.path) {\n // Routes get injected with computedMatch when they are children of a <Switch> but the types do not reflect that\n // Manually setting the type here.\n const routeProps = props as SwitchedRouteComponentProps;\n\n // Depends on this internal behaviour\n // https://github.com/remix-run/react-router/blob/v5.3.4/packages/react-router/modules/Switch.js#L40\n // It shouldn't change as this version is legacy, and it's not being actively worked on\n if (routeProps.computedMatch) {\n navigationInstrumentation.setCurrentRoute({\n path: routeProps.computedMatch.path,\n url: routeProps.computedMatch.url,\n });\n }\n }\n\n return React.createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RouteWithMXLRoutingLegacy.displayName = `withMXLRoutingLegacy(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RouteWithMXLRoutingLegacy, WrappedComponent);\n\n return RouteWithMXLRoutingLegacy;\n};\n"],"mappings":";;;;;;;AAMA,MAAa,wBACX,qBACG;CACH,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,kCAEzB;CAED,MAAM,6BAA0C,UAAa;AAE3D,MAAI,MAAM,MAAM;GAGd,MAAM,aAAa;AAKnB,OAAI,WAAW,cACb,2BAA0B,gBAAgB;IACxC,MAAM,WAAW,cAAc;IAC/B,KAAK,WAAW,cAAc;IAC/B,CAAC;;AAIN,SAAOA,QAAM,cAAiB,kBAAkB,MAAM;;AAIxD,2BAA0B,cAAc,wBAAwB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AACrI,EAAA,GAAA,mCAAA,SAAqB,2BAA2B,iBAAiB;AAEjE,QAAO"}
@@ -3,7 +3,7 @@ require("../../../../../constants/attributes.cjs");
3
3
  const require_instrumentations_navigation_NavigationInstrumentation_instance = require("../../instance.cjs");
4
4
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts
5
5
  /**
6
- * getRouteFromMatches goes through all the matches routes to build the full path
6
+ * GetRouteFromMatches goes through all the matches routes to build the full path
7
7
  * nested routes contain only the partial match, so we need to go through all of them
8
8
  * in order to build the full path.
9
9
  *
@@ -1 +1 @@
1
- {"version":3,"file":"listenToRouterChanges.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts"],"sourcesContent":["import type { Route } from '../../../../../api-page';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { ListenToRouterChangesArgs, Match } from './types';\n\n/**\n * getRouteFromMatches goes through all the matches routes to build the full path\n * nested routes contain only the partial match, so we need to go through all of them\n * in order to build the full path.\n *\n * Filtering by currentPathname ensures that we only consider routes that are relevant to the current URL.\n */\nconst getRouteFromMatches = (\n matches: Match[],\n currentPathname: string,\n): Route | null => {\n const currentMatchIndex = matches.findIndex(\n (match) => match.pathname === currentPathname,\n );\n\n if (currentMatchIndex === -1 || !matches[currentMatchIndex].route.path) {\n return null;\n }\n\n // Build full absolute path by reducing all matches up to the current one.\n // Absolute child paths reset the accumulation; relative paths are appended.\n return matches\n .slice(0, currentMatchIndex + 1)\n .reduce<Route | null>((acc, match) => {\n const routePath = match.route.path;\n\n if (!routePath) {\n return acc;\n }\n\n // If the route path starts with '/', it's an absolute path and should reset the accumulated path.\n // Otherwise, it's a relative path and should be appended to the accumulated path.\n const path = routePath.startsWith('/')\n ? routePath\n : `${acc?.path ?? ''}/${routePath}`;\n\n return { path, url: matches[currentMatchIndex].pathname };\n }, null);\n};\n\nexport const listenToRouterChanges = ({\n router,\n routesMatcher,\n config: { pathnameDocument = window.location } = {},\n}: ListenToRouterChangesArgs) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Data,\n );\n\n const initialMatches = routesMatcher(router.routes, {\n pathname: pathnameDocument.pathname,\n });\n\n const initialRoute = initialMatches\n ? getRouteFromMatches(initialMatches, pathnameDocument.pathname)\n : null;\n\n if (initialRoute) {\n navigationInstrumentation.setCurrentRoute(initialRoute);\n }\n\n return router.subscribe((state) => {\n // State has a list of already matched routes\n // https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/router/router.ts#L954\n const currentRoute = getRouteFromMatches(\n state.matches,\n state.location.pathname,\n );\n\n if (currentRoute) {\n navigationInstrumentation.setCurrentRoute(currentRoute);\n }\n });\n};\n"],"mappings":";;;;;;;;;;;AAYA,MAAM,uBACJ,SACA,oBACiB;CACjB,MAAM,oBAAoB,QAAQ,WAC/B,UAAU,MAAM,aAAa,gBAC/B;AAED,KAAI,sBAAsB,MAAM,CAAC,QAAQ,mBAAmB,MAAM,KAChE,QAAO;AAKT,QAAO,QACJ,MAAM,GAAG,oBAAoB,EAAE,CAC/B,QAAsB,KAAK,UAAU;EACpC,MAAM,YAAY,MAAM,MAAM;AAE9B,MAAI,CAAC,UACH,QAAO;AAST,SAAO;GAAE,MAJI,UAAU,WAAW,IAAI,GAClC,YACA,GAAG,KAAK,QAAQ,GAAG,GAAG;GAEX,KAAK,QAAQ,mBAAmB;GAAU;IACxD,KAAK;;AAGZ,MAAa,yBAAyB,EACpC,QACA,eACA,QAAQ,EAAE,mBAAmB,OAAO,aAAa,EAAE,OACpB;CAC/B,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,oBAEzB;CAED,MAAM,iBAAiB,cAAc,OAAO,QAAQ,EAClD,UAAU,iBAAiB,UAC5B,CAAC;CAEF,MAAM,eAAe,iBACjB,oBAAoB,gBAAgB,iBAAiB,SAAS,GAC9D;AAEJ,KAAI,aACF,2BAA0B,gBAAgB,aAAa;AAGzD,QAAO,OAAO,WAAW,UAAU;EAGjC,MAAM,eAAe,oBACnB,MAAM,SACN,MAAM,SAAS,SAChB;AAED,MAAI,aACF,2BAA0B,gBAAgB,aAAa;GAEzD"}
1
+ {"version":3,"file":"listenToRouterChanges.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts"],"sourcesContent":["import type { Route } from '../../../../../api-page/manager/types';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { ListenToRouterChangesArgs, Match } from './types';\n\n/**\n * GetRouteFromMatches goes through all the matches routes to build the full path\n * nested routes contain only the partial match, so we need to go through all of them\n * in order to build the full path.\n *\n * Filtering by currentPathname ensures that we only consider routes that are relevant to the current URL.\n */\nconst getRouteFromMatches = (\n matches: Match[],\n currentPathname: string,\n): Route | null => {\n const currentMatchIndex = matches.findIndex(\n (match) => match.pathname === currentPathname,\n );\n\n if (currentMatchIndex === -1 || !matches[currentMatchIndex].route.path) {\n return null;\n }\n\n // Build full absolute path by reducing all matches up to the current one.\n // Absolute child paths reset the accumulation; relative paths are appended.\n return matches\n .slice(0, currentMatchIndex + 1)\n .reduce<Route | null>((acc, match) => {\n const routePath = match.route.path;\n\n if (!routePath) {\n return acc;\n }\n\n // If the route path starts with '/', it's an absolute path and should reset the accumulated path.\n // Otherwise, it's a relative path and should be appended to the accumulated path.\n const path = routePath.startsWith('/')\n ? routePath\n : `${acc?.path ?? ''}/${routePath}`;\n\n return { path, url: matches[currentMatchIndex].pathname };\n }, null);\n};\n\nexport const listenToRouterChanges = ({\n router,\n routesMatcher,\n config: { pathnameDocument = window.location } = {},\n}: ListenToRouterChangesArgs) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Data,\n );\n\n const initialMatches = routesMatcher(router.routes, {\n pathname: pathnameDocument.pathname,\n });\n\n const initialRoute = initialMatches\n ? getRouteFromMatches(initialMatches, pathnameDocument.pathname)\n : null;\n\n if (initialRoute) {\n navigationInstrumentation.setCurrentRoute(initialRoute);\n }\n\n return router.subscribe((state) => {\n // State has a list of already matched routes\n // https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/router/router.ts#L954\n const currentRoute = getRouteFromMatches(\n state.matches,\n state.location.pathname,\n );\n\n if (currentRoute) {\n navigationInstrumentation.setCurrentRoute(currentRoute);\n }\n });\n};\n"],"mappings":";;;;;;;;;;;AAYA,MAAM,uBACJ,SACA,oBACiB;CACjB,MAAM,oBAAoB,QAAQ,WAC/B,UAAU,MAAM,aAAa,gBAC/B;AAED,KAAI,sBAAsB,MAAM,CAAC,QAAQ,mBAAmB,MAAM,KAChE,QAAO;AAKT,QAAO,QACJ,MAAM,GAAG,oBAAoB,EAAE,CAC/B,QAAsB,KAAK,UAAU;EACpC,MAAM,YAAY,MAAM,MAAM;AAE9B,MAAI,CAAC,UACH,QAAO;AAST,SAAO;GAAE,MAJI,UAAU,WAAW,IAAI,GAClC,YACA,GAAG,KAAK,QAAQ,GAAG,GAAG;GAEX,KAAK,QAAQ,mBAAmB;GAAU;IACxD,KAAK;;AAGZ,MAAa,yBAAyB,EACpC,QACA,eACA,QAAQ,EAAE,mBAAmB,OAAO,aAAa,EAAE,OACpB;CAC/B,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,oBAEzB;CAED,MAAM,iBAAiB,cAAc,OAAO,QAAQ,EAClD,UAAU,iBAAiB,UAC5B,CAAC;CAEF,MAAM,eAAe,iBACjB,oBAAoB,gBAAgB,iBAAiB,SAAS,GAC9D;AAEJ,KAAI,aACF,2BAA0B,gBAAgB,aAAa;AAGzD,QAAO,OAAO,WAAW,UAAU;EAGjC,MAAM,eAAe,oBACnB,MAAM,SACN,MAAM,SAAS,SAChB;AAED,MAAI,aACF,2BAA0B,gBAAgB,aAAa;GAEzD"}
@@ -2,7 +2,7 @@ import "../../../../../constants/attributes.js";
2
2
  import { getNavigationInstrumentation } from "../../instance.js";
3
3
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts
4
4
  /**
5
- * getRouteFromMatches goes through all the matches routes to build the full path
5
+ * GetRouteFromMatches goes through all the matches routes to build the full path
6
6
  * nested routes contain only the partial match, so we need to go through all of them
7
7
  * in order to build the full path.
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"file":"listenToRouterChanges.js","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts"],"sourcesContent":["import type { Route } from '../../../../../api-page';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { ListenToRouterChangesArgs, Match } from './types';\n\n/**\n * getRouteFromMatches goes through all the matches routes to build the full path\n * nested routes contain only the partial match, so we need to go through all of them\n * in order to build the full path.\n *\n * Filtering by currentPathname ensures that we only consider routes that are relevant to the current URL.\n */\nconst getRouteFromMatches = (\n matches: Match[],\n currentPathname: string,\n): Route | null => {\n const currentMatchIndex = matches.findIndex(\n (match) => match.pathname === currentPathname,\n );\n\n if (currentMatchIndex === -1 || !matches[currentMatchIndex].route.path) {\n return null;\n }\n\n // Build full absolute path by reducing all matches up to the current one.\n // Absolute child paths reset the accumulation; relative paths are appended.\n return matches\n .slice(0, currentMatchIndex + 1)\n .reduce<Route | null>((acc, match) => {\n const routePath = match.route.path;\n\n if (!routePath) {\n return acc;\n }\n\n // If the route path starts with '/', it's an absolute path and should reset the accumulated path.\n // Otherwise, it's a relative path and should be appended to the accumulated path.\n const path = routePath.startsWith('/')\n ? routePath\n : `${acc?.path ?? ''}/${routePath}`;\n\n return { path, url: matches[currentMatchIndex].pathname };\n }, null);\n};\n\nexport const listenToRouterChanges = ({\n router,\n routesMatcher,\n config: { pathnameDocument = window.location } = {},\n}: ListenToRouterChangesArgs) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Data,\n );\n\n const initialMatches = routesMatcher(router.routes, {\n pathname: pathnameDocument.pathname,\n });\n\n const initialRoute = initialMatches\n ? getRouteFromMatches(initialMatches, pathnameDocument.pathname)\n : null;\n\n if (initialRoute) {\n navigationInstrumentation.setCurrentRoute(initialRoute);\n }\n\n return router.subscribe((state) => {\n // State has a list of already matched routes\n // https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/router/router.ts#L954\n const currentRoute = getRouteFromMatches(\n state.matches,\n state.location.pathname,\n );\n\n if (currentRoute) {\n navigationInstrumentation.setCurrentRoute(currentRoute);\n }\n });\n};\n"],"mappings":";;;;;;;;;;AAYA,MAAM,uBACJ,SACA,oBACiB;CACjB,MAAM,oBAAoB,QAAQ,WAC/B,UAAU,MAAM,aAAa,gBAC/B;AAED,KAAI,sBAAsB,MAAM,CAAC,QAAQ,mBAAmB,MAAM,KAChE,QAAO;AAKT,QAAO,QACJ,MAAM,GAAG,oBAAoB,EAAE,CAC/B,QAAsB,KAAK,UAAU;EACpC,MAAM,YAAY,MAAM,MAAM;AAE9B,MAAI,CAAC,UACH,QAAO;AAST,SAAO;GAAE,MAJI,UAAU,WAAW,IAAI,GAClC,YACA,GAAG,KAAK,QAAQ,GAAG,GAAG;GAEX,KAAK,QAAQ,mBAAmB;GAAU;IACxD,KAAK;;AAGZ,MAAa,yBAAyB,EACpC,QACA,eACA,QAAQ,EAAE,mBAAmB,OAAO,aAAa,EAAE,OACpB;CAC/B,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,oBAEzB;CAED,MAAM,iBAAiB,cAAc,OAAO,QAAQ,EAClD,UAAU,iBAAiB,UAC5B,CAAC;CAEF,MAAM,eAAe,iBACjB,oBAAoB,gBAAgB,iBAAiB,SAAS,GAC9D;AAEJ,KAAI,aACF,2BAA0B,gBAAgB,aAAa;AAGzD,QAAO,OAAO,WAAW,UAAU;EAGjC,MAAM,eAAe,oBACnB,MAAM,SACN,MAAM,SAAS,SAChB;AAED,MAAI,aACF,2BAA0B,gBAAgB,aAAa;GAEzD"}
1
+ {"version":3,"file":"listenToRouterChanges.js","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.ts"],"sourcesContent":["import type { Route } from '../../../../../api-page/manager/types';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { ListenToRouterChangesArgs, Match } from './types';\n\n/**\n * GetRouteFromMatches goes through all the matches routes to build the full path\n * nested routes contain only the partial match, so we need to go through all of them\n * in order to build the full path.\n *\n * Filtering by currentPathname ensures that we only consider routes that are relevant to the current URL.\n */\nconst getRouteFromMatches = (\n matches: Match[],\n currentPathname: string,\n): Route | null => {\n const currentMatchIndex = matches.findIndex(\n (match) => match.pathname === currentPathname,\n );\n\n if (currentMatchIndex === -1 || !matches[currentMatchIndex].route.path) {\n return null;\n }\n\n // Build full absolute path by reducing all matches up to the current one.\n // Absolute child paths reset the accumulation; relative paths are appended.\n return matches\n .slice(0, currentMatchIndex + 1)\n .reduce<Route | null>((acc, match) => {\n const routePath = match.route.path;\n\n if (!routePath) {\n return acc;\n }\n\n // If the route path starts with '/', it's an absolute path and should reset the accumulated path.\n // Otherwise, it's a relative path and should be appended to the accumulated path.\n const path = routePath.startsWith('/')\n ? routePath\n : `${acc?.path ?? ''}/${routePath}`;\n\n return { path, url: matches[currentMatchIndex].pathname };\n }, null);\n};\n\nexport const listenToRouterChanges = ({\n router,\n routesMatcher,\n config: { pathnameDocument = window.location } = {},\n}: ListenToRouterChangesArgs) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Data,\n );\n\n const initialMatches = routesMatcher(router.routes, {\n pathname: pathnameDocument.pathname,\n });\n\n const initialRoute = initialMatches\n ? getRouteFromMatches(initialMatches, pathnameDocument.pathname)\n : null;\n\n if (initialRoute) {\n navigationInstrumentation.setCurrentRoute(initialRoute);\n }\n\n return router.subscribe((state) => {\n // State has a list of already matched routes\n // https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/router/router.ts#L954\n const currentRoute = getRouteFromMatches(\n state.matches,\n state.location.pathname,\n );\n\n if (currentRoute) {\n navigationInstrumentation.setCurrentRoute(currentRoute);\n }\n });\n};\n"],"mappings":";;;;;;;;;;AAYA,MAAM,uBACJ,SACA,oBACiB;CACjB,MAAM,oBAAoB,QAAQ,WAC/B,UAAU,MAAM,aAAa,gBAC/B;AAED,KAAI,sBAAsB,MAAM,CAAC,QAAQ,mBAAmB,MAAM,KAChE,QAAO;AAKT,QAAO,QACJ,MAAM,GAAG,oBAAoB,EAAE,CAC/B,QAAsB,KAAK,UAAU;EACpC,MAAM,YAAY,MAAM,MAAM;AAE9B,MAAI,CAAC,UACH,QAAO;AAST,SAAO;GAAE,MAJI,UAAU,WAAW,IAAI,GAClC,YACA,GAAG,KAAK,QAAQ,GAAG,GAAG;GAEX,KAAK,QAAQ,mBAAmB;GAAU;IACxD,KAAK;;AAGZ,MAAa,yBAAyB,EACpC,QACA,eACA,QAAQ,EAAE,mBAAmB,OAAO,aAAa,EAAE,OACpB;CAC/B,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,oBAEzB;CAED,MAAM,iBAAiB,cAAc,OAAO,QAAQ,EAClD,UAAU,iBAAiB,UAC5B,CAAC;CAEF,MAAM,eAAe,iBACjB,oBAAoB,gBAAgB,iBAAiB,SAAS,GAC9D;AAEJ,KAAI,aACF,2BAA0B,gBAAgB,aAAa;AAGzD,QAAO,OAAO,WAAW,UAAU;EAGjC,MAAM,eAAe,oBACnB,MAAM,SACN,MAAM,SAAS,SAChB;AAED,MAAI,aACF,2BAA0B,gBAAgB,aAAa;GAEzD"}
@@ -1,32 +1,32 @@
1
1
  import { PathnameDocument } from "../../../../../common/types.cjs";
2
2
 
3
3
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts
4
- type Route = {
4
+ interface Route {
5
5
  path?: string;
6
- };
7
- type Match = {
6
+ }
7
+ interface Match {
8
8
  pathname: string;
9
9
  route: Route;
10
- };
11
- type Location = {
10
+ }
11
+ interface Location {
12
12
  pathname: string;
13
- };
14
- type RouterState = {
13
+ }
14
+ interface RouterState {
15
15
  location: Location;
16
16
  matches: Match[];
17
- };
17
+ }
18
18
  type MatchRoutesFunction = (routes: Route[], location: Location) => Match[] | null;
19
19
  interface Router {
20
20
  routes: Route[];
21
21
  subscribe: (listener: (state: RouterState) => void) => () => void;
22
22
  }
23
- type ListenToRouterChangesArgs = {
23
+ interface ListenToRouterChangesArgs {
24
24
  router: Router;
25
25
  routesMatcher: MatchRoutesFunction;
26
26
  config?: {
27
27
  pathnameDocument?: PathnameDocument;
28
28
  };
29
- };
29
+ }
30
30
  //#endregion
31
31
  export { ListenToRouterChangesArgs, Match, MatchRoutesFunction, Router, RouterState };
32
32
  //# sourceMappingURL=types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.ts"],"mappings":";;;KAEK,KAAA;EACH,IAAA;AAAA;AAAA,KAGU,KAAA;EACV,QAAA;EACA,KAAA,EAAO,KAAA;AAAA;AAAA,KAGJ,QAAA;EACH,QAAA;AAAA;AAAA,KAGU,WAAA;EACV,QAAA,EAAU,QAAA;EACV,OAAA,EAAS,KAAA;AAAA;AAAA,KAGC,mBAAA,IACV,MAAA,EAAQ,KAAA,IACR,QAAA,EAAU,QAAA,KACP,KAAA;AAAA,UAEY,MAAA;EACf,MAAA,EAAQ,KAAA;EACR,SAAA,GAAY,QAAA,GAAW,KAAA,EAAO,WAAA;AAAA;AAAA,KAGpB,yBAAA;EACV,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,mBAAA;EACf,MAAA;IACE,gBAAA,GAAmB,gBAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.ts"],"mappings":";;;UACU,KAAA;EACR,IAAA;AAAA;AAAA,UAGe,KAAA;EACf,QAAA;EACA,KAAA,EAAO,KAAA;AAAA;AAAA,UAGC,QAAA;EACR,QAAA;AAAA;AAAA,UAGe,WAAA;EACf,QAAA,EAAU,QAAA;EACV,OAAA,EAAS,KAAA;AAAA;AAAA,KAGC,mBAAA,IACV,MAAA,EAAQ,KAAA,IACR,QAAA,EAAU,QAAA,KACP,KAAA;AAAA,UAEY,MAAA;EACf,MAAA,EAAQ,KAAA;EACR,SAAA,GAAY,QAAA,GAAW,KAAA,EAAO,WAAA;AAAA;AAAA,UAGf,yBAAA;EACf,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,mBAAA;EACf,MAAA;IACE,gBAAA,GAAmB,gBAAA;EAAA;AAAA"}
@@ -1,32 +1,32 @@
1
1
  import { PathnameDocument } from "../../../../../common/types.js";
2
2
 
3
3
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts
4
- type Route = {
4
+ interface Route {
5
5
  path?: string;
6
- };
7
- type Match = {
6
+ }
7
+ interface Match {
8
8
  pathname: string;
9
9
  route: Route;
10
- };
11
- type Location = {
10
+ }
11
+ interface Location {
12
12
  pathname: string;
13
- };
14
- type RouterState = {
13
+ }
14
+ interface RouterState {
15
15
  location: Location;
16
16
  matches: Match[];
17
- };
17
+ }
18
18
  type MatchRoutesFunction = (routes: Route[], location: Location) => Match[] | null;
19
19
  interface Router {
20
20
  routes: Route[];
21
21
  subscribe: (listener: (state: RouterState) => void) => () => void;
22
22
  }
23
- type ListenToRouterChangesArgs = {
23
+ interface ListenToRouterChangesArgs {
24
24
  router: Router;
25
25
  routesMatcher: MatchRoutesFunction;
26
26
  config?: {
27
27
  pathnameDocument?: PathnameDocument;
28
28
  };
29
- };
29
+ }
30
30
  //#endregion
31
31
  export { ListenToRouterChangesArgs, Match, MatchRoutesFunction, Router, RouterState };
32
32
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.ts"],"mappings":";;;KAEK,KAAA;EACH,IAAA;AAAA;AAAA,KAGU,KAAA;EACV,QAAA;EACA,KAAA,EAAO,KAAA;AAAA;AAAA,KAGJ,QAAA;EACH,QAAA;AAAA;AAAA,KAGU,WAAA;EACV,QAAA,EAAU,QAAA;EACV,OAAA,EAAS,KAAA;AAAA;AAAA,KAGC,mBAAA,IACV,MAAA,EAAQ,KAAA,IACR,QAAA,EAAU,QAAA,KACP,KAAA;AAAA,UAEY,MAAA;EACf,MAAA,EAAQ,KAAA;EACR,SAAA,GAAY,QAAA,GAAW,KAAA,EAAO,WAAA;AAAA;AAAA,KAGpB,yBAAA;EACV,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,mBAAA;EACf,MAAA;IACE,gBAAA,GAAmB,gBAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.ts"],"mappings":";;;UACU,KAAA;EACR,IAAA;AAAA;AAAA,UAGe,KAAA;EACf,QAAA;EACA,KAAA,EAAO,KAAA;AAAA;AAAA,UAGC,QAAA;EACR,QAAA;AAAA;AAAA,UAGe,WAAA;EACf,QAAA,EAAU,QAAA;EACV,OAAA,EAAS,KAAA;AAAA;AAAA,KAGC,mBAAA,IACV,MAAA,EAAQ,KAAA,IACR,QAAA,EAAU,QAAA,KACP,KAAA;AAAA,UAEY,MAAA;EACf,MAAA,EAAQ,KAAA;EACR,SAAA,GAAY,QAAA,GAAW,KAAA,EAAO,WAAA;AAAA;AAAA,UAGf,yBAAA;EACf,MAAA,EAAQ,MAAA;EACR,aAAA,EAAe,mBAAA;EACf,MAAA;IACE,gBAAA,GAAmB,gBAAA;EAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts
2
- type RoutesFunctionalComponentReturn = {
2
+ interface RoutesFunctionalComponentReturn {
3
3
  props: {
4
4
  match?: {
5
5
  pathname: string;
@@ -12,7 +12,7 @@ type RoutesFunctionalComponentReturn = {
12
12
  outlet: RoutesFunctionalComponentReturn | null;
13
13
  };
14
14
  };
15
- };
15
+ }
16
16
  //#endregion
17
17
  export { RoutesFunctionalComponentReturn };
18
18
  //# sourceMappingURL=types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.ts"],"mappings":";KAEY,+BAAA;EACV,KAAA;IACE,KAAA;MACE,QAAA;MACA,YAAA;MACA,KAAA;QACE,IAAA;MAAA;IAAA;IAGJ,YAAA;MAEE,MAAA,EAAQ,+BAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.ts"],"mappings":";UAEiB,+BAAA;EACf,KAAA;IACE,KAAA;MACE,QAAA;MACA,YAAA;MACA,KAAA;QACE,IAAA;MAAA;IAAA;IAGJ,YAAA;MAEE,MAAA,EAAQ,+BAAA;IAAA;EAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts
2
- type RoutesFunctionalComponentReturn = {
2
+ interface RoutesFunctionalComponentReturn {
3
3
  props: {
4
4
  match?: {
5
5
  pathname: string;
@@ -12,7 +12,7 @@ type RoutesFunctionalComponentReturn = {
12
12
  outlet: RoutesFunctionalComponentReturn | null;
13
13
  };
14
14
  };
15
- };
15
+ }
16
16
  //#endregion
17
17
  export { RoutesFunctionalComponentReturn };
18
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.ts"],"mappings":";KAEY,+BAAA;EACV,KAAA;IACE,KAAA;MACE,QAAA;MACA,YAAA;MACA,KAAA;QACE,IAAA;MAAA;IAAA;IAGJ,YAAA;MAEE,MAAA,EAAQ,+BAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.ts"],"mappings":";UAEiB,+BAAA;EACf,KAAA;IACE,KAAA;MACE,QAAA;MACA,YAAA;MACA,KAAA;QACE,IAAA;MAAA;IAAA;IAGJ,YAAA;MAEE,MAAA,EAAQ,+BAAA;IAAA;EAAA;AAAA"}
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_runtime = require("../../../../../_virtual/_rolldown/runtime.cjs");
3
3
  require("../../../../../constants/attributes.cjs");
4
4
  const require_instrumentations_navigation_NavigationInstrumentation_instance = require("../../instance.cjs");
5
+ const require_hoist_non_react_statics_cjs$1 = require("../../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs");
5
6
  let react = require("react");
6
- let hoist_non_react_statics = require("hoist-non-react-statics");
7
- hoist_non_react_statics = require_runtime.__toESM(hoist_non_react_statics, 1);
8
7
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts
8
+ var import_hoist_non_react_statics_cjs = /* @__PURE__ */ require_runtime.__toESM(require_hoist_non_react_statics_cjs$1.default, 1);
9
9
  const getLastRoute = (matchedComponent, lastRoute) => {
10
10
  if (!matchedComponent.props.match?.route) return null;
11
11
  const childPath = matchedComponent.props.match.route.path;
@@ -42,7 +42,7 @@ const withMXLRouting = (WrappedComponent) => {
42
42
  return (0, react.createElement)(WrappedComponent, props);
43
43
  };
44
44
  RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
45
- (0, hoist_non_react_statics.default)(RoutesWithMXLRouting, WrappedComponent);
45
+ (0, import_hoist_non_react_statics_cjs.default)(RoutesWithMXLRouting, WrappedComponent);
46
46
  return RoutesWithMXLRouting;
47
47
  };
48
48
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"withMXLRouting.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport type React from 'react';\nimport { createElement } from 'react';\nimport type { Route } from '../../../../../api-page';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { RoutesFunctionalComponentReturn } from './types';\n\n// Routes can be nested, we need to traverse the routeContext to find the last route\nconst getLastRoute = (\n matchedComponent: RoutesFunctionalComponentReturn,\n lastRoute: Route | null,\n): Route | null => {\n if (!matchedComponent.props.match?.route) {\n return null;\n }\n\n const childPath = matchedComponent.props.match.route.path;\n const path =\n lastRoute && !childPath.startsWith('/')\n ? `${lastRoute.path}/${childPath}`\n : childPath;\n\n if (matchedComponent.props.routeContext?.outlet) {\n return getLastRoute(matchedComponent.props.routeContext.outlet, {\n path,\n url: matchedComponent.props.match.pathname,\n });\n }\n\n return {\n path,\n url: matchedComponent.props.match.pathname,\n };\n};\n\nexport const withMXLRouting = <P extends object>(\n WrappedComponent: React.FunctionComponent<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Declarative,\n );\n\n const RoutesWithMXLRouting: React.FC<P> = (props: P) => {\n /**\n * React-router v6+ implementation is very different from v5\n * It doesn't have a <Switch> component that injects props into <Route>\n * Instead, it has <Routes> which internally calculates the matched route\n * and returns it as a children, <Route> cannot be wrapped since it requires all children to be a <Route> component\n * here we rely on that matching to get the current route.\n * It's not ideal to rely on internal implementation details, but it's the easier way of getting the current route\n * without having to manually match it or using hooks on each children component\n *\n * See: https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/hooks.tsx#L553\n */\n const matchedComponent = WrappedComponent(\n props,\n ) as unknown as RoutesFunctionalComponentReturn;\n\n if (matchedComponent.props.match?.route) {\n const lastRoute = getLastRoute(matchedComponent, null);\n if (lastRoute) {\n navigationInstrumentation.setCurrentRoute(lastRoute);\n }\n }\n\n return createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RoutesWithMXLRouting, WrappedComponent);\n\n return RoutesWithMXLRouting;\n};\n"],"mappings":";;;;;;;;AASA,MAAM,gBACJ,kBACA,cACiB;AACjB,KAAI,CAAC,iBAAiB,MAAM,OAAO,MACjC,QAAO;CAGT,MAAM,YAAY,iBAAiB,MAAM,MAAM,MAAM;CACrD,MAAM,OACJ,aAAa,CAAC,UAAU,WAAW,IAAI,GACnC,GAAG,UAAU,KAAK,GAAG,cACrB;AAEN,KAAI,iBAAiB,MAAM,cAAc,OACvC,QAAO,aAAa,iBAAiB,MAAM,aAAa,QAAQ;EAC9D;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC,CAAC;AAGJ,QAAO;EACL;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC;;AAGH,MAAa,kBACX,qBACG;CACH,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,2BAEzB;CAED,MAAM,wBAAqC,UAAa;;;;;;;;;;;;EAYtD,MAAM,mBAAmB,iBACvB,MACD;AAED,MAAI,iBAAiB,MAAM,OAAO,OAAO;GACvC,MAAM,YAAY,aAAa,kBAAkB,KAAK;AACtD,OAAI,UACF,2BAA0B,gBAAgB,UAAU;;AAIxD,UAAA,GAAA,MAAA,eAAwB,kBAAkB,MAAM;;AAIlD,sBAAqB,cAAc,kBAAkB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AAC1H,EAAA,GAAA,wBAAA,SAAqB,sBAAsB,iBAAiB;AAE5D,QAAO"}
1
+ {"version":3,"file":"withMXLRouting.cjs","names":["getNavigationInstrumentation"],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport type React from 'react';\nimport { createElement } from 'react';\nimport type { Route } from '../../../../../api-page/manager/types';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { RoutesFunctionalComponentReturn } from './types';\n\n// Routes can be nested, we need to traverse the routeContext to find the last route\nconst getLastRoute = (\n matchedComponent: RoutesFunctionalComponentReturn,\n lastRoute: Route | null,\n): Route | null => {\n if (!matchedComponent.props.match?.route) {\n return null;\n }\n\n const childPath = matchedComponent.props.match.route.path;\n const path =\n lastRoute && !childPath.startsWith('/')\n ? `${lastRoute.path}/${childPath}`\n : childPath;\n\n if (matchedComponent.props.routeContext?.outlet) {\n return getLastRoute(matchedComponent.props.routeContext.outlet, {\n path,\n url: matchedComponent.props.match.pathname,\n });\n }\n\n return {\n path,\n url: matchedComponent.props.match.pathname,\n };\n};\n\nexport const withMXLRouting = <P extends object>(\n WrappedComponent: React.FunctionComponent<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Declarative,\n );\n\n const RoutesWithMXLRouting: React.FC<P> = (props: P) => {\n /**\n * React-router v6+ implementation is very different from v5\n * It doesn't have a <Switch> component that injects props into <Route>\n * Instead, it has <Routes> which internally calculates the matched route\n * and returns it as a children, <Route> cannot be wrapped since it requires all children to be a <Route> component\n * here we rely on that matching to get the current route.\n * It's not ideal to rely on internal implementation details, but it's the easier way of getting the current route\n * without having to manually match it or using hooks on each children component\n *\n * See: https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/hooks.tsx#L553\n */\n const matchedComponent = WrappedComponent(\n props,\n ) as unknown as RoutesFunctionalComponentReturn;\n\n if (matchedComponent.props.match?.route) {\n const lastRoute = getLastRoute(matchedComponent, null);\n if (lastRoute) {\n navigationInstrumentation.setCurrentRoute(lastRoute);\n }\n }\n\n return createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RoutesWithMXLRouting, WrappedComponent);\n\n return RoutesWithMXLRouting;\n};\n"],"mappings":";;;;;;;;AASA,MAAM,gBACJ,kBACA,cACiB;AACjB,KAAI,CAAC,iBAAiB,MAAM,OAAO,MACjC,QAAO;CAGT,MAAM,YAAY,iBAAiB,MAAM,MAAM,MAAM;CACrD,MAAM,OACJ,aAAa,CAAC,UAAU,WAAW,IAAI,GACnC,GAAG,UAAU,KAAK,GAAG,cACrB;AAEN,KAAI,iBAAiB,MAAM,cAAc,OACvC,QAAO,aAAa,iBAAiB,MAAM,aAAa,QAAQ;EAC9D;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC,CAAC;AAGJ,QAAO;EACL;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC;;AAGH,MAAa,kBACX,qBACG;CACH,MAAM,4BAA4BA,uEAAAA,8BAA8B;AAChE,2BAA0B,uBAAA,2BAEzB;CAED,MAAM,wBAAqC,UAAa;;;;;;;;;;;;EAYtD,MAAM,mBAAmB,iBACvB,MACD;AAED,MAAI,iBAAiB,MAAM,OAAO,OAAO;GACvC,MAAM,YAAY,aAAa,kBAAkB,KAAK;AACtD,OAAI,UACF,2BAA0B,gBAAgB,UAAU;;AAIxD,UAAA,GAAA,MAAA,eAAwB,kBAAkB,MAAM;;AAIlD,sBAAqB,cAAc,kBAAkB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AAC1H,EAAA,GAAA,mCAAA,SAAqB,sBAAsB,iBAAiB;AAE5D,QAAO"}
@@ -1,8 +1,10 @@
1
+ import { __toESM } from "../../../../../_virtual/_rolldown/runtime.js";
1
2
  import "../../../../../constants/attributes.js";
2
3
  import { getNavigationInstrumentation } from "../../instance.js";
4
+ import { require_hoist_non_react_statics_cjs } from "../../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";
3
5
  import { createElement } from "react";
4
- import hoistNonReactStatics from "hoist-non-react-statics";
5
6
  //#region src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts
7
+ var import_hoist_non_react_statics_cjs = /* @__PURE__ */ __toESM(require_hoist_non_react_statics_cjs(), 1);
6
8
  const getLastRoute = (matchedComponent, lastRoute) => {
7
9
  if (!matchedComponent.props.match?.route) return null;
8
10
  const childPath = matchedComponent.props.match.route.path;
@@ -39,7 +41,7 @@ const withMXLRouting = (WrappedComponent) => {
39
41
  return createElement(WrappedComponent, props);
40
42
  };
41
43
  RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
42
- hoistNonReactStatics(RoutesWithMXLRouting, WrappedComponent);
44
+ (0, import_hoist_non_react_statics_cjs.default)(RoutesWithMXLRouting, WrappedComponent);
43
45
  return RoutesWithMXLRouting;
44
46
  };
45
47
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"withMXLRouting.js","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport type React from 'react';\nimport { createElement } from 'react';\nimport type { Route } from '../../../../../api-page';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants';\nimport { getNavigationInstrumentation } from '../..';\nimport type { RoutesFunctionalComponentReturn } from './types';\n\n// Routes can be nested, we need to traverse the routeContext to find the last route\nconst getLastRoute = (\n matchedComponent: RoutesFunctionalComponentReturn,\n lastRoute: Route | null,\n): Route | null => {\n if (!matchedComponent.props.match?.route) {\n return null;\n }\n\n const childPath = matchedComponent.props.match.route.path;\n const path =\n lastRoute && !childPath.startsWith('/')\n ? `${lastRoute.path}/${childPath}`\n : childPath;\n\n if (matchedComponent.props.routeContext?.outlet) {\n return getLastRoute(matchedComponent.props.routeContext.outlet, {\n path,\n url: matchedComponent.props.match.pathname,\n });\n }\n\n return {\n path,\n url: matchedComponent.props.match.pathname,\n };\n};\n\nexport const withMXLRouting = <P extends object>(\n WrappedComponent: React.FunctionComponent<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Declarative,\n );\n\n const RoutesWithMXLRouting: React.FC<P> = (props: P) => {\n /**\n * React-router v6+ implementation is very different from v5\n * It doesn't have a <Switch> component that injects props into <Route>\n * Instead, it has <Routes> which internally calculates the matched route\n * and returns it as a children, <Route> cannot be wrapped since it requires all children to be a <Route> component\n * here we rely on that matching to get the current route.\n * It's not ideal to rely on internal implementation details, but it's the easier way of getting the current route\n * without having to manually match it or using hooks on each children component\n *\n * See: https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/hooks.tsx#L553\n */\n const matchedComponent = WrappedComponent(\n props,\n ) as unknown as RoutesFunctionalComponentReturn;\n\n if (matchedComponent.props.match?.route) {\n const lastRoute = getLastRoute(matchedComponent, null);\n if (lastRoute) {\n navigationInstrumentation.setCurrentRoute(lastRoute);\n }\n }\n\n return createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RoutesWithMXLRouting, WrappedComponent);\n\n return RoutesWithMXLRouting;\n};\n"],"mappings":";;;;;AASA,MAAM,gBACJ,kBACA,cACiB;AACjB,KAAI,CAAC,iBAAiB,MAAM,OAAO,MACjC,QAAO;CAGT,MAAM,YAAY,iBAAiB,MAAM,MAAM,MAAM;CACrD,MAAM,OACJ,aAAa,CAAC,UAAU,WAAW,IAAI,GACnC,GAAG,UAAU,KAAK,GAAG,cACrB;AAEN,KAAI,iBAAiB,MAAM,cAAc,OACvC,QAAO,aAAa,iBAAiB,MAAM,aAAa,QAAQ;EAC9D;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC,CAAC;AAGJ,QAAO;EACL;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC;;AAGH,MAAa,kBACX,qBACG;CACH,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,2BAEzB;CAED,MAAM,wBAAqC,UAAa;;;;;;;;;;;;EAYtD,MAAM,mBAAmB,iBACvB,MACD;AAED,MAAI,iBAAiB,MAAM,OAAO,OAAO;GACvC,MAAM,YAAY,aAAa,kBAAkB,KAAK;AACtD,OAAI,UACF,2BAA0B,gBAAgB,UAAU;;AAIxD,SAAO,cAAiB,kBAAkB,MAAM;;AAIlD,sBAAqB,cAAc,kBAAkB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AAC1H,sBAAqB,sBAAsB,iBAAiB;AAE5D,QAAO"}
1
+ {"version":3,"file":"withMXLRouting.js","names":[],"sources":["../../../../../../src/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.ts"],"sourcesContent":["import hoistNonReactStatics from 'hoist-non-react-statics';\nimport type React from 'react';\nimport { createElement } from 'react';\nimport type { Route } from '../../../../../api-page/manager/types';\nimport { MXL_NAVIGATION_INSTRUMENTATIONS } from '../../../../../constants/attributes';\nimport { getNavigationInstrumentation } from '../../instance';\nimport type { RoutesFunctionalComponentReturn } from './types';\n\n// Routes can be nested, we need to traverse the routeContext to find the last route\nconst getLastRoute = (\n matchedComponent: RoutesFunctionalComponentReturn,\n lastRoute: Route | null,\n): Route | null => {\n if (!matchedComponent.props.match?.route) {\n return null;\n }\n\n const childPath = matchedComponent.props.match.route.path;\n const path =\n lastRoute && !childPath.startsWith('/')\n ? `${lastRoute.path}/${childPath}`\n : childPath;\n\n if (matchedComponent.props.routeContext?.outlet) {\n return getLastRoute(matchedComponent.props.routeContext.outlet, {\n path,\n url: matchedComponent.props.match.pathname,\n });\n }\n\n return {\n path,\n url: matchedComponent.props.match.pathname,\n };\n};\n\nexport const withMXLRouting = <P extends object>(\n WrappedComponent: React.FunctionComponent<P>,\n) => {\n const navigationInstrumentation = getNavigationInstrumentation();\n navigationInstrumentation.setInstrumentationType(\n MXL_NAVIGATION_INSTRUMENTATIONS.Declarative,\n );\n\n const RoutesWithMXLRouting: React.FC<P> = (props: P) => {\n /**\n * React-router v6+ implementation is very different from v5\n * It doesn't have a <Switch> component that injects props into <Route>\n * Instead, it has <Routes> which internally calculates the matched route\n * and returns it as a children, <Route> cannot be wrapped since it requires all children to be a <Route> component\n * here we rely on that matching to get the current route.\n * It's not ideal to rely on internal implementation details, but it's the easier way of getting the current route\n * without having to manually match it or using hooks on each children component\n *\n * See: https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/hooks.tsx#L553\n */\n const matchedComponent = WrappedComponent(\n props,\n ) as unknown as RoutesFunctionalComponentReturn;\n\n if (matchedComponent.props.match?.route) {\n const lastRoute = getLastRoute(matchedComponent, null);\n if (lastRoute) {\n navigationInstrumentation.setCurrentRoute(lastRoute);\n }\n }\n\n return createElement<P>(WrappedComponent, props);\n };\n\n // Keep wrapped component metadata\n RoutesWithMXLRouting.displayName = `withMXLRouting(${WrappedComponent.displayName || WrappedComponent.name || 'Component'})`;\n hoistNonReactStatics(RoutesWithMXLRouting, WrappedComponent);\n\n return RoutesWithMXLRouting;\n};\n"],"mappings":";;;;;;;AASA,MAAM,gBACJ,kBACA,cACiB;AACjB,KAAI,CAAC,iBAAiB,MAAM,OAAO,MACjC,QAAO;CAGT,MAAM,YAAY,iBAAiB,MAAM,MAAM,MAAM;CACrD,MAAM,OACJ,aAAa,CAAC,UAAU,WAAW,IAAI,GACnC,GAAG,UAAU,KAAK,GAAG,cACrB;AAEN,KAAI,iBAAiB,MAAM,cAAc,OACvC,QAAO,aAAa,iBAAiB,MAAM,aAAa,QAAQ;EAC9D;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC,CAAC;AAGJ,QAAO;EACL;EACA,KAAK,iBAAiB,MAAM,MAAM;EACnC;;AAGH,MAAa,kBACX,qBACG;CACH,MAAM,4BAA4B,8BAA8B;AAChE,2BAA0B,uBAAA,2BAEzB;CAED,MAAM,wBAAqC,UAAa;;;;;;;;;;;;EAYtD,MAAM,mBAAmB,iBACvB,MACD;AAED,MAAI,iBAAiB,MAAM,OAAO,OAAO;GACvC,MAAM,YAAY,aAAa,kBAAkB,KAAK;AACtD,OAAI,UACF,2BAA0B,gBAAgB,UAAU;;AAIxD,SAAO,cAAiB,kBAAkB,MAAM;;AAIlD,sBAAqB,cAAc,kBAAkB,iBAAiB,eAAe,iBAAiB,QAAQ,YAAY;AAC1H,EAAA,GAAA,mCAAA,SAAqB,sBAAsB,iBAAiB;AAE5D,QAAO"}
@@ -1,4 +1,5 @@
1
1
  import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
2
+
2
3
  //#region src/instrumentations/navigation/NavigationInstrumentation/types.d.ts
3
4
  type NavigationInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'> & {
4
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/types.ts"],"mappings":";;KAEY,6BAAA,GAAgC,IAAA,CAC1C,0BAAA;;;AADF;;;;EAUE,qCAAA;AAAA"}
1
+ {"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/types.ts"],"mappings":";;;KACY,6BAAA,GAAgC,IAAA,CAC1C,0BAAA;;AADF;;;;;EAUE,qCAAA;AAAA"}
@@ -1,4 +1,5 @@
1
1
  import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
2
+
2
3
  //#region src/instrumentations/navigation/NavigationInstrumentation/types.d.ts
3
4
  type NavigationInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'> & {
4
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/types.ts"],"mappings":";;KAEY,6BAAA,GAAgC,IAAA,CAC1C,0BAAA;;;AADF;;;;EAUE,qCAAA;AAAA"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/navigation/NavigationInstrumentation/types.ts"],"mappings":";;;KACY,6BAAA,GAAgC,IAAA,CAC1C,0BAAA;;AADF;;;;;EAUE,qCAAA;AAAA"}