🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

application-insights-fetch-monitor

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

application-insights-fetch-monitor - npm Package Compare versions

Comparing version

to
1.0.2

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Change Log

<a name="1.0.2"></a>
## [1.0.2](https://github.com/MaximBalaganskiy/application-insights-fetch-monitor/compare/v1.0.1...v1.0.2) (2018-07-20)
### Bug Fixes
* **monitor:** use correct response status ([bf54b40](https://github.com/MaximBalaganskiy/application-insights-fetch-monitor/commit/bf54b40))
* **readme:** fix instructions ([44f8c7b](https://github.com/MaximBalaganskiy/application-insights-fetch-monitor/commit/44f8c7b))
* **readme:** fix instructions ([067b632](https://github.com/MaximBalaganskiy/application-insights-fetch-monitor/commit/067b632))
<a name="1.0.1"></a>

@@ -7,0 +19,0 @@ ## [1.0.1](https://github.com/MaximBalaganskiy/application-insights-fetch-monitor/compare/v1.0.0...v1.0.1) (2018-07-20)

2

dist/amd/index.js

@@ -127,3 +127,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else {
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, (+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400, +response.status, ajaxData.method);
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, response.status >= 200 && response.status < 400, response.status, ajaxData.method);
// enrich dependency target with correlation context from the server

@@ -130,0 +130,0 @@ var correlationContext = this.getCorrelationContext(response);

@@ -127,3 +127,3 @@ "use strict";

else {
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, (+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400, +response.status, ajaxData.method);
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, response.status >= 200 && response.status < 400, response.status, ajaxData.method);
// enrich dependency target with correlation context from the server

@@ -130,0 +130,0 @@ var correlationContext = this.getCorrelationContext(response);

@@ -125,3 +125,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else {
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, (+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400, +response.status, ajaxData.method);
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, response.status >= 200 && response.status < 400, response.status, ajaxData.method);
// enrich dependency target with correlation context from the server

@@ -128,0 +128,0 @@ var correlationContext = this.getCorrelationContext(response);

@@ -125,3 +125,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else {
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, (+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400, +response.status, ajaxData.method);
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, response.status >= 200 && response.status < 400, response.status, ajaxData.method);
// enrich dependency target with correlation context from the server

@@ -128,0 +128,0 @@ var correlationContext = this.getCorrelationContext(response);

@@ -154,3 +154,3 @@ System.register(["./app-insights-sdk"], function (exports_1, context_1) {

else {
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, (+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400, +response.status, ajaxData.method);
var dependency = new Microsoft.ApplicationInsights.Telemetry.RemoteDependencyData(ajaxData.id, ajaxData.getAbsoluteUrl(), ajaxData.getPathName(), ajaxData.ajaxTotalDuration, response.status >= 200 && response.status < 400, response.status, ajaxData.method);
// enrich dependency target with correlation context from the server

@@ -157,0 +157,0 @@ var correlationContext = this.getCorrelationContext(response);

{
"name": "application-insights-fetch-monitor",
"version": "1.0.1",
"version": "1.0.2",
"description": "Fetch API monitor for Application Insights",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

@@ -8,3 +8,3 @@ # application-insights-fetch-monitor

```
npm i --save-dev applicationinsights-js application-insights-fetch-monitor
npm i --save applicationinsights-js @types/applicationinsights-js application-insights-fetch-monitor
```

@@ -16,4 +16,4 @@ ## Usage

appInsights.downloadAndSetup({ instrumentationKey: this.settings.appInsightsInstrumentationKey });
appInsights.downloadAndSetup({ instrumentationKey: "[YOUR INSTRUMENTATION KEY]" });
initAppInsightsFetchMonitor();
```

@@ -111,4 +111,4 @@ import "./app-insights-sdk";

ajaxData.ajaxTotalDuration,
(+(ajaxData.status)) >= 200 && (+(ajaxData.status)) < 400,
+response.status,
response.status >= 200 && response.status < 400,
response.status,
ajaxData.method);

@@ -115,0 +115,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet