@safaricom-mxl/web-sdk 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DATA_EXPORT.md +2 -3
- package/REACT.md +5 -7
- package/README.md +94 -57
- package/UPGRADING.md +29 -19
- package/dist/api-logs/api/LogAPI/LogAPI.cjs +3 -3
- package/dist/api-logs/api/LogAPI/LogAPI.cjs.map +1 -1
- package/dist/api-logs/api/LogAPI/LogAPI.js +3 -3
- package/dist/api-logs/api/LogAPI/LogAPI.js.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js.map +1 -1
- package/dist/api-logs/manager/types.d.cts +4 -4
- package/dist/api-logs/manager/types.d.cts.map +1 -1
- package/dist/api-logs/manager/types.d.ts +4 -4
- package/dist/api-logs/manager/types.d.ts.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.cjs +3 -3
- package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.js +3 -3
- package/dist/api-page/api/PageAPI/PageAPI.js.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs +9 -9
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +5 -7
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +5 -7
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js +9 -9
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -1
- package/dist/api-sessions/index.cjs +4 -4
- package/dist/api-sessions/index.d.cts +4 -4
- package/dist/api-sessions/index.d.ts +4 -4
- package/dist/api-sessions/index.js +3 -3
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs +47 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts +30 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts +30 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js +46 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.cjs +3 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.cts +2 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.ts +2 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.js +2 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs +81 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts +35 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts +35 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js +81 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.cjs +3 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.cts +2 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.ts +2 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.js +2 -0
- package/dist/api-sessions/manager/index.cjs +4 -4
- package/dist/api-sessions/manager/index.d.cts +4 -4
- package/dist/api-sessions/manager/index.d.ts +4 -4
- package/dist/api-sessions/manager/index.js +3 -3
- package/dist/api-sessions/manager/types.d.cts +14 -24
- package/dist/api-sessions/manager/types.d.cts.map +1 -1
- package/dist/api-sessions/manager/types.d.ts +14 -24
- package/dist/api-sessions/manager/types.d.ts.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.cjs +3 -3
- package/dist/api-traces/api/TraceAPI/TraceAPI.cjs.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.js +3 -3
- package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.cts +2 -2
- package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.ts +2 -2
- package/dist/api-traces/api/TraceAPI/types.d.ts.map +1 -1
- package/dist/api-users/api/UserAPI/UserAPI.cjs +3 -3
- package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -1
- package/dist/api-users/api/UserAPI/UserAPI.js +3 -3
- package/dist/api-users/api/UserAPI/UserAPI.js.map +1 -1
- package/dist/common/types.d.cts +2 -0
- package/dist/common/types.d.cts.map +1 -1
- package/dist/common/types.d.ts +2 -0
- package/dist/common/types.d.ts.map +1 -1
- package/dist/constants/attributes.cjs +30 -0
- package/dist/constants/attributes.cjs.map +1 -1
- package/dist/constants/attributes.d.cts +18 -2
- package/dist/constants/attributes.d.cts.map +1 -1
- package/dist/constants/attributes.d.ts +18 -2
- package/dist/constants/attributes.d.ts.map +1 -1
- package/dist/constants/attributes.js +17 -1
- package/dist/constants/attributes.js.map +1 -1
- package/dist/constants/index.cjs +14 -0
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +2 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js.map +1 -1
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs.map +1 -1
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js.map +1 -1
- package/dist/exporters/constants.cjs +1 -1
- package/dist/exporters/constants.cjs.map +1 -1
- package/dist/exporters/constants.d.cts +1 -1
- package/dist/exporters/constants.d.ts +1 -1
- package/dist/exporters/constants.js +1 -1
- package/dist/exporters/constants.js.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.cjs.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs +2 -2
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js +2 -2
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +6 -7
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +4 -5
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +4 -5
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +6 -7
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs +8 -8
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js +8 -8
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs +10 -10
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js +10 -10
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs +2 -2
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js +2 -2
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs +5 -5
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js +5 -5
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs +4 -4
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js +4 -4
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs +7 -7
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js +7 -7
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs +3 -3
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts +4 -4
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts +4 -4
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +4 -4
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -1
- package/dist/instrumentations/index.cjs +2 -4
- package/dist/instrumentations/index.d.cts +4 -6
- package/dist/instrumentations/index.d.ts +4 -6
- package/dist/instrumentations/index.js +2 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs +23 -23
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts +2 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts +2 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js +23 -23
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs +5 -5
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js +5 -5
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts +10 -10
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts +10 -10
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts +2 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts +2 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js.map +1 -1
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs +257 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts +56 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts +56 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js +252 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs +15 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts +9 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts +9 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.js +10 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.js.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/index.js +2 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts +17 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts +17 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs +18 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts +8 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts +8 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js +17 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js.map +1 -0
- package/dist/instrumentations/replay/index.cjs +8 -0
- package/dist/instrumentations/replay/index.d.cts +4 -0
- package/dist/instrumentations/replay/index.d.ts +4 -0
- package/dist/instrumentations/replay/index.js +3 -0
- package/dist/instrumentations/replay/utils/index.cjs +5 -0
- package/dist/instrumentations/replay/utils/index.d.cts +2 -0
- package/dist/instrumentations/replay/utils/index.d.ts +2 -0
- package/dist/instrumentations/replay/utils/index.js +2 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.cjs +79 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.cjs.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.cts +32 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.cts.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.ts +32 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.ts.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.js +73 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.js.map +1 -0
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs +6 -6
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js +6 -6
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/session/index.cjs +0 -6
- package/dist/instrumentations/session/index.d.cts +2 -7
- package/dist/instrumentations/session/index.d.ts +2 -7
- package/dist/instrumentations/session/index.js +1 -4
- package/dist/instrumentations/session/types.d.cts +5 -5
- package/dist/instrumentations/session/types.d.cts.map +1 -1
- package/dist/instrumentations/session/types.d.ts +5 -5
- package/dist/instrumentations/session/types.d.ts.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs +10 -10
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js +10 -10
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +15 -15
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js +15 -15
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts +1 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts +1 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs +0 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js +0 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -1
- package/dist/managers/MXLConfigManager/constants.cjs +2 -2
- package/dist/managers/MXLConfigManager/constants.cjs.map +1 -1
- package/dist/managers/MXLConfigManager/constants.js +2 -2
- package/dist/managers/MXLConfigManager/constants.js.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.cts +8 -7
- package/dist/managers/MXLConfigManager/types.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.ts +8 -7
- package/dist/managers/MXLConfigManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs +20 -20
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.js +20 -20
- package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -1
- package/dist/managers/MXLLimitManager/constants.cjs +20 -20
- package/dist/managers/MXLLimitManager/constants.cjs.map +1 -1
- package/dist/managers/MXLLimitManager/constants.js +20 -20
- package/dist/managers/MXLLimitManager/constants.js.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.cts +8 -8
- package/dist/managers/MXLLimitManager/types.d.cts.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.ts +8 -8
- package/dist/managers/MXLLimitManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.cjs +22 -20
- package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts +2 -2
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts +2 -2
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.js +23 -21
- package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -1
- package/dist/managers/MXLLogManager/types.d.cts +2 -2
- package/dist/managers/MXLLogManager/types.d.ts +2 -2
- package/dist/managers/MXLPageManager/MXLPageManager.cjs +1 -3
- package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.d.cts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.d.ts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.js +1 -3
- package/dist/managers/MXLPageManager/MXLPageManager.js.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs +0 -4
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js +0 -4
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.js.map +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.cjs +14 -14
- package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.js +14 -14
- package/dist/managers/MXLUserManager/MXLUserManager.js.map +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs +574 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts +142 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts +142 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js +572 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.cjs +55 -0
- package/dist/managers/MXLUserSessionManager/constants.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.d.cts +31 -0
- package/dist/managers/MXLUserSessionManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.d.ts +31 -0
- package/dist/managers/MXLUserSessionManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.js +37 -0
- package/dist/managers/MXLUserSessionManager/constants.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/index.cjs +6 -0
- package/dist/managers/MXLUserSessionManager/index.d.cts +4 -0
- package/dist/managers/MXLUserSessionManager/index.d.ts +4 -0
- package/dist/managers/MXLUserSessionManager/index.js +3 -0
- package/dist/managers/MXLUserSessionManager/types.d.cts +84 -0
- package/dist/managers/MXLUserSessionManager/types.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/types.d.ts +84 -0
- package/dist/managers/MXLUserSessionManager/types.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.cjs +25 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.cts +40 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.ts +40 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.js +22 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/index.cjs +11 -0
- package/dist/managers/MXLUserSessionManager/utils/index.d.cts +3 -0
- package/dist/managers/MXLUserSessionManager/utils/index.d.ts +3 -0
- package/dist/managers/MXLUserSessionManager/utils/index.js +3 -0
- package/dist/managers/MXLUserSessionManager/utils/state.cjs +78 -0
- package/dist/managers/MXLUserSessionManager/utils/state.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.cts +39 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.ts +39 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.js +73 -0
- package/dist/managers/MXLUserSessionManager/utils/state.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs +132 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts +33 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts +33 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js +127 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js.map +1 -0
- package/dist/managers/index.cjs +5 -2
- package/dist/managers/index.d.cts +4 -3
- package/dist/managers/index.d.ts +4 -3
- package/dist/managers/index.js +3 -2
- package/dist/mxl-web-sdk.js +1 -58
- package/dist/mxl-web-sdk.js.map +1 -1
- package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.js.map +1 -1
- package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.cjs.map +1 -1
- package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.js.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/types.d.cts +2 -2
- package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/types.d.ts +2 -2
- package/dist/processors/LogRecordScrubProcessor/types.d.ts.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/types.d.cts +2 -2
- package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/types.d.ts +2 -2
- package/dist/processors/MXLLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/types.cjs.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/types.js.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs +74 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts +28 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts +28 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js +72 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.cjs +3 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.cts +3 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.ts +3 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.js +2 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts +15 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts +15 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts.map +1 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.js.map +1 -1
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs.map +1 -1
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js.map +1 -1
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs +34 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts +16 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts +16 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js +32 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/index.cjs +3 -0
- package/dist/processors/UserSessionLogRecordProcessor/index.d.cts +3 -0
- package/dist/processors/UserSessionLogRecordProcessor/index.d.ts +3 -0
- package/dist/processors/UserSessionLogRecordProcessor/index.js +2 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts +8 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts +8 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts.map +1 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs.map +1 -1
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.js.map +1 -1
- package/dist/processors/index.cjs +4 -4
- package/dist/processors/index.d.cts +3 -3
- package/dist/processors/index.d.ts +3 -3
- package/dist/processors/index.js +3 -3
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs.map +1 -1
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js.map +1 -1
- package/dist/resources/appInstanceId.cjs +4 -4
- package/dist/resources/appInstanceId.cjs.map +1 -1
- package/dist/resources/appInstanceId.js +4 -4
- package/dist/resources/appInstanceId.js.map +1 -1
- package/dist/resources/constants/index.cjs +1 -1
- package/dist/resources/constants/index.cjs.map +1 -1
- package/dist/resources/constants/index.d.cts +1 -1
- package/dist/resources/constants/index.d.ts +1 -1
- package/dist/resources/constants/index.js +1 -1
- package/dist/resources/constants/index.js.map +1 -1
- package/dist/resources/webSdkResource.cjs +15 -19
- package/dist/resources/webSdkResource.cjs.map +1 -1
- package/dist/resources/webSdkResource.d.cts.map +1 -1
- package/dist/resources/webSdkResource.d.ts.map +1 -1
- package/dist/resources/webSdkResource.js +15 -19
- package/dist/resources/webSdkResource.js.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.cjs +8 -8
- package/dist/sdk/defaultAttributeScrubbers.cjs.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.js +8 -8
- package/dist/sdk/defaultAttributeScrubbers.js.map +1 -1
- package/dist/sdk/index.d.cts +3 -2
- package/dist/sdk/index.d.ts +3 -2
- package/dist/sdk/initSDK.cjs +139 -98
- package/dist/sdk/initSDK.cjs.map +1 -1
- package/dist/sdk/initSDK.d.cts +4 -2
- package/dist/sdk/initSDK.d.cts.map +1 -1
- package/dist/sdk/initSDK.d.ts +4 -2
- package/dist/sdk/initSDK.d.ts.map +1 -1
- package/dist/sdk/initSDK.js +139 -98
- package/dist/sdk/initSDK.js.map +1 -1
- package/dist/sdk/noopSessionRecording.cjs +10 -0
- package/dist/sdk/noopSessionRecording.cjs.map +1 -0
- package/dist/sdk/noopSessionRecording.d.cts +7 -0
- package/dist/sdk/noopSessionRecording.d.cts.map +1 -0
- package/dist/sdk/noopSessionRecording.d.ts +7 -0
- package/dist/sdk/noopSessionRecording.d.ts.map +1 -0
- package/dist/sdk/noopSessionRecording.js +9 -0
- package/dist/sdk/noopSessionRecording.js.map +1 -0
- package/dist/sdk/registry.cjs +1 -3
- package/dist/sdk/registry.cjs.map +1 -1
- package/dist/sdk/registry.d.cts.map +1 -1
- package/dist/sdk/registry.d.ts.map +1 -1
- package/dist/sdk/registry.js +1 -3
- package/dist/sdk/registry.js.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.cjs +9 -5
- package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.cts +5 -2
- package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.ts +5 -2
- package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.js +9 -5
- package/dist/sdk/setupDefaultInstrumentations.js.map +1 -1
- package/dist/sdk/types.d.cts +68 -56
- package/dist/sdk/types.d.cts.map +1 -1
- package/dist/sdk/types.d.ts +69 -57
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/sdk/utils.cjs +1 -1
- package/dist/sdk/utils.cjs.map +1 -1
- package/dist/sdk/utils.d.cts.map +1 -1
- package/dist/sdk/utils.d.ts.map +1 -1
- package/dist/sdk/utils.js +1 -1
- package/dist/sdk/utils.js.map +1 -1
- package/dist/transport/FetchTransport/FetchTransport.cjs +13 -13
- package/dist/transport/FetchTransport/FetchTransport.cjs.map +1 -1
- package/dist/transport/FetchTransport/FetchTransport.js +13 -13
- package/dist/transport/FetchTransport/FetchTransport.js.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.cjs +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.js +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.js.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.cjs +69 -24
- package/dist/utils/NamespacedStorage/NamespacedStorage.cjs.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts +27 -13
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts +27 -13
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.js +68 -24
- package/dist/utils/NamespacedStorage/NamespacedStorage.js.map +1 -1
- package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs.map +1 -1
- package/dist/utils/PerformanceManager/OTelPerformanceManager.js.map +1 -1
- package/dist/utils/clampNumber.cjs +23 -0
- package/dist/utils/clampNumber.cjs.map +1 -0
- package/dist/utils/clampNumber.d.cts +24 -0
- package/dist/utils/clampNumber.d.cts.map +1 -0
- package/dist/utils/clampNumber.d.ts +24 -0
- package/dist/utils/clampNumber.d.ts.map +1 -0
- package/dist/utils/clampNumber.js +22 -0
- package/dist/utils/clampNumber.js.map +1 -0
- package/dist/utils/createSafeProxy/createSafeProxy.cjs +2 -2
- package/dist/utils/createSafeProxy/createSafeProxy.cjs.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.d.cts.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.d.ts.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.js +2 -2
- package/dist/utils/createSafeProxy/createSafeProxy.js.map +1 -1
- package/dist/utils/generateWebVitalID.cjs +1 -3
- package/dist/utils/generateWebVitalID.cjs.map +1 -1
- package/dist/utils/generateWebVitalID.js +1 -3
- package/dist/utils/generateWebVitalID.js.map +1 -1
- package/dist/utils/getIncrementedCount.cjs +2 -2
- package/dist/utils/getIncrementedCount.cjs.map +1 -1
- package/dist/utils/getIncrementedCount.js +2 -2
- package/dist/utils/getIncrementedCount.js.map +1 -1
- package/dist/utils/globalConfig.cjs.map +1 -1
- package/dist/utils/globalConfig.d.cts +2 -2
- package/dist/utils/globalConfig.d.cts.map +1 -1
- package/dist/utils/globalConfig.d.ts +2 -2
- package/dist/utils/globalConfig.d.ts.map +1 -1
- package/dist/utils/globalConfig.js.map +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -2
- package/dist/utils/isDeviceIdEnabled.cjs.map +1 -1
- package/dist/utils/isDeviceIdEnabled.js.map +1 -1
- package/dist/utils/performanceObserver/performanceObserver.cjs +3 -3
- package/dist/utils/performanceObserver/performanceObserver.cjs.map +1 -1
- package/dist/utils/performanceObserver/performanceObserver.js +3 -3
- package/dist/utils/performanceObserver/performanceObserver.js.map +1 -1
- package/dist/utils/throttle.cjs +13 -9
- package/dist/utils/throttle.cjs.map +1 -1
- package/dist/utils/throttle.d.cts +6 -3
- package/dist/utils/throttle.d.cts.map +1 -1
- package/dist/utils/throttle.d.ts +6 -3
- package/dist/utils/throttle.d.ts.map +1 -1
- package/dist/utils/throttle.js +13 -9
- package/dist/utils/throttle.js.map +1 -1
- package/package.json +56 -56
- package/dist/api-sessions/api/SessionAPI/types.d.cts +0 -8
- package/dist/api-sessions/api/SessionAPI/types.d.cts.map +0 -1
- package/dist/api-sessions/api/SessionAPI/types.d.ts +0 -8
- package/dist/api-sessions/api/SessionAPI/types.d.ts.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs +0 -31
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts +0 -24
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts +0 -24
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js +0 -30
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.js +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs +0 -55
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts +0 -27
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts +0 -27
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js +0 -55
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.js +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs +0 -27
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts +0 -15
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts +0 -15
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js +0 -25
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.js +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts +0 -9
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts +0 -9
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/fetch/index.cjs +0 -3
- package/dist/instrumentations/fetch/index.d.cts +0 -3
- package/dist/instrumentations/fetch/index.d.ts +0 -3
- package/dist/instrumentations/fetch/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs +0 -60
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts +0 -24
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts +0 -24
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js +0 -59
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs +0 -19
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts +0 -10
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts +0 -10
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js +0 -16
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs +0 -24
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts +0 -14
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts +0 -14
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js +0 -23
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs +0 -55
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts +0 -22
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts +0 -22
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js +0 -54
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs +0 -7
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts +0 -5
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts +0 -5
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs +0 -38
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts +0 -17
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts +0 -17
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js +0 -37
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts +0 -10
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts +0 -10
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.js +0 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs +0 -27
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts +0 -15
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts +0 -15
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js +0 -25
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.js +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts +0 -9
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts +0 -9
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.js +0 -0
- package/dist/instrumentations/xhr/index.cjs +0 -3
- package/dist/instrumentations/xhr/index.d.cts +0 -3
- package/dist/instrumentations/xhr/index.d.ts +0 -3
- package/dist/instrumentations/xhr/index.js +0 -2
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs +0 -350
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts +0 -72
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts +0 -72
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js +0 -348
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.cjs +0 -11
- package/dist/managers/MXLSpanSessionManager/constants.cjs.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.d.cts +0 -7
- package/dist/managers/MXLSpanSessionManager/constants.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.d.ts +0 -7
- package/dist/managers/MXLSpanSessionManager/constants.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.js +0 -8
- package/dist/managers/MXLSpanSessionManager/constants.js.map +0 -1
- package/dist/managers/MXLSpanSessionManager/index.cjs +0 -3
- package/dist/managers/MXLSpanSessionManager/index.d.cts +0 -3
- package/dist/managers/MXLSpanSessionManager/index.d.ts +0 -3
- package/dist/managers/MXLSpanSessionManager/index.js +0 -2
- package/dist/managers/MXLSpanSessionManager/types.cjs +0 -0
- package/dist/managers/MXLSpanSessionManager/types.d.cts +0 -41
- package/dist/managers/MXLSpanSessionManager/types.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/types.d.ts +0 -41
- package/dist/managers/MXLSpanSessionManager/types.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/types.js +0 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs +0 -28
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts +0 -16
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts +0 -16
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js +0 -26
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.js +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts +0 -9
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts +0 -9
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.js +0 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs +0 -95
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts +0 -34
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts +0 -34
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js +0 -93
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.cjs +0 -3
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.cts +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.ts +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.js +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.cjs +0 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts +0 -19
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts +0 -19
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.js +0 -0
- package/dist/sdk/setupSessionRecorder.cjs +0 -45
- package/dist/sdk/setupSessionRecorder.cjs.map +0 -1
- package/dist/sdk/setupSessionRecorder.d.cts +0 -21
- package/dist/sdk/setupSessionRecorder.d.cts.map +0 -1
- package/dist/sdk/setupSessionRecorder.d.ts +0 -21
- package/dist/sdk/setupSessionRecorder.d.ts.map +0 -1
- package/dist/sdk/setupSessionRecorder.js +0 -42
- package/dist/sdk/setupSessionRecorder.js.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs +0 -116
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts +0 -42
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts +0 -42
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js +0 -114
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js.map +0 -1
- package/dist/utils/MXLSpanStorage/index.cjs +0 -3
- package/dist/utils/MXLSpanStorage/index.d.cts +0 -2
- package/dist/utils/MXLSpanStorage/index.d.ts +0 -2
- package/dist/utils/MXLSpanStorage/index.js +0 -2
- package/dist/utils/MXLSpanStorage/types.cjs +0 -0
- package/dist/utils/MXLSpanStorage/types.d.cts +0 -2
- package/dist/utils/MXLSpanStorage/types.d.ts +0 -2
- package/dist/utils/MXLSpanStorage/types.js +0 -0
- /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.cjs +0 -0
- /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.js +0 -0
- /package/dist/{instrumentations/fetch/MXLFetchInstrumentation → managers/MXLUserSessionManager}/types.cjs +0 -0
- /package/dist/{instrumentations/fetch/MXLFetchInstrumentation → managers/MXLUserSessionManager}/types.js +0 -0
- /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.cjs +0 -0
- /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.js +0 -0
- /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/UserSessionLogRecordProcessor}/types.cjs +0 -0
- /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/UserSessionLogRecordProcessor}/types.js +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { isWrapped } from "@opentelemetry/instrumentation";
|
|
2
|
-
import { FetchInstrumentation } from "@opentelemetry/instrumentation-fetch";
|
|
3
|
-
//#region src/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.ts
|
|
4
|
-
var MXLFetchInstrumentation = class extends FetchInstrumentation {
|
|
5
|
-
_omitIfAlreadyPatched;
|
|
6
|
-
constructor({ omitIfAlreadyPatched, ...rest } = {}) {
|
|
7
|
-
super({
|
|
8
|
-
...rest,
|
|
9
|
-
enabled: false
|
|
10
|
-
});
|
|
11
|
-
this._omitIfAlreadyPatched = omitIfAlreadyPatched;
|
|
12
|
-
if (rest.enabled) this.enable();
|
|
13
|
-
}
|
|
14
|
-
enable() {
|
|
15
|
-
if (this._omitIfAlreadyPatched && isWrapped(fetch)) {
|
|
16
|
-
this._diag.debug("fetch is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation");
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
super.enable();
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
//#endregion
|
|
23
|
-
export { MXLFetchInstrumentation };
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=MXLFetchInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MXLFetchInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.ts"],"sourcesContent":["import { isWrapped } from '@opentelemetry/instrumentation';\n\nimport { FetchInstrumentation } from '@opentelemetry/instrumentation-fetch';\nimport type { MXLFetchInstrumentationArgs } from './types';\n\nexport class MXLFetchInstrumentation extends FetchInstrumentation {\n private readonly _omitIfAlreadyPatched?: boolean;\n\n public constructor({\n omitIfAlreadyPatched,\n ...rest\n }: MXLFetchInstrumentationArgs = {}) {\n // Base constructor automatically calls this.enable() if enabled is true, but we need to run our overridden constructor\n // first so force enabled false here and call it ourselves later\n super({ ...rest, enabled: false });\n\n this._omitIfAlreadyPatched = omitIfAlreadyPatched;\n\n if (rest.enabled) {\n this.enable();\n }\n }\n\n public override enable(): void {\n // The base implementation always removes and then re-patches, this means the last instrumentation to run \"wins\":\n // https://github.com/open-telemetry/opentelemetry-js/blob/2d7eecbb19aec17bf2d8b9a4e4b2d84dc92c2d88/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L604\n // Exposing an option in this class to allow leaving the existing patch in place and letting a previous instrumentation\n // control the global\n if (this._omitIfAlreadyPatched && isWrapped(fetch)) {\n this._diag.debug(\n 'fetch is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation',\n );\n return;\n }\n\n super.enable();\n }\n}\n"],"mappings":";;;AAKA,IAAa,0BAAb,cAA6C,qBAAqB;CAChE;CAEA,YAAmB,EACjB,sBACA,GAAG,SAC4B,EAAE,EAAE;AAGnC,QAAM;GAAE,GAAG;GAAM,SAAS;GAAO,CAAC;AAElC,OAAK,wBAAwB;AAE7B,MAAI,KAAK,QACP,MAAK,QAAQ;;CAIjB,SAA+B;AAK7B,MAAI,KAAK,yBAAyB,UAAU,MAAM,EAAE;AAClD,QAAK,MAAM,MACT,qGACD;AACD;;AAGF,QAAM,QAAQ"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_fetch_MXLFetchInstrumentation_MXLFetchInstrumentation = require("./MXLFetchInstrumentation.cjs");
|
|
3
|
-
exports.MXLFetchInstrumentation = require_instrumentations_fetch_MXLFetchInstrumentation_MXLFetchInstrumentation.MXLFetchInstrumentation;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FetchInstrumentationConfig } from "@opentelemetry/instrumentation-fetch";
|
|
2
|
-
|
|
3
|
-
//#region src/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts
|
|
4
|
-
type MXLFetchInstrumentationArgs = FetchInstrumentationConfig & {
|
|
5
|
-
omitIfAlreadyPatched?: boolean;
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MXLFetchInstrumentationArgs };
|
|
9
|
-
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/fetch/MXLFetchInstrumentation/types.ts"],"mappings":";;;KAEY,2BAAA,GAA8B,0BAAA;EACxC,oBAAA;AAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FetchInstrumentationConfig } from "@opentelemetry/instrumentation-fetch";
|
|
2
|
-
|
|
3
|
-
//#region src/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts
|
|
4
|
-
type MXLFetchInstrumentationArgs = FetchInstrumentationConfig & {
|
|
5
|
-
omitIfAlreadyPatched?: boolean;
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MXLFetchInstrumentationArgs };
|
|
9
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/fetch/MXLFetchInstrumentation/types.ts"],"mappings":";;;KAEY,2BAAA,GAA8B,0BAAA;EACxC,oBAAA;AAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_fetch_MXLFetchInstrumentation_MXLFetchInstrumentation = require("./MXLFetchInstrumentation/MXLFetchInstrumentation.cjs");
|
|
3
|
-
exports.MXLFetchInstrumentation = require_instrumentations_fetch_MXLFetchInstrumentation_MXLFetchInstrumentation.MXLFetchInstrumentation;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_utils_bulkAddEventListener_bulkAddEventListener = require("../../../utils/bulkAddEventListener/bulkAddEventListener.cjs");
|
|
3
|
-
const require_utils_bulkRemoveEventListener_bulkRemoveEventListener = require("../../../utils/bulkRemoveEventListener/bulkRemoveEventListener.cjs");
|
|
4
|
-
const require_utils_throttle = require("../../../utils/throttle.cjs");
|
|
5
|
-
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
6
|
-
const require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_constants = require("./constants.cjs");
|
|
7
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts
|
|
8
|
-
/**
|
|
9
|
-
* SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no
|
|
10
|
-
* activity for a certain amount of time.
|
|
11
|
-
* SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no
|
|
12
|
-
* active session.
|
|
13
|
-
* */
|
|
14
|
-
var SpanSessionBrowserActivityInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
15
|
-
_onActivityThrottled;
|
|
16
|
-
_activityTimeout;
|
|
17
|
-
constructor({ diag } = {}) {
|
|
18
|
-
super({
|
|
19
|
-
instrumentationName: "SpanSessionBrowserActivityInstrumentation",
|
|
20
|
-
instrumentationVersion: "1.0.0",
|
|
21
|
-
diag,
|
|
22
|
-
config: {}
|
|
23
|
-
});
|
|
24
|
-
this._activityTimeout = null;
|
|
25
|
-
this._onActivityThrottled = require_utils_throttle.throttle(this._onActivity, require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_constants.EVENT_THROTTLING_TIME_WINDOW);
|
|
26
|
-
if (this._config.enabled) this.enable();
|
|
27
|
-
}
|
|
28
|
-
disable = () => {
|
|
29
|
-
require_utils_bulkRemoveEventListener_bulkRemoveEventListener.bulkRemoveEventListener({
|
|
30
|
-
target: window,
|
|
31
|
-
events: require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_constants.WINDOW_USER_EVENTS,
|
|
32
|
-
callback: this._onActivityThrottled
|
|
33
|
-
});
|
|
34
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
35
|
-
this._activityTimeout = null;
|
|
36
|
-
};
|
|
37
|
-
enable = () => {
|
|
38
|
-
require_utils_bulkAddEventListener_bulkAddEventListener.bulkAddEventListener({
|
|
39
|
-
target: window,
|
|
40
|
-
events: require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_constants.WINDOW_USER_EVENTS,
|
|
41
|
-
callback: this._onActivityThrottled
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
_onInactivity = () => {
|
|
45
|
-
this._diag.debug("Inactivity detected");
|
|
46
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
47
|
-
this._activityTimeout = null;
|
|
48
|
-
this.sessionManager.endSessionSpanInternal("inactivity");
|
|
49
|
-
};
|
|
50
|
-
_onActivity = () => {
|
|
51
|
-
this._diag.debug("Activity detected");
|
|
52
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
53
|
-
if (!this.sessionManager.getSessionId()) this.sessionManager.startSessionSpan({ reason: "activity" });
|
|
54
|
-
this._activityTimeout = setTimeout(this._onInactivity, require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_constants.TIMEOUT_TIME);
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
//#endregion
|
|
58
|
-
exports.SpanSessionBrowserActivityInstrumentation = SpanSessionBrowserActivityInstrumentation;
|
|
59
|
-
|
|
60
|
-
//# sourceMappingURL=SpanSessionBrowserActivityInstrumentation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionBrowserActivityInstrumentation.cjs","names":["MXLInstrumentationBase","throttle","EVENT_THROTTLING_TIME_WINDOW","WINDOW_USER_EVENTS","TIMEOUT_TIME"],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport {\n bulkAddEventListener,\n bulkRemoveEventListener,\n throttle,\n} from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport {\n EVENT_THROTTLING_TIME_WINDOW,\n TIMEOUT_TIME,\n WINDOW_USER_EVENTS,\n} from './constants';\nimport type { SpanSessionBrowserActivityInstrumentationArgs } from './types';\n\n/**\n * SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no\n * activity for a certain amount of time.\n * SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no\n * active session.\n * */\nexport class SpanSessionBrowserActivityInstrumentation extends MXLInstrumentationBase {\n private readonly _onActivityThrottled: () => void;\n private _activityTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n }: SpanSessionBrowserActivityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionBrowserActivityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n this._activityTimeout = null;\n this._onActivityThrottled = throttle(\n this._onActivity,\n EVENT_THROTTLING_TIME_WINDOW,\n );\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n bulkRemoveEventListener({\n target: window,\n events: WINDOW_USER_EVENTS,\n callback: this._onActivityThrottled,\n });\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n this._activityTimeout = null;\n };\n\n public enable = () => {\n bulkAddEventListener({\n target: window,\n events: WINDOW_USER_EVENTS,\n callback: this._onActivityThrottled,\n });\n };\n\n private readonly _onInactivity = () => {\n this._diag.debug('Inactivity detected');\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n this._activityTimeout = null;\n this.sessionManager.endSessionSpanInternal('inactivity');\n };\n\n private readonly _onActivity = () => {\n this._diag.debug('Activity detected');\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n // if there was no active session, start one\n if (!this.sessionManager.getSessionId()) {\n this.sessionManager.startSessionSpan({ reason: 'activity' });\n }\n this._activityTimeout = setTimeout(this._onInactivity, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;;;;;;;AAoBA,IAAa,4CAAb,cAA+DA,uEAAAA,uBAAuB;CACpF;CACA;CAEA,YAAmB,EACjB,SACiD,EAAE,EAAE;AACrD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,mBAAmB;AACxB,OAAK,uBAAuBC,uBAAAA,SAC1B,KAAK,aACLC,qFAAAA,6BACD;AACD,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,gEAAA,wBAAwB;GACtB,QAAQ;GACR,QAAQC,qFAAAA;GACR,UAAU,KAAK;GAChB,CAAC;AACF,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAErC,OAAK,mBAAmB;;CAG1B,eAAsB;AACpB,0DAAA,qBAAqB;GACnB,QAAQ;GACR,QAAQA,qFAAAA;GACR,UAAU,KAAK;GAChB,CAAC;;CAGJ,sBAAuC;AACrC,OAAK,MAAM,MAAM,sBAAsB;AACvC,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAErC,OAAK,mBAAmB;AACxB,OAAK,eAAe,uBAAuB,aAAa;;CAG1D,oBAAqC;AACnC,OAAK,MAAM,MAAM,oBAAoB;AACrC,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAGrC,MAAI,CAAC,KAAK,eAAe,cAAc,CACrC,MAAK,eAAe,iBAAiB,EAAE,QAAQ,YAAY,CAAC;AAE9D,OAAK,mBAAmB,WAAW,KAAK,eAAeC,qFAAAA,aAAa"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
-
import { SpanSessionBrowserActivityInstrumentationArgs } from "./types.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no
|
|
7
|
-
* activity for a certain amount of time.
|
|
8
|
-
* SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no
|
|
9
|
-
* active session.
|
|
10
|
-
* */
|
|
11
|
-
declare class SpanSessionBrowserActivityInstrumentation extends MXLInstrumentationBase {
|
|
12
|
-
private readonly _onActivityThrottled;
|
|
13
|
-
private _activityTimeout;
|
|
14
|
-
constructor({
|
|
15
|
-
diag
|
|
16
|
-
}?: SpanSessionBrowserActivityInstrumentationArgs);
|
|
17
|
-
disable: () => void;
|
|
18
|
-
enable: () => void;
|
|
19
|
-
private readonly _onInactivity;
|
|
20
|
-
private readonly _onActivity;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { SpanSessionBrowserActivityInstrumentation };
|
|
24
|
-
//# sourceMappingURL=SpanSessionBrowserActivityInstrumentation.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionBrowserActivityInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts"],"mappings":";;;;;;;AAoBA;;;cAAa,yCAAA,SAAkD,sBAAA;EAAA,iBAC5C,oBAAA;EAAA,QACT,gBAAA;;IAGN;EAAA,IACC,6CAAA;EAiBI,OAAA;EAYA,MAAA;EAAA,iBAQU,aAAA;EAAA,iBASA,WAAA;AAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
import { SpanSessionBrowserActivityInstrumentationArgs } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no
|
|
7
|
-
* activity for a certain amount of time.
|
|
8
|
-
* SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no
|
|
9
|
-
* active session.
|
|
10
|
-
* */
|
|
11
|
-
declare class SpanSessionBrowserActivityInstrumentation extends MXLInstrumentationBase {
|
|
12
|
-
private readonly _onActivityThrottled;
|
|
13
|
-
private _activityTimeout;
|
|
14
|
-
constructor({
|
|
15
|
-
diag
|
|
16
|
-
}?: SpanSessionBrowserActivityInstrumentationArgs);
|
|
17
|
-
disable: () => void;
|
|
18
|
-
enable: () => void;
|
|
19
|
-
private readonly _onInactivity;
|
|
20
|
-
private readonly _onActivity;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { SpanSessionBrowserActivityInstrumentation };
|
|
24
|
-
//# sourceMappingURL=SpanSessionBrowserActivityInstrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionBrowserActivityInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts"],"mappings":";;;;;;;AAoBA;;;cAAa,yCAAA,SAAkD,sBAAA;EAAA,iBAC5C,oBAAA;EAAA,QACT,gBAAA;;IAGN;EAAA,IACC,6CAAA;EAiBI,OAAA;EAYA,MAAA;EAAA,iBAQU,aAAA;EAAA,iBASA,WAAA;AAAA"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { bulkAddEventListener } from "../../../utils/bulkAddEventListener/bulkAddEventListener.js";
|
|
2
|
-
import { bulkRemoveEventListener } from "../../../utils/bulkRemoveEventListener/bulkRemoveEventListener.js";
|
|
3
|
-
import { throttle } from "../../../utils/throttle.js";
|
|
4
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
5
|
-
import { EVENT_THROTTLING_TIME_WINDOW, TIMEOUT_TIME, WINDOW_USER_EVENTS } from "./constants.js";
|
|
6
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts
|
|
7
|
-
/**
|
|
8
|
-
* SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no
|
|
9
|
-
* activity for a certain amount of time.
|
|
10
|
-
* SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no
|
|
11
|
-
* active session.
|
|
12
|
-
* */
|
|
13
|
-
var SpanSessionBrowserActivityInstrumentation = class extends MXLInstrumentationBase {
|
|
14
|
-
_onActivityThrottled;
|
|
15
|
-
_activityTimeout;
|
|
16
|
-
constructor({ diag } = {}) {
|
|
17
|
-
super({
|
|
18
|
-
instrumentationName: "SpanSessionBrowserActivityInstrumentation",
|
|
19
|
-
instrumentationVersion: "1.0.0",
|
|
20
|
-
diag,
|
|
21
|
-
config: {}
|
|
22
|
-
});
|
|
23
|
-
this._activityTimeout = null;
|
|
24
|
-
this._onActivityThrottled = throttle(this._onActivity, EVENT_THROTTLING_TIME_WINDOW);
|
|
25
|
-
if (this._config.enabled) this.enable();
|
|
26
|
-
}
|
|
27
|
-
disable = () => {
|
|
28
|
-
bulkRemoveEventListener({
|
|
29
|
-
target: window,
|
|
30
|
-
events: WINDOW_USER_EVENTS,
|
|
31
|
-
callback: this._onActivityThrottled
|
|
32
|
-
});
|
|
33
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
34
|
-
this._activityTimeout = null;
|
|
35
|
-
};
|
|
36
|
-
enable = () => {
|
|
37
|
-
bulkAddEventListener({
|
|
38
|
-
target: window,
|
|
39
|
-
events: WINDOW_USER_EVENTS,
|
|
40
|
-
callback: this._onActivityThrottled
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
_onInactivity = () => {
|
|
44
|
-
this._diag.debug("Inactivity detected");
|
|
45
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
46
|
-
this._activityTimeout = null;
|
|
47
|
-
this.sessionManager.endSessionSpanInternal("inactivity");
|
|
48
|
-
};
|
|
49
|
-
_onActivity = () => {
|
|
50
|
-
this._diag.debug("Activity detected");
|
|
51
|
-
if (this._activityTimeout) clearTimeout(this._activityTimeout);
|
|
52
|
-
if (!this.sessionManager.getSessionId()) this.sessionManager.startSessionSpan({ reason: "activity" });
|
|
53
|
-
this._activityTimeout = setTimeout(this._onInactivity, TIMEOUT_TIME);
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
//#endregion
|
|
57
|
-
export { SpanSessionBrowserActivityInstrumentation };
|
|
58
|
-
|
|
59
|
-
//# sourceMappingURL=SpanSessionBrowserActivityInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionBrowserActivityInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport {\n bulkAddEventListener,\n bulkRemoveEventListener,\n throttle,\n} from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport {\n EVENT_THROTTLING_TIME_WINDOW,\n TIMEOUT_TIME,\n WINDOW_USER_EVENTS,\n} from './constants';\nimport type { SpanSessionBrowserActivityInstrumentationArgs } from './types';\n\n/**\n * SpanSessionBrowserActivityInstrumentation will track the user activity and end the session span if there is no\n * activity for a certain amount of time.\n * SpanSessionBrowserActivityInstrumentation will initialize new sessions if new activity is detected and there is no\n * active session.\n * */\nexport class SpanSessionBrowserActivityInstrumentation extends MXLInstrumentationBase {\n private readonly _onActivityThrottled: () => void;\n private _activityTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n }: SpanSessionBrowserActivityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionBrowserActivityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n this._activityTimeout = null;\n this._onActivityThrottled = throttle(\n this._onActivity,\n EVENT_THROTTLING_TIME_WINDOW,\n );\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n bulkRemoveEventListener({\n target: window,\n events: WINDOW_USER_EVENTS,\n callback: this._onActivityThrottled,\n });\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n this._activityTimeout = null;\n };\n\n public enable = () => {\n bulkAddEventListener({\n target: window,\n events: WINDOW_USER_EVENTS,\n callback: this._onActivityThrottled,\n });\n };\n\n private readonly _onInactivity = () => {\n this._diag.debug('Inactivity detected');\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n this._activityTimeout = null;\n this.sessionManager.endSessionSpanInternal('inactivity');\n };\n\n private readonly _onActivity = () => {\n this._diag.debug('Activity detected');\n if (this._activityTimeout) {\n clearTimeout(this._activityTimeout);\n }\n // if there was no active session, start one\n if (!this.sessionManager.getSessionId()) {\n this.sessionManager.startSessionSpan({ reason: 'activity' });\n }\n this._activityTimeout = setTimeout(this._onInactivity, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;;;;;;AAoBA,IAAa,4CAAb,cAA+D,uBAAuB;CACpF;CACA;CAEA,YAAmB,EACjB,SACiD,EAAE,EAAE;AACrD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,mBAAmB;AACxB,OAAK,uBAAuB,SAC1B,KAAK,aACL,6BACD;AACD,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,0BAAwB;GACtB,QAAQ;GACR,QAAQ;GACR,UAAU,KAAK;GAChB,CAAC;AACF,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAErC,OAAK,mBAAmB;;CAG1B,eAAsB;AACpB,uBAAqB;GACnB,QAAQ;GACR,QAAQ;GACR,UAAU,KAAK;GAChB,CAAC;;CAGJ,sBAAuC;AACrC,OAAK,MAAM,MAAM,sBAAsB;AACvC,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAErC,OAAK,mBAAmB;AACxB,OAAK,eAAe,uBAAuB,aAAa;;CAG1D,oBAAqC;AACnC,OAAK,MAAM,MAAM,oBAAoB;AACrC,MAAI,KAAK,iBACP,cAAa,KAAK,iBAAiB;AAGrC,MAAI,CAAC,KAAK,eAAe,cAAc,CACrC,MAAK,eAAe,iBAAiB,EAAE,QAAQ,YAAY,CAAC;AAE9D,OAAK,mBAAmB,WAAW,KAAK,eAAe,aAAa"}
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts
|
|
3
|
-
/** 30 minutes */
|
|
4
|
-
const TIMEOUT_TIME = 1800 * 1e3;
|
|
5
|
-
/** 30 seconds */
|
|
6
|
-
const EVENT_THROTTLING_TIME_WINDOW = 30 * 1e3;
|
|
7
|
-
/** List of events we listen for user interactions*/
|
|
8
|
-
const WINDOW_USER_EVENTS = [
|
|
9
|
-
"keydown",
|
|
10
|
-
"mousedown",
|
|
11
|
-
"mousemove",
|
|
12
|
-
"scroll"
|
|
13
|
-
];
|
|
14
|
-
//#endregion
|
|
15
|
-
exports.EVENT_THROTTLING_TIME_WINDOW = EVENT_THROTTLING_TIME_WINDOW;
|
|
16
|
-
exports.TIMEOUT_TIME = TIMEOUT_TIME;
|
|
17
|
-
exports.WINDOW_USER_EVENTS = WINDOW_USER_EVENTS;
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=constants.cjs.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.cjs","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts"],"sourcesContent":["/** 30 minutes */\nexport const TIMEOUT_TIME = 30 * 60 * 1000; // half an hour in milis = 1.800.000 milis\n/** 30 seconds */\nexport const EVENT_THROTTLING_TIME_WINDOW = 30 * 1000; // 30 seconds in milis = 30.000 milis\n// TODO allow users to configure what events they want to listen to, or at list some flavors like \"minimal\" and \"full\"\n// switching from the current list to the full list:\n/*export const WINDOW_USER_EVENTS = [\n 'resize',\n 'copy',\n 'cut',\n 'paste',\n 'focus',\n 'afterprint',\n 'beforeprint',\n 'scrollsnapchange',\n 'auxclick',\n 'click',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'drageleave',\n 'dragover',\n 'dragstart',\n 'drop',\n 'keydown',\n 'keyup',\n 'keypress',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n]; // list manually generated from the user related event in https://developer.mozilla.org/en-US/docs/Web/API/Window#events, updated on 2025-02-24\n*/\n/** List of events we listen for user interactions*/\nexport const WINDOW_USER_EVENTS = [\n 'keydown',\n 'mousedown',\n 'mousemove',\n 'scroll',\n];\n"],"mappings":";;;AACA,MAAa,eAAe,OAAU;;AAEtC,MAAa,+BAA+B,KAAK;;AAmCjD,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACD"}
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts
|
|
2
|
-
/** 30 minutes */
|
|
3
|
-
declare const TIMEOUT_TIME: number;
|
|
4
|
-
/** 30 seconds */
|
|
5
|
-
declare const EVENT_THROTTLING_TIME_WINDOW: number;
|
|
6
|
-
/** List of events we listen for user interactions*/
|
|
7
|
-
declare const WINDOW_USER_EVENTS: string[];
|
|
8
|
-
//#endregion
|
|
9
|
-
export { EVENT_THROTTLING_TIME_WINDOW, TIMEOUT_TIME, WINDOW_USER_EVENTS };
|
|
10
|
-
//# sourceMappingURL=constants.d.cts.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts"],"mappings":";;cACa,YAAA;;cAEA,4BAAA;;cAmCA,kBAAA"}
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts
|
|
2
|
-
/** 30 minutes */
|
|
3
|
-
declare const TIMEOUT_TIME: number;
|
|
4
|
-
/** 30 seconds */
|
|
5
|
-
declare const EVENT_THROTTLING_TIME_WINDOW: number;
|
|
6
|
-
/** List of events we listen for user interactions*/
|
|
7
|
-
declare const WINDOW_USER_EVENTS: string[];
|
|
8
|
-
//#endregion
|
|
9
|
-
export { EVENT_THROTTLING_TIME_WINDOW, TIMEOUT_TIME, WINDOW_USER_EVENTS };
|
|
10
|
-
//# sourceMappingURL=constants.d.ts.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts"],"mappings":";;cACa,YAAA;;cAEA,4BAAA;;cAmCA,kBAAA"}
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts
|
|
2
|
-
/** 30 minutes */
|
|
3
|
-
const TIMEOUT_TIME = 1800 * 1e3;
|
|
4
|
-
/** 30 seconds */
|
|
5
|
-
const EVENT_THROTTLING_TIME_WINDOW = 30 * 1e3;
|
|
6
|
-
/** List of events we listen for user interactions*/
|
|
7
|
-
const WINDOW_USER_EVENTS = [
|
|
8
|
-
"keydown",
|
|
9
|
-
"mousedown",
|
|
10
|
-
"mousemove",
|
|
11
|
-
"scroll"
|
|
12
|
-
];
|
|
13
|
-
//#endregion
|
|
14
|
-
export { EVENT_THROTTLING_TIME_WINDOW, TIMEOUT_TIME, WINDOW_USER_EVENTS };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=constants.js.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.ts"],"sourcesContent":["/** 30 minutes */\nexport const TIMEOUT_TIME = 30 * 60 * 1000; // half an hour in milis = 1.800.000 milis\n/** 30 seconds */\nexport const EVENT_THROTTLING_TIME_WINDOW = 30 * 1000; // 30 seconds in milis = 30.000 milis\n// TODO allow users to configure what events they want to listen to, or at list some flavors like \"minimal\" and \"full\"\n// switching from the current list to the full list:\n/*export const WINDOW_USER_EVENTS = [\n 'resize',\n 'copy',\n 'cut',\n 'paste',\n 'focus',\n 'afterprint',\n 'beforeprint',\n 'scrollsnapchange',\n 'auxclick',\n 'click',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'drageleave',\n 'dragover',\n 'dragstart',\n 'drop',\n 'keydown',\n 'keyup',\n 'keypress',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n]; // list manually generated from the user related event in https://developer.mozilla.org/en-US/docs/Web/API/Window#events, updated on 2025-02-24\n*/\n/** List of events we listen for user interactions*/\nexport const WINDOW_USER_EVENTS = [\n 'keydown',\n 'mousedown',\n 'mousemove',\n 'scroll',\n];\n"],"mappings":";;AACA,MAAa,eAAe,OAAU;;AAEtC,MAAa,+BAA+B,KAAK;;AAmCjD,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACD"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_SpanSessionBrowserActivityInstrumentation = require("./SpanSessionBrowserActivityInstrumentation.cjs");
|
|
3
|
-
exports.SpanSessionBrowserActivityInstrumentation = require_instrumentations_session_SpanSessionBrowserActivityInstrumentation_SpanSessionBrowserActivityInstrumentation.SpanSessionBrowserActivityInstrumentation;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SpanSessionBrowserActivityInstrumentationArgs } from "./types.cjs";
|
|
2
|
-
import { SpanSessionBrowserActivityInstrumentation } from "./SpanSessionBrowserActivityInstrumentation.cjs";
|
|
3
|
-
export { SpanSessionBrowserActivityInstrumentation, type SpanSessionBrowserActivityInstrumentationArgs };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SpanSessionBrowserActivityInstrumentationArgs } from "./types.js";
|
|
2
|
-
import { SpanSessionBrowserActivityInstrumentation } from "./SpanSessionBrowserActivityInstrumentation.js";
|
|
3
|
-
export { SpanSessionBrowserActivityInstrumentation, type SpanSessionBrowserActivityInstrumentationArgs };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionBrowserActivityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionBrowserActivityInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.cts.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.ts"],"mappings":";;KAEY,6CAAA,GAAgD,IAAA,CAC1D,0BAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionBrowserActivityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionBrowserActivityInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.ts"],"mappings":";;KAEY,6CAAA,GAAgD,IAAA,CAC1D,0BAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
3
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts
|
|
4
|
-
var SpanSessionOnLoadInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
5
|
-
constructor({ diag } = {}) {
|
|
6
|
-
super({
|
|
7
|
-
instrumentationName: "SpanSessionOnLoadInstrumentation",
|
|
8
|
-
instrumentationVersion: "1.0.0",
|
|
9
|
-
diag,
|
|
10
|
-
config: {}
|
|
11
|
-
});
|
|
12
|
-
if (this._config.enabled) this.enable();
|
|
13
|
-
}
|
|
14
|
-
disable() {
|
|
15
|
-
this.sessionManager.endSessionSpanInternal("unknown");
|
|
16
|
-
}
|
|
17
|
-
enable() {
|
|
18
|
-
this.sessionManager.startSessionSpan({ reason: "init" });
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.SpanSessionOnLoadInstrumentation = SpanSessionOnLoadInstrumentation;
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=SpanSessionOnLoadInstrumentation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionOnLoadInstrumentation.cjs","names":["MXLInstrumentationBase"],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionOnLoadInstrumentationArgs } from './types';\n\nexport class SpanSessionOnLoadInstrumentation extends MXLInstrumentationBase {\n public constructor({ diag }: SpanSessionOnLoadInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionOnLoadInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n this.sessionManager.endSessionSpanInternal('unknown');\n }\n\n public enable(): void {\n this.sessionManager.startSessionSpan({ reason: 'init' });\n }\n}\n"],"mappings":";;;AAGA,IAAa,mCAAb,cAAsDA,uEAAAA,uBAAuB;CAC3E,YAAmB,EAAE,SAA+C,EAAE,EAAE;AACtE,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AACF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,OAAK,eAAe,uBAAuB,UAAU;;CAGvD,SAAsB;AACpB,OAAK,eAAe,iBAAiB,EAAE,QAAQ,QAAQ,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
-
import { SpanSessionOnLoadInstrumentationArgs } from "./types.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts
|
|
5
|
-
declare class SpanSessionOnLoadInstrumentation extends MXLInstrumentationBase {
|
|
6
|
-
constructor({
|
|
7
|
-
diag
|
|
8
|
-
}?: SpanSessionOnLoadInstrumentationArgs);
|
|
9
|
-
disable(): void;
|
|
10
|
-
enable(): void;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SpanSessionOnLoadInstrumentation };
|
|
14
|
-
//# sourceMappingURL=SpanSessionOnLoadInstrumentation.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionOnLoadInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts"],"mappings":";;;;cAGa,gCAAA,SAAyC,sBAAA;;IAC/B;EAAA,IAAQ,oCAAA;EAYtB,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
import { SpanSessionOnLoadInstrumentationArgs } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts
|
|
5
|
-
declare class SpanSessionOnLoadInstrumentation extends MXLInstrumentationBase {
|
|
6
|
-
constructor({
|
|
7
|
-
diag
|
|
8
|
-
}?: SpanSessionOnLoadInstrumentationArgs);
|
|
9
|
-
disable(): void;
|
|
10
|
-
enable(): void;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SpanSessionOnLoadInstrumentation };
|
|
14
|
-
//# sourceMappingURL=SpanSessionOnLoadInstrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionOnLoadInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts"],"mappings":";;;;cAGa,gCAAA,SAAyC,sBAAA;;IAC/B;EAAA,IAAQ,oCAAA;EAYtB,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts
|
|
3
|
-
var SpanSessionOnLoadInstrumentation = class extends MXLInstrumentationBase {
|
|
4
|
-
constructor({ diag } = {}) {
|
|
5
|
-
super({
|
|
6
|
-
instrumentationName: "SpanSessionOnLoadInstrumentation",
|
|
7
|
-
instrumentationVersion: "1.0.0",
|
|
8
|
-
diag,
|
|
9
|
-
config: {}
|
|
10
|
-
});
|
|
11
|
-
if (this._config.enabled) this.enable();
|
|
12
|
-
}
|
|
13
|
-
disable() {
|
|
14
|
-
this.sessionManager.endSessionSpanInternal("unknown");
|
|
15
|
-
}
|
|
16
|
-
enable() {
|
|
17
|
-
this.sessionManager.startSessionSpan({ reason: "init" });
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { SpanSessionOnLoadInstrumentation };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=SpanSessionOnLoadInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionOnLoadInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionOnLoadInstrumentationArgs } from './types';\n\nexport class SpanSessionOnLoadInstrumentation extends MXLInstrumentationBase {\n public constructor({ diag }: SpanSessionOnLoadInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionOnLoadInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n config: {},\n });\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n this.sessionManager.endSessionSpanInternal('unknown');\n }\n\n public enable(): void {\n this.sessionManager.startSessionSpan({ reason: 'init' });\n }\n}\n"],"mappings":";;AAGA,IAAa,mCAAb,cAAsD,uBAAuB;CAC3E,YAAmB,EAAE,SAA+C,EAAE,EAAE;AACtE,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA,QAAQ,EAAE;GACX,CAAC;AACF,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,OAAK,eAAe,uBAAuB,UAAU;;CAGvD,SAAsB;AACpB,OAAK,eAAe,iBAAiB,EAAE,QAAQ,QAAQ,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_session_SpanSessionOnLoadInstrumentation_SpanSessionOnLoadInstrumentation = require("./SpanSessionOnLoadInstrumentation.cjs");
|
|
3
|
-
exports.SpanSessionOnLoadInstrumentation = require_instrumentations_session_SpanSessionOnLoadInstrumentation_SpanSessionOnLoadInstrumentation.SpanSessionOnLoadInstrumentation;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionOnLoadInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionOnLoadInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/types.ts"],"mappings":";;KAEY,oCAAA,GAAuC,IAAA,CACjD,0BAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionOnLoadInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionOnLoadInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionOnLoadInstrumentation/types.ts"],"mappings":";;KAEY,oCAAA,GAAuC,IAAA,CACjD,0BAAA"}
|