@microsoft/applicationinsights-core-js 3.3.3-nightly3.2408-12 → 3.3.3-nightly3.2409-02
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/es5/applicationinsights-core-js.cjs.js +2 -2
- package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.gbl.js +4 -4
- package/browser/es5/applicationinsights-core-js.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.integrity.json +25 -25
- package/browser/es5/applicationinsights-core-js.js +4 -4
- package/browser/es5/applicationinsights-core-js.js.map +1 -1
- package/browser/es5/applicationinsights-core-js.min.js +2 -2
- package/browser/es5/applicationinsights-core-js.min.js.map +1 -1
- package/dist/es5/applicationinsights-core-js.js +2 -2
- package/dist/es5/applicationinsights-core-js.js.map +1 -1
- package/dist/es5/applicationinsights-core-js.min.js +2 -2
- package/dist/es5/applicationinsights-core-js.min.js.map +1 -1
- package/dist-es5/Config/ConfigDefaultHelpers.js +1 -1
- package/dist-es5/Config/ConfigDefaults.js +1 -1
- package/dist-es5/Config/DynamicConfig.js +1 -1
- package/dist-es5/Config/DynamicProperty.js +1 -1
- package/dist-es5/Config/DynamicState.js +1 -1
- package/dist-es5/Config/DynamicSupport.js +1 -1
- package/dist-es5/Config/IConfigDefaults.js +1 -1
- package/dist-es5/Config/IDynamicConfigHandler.js +1 -1
- package/dist-es5/Config/IDynamicPropertyHandler.js +1 -1
- package/dist-es5/Config/IDynamicWatcher.js +1 -1
- package/dist-es5/Config/_IDynamicConfigHandlerState.js +1 -1
- package/dist-es5/JavaScriptSDK/AggregationError.js +1 -1
- package/dist-es5/JavaScriptSDK/AppInsightsCore.js +1 -1
- package/dist-es5/JavaScriptSDK/AsyncUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
- package/dist-es5/JavaScriptSDK/Constants.js +1 -1
- package/dist-es5/JavaScriptSDK/CookieMgr.js +1 -1
- package/dist-es5/JavaScriptSDK/CoreUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/DataCacheHelper.js +2 -2
- package/dist-es5/JavaScriptSDK/DataCacheHelper.js.map +1 -1
- package/dist-es5/JavaScriptSDK/DbgExtensionUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/DiagnosticLogger.js +1 -1
- package/dist-es5/JavaScriptSDK/EnvUtils.js +1 -1
- package/dist-es5/JavaScriptSDK/EventHelpers.js +1 -1
- package/dist-es5/JavaScriptSDK/HelperFuncs.js +1 -1
- package/dist-es5/JavaScriptSDK/InstrumentHooks.js +1 -1
- package/dist-es5/JavaScriptSDK/InternalConstants.js +1 -1
- package/dist-es5/JavaScriptSDK/NotificationManager.js +1 -1
- package/dist-es5/JavaScriptSDK/PerfManager.js +1 -1
- package/dist-es5/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
- package/dist-es5/JavaScriptSDK/RandomHelper.js +1 -1
- package/dist-es5/JavaScriptSDK/ResponseHelpers.js +1 -1
- package/dist-es5/JavaScriptSDK/SenderPostManager.js +1 -1
- package/dist-es5/JavaScriptSDK/TelemetryHelpers.js +1 -1
- package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
- package/dist-es5/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
- package/dist-es5/JavaScriptSDK/UnloadHookContainer.js +1 -1
- package/dist-es5/JavaScriptSDK/W3cTraceParent.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/FeatureOptInEnums.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/InitActiveStatusEnum.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IExceptionConfig.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IFeatureOptIn.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ISenderPostManager.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IXDomainRequest.js +1 -1
- package/dist-es5/JavaScriptSDK.Interfaces/IXHROverride.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-core-js.js +1 -1
- package/package.json +1 -1
- package/types/applicationinsights-core-js.d.ts +29 -3
- package/types/applicationinsights-core-js.namespaced.d.ts +29 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Core, 3.3.3-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Core, 3.3.3-nightly3.2409-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
export { MinChannelPriorty } from "./JavaScriptSDK.Interfaces/IChannelControls";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-core-js",
|
|
3
3
|
"author": "Microsoft Application Insights Team",
|
|
4
|
-
"version": "3.3.3-nightly3.
|
|
4
|
+
"version": "3.3.3-nightly3.2409-02",
|
|
5
5
|
"description": "Microsoft Application Insights Core Javascript SDK",
|
|
6
6
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
7
|
"keywords": [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Core Javascript SDK, 3.3.3-nightly3.
|
|
2
|
+
* Microsoft Application Insights Core Javascript SDK, 3.3.3-nightly3.2409-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -2008,10 +2008,31 @@ export declare interface IDynamicPropertyHandler<T = IConfiguration> {
|
|
|
2008
2008
|
h: IWatcherHandler<T>[];
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
+
/**
|
|
2012
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
2013
|
+
* @example
|
|
2014
|
+
* ```js
|
|
2015
|
+
* const appInsights = new ApplicationInsights({
|
|
2016
|
+
config: {
|
|
2017
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
2018
|
+
expCfg: {
|
|
2019
|
+
inclScripts: true,
|
|
2020
|
+
expLog : () => {
|
|
2021
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
2022
|
+
},
|
|
2023
|
+
maxLogs : 100
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
});
|
|
2027
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
2028
|
+
* ```
|
|
2029
|
+
* @interface IExceptionConfig
|
|
2030
|
+
*/
|
|
2011
2031
|
export declare interface IExceptionConfig {
|
|
2012
2032
|
/**
|
|
2013
2033
|
* If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
|
|
2014
2034
|
* Notice: This would increase the size of the exception telemetry.
|
|
2035
|
+
* @defaultvalue true
|
|
2015
2036
|
*/
|
|
2016
2037
|
inclScripts?: boolean;
|
|
2017
2038
|
/**
|
|
@@ -2026,10 +2047,15 @@ export declare interface IExceptionConfig {
|
|
|
2026
2047
|
*
|
|
2027
2048
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
2028
2049
|
*/
|
|
2029
|
-
expLog
|
|
2050
|
+
expLog?: () => {
|
|
2030
2051
|
logs: string[];
|
|
2031
2052
|
};
|
|
2032
|
-
|
|
2053
|
+
/**
|
|
2054
|
+
* The maximum number of logs to include in the telemetry data.
|
|
2055
|
+
* If not explicitly set, it defaults to 50.
|
|
2056
|
+
* This is used in conjunction with the `expLog` callback.
|
|
2057
|
+
*/
|
|
2058
|
+
maxLogs?: number;
|
|
2033
2059
|
}
|
|
2034
2060
|
|
|
2035
2061
|
export declare interface IFeatureOptIn {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Core Javascript SDK, 3.3.3-nightly3.
|
|
2
|
+
* Microsoft Application Insights Core Javascript SDK, 3.3.3-nightly3.2409-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -2417,10 +2417,31 @@ declare namespace ApplicationInsights {
|
|
|
2417
2417
|
h: IWatcherHandler<T>[];
|
|
2418
2418
|
}
|
|
2419
2419
|
|
|
2420
|
+
/**
|
|
2421
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
2422
|
+
* @example
|
|
2423
|
+
* ```js
|
|
2424
|
+
* const appInsights = new ApplicationInsights({
|
|
2425
|
+
config: {
|
|
2426
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
2427
|
+
expCfg: {
|
|
2428
|
+
inclScripts: true,
|
|
2429
|
+
expLog : () => {
|
|
2430
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
2431
|
+
},
|
|
2432
|
+
maxLogs : 100
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
});
|
|
2436
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
2437
|
+
* ```
|
|
2438
|
+
* @interface IExceptionConfig
|
|
2439
|
+
*/
|
|
2420
2440
|
interface IExceptionConfig {
|
|
2421
2441
|
/**
|
|
2422
2442
|
* If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
|
|
2423
2443
|
* Notice: This would increase the size of the exception telemetry.
|
|
2444
|
+
* @defaultvalue true
|
|
2424
2445
|
*/
|
|
2425
2446
|
inclScripts?: boolean;
|
|
2426
2447
|
/**
|
|
@@ -2435,10 +2456,15 @@ declare namespace ApplicationInsights {
|
|
|
2435
2456
|
*
|
|
2436
2457
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
2437
2458
|
*/
|
|
2438
|
-
expLog
|
|
2459
|
+
expLog?: () => {
|
|
2439
2460
|
logs: string[];
|
|
2440
2461
|
};
|
|
2441
|
-
|
|
2462
|
+
/**
|
|
2463
|
+
* The maximum number of logs to include in the telemetry data.
|
|
2464
|
+
* If not explicitly set, it defaults to 50.
|
|
2465
|
+
* This is used in conjunction with the `expLog` callback.
|
|
2466
|
+
*/
|
|
2467
|
+
maxLogs?: number;
|
|
2442
2468
|
}
|
|
2443
2469
|
|
|
2444
2470
|
interface IFeatureOptIn {
|