@microsoft/applicationinsights-properties-js 3.4.0-nightlybeta.2504-03 → 3.4.0-nightlybeta3.2504-17
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/{ai.props.3.4.0-nightlybeta.2504-03.js → ai.props.3.4.0-nightlybeta3.2504-17.cjs.js} +209 -165
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.cjs.js.map +1 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.cjs.min.js +6 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.4.0-nightlybeta.2504-03.gbl.js → ai.props.3.4.0-nightlybeta3.2504-17.gbl.js} +211 -140
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.gbl.min.js +6 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.integrity.json +66 -0
- package/browser/es5/{ai.props.3.4.0-nightlybeta.2504-03.cjs.js → ai.props.3.4.0-nightlybeta3.2504-17.js} +236 -138
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.js.map +1 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.min.js +6 -0
- package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-17.min.js.map +1 -0
- package/browser/es5/ai.props.3.cjs.js +208 -137
- package/browser/es5/ai.props.3.cjs.js.map +1 -1
- package/browser/es5/ai.props.3.cjs.min.js +2 -2
- package/browser/es5/ai.props.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.js +210 -139
- package/browser/es5/ai.props.3.gbl.js.map +1 -1
- package/browser/es5/ai.props.3.gbl.min.js +2 -2
- package/browser/es5/ai.props.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.props.3.integrity.json +25 -25
- package/browser/es5/ai.props.3.js +210 -139
- package/browser/es5/ai.props.3.js.map +1 -1
- package/browser/es5/ai.props.3.min.js +2 -2
- package/browser/es5/ai.props.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.js +208 -137
- package/dist/es5/applicationinsights-properties-js.js.map +1 -1
- package/dist/es5/applicationinsights-properties-js.min.js +2 -2
- package/dist/es5/applicationinsights-properties-js.min.js.map +1 -1
- package/dist-es5/Context/Application.js +1 -1
- package/dist-es5/Context/Device.js +1 -1
- package/dist-es5/Context/Internal.js +2 -2
- package/dist-es5/Context/Internal.js.map +1 -1
- package/dist-es5/Context/Location.js +1 -1
- package/dist-es5/Context/Session.js +1 -1
- package/dist-es5/Context/TelemetryTrace.js +1 -1
- package/dist-es5/Context/User.js +1 -1
- package/dist-es5/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IPropertiesConfig.js +1 -1
- package/dist-es5/PropertiesPlugin.js +1 -1
- package/dist-es5/TelemetryContext.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-properties-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-properties-js.d.ts +1 -1
- package/types/applicationinsights-properties-js.namespaced.d.ts +33 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.cjs.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.gbl.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.integrity.json +0 -66
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.js.map +0 -1
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.min.js +0 -6
- package/browser/es5/ai.props.3.4.0-nightlybeta.2504-03.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.4.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
import { onConfigChange } from "@microsoft/applicationinsights-core-js";
|
|
8
|
-
var Version = '3.4.0-
|
|
8
|
+
var Version = '3.4.0-nightlybeta3.2504-17';
|
|
9
9
|
var Internal = /** @class */ (function () {
|
|
10
10
|
/**
|
|
11
11
|
* Constructs a new instance of the internal telemetry data class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.4.0-
|
|
1
|
+
{"version":3,"file":"Internal.js.map","sources":["Internal.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { onConfigChange } from \"@microsoft/applicationinsights-core-js\";\r\nvar Version = '3.4.0-nightlybeta3.2504-17';\r\nvar Internal = /** @class */ (function () {\r\n /**\r\n * Constructs a new instance of the internal telemetry data class.\r\n */\r\n function Internal(config, unloadHookContainer) {\r\n var _this = this;\r\n var unloadHook = onConfigChange((config), function () {\r\n var prefix = config.sdkExtension;\r\n _this.sdkVersion = (prefix ? prefix + \"_\" : \"\") + \"javascript:\" + Version;\r\n });\r\n unloadHookContainer && unloadHookContainer.add(unloadHook);\r\n }\r\n return Internal;\r\n}());\r\nexport { Internal };\r\n//# sourceMappingURL=Internal.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/dist-es5/Context/User.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-properties-js",
|
|
3
|
-
"version": "3.4.0-
|
|
3
|
+
"version": "3.4.0-nightlybeta3.2504-17",
|
|
4
4
|
"description": "Microsoft Application Insights properties (Part A) plugin",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
61
61
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
62
|
-
"@microsoft/applicationinsights-core-js": "3.4.0-
|
|
63
|
-
"@microsoft/applicationinsights-common": "3.4.0-
|
|
62
|
+
"@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2504-17",
|
|
63
|
+
"@microsoft/applicationinsights-common": "3.4.0-nightlybeta3.2504-17",
|
|
64
64
|
"@nevware21/ts-utils": ">= 0.11.8 < 2.x"
|
|
65
65
|
},
|
|
66
66
|
"license": "MIT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.4.0-
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.4.0-
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -343,6 +343,7 @@ declare namespace ApplicationInsights {
|
|
|
343
343
|
*/
|
|
344
344
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
345
345
|
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
346
|
+
getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
|
|
346
347
|
stopPollingInternalLogs?(): void;
|
|
347
348
|
/**
|
|
348
349
|
* Return a new instance of the IProcessTelemetryContext for processing events
|
|
@@ -1133,6 +1134,11 @@ declare namespace ApplicationInsights {
|
|
|
1133
1134
|
* @since 3.3.2
|
|
1134
1135
|
*/
|
|
1135
1136
|
expCfg?: IExceptionConfig;
|
|
1137
|
+
/**
|
|
1138
|
+
* [Optional] Internal SDK configuration for developers
|
|
1139
|
+
* @internal
|
|
1140
|
+
*/
|
|
1141
|
+
_sdk?: IInternalSdkConfiguration;
|
|
1136
1142
|
}
|
|
1137
1143
|
|
|
1138
1144
|
interface ICookieMgr {
|
|
@@ -1524,6 +1530,18 @@ declare namespace ApplicationInsights {
|
|
|
1524
1530
|
createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
|
|
1525
1531
|
}
|
|
1526
1532
|
|
|
1533
|
+
/**
|
|
1534
|
+
* Internal SDK configuration options
|
|
1535
|
+
* @internal
|
|
1536
|
+
*/
|
|
1537
|
+
interface IInternalSdkConfiguration {
|
|
1538
|
+
/**
|
|
1539
|
+
* [Optional] Enable Internal StatsBeat
|
|
1540
|
+
* @internal
|
|
1541
|
+
*/
|
|
1542
|
+
stats?: boolean;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1527
1545
|
/**
|
|
1528
1546
|
* An alternate interface which provides automatic removal during unloading of the component
|
|
1529
1547
|
*/
|
|
@@ -2195,6 +2213,20 @@ declare namespace ApplicationInsights {
|
|
|
2195
2213
|
backup: () => void;
|
|
2196
2214
|
}
|
|
2197
2215
|
|
|
2216
|
+
interface IStatsBeat {
|
|
2217
|
+
initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
|
|
2218
|
+
isInitialized(): boolean;
|
|
2219
|
+
count(status: number, payloadData: IPayloadData, endpoint: string): void;
|
|
2220
|
+
countException(endpoint: string, exceptionType: string): void;
|
|
2221
|
+
getEndpoint(): string;
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
interface IStatsBeatConfig {
|
|
2225
|
+
ikey: string;
|
|
2226
|
+
endpoint: string;
|
|
2227
|
+
version?: string;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2198
2230
|
/**
|
|
2199
2231
|
* Identifies a simple interface to allow you to override the storage mechanism used
|
|
2200
2232
|
* to track unsent and unacknowledged events. When provided it must provide both
|