@microsoft/applicationinsights-common 2.8.0-nightly.2204-04 → 2.8.0-nightly.2204-05
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/applicationinsights-common.integrity.json +9 -9
- package/browser/applicationinsights-common.js +268 -352
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +2 -2
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +15 -6
- package/dist/applicationinsights-common.api.md +9 -8
- package/dist/applicationinsights-common.d.ts +10 -9
- package/dist/applicationinsights-common.js +268 -352
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +2 -2
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +10 -9
- package/dist-esm/ConnectionStringParser.js +1 -1
- package/dist-esm/Constants.js +1 -1
- package/dist-esm/DomHelperFuncs.js +1 -1
- package/dist-esm/Enums.js +1 -1
- package/dist-esm/HelperFuncs.js +1 -1
- package/dist-esm/Interfaces/ConnectionString.js +1 -1
- package/dist-esm/Interfaces/Context/IApplication.js +1 -1
- package/dist-esm/Interfaces/Context/IDevice.js +1 -1
- package/dist-esm/Interfaces/Context/IInternal.js +1 -1
- package/dist-esm/Interfaces/Context/ILocation.js +1 -1
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-esm/Interfaces/Context/ISample.js +1 -1
- package/dist-esm/Interfaces/Context/ISession.js +1 -1
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-esm/Interfaces/Context/IUser.js +1 -1
- package/dist-esm/Interfaces/Context/IWeb.js +1 -1
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
- package/dist-esm/Interfaces/Contracts/IData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-esm/Interfaces/IAppInsights.js +1 -1
- package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
- package/dist-esm/Interfaces/IConfig.js +1 -1
- package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
- package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPartC.js +1 -1
- package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-esm/Interfaces/IRequestContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-esm/Interfaces/PartAExtensions.js +1 -1
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-esm/RequestResponseHeaders.js +1 -1
- package/dist-esm/StorageHelperFuncs.js +8 -8
- package/dist-esm/StorageHelperFuncs.js.map +1 -1
- package/dist-esm/Telemetry/Common/Data.js +1 -1
- package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
- package/dist-esm/Telemetry/Common/DataSanitizer.js +9 -9
- package/dist-esm/Telemetry/Common/DataSanitizer.js.map +1 -1
- package/dist-esm/Telemetry/Common/Envelope.js +1 -1
- package/dist-esm/Telemetry/Event.js +1 -1
- package/dist-esm/Telemetry/Exception.js +1 -1
- package/dist-esm/Telemetry/Metric.js +1 -1
- package/dist-esm/Telemetry/PageView.js +1 -1
- package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
- package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-esm/Telemetry/Trace.js +1 -1
- package/dist-esm/TelemetryItemCreator.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/src/StorageHelperFuncs.ts +7 -7
- package/src/Telemetry/Common/DataSanitizer.ts +10 -10
- package/src/Telemetry/PageViewPerformance.ts +1 -1
- package/types/Enums.d.ts +4 -4
- package/types/Telemetry/Common/DataSanitizer.d.ts +3 -3
|
@@ -986,8 +986,8 @@
|
|
|
986
986
|
},
|
|
987
987
|
{
|
|
988
988
|
"kind": "Reference",
|
|
989
|
-
"text": "
|
|
990
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
989
|
+
"text": "_eInternalMessageId",
|
|
990
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_eInternalMessageId:enum"
|
|
991
991
|
},
|
|
992
992
|
{
|
|
993
993
|
"kind": "Content",
|
|
@@ -1875,14 +1875,23 @@
|
|
|
1875
1875
|
},
|
|
1876
1876
|
{
|
|
1877
1877
|
"kind": "Content",
|
|
1878
|
-
"text": "
|
|
1878
|
+
"text": "import(\"@microsoft/applicationinsights-core-js\")."
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"kind": "Reference",
|
|
1882
|
+
"text": "EnumValue",
|
|
1883
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!EnumValue:type"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "Content",
|
|
1887
|
+
"text": "<{\n AI: number;\n AI_AND_W3C: number;\n W3C: number;\n}>"
|
|
1879
1888
|
}
|
|
1880
1889
|
],
|
|
1881
1890
|
"releaseTag": "Public",
|
|
1882
1891
|
"name": "DistributedTracingModes",
|
|
1883
1892
|
"variableTypeTokenRange": {
|
|
1884
1893
|
"startIndex": 1,
|
|
1885
|
-
"endIndex":
|
|
1894
|
+
"endIndex": 4
|
|
1886
1895
|
}
|
|
1887
1896
|
},
|
|
1888
1897
|
{
|
|
@@ -9180,8 +9189,8 @@
|
|
|
9180
9189
|
},
|
|
9181
9190
|
{
|
|
9182
9191
|
"kind": "Reference",
|
|
9183
|
-
"text": "
|
|
9184
|
-
"canonicalReference": "@microsoft/applicationinsights-core-js!
|
|
9192
|
+
"text": "_eInternalMessageId",
|
|
9193
|
+
"canonicalReference": "@microsoft/applicationinsights-core-js!_eInternalMessageId:enum"
|
|
9185
9194
|
},
|
|
9186
9195
|
{
|
|
9187
9196
|
"kind": "Content",
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
+
import { _eInternalMessageId } from '@microsoft/applicationinsights-core-js';
|
|
8
|
+
import { EnumValue } from '@microsoft/applicationinsights-core-js';
|
|
7
9
|
import { IChannelControls } from '@microsoft/applicationinsights-core-js';
|
|
8
10
|
import { IConfiguration } from '@microsoft/applicationinsights-core-js';
|
|
9
11
|
import { ICookieMgr } from '@microsoft/applicationinsights-core-js';
|
|
10
12
|
import { ICookieMgrConfig } from '@microsoft/applicationinsights-core-js';
|
|
11
13
|
import { ICustomProperties } from '@microsoft/applicationinsights-core-js';
|
|
12
14
|
import { IDiagnosticLogger } from '@microsoft/applicationinsights-core-js';
|
|
13
|
-
import { _InternalMessageId } from '@microsoft/applicationinsights-core-js';
|
|
14
15
|
import { IPlugin } from '@microsoft/applicationinsights-core-js';
|
|
15
16
|
import { isBeaconsSupported as isBeaconApiSupported } from '@microsoft/applicationinsights-core-js';
|
|
16
17
|
import { ITelemetryItem } from '@microsoft/applicationinsights-core-js';
|
|
@@ -77,7 +78,7 @@ export function dataSanitizeException(logger: IDiagnosticLogger, exception: any)
|
|
|
77
78
|
export function dataSanitizeId(logger: IDiagnosticLogger, id: string): string;
|
|
78
79
|
|
|
79
80
|
// @public (undocumented)
|
|
80
|
-
export function dataSanitizeInput(logger: IDiagnosticLogger, input: any, maxLength: number, _msgId:
|
|
81
|
+
export function dataSanitizeInput(logger: IDiagnosticLogger, input: any, maxLength: number, _msgId: _eInternalMessageId): any;
|
|
81
82
|
|
|
82
83
|
// @public (undocumented)
|
|
83
84
|
export function dataSanitizeKey(logger: IDiagnosticLogger, name: any): any;
|
|
@@ -130,11 +131,11 @@ export const DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
|
|
|
130
131
|
export const DisabledPropertyName: string;
|
|
131
132
|
|
|
132
133
|
// @public (undocumented)
|
|
133
|
-
export const DistributedTracingModes: {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
134
|
+
export const DistributedTracingModes: EnumValue< {
|
|
135
|
+
AI: number;
|
|
136
|
+
AI_AND_W3C: number;
|
|
137
|
+
W3C: number;
|
|
138
|
+
}>;
|
|
138
139
|
|
|
139
140
|
// @public (undocumented)
|
|
140
141
|
export type DistributedTracingModes = number | eDistributedTracingModes;
|
|
@@ -541,7 +542,7 @@ export interface IDataSanitizer {
|
|
|
541
542
|
// (undocumented)
|
|
542
543
|
sanitizeId: (logger: IDiagnosticLogger, id: string) => string;
|
|
543
544
|
// (undocumented)
|
|
544
|
-
sanitizeInput: (logger: IDiagnosticLogger, input: any, maxLength: number, _msgId:
|
|
545
|
+
sanitizeInput: (logger: IDiagnosticLogger, input: any, maxLength: number, _msgId: _eInternalMessageId) => any;
|
|
545
546
|
// (undocumented)
|
|
546
547
|
sanitizeKey: (logger: IDiagnosticLogger, name: any) => string;
|
|
547
548
|
// (undocumented)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 2.8.0-nightly.2204-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 2.8.0-nightly.2204-05
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
declare namespace ApplicationInsights {
|
|
10
|
+
import { _eInternalMessageId } from '@microsoft/applicationinsights-core-js';
|
|
11
|
+
import { EnumValue } from '@microsoft/applicationinsights-core-js';
|
|
10
12
|
import { IChannelControls } from '@microsoft/applicationinsights-core-js';
|
|
11
13
|
import { IConfiguration } from '@microsoft/applicationinsights-core-js';
|
|
12
14
|
import { ICookieMgr } from '@microsoft/applicationinsights-core-js';
|
|
13
15
|
import { ICookieMgrConfig } from '@microsoft/applicationinsights-core-js';
|
|
14
16
|
import { ICustomProperties } from '@microsoft/applicationinsights-core-js';
|
|
15
17
|
import { IDiagnosticLogger } from '@microsoft/applicationinsights-core-js';
|
|
16
|
-
import { _InternalMessageId } from '@microsoft/applicationinsights-core-js';
|
|
17
18
|
import { IPlugin } from '@microsoft/applicationinsights-core-js';
|
|
18
19
|
import { isBeaconsSupported as isBeaconApiSupported } from '@microsoft/applicationinsights-core-js';
|
|
19
20
|
import { ITelemetryItem } from '@microsoft/applicationinsights-core-js';
|
|
@@ -149,7 +150,7 @@ declare namespace ApplicationInsights {
|
|
|
149
150
|
|
|
150
151
|
function dataSanitizeId(logger: IDiagnosticLogger, id: string): string;
|
|
151
152
|
|
|
152
|
-
function dataSanitizeInput(logger: IDiagnosticLogger, input: any, maxLength: number, _msgId:
|
|
153
|
+
function dataSanitizeInput(logger: IDiagnosticLogger, input: any, maxLength: number, _msgId: _eInternalMessageId): any;
|
|
153
154
|
|
|
154
155
|
function dataSanitizeKey(logger: IDiagnosticLogger, name: any): any;
|
|
155
156
|
|
|
@@ -221,11 +222,11 @@ declare namespace ApplicationInsights {
|
|
|
221
222
|
*/
|
|
222
223
|
const DisabledPropertyName: string;
|
|
223
224
|
|
|
224
|
-
const DistributedTracingModes: {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
225
|
+
const DistributedTracingModes: EnumValue< {
|
|
226
|
+
AI: number;
|
|
227
|
+
AI_AND_W3C: number;
|
|
228
|
+
W3C: number;
|
|
229
|
+
}>;
|
|
229
230
|
|
|
230
231
|
type DistributedTracingModes = number | eDistributedTracingModes;
|
|
231
232
|
|
|
@@ -1138,7 +1139,7 @@ declare namespace ApplicationInsights {
|
|
|
1138
1139
|
sanitizeProperties: (logger: IDiagnosticLogger, properties: any) => any;
|
|
1139
1140
|
sanitizeMeasurements: (logger: IDiagnosticLogger, measurements: any) => any;
|
|
1140
1141
|
sanitizeId: (logger: IDiagnosticLogger, id: string) => string;
|
|
1141
|
-
sanitizeInput: (logger: IDiagnosticLogger, input: any, maxLength: number, _msgId:
|
|
1142
|
+
sanitizeInput: (logger: IDiagnosticLogger, input: any, maxLength: number, _msgId: _eInternalMessageId) => any;
|
|
1142
1143
|
padNumber: (num: number) => string;
|
|
1143
1144
|
/**
|
|
1144
1145
|
* helper method to trim strings (IE8 does not implement String.prototype.trim)
|