@@ -93,28 +93,28 @@ export class ExceptionlessClient {
93
93
this . createNotFound ( resource ) . submit ( callback ) ;
94
94
}
95
95
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' ) ;
98
98
}
99
99
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 ) ;
102
102
}
103
103
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' ) ;
106
106
}
107
107
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 ) ;
110
110
}
111
111
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' ) ;
114
114
}
115
115
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 ) ;
118
118
}
119
119
120
120
public createEvent ( pluginContextData ?: ContextData ) : EventBuilder {
0 commit comments