@embrace-io/web-sdk
Version:
64 lines (63 loc) • 1.45 kB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
//#region src/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.ts
var NoOpUserSessionManager = class {
addBreadcrumb(_name) {}
addProperty(_key, _value, _options) {}
removeProperty(_key) {}
endSessionSpan() {}
currentSessionAsReadableSpan() {
return null;
}
getSessionId = () => null;
getPreviousSessionId = () => null;
getSessionSpan() {
return null;
}
getSessionStartTime() {
return null;
}
startSessionSpan() {}
addSessionStartedListener(_listener) {
return () => {};
}
addSessionEndedListener(_listener) {
return () => {};
}
getUserSessionId() {
return null;
}
getPreviousUserSessionId() {
return null;
}
getUserSessionStartTime() {
return null;
}
getUserSessionAttributes() {
return null;
}
getSessionPartProperties() {
return {};
}
endUserSession() {}
getSessionPartId() {
return null;
}
getSessionPartSpan() {
return null;
}
startSessionPartInternal(_options) {}
endSessionPartInternal(_options) {}
rolloverSessionPartInternal(_options) {}
incrSessionPartCountForKey(_key) {}
incrNextSessionPartCountForKey(_key) {}
addSessionPartStartedListener(_listener) {
return () => {};
}
addSessionPartEndedListener(_listener) {
return () => {};
}
setTracerProvider() {}
};
//#endregion
exports.NoOpUserSessionManager = NoOpUserSessionManager;
//# sourceMappingURL=NoOpUserSessionManager.cjs.map