@@ -93,28 +93,28 @@ export class ExceptionlessClient {
9393 this . createNotFound ( resource ) . submit ( callback ) ;
9494 }
9595
96- public createSessionStart ( userIdentity ?: string , userDisplayName ?: string ) : EventBuilder {
97- return this . createEvent ( ) . setType ( 'session' ) . setUserIdentity ( userIdentity , userDisplayName ) ;
96+ public createSessionStart ( ) : EventBuilder {
97+ return this . createEvent ( ) . setType ( 'session' ) ;
9898 }
9999
100- public submitSessionStart ( userIdentity ?: string , userDisplayName ?: string , callback ?: ( context : EventPluginContext ) => void ) : void {
101- this . createSessionStart ( userIdentity , userDisplayName ) . submit ( callback ) ;
100+ public submitSessionStart ( callback ?: ( context : EventPluginContext ) => void ) : void {
101+ this . createSessionStart ( ) . submit ( callback ) ;
102102 }
103103
104- public createSessionEnd ( userIdentity ?: string , userDisplayName ?: string ) : EventBuilder {
105- return this . createEvent ( ) . setType ( 'sessionend' ) . setUserIdentity ( userIdentity , userDisplayName ) ;
104+ public createSessionEnd ( ) : EventBuilder {
105+ return this . createEvent ( ) . setType ( 'sessionend' ) ;
106106 }
107107
108- public submitSessionEnd ( userIdentity ?: string , userDisplayName ?: string , callback ?: ( context : EventPluginContext ) => void ) : void {
109- this . createSessionEnd ( userIdentity , userDisplayName ) . submit ( callback ) ;
108+ public submitSessionEnd ( callback ?: ( context : EventPluginContext ) => void ) : void {
109+ this . createSessionEnd ( ) . submit ( callback ) ;
110110 }
111111
112- public createSessionHeartbeat ( userIdentity ?: string , userDisplayName ?: string ) : EventBuilder {
113- return this . createEvent ( ) . setType ( 'heartbeat' ) . setUserIdentity ( userIdentity , userDisplayName ) ;
112+ public createSessionHeartbeat ( ) : EventBuilder {
113+ return this . createEvent ( ) . setType ( 'heartbeat' ) ;
114114 }
115115
116- public submitSessionHeartbeat ( userIdentity ?: string , userDisplayName ?: string , callback ?: ( context : EventPluginContext ) => void ) : void {
117- this . createSessionHeartbeat ( userIdentity , userDisplayName ) . submit ( callback ) ;
116+ public submitSessionHeartbeat ( callback ?: ( context : EventPluginContext ) => void ) : void {
117+ this . createSessionHeartbeat ( ) . submit ( callback ) ;
118118 }
119119
120120 public createEvent ( pluginContextData ?: ContextData ) : EventBuilder {
0 commit comments