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