Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

applicationinsights-js

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applicationinsights-js - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

21

API-reference.md

@@ -67,3 +67,3 @@ <properties

stopTrackPage(name?: string, url?: string, properties?: Object, measurements?: Object)
stopTrackPage(name?: string, url?: string, properties?: { [name: string]: string; }, measurements?: { [name: string]: number; });

@@ -143,3 +143,3 @@ Stops the timer that was started by calling ```startTrackPage``` and sends the page view telemetry with the specified properties and measurements. The duration of the page view will be the time between calling ```startTrackPage``` and ```stopTrackPage```.

trackTrace(message: string, properties?: {[string]:string}, measurements?: {[string]:number})
trackTrace(message: string, properties?: {[string]:string}, severityLevel?: AI.SeverityLevel)

@@ -152,3 +152,3 @@ Log a diagnostic event such as entering or leaving a method.

`properties` | Map of string to string: Additional data used to [filter exceptions](https://azure.microsoft.com/documentation/articles/app-insights-api-custom-events-metrics/#properties) in the portal. Defaults to empty.
`measurements` | Map of string to number: Metrics associated with this page, displayed in Metrics Explorer on the portal. Defaults to empty.
`severityLevel` | Supported values: [SeverityLevel.ts](https://github.com/Microsoft/ApplicationInsights-JS/blob/master/JavaScript/JavaScriptSDK.Interfaces/Contracts/Generated/SeverityLevel.ts)

@@ -173,3 +173,3 @@

`totalTime` | Total request time
`success` | Indicates if the request was sessessful
`success` | Indicates if the request was successful
`resultCode` | Response code returned by the dependency request

@@ -277,3 +277,3 @@

// If true, the buffer with all unsent telemetry is stored in a session storage. The buffer is resotered on page load.
// If true, the buffer with all unsent telemetry is stored in a session storage. The buffer is restored on page load.
// The feature is enable by default starting with v0.23.0.

@@ -302,2 +302,11 @@ enableSessionStorageBuffer: boolean;

isBeaconApiDisabled: boolean;
// Sets the sdk extension name. Only alphabetic characters are allowed.
// The extension name is added as a prefix to 'ai.internal.sdkVersion' tag (for instance 'ext_javascript:1.0.5')
// Default: null
sdkExtension: string;
// If true, the SDK will track all [Browser Link](https://docs.microsoft.com/en-us/aspnet/core/client-side/using-browserlink) requests.
// Default: false
isBrowserLinkTrackingEnabled: boolean;
}

@@ -423,3 +432,3 @@

public addTelemetryInitializer(telemetryInitializer: (envelope: Telemetry.Common.Envelope) => boolean)
public addTelemetryInitializer(telemetryInitializer: (envelope: Telemetry.Common.Envelope) => boolean | void)

@@ -426,0 +435,0 @@ Adds a telemetry initializer to the collection. Telemetry initializers will be called one by one, in the order they were added,

{
"name": "applicationinsights-js",
"main": "dist/ai.0.js",
"version": "1.0.9",
"version": "1.0.10",
"homepage": "https://github.com/Microsoft/ApplicationInsights-JS",

@@ -6,0 +6,0 @@ "authors": [

@@ -28,3 +28,2 @@ var appInsights = window.appInsights || (function(aiConfig) {

appInsights.queue = [];
appInsights.version = "1.0";

@@ -82,2 +81,6 @@ function createLazyMethod(name) {

window.appInsights = appInsights;
appInsights.trackPageView();
// if somebody calls the snippet twice, don't report page view again
if (appInsights.queue && appInsights.queue.length === 0) {
appInsights.trackPageView();
}
{
"name": "applicationinsights-js",
"version": "1.0.9",
"version": "1.0.10",
"description": "Microsoft Application Insights JavaScript SDK",

@@ -5,0 +5,0 @@ "main": "JavaScript/JavaScriptSDK.Module/AppInsightsModule.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc