angular-airbrake
Advanced tools
Comparing version 0.0.4 to 0.1.0
@@ -15,2 +15,10 @@ import { ErrorHandler, InjectionToken } from '@angular/core'; | ||
error(err: any): void; | ||
/** | ||
* Passthrough for the Airbrake notify function. For full documentation check out Airbrake's docs: | ||
* | ||
* https://github.com/airbrake/airbrake-js#advanced-usage | ||
* | ||
* @param payload Error payload, supports anything supported by Airbrake | ||
*/ | ||
notify(payload: any): any; | ||
} |
@@ -23,2 +23,26 @@ "use strict"; | ||
}; | ||
/** | ||
* Passthrough for the Airbrake notify function. For full documentation check out Airbrake's docs: | ||
* | ||
* https://github.com/airbrake/airbrake-js#advanced-usage | ||
* | ||
* @param payload Error payload, supports anything supported by Airbrake | ||
*/ | ||
/** | ||
* Passthrough for the Airbrake notify function. For full documentation check out Airbrake's docs: | ||
* | ||
* https://github.com/airbrake/airbrake-js#advanced-usage | ||
* | ||
* @param payload Error payload, supports anything supported by Airbrake | ||
*/ | ||
AirbrakeService.prototype.notify = /** | ||
* Passthrough for the Airbrake notify function. For full documentation check out Airbrake's docs: | ||
* | ||
* https://github.com/airbrake/airbrake-js#advanced-usage | ||
* | ||
* @param payload Error payload, supports anything supported by Airbrake | ||
*/ | ||
function (payload) { | ||
return this.airbrake.notify(payload); | ||
}; | ||
AirbrakeService.decorators = [ | ||
@@ -25,0 +49,0 @@ { type: core_1.Injectable }, |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"AIRBRAKE_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":35},"arguments":["airbrake config"]},"AirbrakeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":22,"character":15},"arguments":[{"__symbolic":"reference","name":"AIRBRAKE_CONFIG"}]}]],"parameters":[null]}],"handleError":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"AIRBRAKE_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":35},"arguments":["airbrake config"]},"AirbrakeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":23,"character":15},"arguments":[{"__symbolic":"reference","name":"AIRBRAKE_CONFIG"}]}]],"parameters":[null]}],"handleError":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"notify":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"new","expression":{"__symbolic":"resolved","symbol":{"__symbol":1,"members":[]},"line":3,"character":35,"fileName":"src/airbrake.service.ts"},"arguments":["airbrake config"]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":22,"character":15,"fileName":"src/airbrake.service.ts"},"arguments":[{"__symbol":0,"members":[]}]}]],"parameters":[null]}],"handleError":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":2,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":0,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"AIRBRAKE_CONFIG","filePath":"./airbrake.service"},{"__symbol":1,"name":"InjectionToken","filePath":"@angular/core/core"},{"__symbol":2,"name":"AirbrakeService","filePath":"./airbrake.service"},{"__symbol":3,"name":"Inject","filePath":"@angular/core/core"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"new","expression":{"__symbolic":"resolved","symbol":{"__symbol":1,"members":[]},"line":3,"character":35,"fileName":"src/airbrake.service.ts"},"arguments":["airbrake config"]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":23,"character":15,"fileName":"src/airbrake.service.ts"},"arguments":[{"__symbol":0,"members":[]}]}]],"parameters":[null]}],"handleError":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"notify":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":2,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":0,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"AIRBRAKE_CONFIG","filePath":"./airbrake.service"},{"__symbol":1,"name":"InjectionToken","filePath":"@angular/core/core"},{"__symbol":2,"name":"AirbrakeService","filePath":"./airbrake.service"},{"__symbol":3,"name":"Inject","filePath":"@angular/core/core"}]} |
{ | ||
"name": "angular-airbrake", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "Angular 2+ Service for Airbrake error logging", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21012
221