File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @hawk.so/javascript" ,
33 "type" : " commonjs" ,
4- "version" : " 3.2.6 " ,
4+ "version" : " 3.2.7 " ,
55 "description" : " JavaScript errors tracking for Hawk.so" ,
66 "files" : [
77 " dist"
Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ export interface HawkInitialSettings {
6363 disableGlobalErrorsHandling ?: boolean ;
6464
6565 /**
66- * This Method allows you to filter any data you don't want sending to Hawk
66+ * This Method allows you to filter any data you don't want sending to Hawk.
67+ *
68+ * Return `false` to prevent the event from being sent to Hawk.
6769 */
68- beforeSend ?( event : HawkJavaScriptEvent ) : HawkJavaScriptEvent ;
70+ beforeSend ?( event : HawkJavaScriptEvent ) : HawkJavaScriptEvent | false ;
6971
7072 /**
7173 * Disable Vue.js error handler
You can’t perform that action at this time.
0 commit comments