@microsoft/applicationinsights-properties-js 2.8.0-beta.2203-15 → 2.8.0-nightly.2204-04
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-properties-js.integrity.json +9 -9
- package/browser/applicationinsights-properties-js.js +14 -36
- package/browser/applicationinsights-properties-js.js.map +1 -1
- package/browser/applicationinsights-properties-js.min.js +2 -2
- package/browser/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.api.json +110 -56
- package/dist/applicationinsights-properties-js.d.ts +1 -1
- package/dist/applicationinsights-properties-js.js +14 -36
- package/dist/applicationinsights-properties-js.js.map +1 -1
- package/dist/applicationinsights-properties-js.min.js +2 -2
- package/dist/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
- package/dist-esm/Context/Application.js +1 -1
- package/dist-esm/Context/Device.js +1 -1
- package/dist-esm/Context/Internal.js +2 -2
- package/dist-esm/Context/Internal.js.map +1 -1
- package/dist-esm/Context/Location.js +1 -1
- package/dist-esm/Context/Session.js +1 -1
- package/dist-esm/Context/TelemetryTrace.js +1 -1
- package/dist-esm/Context/User.js +1 -1
- package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryConfig.js +1 -1
- package/dist-esm/PropertiesPlugin.js +1 -1
- package/dist-esm/TelemetryContext.js +1 -1
- package/dist-esm/applicationinsights-properties-js.js +1 -1
- package/package.json +4 -4
- package/src/Context/Internal.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-properties-js",
|
|
3
|
-
"version": "2.8.0-
|
|
3
|
+
"version": "2.8.0-nightly.2204-04",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-properties-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-PcQINUhux/r+Buk5eOhPnkPEWxDFFetRjoAS5qIMIKw= sha384-5SAqMnW7igrmbqWDgfo8hczlJE9BQXxXUTsZfIsl5ZLRvrd3dvSG4pHwUTkvymdu sha512-CxgnhGDQZwEJor+5yWgRxw1DojKb4yHWalGnxcBJ/Z5Z6Gdj7FhH5EF/vAMKZ8YV+cU1oBHUtIXM3T33Z8Moog==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "PcQINUhux/r+Buk5eOhPnkPEWxDFFetRjoAS5qIMIKw=",
|
|
11
|
+
"sha384": "5SAqMnW7igrmbqWDgfo8hczlJE9BQXxXUTsZfIsl5ZLRvrd3dvSG4pHwUTkvymdu",
|
|
12
|
+
"sha512": "CxgnhGDQZwEJor+5yWgRxw1DojKb4yHWalGnxcBJ/Z5Z6Gdj7FhH5EF/vAMKZ8YV+cU1oBHUtIXM3T33Z8Moog=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-properties-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-7LnDr6ycorI5Yx3zNo2/KKXkpv7Aiv3Nzy8C6GFnX9g= sha384-MM0iesJ31S7IyYF5+g1a2oFXwG9FHnkXv7V3F9mLZodSeE0c7XI32Kxgzhk8W5G3 sha512-PjhxdJciLNypCZYK6q4igdG+/jsoHsuUpM0jFa5Ujxl9aiUSSWzUYTujBJzMhPNb5K7NeBkTPZtW3QDKlzUq1Q==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "7LnDr6ycorI5Yx3zNo2/KKXkpv7Aiv3Nzy8C6GFnX9g=",
|
|
21
|
+
"sha384": "MM0iesJ31S7IyYF5+g1a2oFXwG9FHnkXv7V3F9mLZodSeE0c7XI32Kxgzhk8W5G3",
|
|
22
|
+
"sha512": "PjhxdJciLNypCZYK6q4igdG+/jsoHsuUpM0jFa5Ujxl9aiUSSWzUYTujBJzMhPNb5K7NeBkTPZtW3QDKlzUq1Q=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 2.8.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 2.8.0-nightly.2204-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1155,7 +1155,7 @@
|
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
1157
|
var _objDefineProperty = ObjDefineProperty;
|
|
1158
|
-
var version = "2.8.0-
|
|
1158
|
+
var version = "2.8.0-nightly.2204-04";
|
|
1159
1159
|
var instanceName = "." + newId(6);
|
|
1160
1160
|
var _dataUid = 0;
|
|
1161
1161
|
function _createAccessor(target, prop, value) {
|
|
@@ -2304,32 +2304,9 @@
|
|
|
2304
2304
|
return false;
|
|
2305
2305
|
}
|
|
2306
2306
|
|
|
2307
|
-
var
|
|
2308
|
-
function EventData() {
|
|
2309
|
-
this.ver = 2;
|
|
2310
|
-
this.properties = {};
|
|
2311
|
-
this.measurements = {};
|
|
2312
|
-
}
|
|
2313
|
-
return EventData;
|
|
2314
|
-
}());
|
|
2315
|
-
|
|
2316
|
-
var PageViewData = /** @class */ (function (_super) {
|
|
2317
|
-
__extendsFn(PageViewData, _super);
|
|
2318
|
-
function PageViewData() {
|
|
2319
|
-
var _this = _super.call(this) || this;
|
|
2320
|
-
_this.ver = 2;
|
|
2321
|
-
_this.properties = {};
|
|
2322
|
-
_this.measurements = {};
|
|
2323
|
-
return _this;
|
|
2324
|
-
}
|
|
2325
|
-
return PageViewData;
|
|
2326
|
-
}(EventData));
|
|
2327
|
-
|
|
2328
|
-
var PageView = /** @class */ (function (_super) {
|
|
2329
|
-
__extendsFn(PageView, _super);
|
|
2307
|
+
var PageView = /** @class */ (function () {
|
|
2330
2308
|
function PageView(logger, name, url, durationMs, properties, measurements, id) {
|
|
2331
|
-
|
|
2332
|
-
_this.aiDataContract = {
|
|
2309
|
+
this.aiDataContract = {
|
|
2333
2310
|
ver: 1 ,
|
|
2334
2311
|
name: 0 ,
|
|
2335
2312
|
url: 0 ,
|
|
@@ -2338,20 +2315,21 @@
|
|
|
2338
2315
|
measurements: 0 ,
|
|
2339
2316
|
id: 0
|
|
2340
2317
|
};
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2318
|
+
var _self = this;
|
|
2319
|
+
_self.ver = 2;
|
|
2320
|
+
_self.id = dataSanitizeId(logger, id);
|
|
2321
|
+
_self.url = dataSanitizeUrl(logger, url);
|
|
2322
|
+
_self.name = dataSanitizeString(logger, name) || strNotSpecified;
|
|
2344
2323
|
if (!isNaN(durationMs)) {
|
|
2345
|
-
|
|
2324
|
+
_self.duration = msToTimeSpan(durationMs);
|
|
2346
2325
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
return _this;
|
|
2326
|
+
_self.properties = dataSanitizeProperties(logger, properties);
|
|
2327
|
+
_self.measurements = dataSanitizeMeasurements(logger, measurements);
|
|
2350
2328
|
}
|
|
2351
2329
|
PageView.envelopeType = "Microsoft.ApplicationInsights.{0}.Pageview";
|
|
2352
2330
|
PageView.dataType = "PageviewData";
|
|
2353
2331
|
return PageView;
|
|
2354
|
-
}(
|
|
2332
|
+
}());
|
|
2355
2333
|
|
|
2356
2334
|
function _aiNameFunc(baseName) {
|
|
2357
2335
|
var aiName = "ai." + baseName + ".";
|
|
@@ -2600,7 +2578,7 @@
|
|
|
2600
2578
|
return Device;
|
|
2601
2579
|
}());
|
|
2602
2580
|
|
|
2603
|
-
var Version = "2.8.0-
|
|
2581
|
+
var Version = "2.8.0-nightly.2204-04";
|
|
2604
2582
|
var Internal = /** @class */ (function () {
|
|
2605
2583
|
function Internal(config) {
|
|
2606
2584
|
this.sdkVersion = (config.sdkExtension && config.sdkExtension() ? config.sdkExtension() + "_" : "") + "javascript:" + Version;
|