applicationinsights
Advanced tools
Comparing version 0.15.14 to 0.15.15
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ // Available variables which can be used inside of strings. |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -72,3 +72,4 @@ "use strict"; | ||
Channel.prototype.triggerSend = function (isNodeCrashing, callback) { | ||
if (this._buffer.length) { | ||
var bufferIsEmpty = this._buffer.length < 1; | ||
if (!bufferIsEmpty) { | ||
// compose an array of payloads | ||
@@ -79,2 +80,5 @@ var batch = this._buffer.join("\n"); | ||
this._sender.saveOnCrash(batch); | ||
if (typeof callback === "function") { | ||
callback("data saved on crash"); | ||
} | ||
} | ||
@@ -91,2 +95,5 @@ else { | ||
this._timeoutHandle = null; | ||
if (bufferIsEmpty && typeof callback === "function") { | ||
callback("no data to send"); | ||
} | ||
}; | ||
@@ -93,0 +100,0 @@ Channel.prototype._stringify = function (envelope) { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ ///<reference path="..\Declarations\node\node.d.ts" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -5,3 +5,3 @@ { | ||
"bugs": "https://github.com/Microsoft/ApplicationInsights-node.js/issues", | ||
"version": "0.15.14", | ||
"version": "0.15.15", | ||
"description": "Microsoft Application Insights module for Node.JS", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
89027
1868