Comparing version 1.3.12 to 1.4.0
@@ -73,7 +73,6 @@ /** | ||
var callbackOnce = _.once(callback), | ||
cbResults = function (err, result) { | ||
client.close(); | ||
return callbackOnce(err, result); | ||
}; | ||
var cbResults = _.once(function (err, result) { | ||
client.close(); | ||
return callback(err, result); | ||
}); | ||
@@ -85,3 +84,2 @@ client.on('error', function (err) { | ||
self.deflate(message, function (err, buf) { | ||
@@ -88,0 +86,0 @@ if (err) { return cbResults(err, 0); } |
{ | ||
"name": "gelf-pro", | ||
"version": "1.3.12", | ||
"version": "1.4.0", | ||
"main": "./lib/gelf-pro.js", | ||
@@ -10,2 +10,3 @@ "typings": "./typings/index.d.ts", | ||
"graylog", | ||
"graylog2", | ||
"gelf", | ||
@@ -12,0 +13,0 @@ "logging", |
@@ -17,3 +17,3 @@ gelf pro | ||
"dependencies": { | ||
"gelf-pro": "~1.3" // see the "releases" section | ||
"gelf-pro": "~1.4" // see the "releases" section | ||
} | ||
@@ -24,3 +24,3 @@ ``` | ||
Library depends on: `lodash#~4.17` | ||
Library only depends on: `lodash#~4.17` | ||
@@ -27,0 +27,0 @@ ## Initialization |
Sorry, the diff of this file is not supported yet
24616
530