Comparing version 2.1.2 to 2.1.3
Changelog | ||
========= | ||
## 2.1.3 (2018-01-25) | ||
### Bug fixes | ||
* Reverted a payload change which made the notifier not backwards compatible with older versions of Bugsnag On-premise [#128](https://github.com/bugsnag/bugsnag-node/pull/128) | ||
## 2.1.2 (2018-01-09) | ||
@@ -5,0 +11,0 @@ |
@@ -213,5 +213,3 @@ "use strict"; | ||
Notification.prototype.serializePayload = function() { | ||
var apiKey = this.apiKey; | ||
var handledState = this.handledState; | ||
delete this.apiKey; | ||
delete this.handledState; | ||
@@ -221,3 +219,2 @@ var payload = stringify(this, null, null, function() { | ||
}); | ||
this.apiKey = apiKey; | ||
this.handledState = handledState; | ||
@@ -224,0 +221,0 @@ return payload; |
module.exports = { | ||
name: "Bugsnag Node Notifier", | ||
version: "2.1.2", | ||
version: "2.1.3", | ||
url: "https://github.com/bugsnag/bugsnag-node" | ||
} |
{ | ||
"name": "bugsnag", | ||
"description": "Bugsnag notifier for node.js scripts", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"main": "./lib/bugsnag.js", | ||
@@ -6,0 +6,0 @@ "typings": "./lib/bugsnag.d.ts", |
107684
1282