@microsoft/applicationinsights-common 3.0.0-beta.2208-16 → 3.0.0-beta.2209-01
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 +1 -1
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +1 -1
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +54 -0
- package/dist/applicationinsights-common.api.md +2 -0
- package/dist/applicationinsights-common.d.ts +15 -1
- package/dist/applicationinsights-common.js +1 -1
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +1 -1
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +15 -1
- 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 +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 +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/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/src/Interfaces/IConfig.ts +11 -2
- package/src/Interfaces/ICorrelationConfig.ts +8 -0
- package/types/Interfaces/IConfig.d.ts +10 -3
- package/types/Interfaces/ICorrelationConfig.d.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-common",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.2209-01",
|
|
4
4
|
"description": "Microsoft Application Insights Common JavaScript Library",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@microsoft/applicationinsights-shims": "2.0.1",
|
|
53
|
-
"@microsoft/applicationinsights-core-js": "3.0.0-beta.
|
|
53
|
+
"@microsoft/applicationinsights-core-js": "3.0.0-beta.2209-01",
|
|
54
54
|
"@microsoft/dynamicproto-js": "^1.1.6",
|
|
55
55
|
"@nevware21/ts-utils": "^0.4.1"
|
|
56
56
|
},
|
|
@@ -366,11 +366,20 @@ export interface IConfig {
|
|
|
366
366
|
* [Optional] The number of events that can be kept in memory before the SDK starts to drop events. By default, this is 10,000.
|
|
367
367
|
*/
|
|
368
368
|
eventsLimitInMem?: number;
|
|
369
|
-
|
|
369
|
+
|
|
370
|
+
/**
|
|
370
371
|
* [Optional] Disable iKey deprecation error message.
|
|
371
372
|
* @defaultValue true
|
|
372
373
|
*/
|
|
373
|
-
|
|
374
|
+
disableIkeyDeprecationMessage?: boolean;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* [Optional] Flag to indicate whether the internal looking endpoints should be automatically
|
|
378
|
+
* added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
|
|
379
|
+
* This flag exists as the provided regex is generic and may unexpectedly match a domain that
|
|
380
|
+
* should not be excluded.
|
|
381
|
+
*/
|
|
382
|
+
addIntEndpoints?: boolean;
|
|
374
383
|
}
|
|
375
384
|
|
|
376
385
|
export class ConfigurationManager {
|
|
@@ -60,4 +60,12 @@ export interface ICorrelationConfig {
|
|
|
60
60
|
* Default is undefined.
|
|
61
61
|
*/
|
|
62
62
|
addRequestContext?: (requestContext?: IRequestContext) => ICustomProperties;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* [Optional] Flag to indicate whether the internal looking endpoints should be automatically
|
|
66
|
+
* added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
|
|
67
|
+
* This flag exists as the provided regex is generic and may unexpectedly match a domain that
|
|
68
|
+
* should not be excluded.
|
|
69
|
+
*/
|
|
70
|
+
addIntEndpoints?: boolean;
|
|
63
71
|
}
|
|
@@ -306,10 +306,17 @@ export interface IConfig {
|
|
|
306
306
|
*/
|
|
307
307
|
eventsLimitInMem?: number;
|
|
308
308
|
/**
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
* [Optional] Disable iKey deprecation error message.
|
|
310
|
+
* @defaultValue true
|
|
311
|
+
*/
|
|
312
312
|
disableIkeyDeprecationMessage?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* [Optional] Flag to indicate whether the internal looking endpoints should be automatically
|
|
315
|
+
* added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
|
|
316
|
+
* This flag exists as the provided regex is generic and may unexpectedly match a domain that
|
|
317
|
+
* should not be excluded.
|
|
318
|
+
*/
|
|
319
|
+
addIntEndpoints?: boolean;
|
|
313
320
|
}
|
|
314
321
|
export declare class ConfigurationManager {
|
|
315
322
|
static getConfig(config: IConfiguration & IConfig, field: string, identifier?: string, defaultValue?: number | string | boolean): number | string | boolean;
|
|
@@ -49,4 +49,11 @@ export interface ICorrelationConfig {
|
|
|
49
49
|
* Default is undefined.
|
|
50
50
|
*/
|
|
51
51
|
addRequestContext?: (requestContext?: IRequestContext) => ICustomProperties;
|
|
52
|
+
/**
|
|
53
|
+
* [Optional] Flag to indicate whether the internal looking endpoints should be automatically
|
|
54
|
+
* added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
|
|
55
|
+
* This flag exists as the provided regex is generic and may unexpectedly match a domain that
|
|
56
|
+
* should not be excluded.
|
|
57
|
+
*/
|
|
58
|
+
addIntEndpoints?: boolean;
|
|
52
59
|
}
|