@@ -154,6 +154,9 @@ interface RavenStatic {
154
154
*/
155
155
captureMessage ( msg : string , options ?: RavenOptions ) : RavenStatic ;
156
156
157
+ /** Log a breadcrumb */
158
+ captureBreadcrumb ( crumb : Object ) : RavenStatic ;
159
+
157
160
/**
158
161
* Clear the user context, removing the user data that would be sent to Sentry.
159
162
*/
@@ -171,9 +174,30 @@ interface RavenStatic {
171
174
email ?: string ;
172
175
} ) : RavenStatic ;
173
176
177
+ /** Merge extra attributes to be sent along with the payload. */
178
+ setExtraContext ( context : Object ) : RavenStatic ;
179
+
180
+ /** Merge tags to be sent along with the payload. */
181
+ setTagsContext ( tags : Object ) : RavenStatic ;
182
+
183
+ /** Clear all of the context. */
184
+ clearContext ( ) : RavenStatic ;
185
+
186
+ /** Get a copy of the current context. This cannot be mutated.*/
187
+ getContext ( ) : Object ;
188
+
174
189
/** Override the default HTTP data transport handler. */
175
190
setTransport ( transportFunction : ( options : RavenTransportOptions ) => void ) : RavenStatic ;
176
191
192
+ /** Set environment of application */
193
+ setEnvironment ( environment : string ) : RavenStatic ;
194
+
195
+ /** Set release version of application */
196
+ setRelease ( release : string ) : RavenStatic ;
197
+
198
+ /** Get the latest raw exception that was captured by Raven.*/
199
+ lastException ( ) : Error ;
200
+
177
201
/** An event id is a globally unique id for the event that was just sent. This event id can be used to find the exact event from within Sentry. */
178
202
lastEventId ( ) : string ;
179
203
@@ -185,6 +209,9 @@ interface RavenStatic {
185
209
186
210
/** Specify a callback function that allows you to apply your own filters to determine if the message should be sent to Sentry. */
187
211
setShouldSendCallback ( data : any , orig ?: any ) : RavenStatic ;
212
+
213
+ /** Show Sentry user feedback dialog */
214
+ showReportDialog ( options : Object ) ;
188
215
}
189
216
190
217
interface RavenTransportOptions {
0 commit comments