@microsoft/applicationinsights-properties-js 3.1.1-nightly3.2402-16 → 3.1.1-nightly3.2402-22
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.1.1-nightly3.2402-16.cjs.js → ai.props.3.1.1-nightly3.2402-22.cjs.js} +3 -3
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.cjs.js.map +1 -0
- package/browser/es5/{ai.props.3.1.1-nightly3.2402-16.cjs.min.js → ai.props.3.1.1-nightly3.2402-22.cjs.min.js} +3 -3
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.cjs.min.js.map +1 -0
- package/browser/es5/{ai.props.3.1.1-nightly3.2402-16.gbl.js → ai.props.3.1.1-nightly3.2402-22.gbl.js} +5 -5
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.gbl.js.map +1 -0
- package/browser/es5/{ai.props.3.1.1-nightly3.2402-16.gbl.min.js → ai.props.3.1.1-nightly3.2402-22.gbl.min.js} +3 -3
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.gbl.min.js.map +1 -0
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.integrity.json +66 -0
- package/browser/es5/{ai.props.3.1.1-nightly3.2402-16.js → ai.props.3.1.1-nightly3.2402-22.js} +5 -5
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.js.map +1 -0
- package/browser/es5/{ai.props.3.1.1-nightly3.2402-16.min.js → ai.props.3.1.1-nightly3.2402-22.min.js} +3 -3
- package/browser/es5/ai.props.3.1.1-nightly3.2402-22.min.js.map +1 -0
- package/browser/es5/ai.props.3.cjs.js +2 -2
- 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 +4 -4
- 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 +4 -4
- 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 +2 -2
- 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 +39 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.cjs.js.map +0 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.cjs.min.js.map +0 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.gbl.js.map +0 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.gbl.min.js.map +0 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.integrity.json +0 -66
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.js.map +0 -1
- package/browser/es5/ai.props.3.1.1-nightly3.2402-16.min.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.1.1-nightly3.2402-22
|
|
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.1.1-nightly3.2402-
|
|
8
|
+
var Version = '3.1.1-nightly3.2402-22';
|
|
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.1.1-nightly3.2402-
|
|
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.1.1-nightly3.2402-22';\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.1.1-nightly3.2402-
|
|
3
|
+
"version": "3.1.1-nightly3.2402-22",
|
|
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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
60
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
-
"@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2402-
|
|
62
|
-
"@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-
|
|
61
|
+
"@microsoft/applicationinsights-core-js": "3.1.1-nightly3.2402-22",
|
|
62
|
+
"@microsoft/applicationinsights-common": "3.1.1-nightly3.2402-22",
|
|
63
63
|
"@nevware21/ts-utils": ">= 0.10.5 < 2.x"
|
|
64
64
|
},
|
|
65
65
|
"license": "MIT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights properties plugin, 3.1.1-nightly3.2402-
|
|
2
|
+
* Microsoft Application Insights properties plugin, 3.1.1-nightly3.2402-22
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1489,6 +1489,25 @@ declare namespace ApplicationInsights {
|
|
|
1489
1489
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1490
1490
|
*/
|
|
1491
1491
|
unload?(isAsync?: boolean): void | IPromise<void>;
|
|
1492
|
+
/**
|
|
1493
|
+
* [Optional] A function called when the offline events have been stored to the persistent storage
|
|
1494
|
+
* @param events - items that are stored in the persistent storage
|
|
1495
|
+
* @since v3.1.1
|
|
1496
|
+
*/
|
|
1497
|
+
offlineEventsStored?(events: ITelemetryItem[]): void;
|
|
1498
|
+
/**
|
|
1499
|
+
* [Optional] A function called when the offline events have been sent from the persistent storage
|
|
1500
|
+
* @param batch - payload data that is sent from the persistent storage
|
|
1501
|
+
* @since v3.1.1
|
|
1502
|
+
*/
|
|
1503
|
+
offlineBatchSent?(batch: IPayloadData): void;
|
|
1504
|
+
/**
|
|
1505
|
+
* [Optional] A function called when the offline events have been dropped from the persistent storage
|
|
1506
|
+
* @param cnt - count of batches dropped
|
|
1507
|
+
* @param reason - the reason why the batches is dropped
|
|
1508
|
+
* @since v3.1.1
|
|
1509
|
+
*/
|
|
1510
|
+
offlineBatchDrop?(cnt: number, reason?: number): void;
|
|
1492
1511
|
}
|
|
1493
1512
|
|
|
1494
1513
|
/**
|
|
@@ -1539,6 +1558,25 @@ declare namespace ApplicationInsights {
|
|
|
1539
1558
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1540
1559
|
*/
|
|
1541
1560
|
unload?(isAsync?: boolean): void | IPromise<void>;
|
|
1561
|
+
/**
|
|
1562
|
+
* [Optional] A function called when the offline events have been stored to the persistent storage
|
|
1563
|
+
* @param events - items that are stored in the persistent storage
|
|
1564
|
+
* @since v3.1.1
|
|
1565
|
+
*/
|
|
1566
|
+
offlineEventsStored?(events: ITelemetryItem[]): void;
|
|
1567
|
+
/**
|
|
1568
|
+
* [Optional] A function called when the offline events have been sent from the persistent storage
|
|
1569
|
+
* @param batch - payload data that is sent from the persistent storage
|
|
1570
|
+
* @since v3.1.1
|
|
1571
|
+
*/
|
|
1572
|
+
offlineBatchSent?(batch: IPayloadData): void;
|
|
1573
|
+
/**
|
|
1574
|
+
* [Optional] A function called when the offline events have been dropped from the persistent storage
|
|
1575
|
+
* @param cnt - count of batches dropped
|
|
1576
|
+
* @param reason - the reason why the batches is dropped
|
|
1577
|
+
* @since v3.1.1
|
|
1578
|
+
*/
|
|
1579
|
+
offlineBatchDrop?(cnt: number, reason?: number): void;
|
|
1542
1580
|
}
|
|
1543
1581
|
|
|
1544
1582
|
class _InternalLogMessage {
|