@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,55 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
3
|
-
const require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants = require("./constants.cjs");
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts
|
|
5
|
-
/**
|
|
6
|
-
* SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
|
|
7
|
-
* It will immediately start a new session after the previous one ends.
|
|
8
|
-
**/
|
|
9
|
-
var SpanSessionTimeoutInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
10
|
-
_sessionTimeout;
|
|
11
|
-
constructor({ diag, perf } = {}) {
|
|
12
|
-
super({
|
|
13
|
-
instrumentationName: "SpanSessionTimeoutInstrumentation",
|
|
14
|
-
instrumentationVersion: "1.0.0",
|
|
15
|
-
diag,
|
|
16
|
-
perf,
|
|
17
|
-
config: {}
|
|
18
|
-
});
|
|
19
|
-
this._sessionTimeout = null;
|
|
20
|
-
if (this._config.enabled) this.enable();
|
|
21
|
-
}
|
|
22
|
-
disable = () => {
|
|
23
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
24
|
-
this._sessionTimeout = null;
|
|
25
|
-
};
|
|
26
|
-
enable = () => {
|
|
27
|
-
this._checkTimeout();
|
|
28
|
-
};
|
|
29
|
-
_onTimeout = () => {
|
|
30
|
-
this._diag.debug("Timeout detected");
|
|
31
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
32
|
-
this.sessionManager.endSessionSpanInternal("timer");
|
|
33
|
-
this.sessionManager.startSessionSpan({ reason: "timer" });
|
|
34
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME);
|
|
35
|
-
};
|
|
36
|
-
_checkTimeout = () => {
|
|
37
|
-
const currentSessionStartTime = this.sessionManager.getSessionStartTime();
|
|
38
|
-
if (currentSessionStartTime) {
|
|
39
|
-
const remainingTime = require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME - this.perf.millisSinceHRTime(currentSessionStartTime);
|
|
40
|
-
if (remainingTime <= 0) {
|
|
41
|
-
this._onTimeout();
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
45
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
49
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, require_instrumentations_session_SpanSessionTimeoutInstrumentation_constants.TIMEOUT_TIME);
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
//#endregion
|
|
53
|
-
exports.SpanSessionTimeoutInstrumentation = SpanSessionTimeoutInstrumentation;
|
|
54
|
-
|
|
55
|
-
//# sourceMappingURL=SpanSessionTimeoutInstrumentation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionTimeoutInstrumentation.cjs","names":["MXLInstrumentationBase","TIMEOUT_TIME"],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport { TIMEOUT_TIME } from './constants';\nimport type { SpanSessionTimeoutInstrumentationArgs } from './types';\n\n/**\n * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.\n * It will immediately start a new session after the previous one ends.\n **/\nexport class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {\n private _sessionTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n perf,\n }: SpanSessionTimeoutInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionTimeoutInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._sessionTimeout = null;\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = null;\n };\n\n public enable = () => {\n this._checkTimeout();\n };\n\n private readonly _onTimeout = () => {\n this._diag.debug('Timeout detected');\n // clear existing timeout\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this.sessionManager.endSessionSpanInternal('timer');\n this.sessionManager.startSessionSpan({ reason: 'timer' });\n // set a new check in TIMEOUT_TIME for the session we just started\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n\n private readonly _checkTimeout = () => {\n const currentSessionStartTime = this.sessionManager.getSessionStartTime();\n // validate that there is an active session, as it may already been finished for other reasons.\n if (currentSessionStartTime) {\n // check how much time has passed since the session started\n const timePassed = this.perf.millisSinceHRTime(currentSessionStartTime);\n const remainingTime = TIMEOUT_TIME - timePassed;\n // if the remaining time is 0 or less, the session has already timed out.\n if (remainingTime <= 0) {\n // the session has already timed out.\n this._onTimeout();\n return;\n }\n // if there is time remaining, set a new timeout for check again after it\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);\n return;\n }\n // if there is no currentSessionStartTime then there is no active session,\n // check again in TIMEOUT_TIME in case a new one is started.\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;;AASA,IAAa,oCAAb,cAAuDA,uEAAAA,uBAAuB;CAC5E;CAEA,YAAmB,EACjB,MACA,SACyC,EAAE,EAAE;AAC7C,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,kBAAkB;AACvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB;;CAGzB,eAAsB;AACpB,OAAK,eAAe;;CAGtB,mBAAoC;AAClC,OAAK,MAAM,MAAM,mBAAmB;AAEpC,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,eAAe,uBAAuB,QAAQ;AACnD,OAAK,eAAe,iBAAiB,EAAE,QAAQ,SAAS,CAAC;AAEzD,OAAK,kBAAkB,WAAW,KAAK,eAAeC,6EAAAA,aAAa;;CAGrE,sBAAuC;EACrC,MAAM,0BAA0B,KAAK,eAAe,qBAAqB;AAEzE,MAAI,yBAAyB;GAG3B,MAAM,gBAAgBA,6EAAAA,eADH,KAAK,KAAK,kBAAkB,wBACA;AAE/C,OAAI,iBAAiB,GAAG;AAEtB,SAAK,YAAY;AACjB;;AAGF,OAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,QAAK,kBAAkB,WAAW,KAAK,eAAe,cAAc;AACpE;;AAIF,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB,WAAW,KAAK,eAAeA,6EAAAA,aAAa"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
-
import { SpanSessionTimeoutInstrumentationArgs } from "./types.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
|
|
7
|
-
* It will immediately start a new session after the previous one ends.
|
|
8
|
-
**/
|
|
9
|
-
declare class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {
|
|
10
|
-
private _sessionTimeout;
|
|
11
|
-
constructor({
|
|
12
|
-
diag,
|
|
13
|
-
perf
|
|
14
|
-
}?: SpanSessionTimeoutInstrumentationArgs);
|
|
15
|
-
disable: () => void;
|
|
16
|
-
enable: () => void;
|
|
17
|
-
private readonly _onTimeout;
|
|
18
|
-
private readonly _checkTimeout;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { SpanSessionTimeoutInstrumentation };
|
|
22
|
-
//# sourceMappingURL=SpanSessionTimeoutInstrumentation.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionTimeoutInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"mappings":";;;;;;;AASA;cAAa,iCAAA,SAA0C,sBAAA;EAAA,QAC7C,eAAA;;IAGN,IAAA;IACA;EAAA,IACC,qCAAA;EAcI,OAAA;EAOA,MAAA;EAAA,iBAIU,UAAA;EAAA,iBAYA,aAAA;AAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
import { SpanSessionTimeoutInstrumentationArgs } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
|
|
7
|
-
* It will immediately start a new session after the previous one ends.
|
|
8
|
-
**/
|
|
9
|
-
declare class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {
|
|
10
|
-
private _sessionTimeout;
|
|
11
|
-
constructor({
|
|
12
|
-
diag,
|
|
13
|
-
perf
|
|
14
|
-
}?: SpanSessionTimeoutInstrumentationArgs);
|
|
15
|
-
disable: () => void;
|
|
16
|
-
enable: () => void;
|
|
17
|
-
private readonly _onTimeout;
|
|
18
|
-
private readonly _checkTimeout;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { SpanSessionTimeoutInstrumentation };
|
|
22
|
-
//# sourceMappingURL=SpanSessionTimeoutInstrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionTimeoutInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"mappings":";;;;;;;AASA;cAAa,iCAAA,SAA0C,sBAAA;EAAA,QAC7C,eAAA;;IAGN,IAAA;IACA;EAAA,IACC,qCAAA;EAcI,OAAA;EAOA,MAAA;EAAA,iBAIU,UAAA;EAAA,iBAYA,aAAA;AAAA"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
import { TIMEOUT_TIME } from "./constants.js";
|
|
3
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts
|
|
4
|
-
/**
|
|
5
|
-
* SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.
|
|
6
|
-
* It will immediately start a new session after the previous one ends.
|
|
7
|
-
**/
|
|
8
|
-
var SpanSessionTimeoutInstrumentation = class extends MXLInstrumentationBase {
|
|
9
|
-
_sessionTimeout;
|
|
10
|
-
constructor({ diag, perf } = {}) {
|
|
11
|
-
super({
|
|
12
|
-
instrumentationName: "SpanSessionTimeoutInstrumentation",
|
|
13
|
-
instrumentationVersion: "1.0.0",
|
|
14
|
-
diag,
|
|
15
|
-
perf,
|
|
16
|
-
config: {}
|
|
17
|
-
});
|
|
18
|
-
this._sessionTimeout = null;
|
|
19
|
-
if (this._config.enabled) this.enable();
|
|
20
|
-
}
|
|
21
|
-
disable = () => {
|
|
22
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
23
|
-
this._sessionTimeout = null;
|
|
24
|
-
};
|
|
25
|
-
enable = () => {
|
|
26
|
-
this._checkTimeout();
|
|
27
|
-
};
|
|
28
|
-
_onTimeout = () => {
|
|
29
|
-
this._diag.debug("Timeout detected");
|
|
30
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
31
|
-
this.sessionManager.endSessionSpanInternal("timer");
|
|
32
|
-
this.sessionManager.startSessionSpan({ reason: "timer" });
|
|
33
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);
|
|
34
|
-
};
|
|
35
|
-
_checkTimeout = () => {
|
|
36
|
-
const currentSessionStartTime = this.sessionManager.getSessionStartTime();
|
|
37
|
-
if (currentSessionStartTime) {
|
|
38
|
-
const remainingTime = TIMEOUT_TIME - this.perf.millisSinceHRTime(currentSessionStartTime);
|
|
39
|
-
if (remainingTime <= 0) {
|
|
40
|
-
this._onTimeout();
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
44
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
if (this._sessionTimeout) clearTimeout(this._sessionTimeout);
|
|
48
|
-
this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
//#endregion
|
|
52
|
-
export { SpanSessionTimeoutInstrumentation };
|
|
53
|
-
|
|
54
|
-
//# sourceMappingURL=SpanSessionTimeoutInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionTimeoutInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.ts"],"sourcesContent":["import type { TimeoutRef } from '../../../utils';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport { TIMEOUT_TIME } from './constants';\nimport type { SpanSessionTimeoutInstrumentationArgs } from './types';\n\n/**\n * SpanSessionTimeoutInstrumentation will track how long has a session been active and end it after a certain amount of time.\n * It will immediately start a new session after the previous one ends.\n **/\nexport class SpanSessionTimeoutInstrumentation extends MXLInstrumentationBase {\n private _sessionTimeout: TimeoutRef | null;\n\n public constructor({\n diag,\n perf,\n }: SpanSessionTimeoutInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionTimeoutInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._sessionTimeout = null;\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable = () => {\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = null;\n };\n\n public enable = () => {\n this._checkTimeout();\n };\n\n private readonly _onTimeout = () => {\n this._diag.debug('Timeout detected');\n // clear existing timeout\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this.sessionManager.endSessionSpanInternal('timer');\n this.sessionManager.startSessionSpan({ reason: 'timer' });\n // set a new check in TIMEOUT_TIME for the session we just started\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n\n private readonly _checkTimeout = () => {\n const currentSessionStartTime = this.sessionManager.getSessionStartTime();\n // validate that there is an active session, as it may already been finished for other reasons.\n if (currentSessionStartTime) {\n // check how much time has passed since the session started\n const timePassed = this.perf.millisSinceHRTime(currentSessionStartTime);\n const remainingTime = TIMEOUT_TIME - timePassed;\n // if the remaining time is 0 or less, the session has already timed out.\n if (remainingTime <= 0) {\n // the session has already timed out.\n this._onTimeout();\n return;\n }\n // if there is time remaining, set a new timeout for check again after it\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, remainingTime);\n return;\n }\n // if there is no currentSessionStartTime then there is no active session,\n // check again in TIMEOUT_TIME in case a new one is started.\n if (this._sessionTimeout) {\n clearTimeout(this._sessionTimeout);\n }\n this._sessionTimeout = setTimeout(this._checkTimeout, TIMEOUT_TIME);\n };\n}\n"],"mappings":";;;;;;;AASA,IAAa,oCAAb,cAAuD,uBAAuB;CAC5E;CAEA,YAAmB,EACjB,MACA,SACyC,EAAE,EAAE;AAC7C,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,kBAAkB;AACvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,gBAAuB;AACrB,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB;;CAGzB,eAAsB;AACpB,OAAK,eAAe;;CAGtB,mBAAoC;AAClC,OAAK,MAAM,MAAM,mBAAmB;AAEpC,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,eAAe,uBAAuB,QAAQ;AACnD,OAAK,eAAe,iBAAiB,EAAE,QAAQ,SAAS,CAAC;AAEzD,OAAK,kBAAkB,WAAW,KAAK,eAAe,aAAa;;CAGrE,sBAAuC;EACrC,MAAM,0BAA0B,KAAK,eAAe,qBAAqB;AAEzE,MAAI,yBAAyB;GAG3B,MAAM,gBAAgB,eADH,KAAK,KAAK,kBAAkB,wBACA;AAE/C,OAAI,iBAAiB,GAAG;AAEtB,SAAK,YAAY;AACjB;;AAGF,OAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,QAAK,kBAAkB,WAAW,KAAK,eAAe,cAAc;AACpE;;AAIF,MAAI,KAAK,gBACP,cAAa,KAAK,gBAAgB;AAEpC,OAAK,kBAAkB,WAAW,KAAK,eAAe,aAAa"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts
|
|
3
|
-
const TIMEOUT_TIME = 14400 * 1e3;
|
|
4
|
-
//#endregion
|
|
5
|
-
exports.TIMEOUT_TIME = TIMEOUT_TIME;
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=constants.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.cjs","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"sourcesContent":["export const TIMEOUT_TIME = 4 * 60 * 60 * 1000; // 4 hours in milis = 14.400.000 milis\n"],"mappings":";;AAAA,MAAa,eAAe,QAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"mappings":";cAAa,YAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"mappings":";cAAa,YAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.ts"],"sourcesContent":["export const TIMEOUT_TIME = 4 * 60 * 60 * 1000; // 4 hours in milis = 14.400.000 milis\n"],"mappings":";AAAA,MAAa,eAAe,QAAc"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_session_SpanSessionTimeoutInstrumentation_SpanSessionTimeoutInstrumentation = require("./SpanSessionTimeoutInstrumentation.cjs");
|
|
3
|
-
exports.SpanSessionTimeoutInstrumentation = require_instrumentations_session_SpanSessionTimeoutInstrumentation_SpanSessionTimeoutInstrumentation.SpanSessionTimeoutInstrumentation;
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionTimeoutInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionTimeoutInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.ts"],"mappings":";;KAEY,qCAAA,GAAwC,IAAA,CAClD,0BAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts
|
|
3
|
-
type SpanSessionTimeoutInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SpanSessionTimeoutInstrumentationArgs };
|
|
6
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionTimeoutInstrumentation/types.ts"],"mappings":";;KAEY,qCAAA,GAAwC,IAAA,CAClD,0BAAA"}
|
|
File without changes
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
3
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts
|
|
4
|
-
var SpanSessionVisibilityInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
5
|
-
_onVisibilityChange;
|
|
6
|
-
constructor({ diag, perf, visibilityDoc = window.document } = {}) {
|
|
7
|
-
super({
|
|
8
|
-
instrumentationName: "SpanSessionVisibilityInstrumentation",
|
|
9
|
-
instrumentationVersion: "1.0.0",
|
|
10
|
-
diag,
|
|
11
|
-
perf,
|
|
12
|
-
config: {}
|
|
13
|
-
});
|
|
14
|
-
this._onVisibilityChange = () => {
|
|
15
|
-
this._diag.debug(`Visibility change detected: ${visibilityDoc.visibilityState}`);
|
|
16
|
-
try {
|
|
17
|
-
this.sessionManager.endSessionSpanInternal("state_changed");
|
|
18
|
-
if (visibilityDoc.visibilityState === "visible") {
|
|
19
|
-
this._diag.debug("Starting a session since document visibility switched to visible");
|
|
20
|
-
this.sessionManager.startSessionSpan({ reason: "visible" });
|
|
21
|
-
}
|
|
22
|
-
} catch (error) {
|
|
23
|
-
this._diag.error(`Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`, error);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
if (this._config.enabled) this.enable();
|
|
27
|
-
}
|
|
28
|
-
disable() {
|
|
29
|
-
window.removeEventListener("visibilitychange", this._onVisibilityChange);
|
|
30
|
-
}
|
|
31
|
-
enable() {
|
|
32
|
-
window.addEventListener("visibilitychange", this._onVisibilityChange);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.SpanSessionVisibilityInstrumentation = SpanSessionVisibilityInstrumentation;
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=SpanSessionVisibilityInstrumentation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionVisibilityInstrumentation.cjs","names":["MXLInstrumentationBase"],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionVisibilityInstrumentationArgs } from './types';\n\nexport class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {\n private readonly _onVisibilityChange: () => void;\n\n public constructor({\n diag,\n perf,\n visibilityDoc = window.document,\n }: SpanSessionVisibilityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionVisibilityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n\n this._onVisibilityChange = () => {\n this._diag.debug(\n `Visibility change detected: ${visibilityDoc.visibilityState}`,\n );\n\n try {\n this.sessionManager.endSessionSpanInternal('state_changed');\n\n if (visibilityDoc.visibilityState === 'visible') {\n this._diag.debug(\n 'Starting a session since document visibility switched to visible',\n );\n this.sessionManager.startSessionSpan({ reason: 'visible' });\n }\n } catch (error) {\n this._diag.error(\n `Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`,\n error,\n );\n }\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n window.removeEventListener('visibilitychange', this._onVisibilityChange);\n }\n\n public enable(): void {\n window.addEventListener('visibilitychange', this._onVisibilityChange);\n }\n}\n"],"mappings":";;;AAGA,IAAa,uCAAb,cAA0DA,uEAAAA,uBAAuB;CAC/E;CAEA,YAAmB,EACjB,MACA,MACA,gBAAgB,OAAO,aACqB,EAAE,EAAE;AAChD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,4BAA4B;AAC/B,QAAK,MAAM,MACT,+BAA+B,cAAc,kBAC9C;AAED,OAAI;AACF,SAAK,eAAe,uBAAuB,gBAAgB;AAE3D,QAAI,cAAc,oBAAoB,WAAW;AAC/C,UAAK,MAAM,MACT,mEACD;AACD,UAAK,eAAe,iBAAiB,EAAE,QAAQ,WAAW,CAAC;;YAEtD,OAAO;AACd,SAAK,MAAM,MACT,oDAAoD,cAAc,mBAClE,MACD;;;AAIL,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,SAAO,oBAAoB,oBAAoB,KAAK,oBAAoB;;CAG1E,SAAsB;AACpB,SAAO,iBAAiB,oBAAoB,KAAK,oBAAoB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
-
import { SpanSessionVisibilityInstrumentationArgs } from "./types.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts
|
|
5
|
-
declare class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {
|
|
6
|
-
private readonly _onVisibilityChange;
|
|
7
|
-
constructor({
|
|
8
|
-
diag,
|
|
9
|
-
perf,
|
|
10
|
-
visibilityDoc
|
|
11
|
-
}?: SpanSessionVisibilityInstrumentationArgs);
|
|
12
|
-
disable(): void;
|
|
13
|
-
enable(): void;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { SpanSessionVisibilityInstrumentation };
|
|
17
|
-
//# sourceMappingURL=SpanSessionVisibilityInstrumentation.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionVisibilityInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"mappings":";;;;cAGa,oCAAA,SAA6C,sBAAA;EAAA,iBACvC,mBAAA;;IAGf,IAAA;IACA,IAAA;IACA;EAAA,IACC,wCAAA;EAoCI,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
import { SpanSessionVisibilityInstrumentationArgs } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts
|
|
5
|
-
declare class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {
|
|
6
|
-
private readonly _onVisibilityChange;
|
|
7
|
-
constructor({
|
|
8
|
-
diag,
|
|
9
|
-
perf,
|
|
10
|
-
visibilityDoc
|
|
11
|
-
}?: SpanSessionVisibilityInstrumentationArgs);
|
|
12
|
-
disable(): void;
|
|
13
|
-
enable(): void;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { SpanSessionVisibilityInstrumentation };
|
|
17
|
-
//# sourceMappingURL=SpanSessionVisibilityInstrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionVisibilityInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"mappings":";;;;cAGa,oCAAA,SAA6C,sBAAA;EAAA,iBACvC,mBAAA;;IAGf,IAAA;IACA,IAAA;IACA;EAAA,IACC,wCAAA;EAoCI,OAAA,CAAA;EAIA,MAAA,CAAA;AAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts
|
|
3
|
-
var SpanSessionVisibilityInstrumentation = class extends MXLInstrumentationBase {
|
|
4
|
-
_onVisibilityChange;
|
|
5
|
-
constructor({ diag, perf, visibilityDoc = window.document } = {}) {
|
|
6
|
-
super({
|
|
7
|
-
instrumentationName: "SpanSessionVisibilityInstrumentation",
|
|
8
|
-
instrumentationVersion: "1.0.0",
|
|
9
|
-
diag,
|
|
10
|
-
perf,
|
|
11
|
-
config: {}
|
|
12
|
-
});
|
|
13
|
-
this._onVisibilityChange = () => {
|
|
14
|
-
this._diag.debug(`Visibility change detected: ${visibilityDoc.visibilityState}`);
|
|
15
|
-
try {
|
|
16
|
-
this.sessionManager.endSessionSpanInternal("state_changed");
|
|
17
|
-
if (visibilityDoc.visibilityState === "visible") {
|
|
18
|
-
this._diag.debug("Starting a session since document visibility switched to visible");
|
|
19
|
-
this.sessionManager.startSessionSpan({ reason: "visible" });
|
|
20
|
-
}
|
|
21
|
-
} catch (error) {
|
|
22
|
-
this._diag.error(`Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`, error);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
if (this._config.enabled) this.enable();
|
|
26
|
-
}
|
|
27
|
-
disable() {
|
|
28
|
-
window.removeEventListener("visibilitychange", this._onVisibilityChange);
|
|
29
|
-
}
|
|
30
|
-
enable() {
|
|
31
|
-
window.addEventListener("visibilitychange", this._onVisibilityChange);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { SpanSessionVisibilityInstrumentation };
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=SpanSessionVisibilityInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpanSessionVisibilityInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.ts"],"sourcesContent":["import { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport type { SpanSessionVisibilityInstrumentationArgs } from './types';\n\nexport class SpanSessionVisibilityInstrumentation extends MXLInstrumentationBase {\n private readonly _onVisibilityChange: () => void;\n\n public constructor({\n diag,\n perf,\n visibilityDoc = window.document,\n }: SpanSessionVisibilityInstrumentationArgs = {}) {\n super({\n instrumentationName: 'SpanSessionVisibilityInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n\n this._onVisibilityChange = () => {\n this._diag.debug(\n `Visibility change detected: ${visibilityDoc.visibilityState}`,\n );\n\n try {\n this.sessionManager.endSessionSpanInternal('state_changed');\n\n if (visibilityDoc.visibilityState === 'visible') {\n this._diag.debug(\n 'Starting a session since document visibility switched to visible',\n );\n this.sessionManager.startSessionSpan({ reason: 'visible' });\n }\n } catch (error) {\n this._diag.error(\n `Failed to rotate session on visibility change to ${visibilityDoc.visibilityState}`,\n error,\n );\n }\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public disable(): void {\n window.removeEventListener('visibilitychange', this._onVisibilityChange);\n }\n\n public enable(): void {\n window.addEventListener('visibilitychange', this._onVisibilityChange);\n }\n}\n"],"mappings":";;AAGA,IAAa,uCAAb,cAA0D,uBAAuB;CAC/E;CAEA,YAAmB,EACjB,MACA,MACA,gBAAgB,OAAO,aACqB,EAAE,EAAE;AAChD,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AAEF,OAAK,4BAA4B;AAC/B,QAAK,MAAM,MACT,+BAA+B,cAAc,kBAC9C;AAED,OAAI;AACF,SAAK,eAAe,uBAAuB,gBAAgB;AAE3D,QAAI,cAAc,oBAAoB,WAAW;AAC/C,UAAK,MAAM,MACT,mEACD;AACD,UAAK,eAAe,iBAAiB,EAAE,QAAQ,WAAW,CAAC;;YAEtD,OAAO;AACd,SAAK,MAAM,MACT,oDAAoD,cAAc,mBAClE,MACD;;;AAIL,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,UAAuB;AACrB,SAAO,oBAAoB,oBAAoB,KAAK,oBAAoB;;CAG1E,SAAsB;AACpB,SAAO,iBAAiB,oBAAoB,KAAK,oBAAoB"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_session_SpanSessionVisibilityInstrumentation_SpanSessionVisibilityInstrumentation = require("./SpanSessionVisibilityInstrumentation.cjs");
|
|
3
|
-
exports.SpanSessionVisibilityInstrumentation = require_instrumentations_session_SpanSessionVisibilityInstrumentation_SpanSessionVisibilityInstrumentation.SpanSessionVisibilityInstrumentation;
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VisibilityStateDocument } from "../../../common/types.cjs";
|
|
2
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.cjs";
|
|
3
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts
|
|
4
|
-
type SpanSessionVisibilityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'> & {
|
|
5
|
-
visibilityDoc?: VisibilityStateDocument; /** Passed through to {@link MXLSessionBatchedSpanProcessor} when sending to MXL. */
|
|
6
|
-
storedSpansExpireTimeoutMS?: number;
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SpanSessionVisibilityInstrumentationArgs };
|
|
10
|
-
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.ts"],"mappings":";;;KAGY,wCAAA,GAA2C,IAAA,CACrD,0BAAA;EAGA,aAAA,GAAgB,uBAAA;EAGhB,0BAAA;AAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VisibilityStateDocument } from "../../../common/types.js";
|
|
2
|
-
import { MXLInstrumentationBaseArgs } from "../../MXLInstrumentationBase/types.js";
|
|
3
|
-
//#region src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts
|
|
4
|
-
type SpanSessionVisibilityInstrumentationArgs = Pick<MXLInstrumentationBaseArgs, 'diag' | 'perf'> & {
|
|
5
|
-
visibilityDoc?: VisibilityStateDocument; /** Passed through to {@link MXLSessionBatchedSpanProcessor} when sending to MXL. */
|
|
6
|
-
storedSpansExpireTimeoutMS?: number;
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SpanSessionVisibilityInstrumentationArgs };
|
|
10
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../src/instrumentations/session/SpanSessionVisibilityInstrumentation/types.ts"],"mappings":";;;KAGY,wCAAA,GAA2C,IAAA,CACrD,0BAAA;EAGA,aAAA,GAAgB,uBAAA;EAGhB,0BAAA;AAAA"}
|
|
File without changes
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
let _opentelemetry_instrumentation = require("@opentelemetry/instrumentation");
|
|
4
|
-
let _opentelemetry_instrumentation_xml_http_request = require("@opentelemetry/instrumentation-xml-http-request");
|
|
5
|
-
//#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts
|
|
6
|
-
var MXLXHRInstrumentation = class extends _opentelemetry_instrumentation_xml_http_request.XMLHttpRequestInstrumentation {
|
|
7
|
-
_omitIfAlreadyPatched;
|
|
8
|
-
constructor({ omitIfAlreadyPatched, ...rest } = {}) {
|
|
9
|
-
super({
|
|
10
|
-
...rest,
|
|
11
|
-
enabled: false
|
|
12
|
-
});
|
|
13
|
-
this._omitIfAlreadyPatched = omitIfAlreadyPatched;
|
|
14
|
-
if (rest.enabled) this.enable();
|
|
15
|
-
}
|
|
16
|
-
enable() {
|
|
17
|
-
if (this._omitIfAlreadyPatched && ((0, _opentelemetry_instrumentation.isWrapped)(XMLHttpRequest.prototype.open) || (0, _opentelemetry_instrumentation.isWrapped)(XMLHttpRequest.prototype.send))) {
|
|
18
|
-
this._diag.debug("XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation");
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
super.enable();
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
exports.MXLXHRInstrumentation = MXLXHRInstrumentation;
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=MXLXHRInstrumentation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MXLXHRInstrumentation.cjs","names":["XMLHttpRequestInstrumentation"],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"sourcesContent":["import { isWrapped } from '@opentelemetry/instrumentation';\nimport { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';\nimport type { MXLXHRInstrumentationArgs } from './types';\n\nexport class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {\n private readonly _omitIfAlreadyPatched?: boolean;\n\n public constructor({\n omitIfAlreadyPatched,\n ...rest\n }: MXLXHRInstrumentationArgs = {}) {\n // Base constructor automatically calls this.enable() if enabled is true, but we need to run our overridden constructor\n // first so force enabled false here and call it ourselves later\n super({ ...rest, enabled: false });\n\n this._omitIfAlreadyPatched = omitIfAlreadyPatched;\n\n if (rest.enabled) {\n this.enable();\n }\n }\n\n public override enable(): void {\n // The base implementation always removes and then re-patches, this means the last instrumentation to run \"wins\":\n // https://github.com/open-telemetry/opentelemetry-js/blob/2d7eecbb19aec17bf2d8b9a4e4b2d84dc92c2d88/experimental/packages/opentelemetry-instrumentation-xml-http-request/src/xhr.ts#L639\n // Exposing an option in this class to allow leaving the existing patch in place and letting a previous instrumentation\n // control the global\n if (\n this._omitIfAlreadyPatched &&\n (isWrapped(XMLHttpRequest.prototype.open) ||\n isWrapped(XMLHttpRequest.prototype.send))\n ) {\n this._diag.debug(\n 'XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation',\n );\n return;\n }\n\n super.enable();\n }\n}\n"],"mappings":";;;;;AAIA,IAAa,wBAAb,cAA2CA,gDAAAA,8BAA8B;CACvE;CAEA,YAAmB,EACjB,sBACA,GAAG,SAC0B,EAAE,EAAE;AAGjC,QAAM;GAAE,GAAG;GAAM,SAAS;GAAO,CAAC;AAElC,OAAK,wBAAwB;AAE7B,MAAI,KAAK,QACP,MAAK,QAAQ;;CAIjB,SAA+B;AAK7B,MACE,KAAK,2BAAA,GAAA,+BAAA,WACM,eAAe,UAAU,KAAK,KAAA,GAAA,+BAAA,WAC7B,eAAe,UAAU,KAAK,GAC1C;AACA,QAAK,MAAM,MACT,8GACD;AACD;;AAGF,QAAM,QAAQ"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MXLXHRInstrumentationArgs } from "./types.cjs";
|
|
2
|
-
import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts
|
|
5
|
-
declare class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {
|
|
6
|
-
private readonly _omitIfAlreadyPatched?;
|
|
7
|
-
constructor({
|
|
8
|
-
omitIfAlreadyPatched,
|
|
9
|
-
...rest
|
|
10
|
-
}?: MXLXHRInstrumentationArgs);
|
|
11
|
-
enable(): void;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { MXLXHRInstrumentation };
|
|
15
|
-
//# sourceMappingURL=MXLXHRInstrumentation.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MXLXHRInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"mappings":";;;;cAIa,qBAAA,SAA8B,6BAAA;EAAA,iBACxB,qBAAA;;IAGf,oBAAA;IAAA,GACG;EAAA,IACF,yBAAA;EAYa,MAAA,CAAA;AAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MXLXHRInstrumentationArgs } from "./types.js";
|
|
2
|
-
import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
|
|
3
|
-
|
|
4
|
-
//#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts
|
|
5
|
-
declare class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {
|
|
6
|
-
private readonly _omitIfAlreadyPatched?;
|
|
7
|
-
constructor({
|
|
8
|
-
omitIfAlreadyPatched,
|
|
9
|
-
...rest
|
|
10
|
-
}?: MXLXHRInstrumentationArgs);
|
|
11
|
-
enable(): void;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { MXLXHRInstrumentation };
|
|
15
|
-
//# sourceMappingURL=MXLXHRInstrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MXLXHRInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"mappings":";;;;cAIa,qBAAA,SAA8B,6BAAA;EAAA,iBACxB,qBAAA;;IAGf,oBAAA;IAAA,GACG;EAAA,IACF,yBAAA;EAYa,MAAA,CAAA;AAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { isWrapped } from "@opentelemetry/instrumentation";
|
|
2
|
-
import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
|
|
3
|
-
//#region src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts
|
|
4
|
-
var MXLXHRInstrumentation = class extends XMLHttpRequestInstrumentation {
|
|
5
|
-
_omitIfAlreadyPatched;
|
|
6
|
-
constructor({ omitIfAlreadyPatched, ...rest } = {}) {
|
|
7
|
-
super({
|
|
8
|
-
...rest,
|
|
9
|
-
enabled: false
|
|
10
|
-
});
|
|
11
|
-
this._omitIfAlreadyPatched = omitIfAlreadyPatched;
|
|
12
|
-
if (rest.enabled) this.enable();
|
|
13
|
-
}
|
|
14
|
-
enable() {
|
|
15
|
-
if (this._omitIfAlreadyPatched && (isWrapped(XMLHttpRequest.prototype.open) || isWrapped(XMLHttpRequest.prototype.send))) {
|
|
16
|
-
this._diag.debug("XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation");
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
super.enable();
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
//#endregion
|
|
23
|
-
export { MXLXHRInstrumentation };
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=MXLXHRInstrumentation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MXLXHRInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.ts"],"sourcesContent":["import { isWrapped } from '@opentelemetry/instrumentation';\nimport { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';\nimport type { MXLXHRInstrumentationArgs } from './types';\n\nexport class MXLXHRInstrumentation extends XMLHttpRequestInstrumentation {\n private readonly _omitIfAlreadyPatched?: boolean;\n\n public constructor({\n omitIfAlreadyPatched,\n ...rest\n }: MXLXHRInstrumentationArgs = {}) {\n // Base constructor automatically calls this.enable() if enabled is true, but we need to run our overridden constructor\n // first so force enabled false here and call it ourselves later\n super({ ...rest, enabled: false });\n\n this._omitIfAlreadyPatched = omitIfAlreadyPatched;\n\n if (rest.enabled) {\n this.enable();\n }\n }\n\n public override enable(): void {\n // The base implementation always removes and then re-patches, this means the last instrumentation to run \"wins\":\n // https://github.com/open-telemetry/opentelemetry-js/blob/2d7eecbb19aec17bf2d8b9a4e4b2d84dc92c2d88/experimental/packages/opentelemetry-instrumentation-xml-http-request/src/xhr.ts#L639\n // Exposing an option in this class to allow leaving the existing patch in place and letting a previous instrumentation\n // control the global\n if (\n this._omitIfAlreadyPatched &&\n (isWrapped(XMLHttpRequest.prototype.open) ||\n isWrapped(XMLHttpRequest.prototype.send))\n ) {\n this._diag.debug(\n 'XMLHttpRequest is already passed and `omitIfAlreadyPatched` is true, skipping enabling this instrumentation',\n );\n return;\n }\n\n super.enable();\n }\n}\n"],"mappings":";;;AAIA,IAAa,wBAAb,cAA2C,8BAA8B;CACvE;CAEA,YAAmB,EACjB,sBACA,GAAG,SAC0B,EAAE,EAAE;AAGjC,QAAM;GAAE,GAAG;GAAM,SAAS;GAAO,CAAC;AAElC,OAAK,wBAAwB;AAE7B,MAAI,KAAK,QACP,MAAK,QAAQ;;CAIjB,SAA+B;AAK7B,MACE,KAAK,0BACJ,UAAU,eAAe,UAAU,KAAK,IACvC,UAAU,eAAe,UAAU,KAAK,GAC1C;AACA,QAAK,MAAM,MACT,8GACD;AACD;;AAGF,QAAM,QAAQ"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_instrumentations_xhr_MXLXHRInstrumentation_MXLXHRInstrumentation = require("./MXLXHRInstrumentation.cjs");
|
|
3
|
-
exports.MXLXHRInstrumentation = require_instrumentations_xhr_MXLXHRInstrumentation_MXLXHRInstrumentation.MXLXHRInstrumentation;
|