@embrace-io/web-sdk
Version:
3 lines (2 loc) • 944 B
JavaScript
import{NoOpSpanSessionManager as e}from"../NoOpSpanSessionManager/NoOpSpanSessionManager.js";const t=new e;class s{getDelegate(){var e;return null!==(e=this._delegate)&&void 0!==e?e:t}setDelegate(e){this._delegate=e}addBreadcrumb(e){this.getDelegate().addBreadcrumb(e)}addProperty(e,t){this.getDelegate().addProperty(e,t)}endSessionSpan(){this.getDelegate().endSessionSpan()}endSessionSpanInternal(e){this.getDelegate().endSessionSpanInternal(e)}getSessionId(){return this.getDelegate().getSessionId()}getSessionSpan(){return this.getDelegate().getSessionSpan()}getSessionStartTime(){return this.getDelegate().getSessionStartTime()}startSessionSpan(){this.getDelegate().startSessionSpan()}addSessionStartedListener(e){return this.getDelegate().addSessionStartedListener(e)}addSessionEndedListener(e){return this.getDelegate().addSessionEndedListener(e)}}export{s as ProxySpanSessionManager};
//# sourceMappingURL=ProxySpanSessionManager.js.map