@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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.19.5",
5
- "schemaVersion": 1004,
4
+ "toolVersion": "7.20.0",
5
+ "schemaVersion": 1005,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
8
8
  "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
@@ -240,14 +240,16 @@
240
240
  "parameterTypeTokenRange": {
241
241
  "startIndex": 1,
242
242
  "endIndex": 2
243
- }
243
+ },
244
+ "isOptional": false
244
245
  },
245
246
  {
246
247
  "parameterName": "itemCtx",
247
248
  "parameterTypeTokenRange": {
248
249
  "startIndex": 3,
249
250
  "endIndex": 4
250
- }
251
+ },
252
+ "isOptional": true
251
253
  }
252
254
  ],
253
255
  "name": "applyApplicationContext"
@@ -301,14 +303,16 @@
301
303
  "parameterTypeTokenRange": {
302
304
  "startIndex": 1,
303
305
  "endIndex": 2
304
- }
306
+ },
307
+ "isOptional": false
305
308
  },
306
309
  {
307
310
  "parameterName": "itemCtx",
308
311
  "parameterTypeTokenRange": {
309
312
  "startIndex": 3,
310
313
  "endIndex": 4
311
- }
314
+ },
315
+ "isOptional": true
312
316
  }
313
317
  ],
314
318
  "name": "applyDeviceContext"
@@ -362,14 +366,16 @@
362
366
  "parameterTypeTokenRange": {
363
367
  "startIndex": 1,
364
368
  "endIndex": 2
365
- }
369
+ },
370
+ "isOptional": false
366
371
  },
367
372
  {
368
373
  "parameterName": "itemCtx",
369
374
  "parameterTypeTokenRange": {
370
375
  "startIndex": 3,
371
376
  "endIndex": 4
372
- }
377
+ },
378
+ "isOptional": true
373
379
  }
374
380
  ],
375
381
  "name": "applyInternalContext"
@@ -423,14 +429,16 @@
423
429
  "parameterTypeTokenRange": {
424
430
  "startIndex": 1,
425
431
  "endIndex": 2
426
- }
432
+ },
433
+ "isOptional": false
427
434
  },
428
435
  {
429
436
  "parameterName": "itemCtx",
430
437
  "parameterTypeTokenRange": {
431
438
  "startIndex": 3,
432
439
  "endIndex": 4
433
- }
440
+ },
441
+ "isOptional": true
434
442
  }
435
443
  ],
436
444
  "name": "applyLocationContext"
@@ -484,14 +492,16 @@
484
492
  "parameterTypeTokenRange": {
485
493
  "startIndex": 1,
486
494
  "endIndex": 2
487
- }
495
+ },
496
+ "isOptional": false
488
497
  },
489
498
  {
490
499
  "parameterName": "itemCtx",
491
500
  "parameterTypeTokenRange": {
492
501
  "startIndex": 3,
493
502
  "endIndex": 4
494
- }
503
+ },
504
+ "isOptional": true
495
505
  }
496
506
  ],
497
507
  "name": "applyOperatingSystemContxt"
@@ -545,14 +555,16 @@
545
555
  "parameterTypeTokenRange": {
546
556
  "startIndex": 1,
547
557
  "endIndex": 2
548
- }
558
+ },
559
+ "isOptional": false
549
560
  },
550
561
  {
551
562
  "parameterName": "itemCtx",
552
563
  "parameterTypeTokenRange": {
553
564
  "startIndex": 3,
554
565
  "endIndex": 4
555
- }
566
+ },
567
+ "isOptional": true
556
568
  }
557
569
  ],
558
570
  "name": "applyOperationContext"
@@ -606,14 +618,16 @@
606
618
  "parameterTypeTokenRange": {
607
619
  "startIndex": 1,
608
620
  "endIndex": 2
609
- }
621
+ },
622
+ "isOptional": false
610
623
  },
611
624
  {
612
625
  "parameterName": "itemCtx",
613
626
  "parameterTypeTokenRange": {
614
627
  "startIndex": 3,
615
628
  "endIndex": 4
616
- }
629
+ },
630
+ "isOptional": true
617
631
  }
618
632
  ],
619
633
  "name": "applySessionContext"
@@ -667,14 +681,16 @@
667
681
  "parameterTypeTokenRange": {
668
682
  "startIndex": 1,
669
683
  "endIndex": 2
670
- }
684
+ },
685
+ "isOptional": false
671
686
  },
672
687
  {
673
688
  "parameterName": "itemCtx",
674
689
  "parameterTypeTokenRange": {
675
690
  "startIndex": 3,
676
691
  "endIndex": 4
677
- }
692
+ },
693
+ "isOptional": true
678
694
  }
679
695
  ],
680
696
  "name": "applyUserContext"
@@ -728,14 +744,16 @@
728
744
  "parameterTypeTokenRange": {
729
745
  "startIndex": 1,
730
746
  "endIndex": 2
731
- }
747
+ },
748
+ "isOptional": false
732
749
  },
733
750
  {
734
751
  "parameterName": "itemCtx",
735
752
  "parameterTypeTokenRange": {
736
753
  "startIndex": 3,
737
754
  "endIndex": 4
738
- }
755
+ },
756
+ "isOptional": true
739
757
  }
740
758
  ],
741
759
  "name": "applyWebContext"
@@ -789,14 +807,16 @@
789
807
  "parameterTypeTokenRange": {
790
808
  "startIndex": 1,
791
809
  "endIndex": 2
792
- }
810
+ },
811
+ "isOptional": false
793
812
  },
794
813
  {
795
814
  "parameterName": "itemCtx",
796
815
  "parameterTypeTokenRange": {
797
816
  "startIndex": 3,
798
817
  "endIndex": 4
799
- }
818
+ },
819
+ "isOptional": true
800
820
  }
801
821
  ],
802
822
  "name": "cleanUp"
@@ -1249,28 +1269,32 @@
1249
1269
  "parameterTypeTokenRange": {
1250
1270
  "startIndex": 1,
1251
1271
  "endIndex": 4
1252
- }
1272
+ },
1273
+ "isOptional": false
1253
1274
  },
1254
1275
  {
1255
1276
  "parameterName": "core",
1256
1277
  "parameterTypeTokenRange": {
1257
1278
  "startIndex": 5,
1258
1279
  "endIndex": 6
1259
- }
1280
+ },
1281
+ "isOptional": false
1260
1282
  },
1261
1283
  {
1262
1284
  "parameterName": "extensions",
1263
1285
  "parameterTypeTokenRange": {
1264
1286
  "startIndex": 7,
1265
1287
  "endIndex": 9
1266
- }
1288
+ },
1289
+ "isOptional": false
1267
1290
  },
1268
1291
  {
1269
1292
  "parameterName": "pluginChain",
1270
1293
  "parameterTypeTokenRange": {
1271
1294
  "startIndex": 10,
1272
1295
  "endIndex": 11
1273
- }
1296
+ },
1297
+ "isOptional": true
1274
1298
  }
1275
1299
  ],
1276
1300
  "name": "initialize"
@@ -1352,14 +1376,16 @@
1352
1376
  "parameterTypeTokenRange": {
1353
1377
  "startIndex": 1,
1354
1378
  "endIndex": 2
1355
- }
1379
+ },
1380
+ "isOptional": false
1356
1381
  },
1357
1382
  {
1358
1383
  "parameterName": "itemCtx",
1359
1384
  "parameterTypeTokenRange": {
1360
1385
  "startIndex": 3,
1361
1386
  "endIndex": 4
1362
- }
1387
+ },
1388
+ "isOptional": true
1363
1389
  }
1364
1390
  ],
1365
1391
  "name": "processTelemetry"
@@ -1536,14 +1562,16 @@
1536
1562
  "parameterTypeTokenRange": {
1537
1563
  "startIndex": 1,
1538
1564
  "endIndex": 2
1539
- }
1565
+ },
1566
+ "isOptional": false
1540
1567
  },
1541
1568
  {
1542
1569
  "parameterName": "core",
1543
1570
  "parameterTypeTokenRange": {
1544
1571
  "startIndex": 3,
1545
1572
  "endIndex": 4
1546
- }
1573
+ },
1574
+ "isOptional": true
1547
1575
  }
1548
1576
  ]
1549
1577
  },
@@ -1803,14 +1831,16 @@
1803
1831
  "parameterTypeTokenRange": {
1804
1832
  "startIndex": 1,
1805
1833
  "endIndex": 2
1806
- }
1834
+ },
1835
+ "isOptional": false
1807
1836
  },
1808
1837
  {
1809
1838
  "parameterName": "defaultConfig",
1810
1839
  "parameterTypeTokenRange": {
1811
1840
  "startIndex": 3,
1812
1841
  "endIndex": 4
1813
- }
1842
+ },
1843
+ "isOptional": false
1814
1844
  }
1815
1845
  ]
1816
1846
  },
@@ -1919,14 +1949,16 @@
1919
1949
  "parameterTypeTokenRange": {
1920
1950
  "startIndex": 1,
1921
1951
  "endIndex": 2
1922
- }
1952
+ },
1953
+ "isOptional": false
1923
1954
  },
1924
1955
  {
1925
1956
  "parameterName": "itemCtx",
1926
1957
  "parameterTypeTokenRange": {
1927
1958
  "startIndex": 3,
1928
1959
  "endIndex": 4
1929
- }
1960
+ },
1961
+ "isOptional": true
1930
1962
  }
1931
1963
  ],
1932
1964
  "name": "applyApplicationContext"
@@ -1981,14 +2013,16 @@
1981
2013
  "parameterTypeTokenRange": {
1982
2014
  "startIndex": 1,
1983
2015
  "endIndex": 2
1984
- }
2016
+ },
2017
+ "isOptional": false
1985
2018
  },
1986
2019
  {
1987
2020
  "parameterName": "itemCtx",
1988
2021
  "parameterTypeTokenRange": {
1989
2022
  "startIndex": 3,
1990
2023
  "endIndex": 4
1991
- }
2024
+ },
2025
+ "isOptional": true
1992
2026
  }
1993
2027
  ],
1994
2028
  "name": "applyDeviceContext"
@@ -2043,14 +2077,16 @@
2043
2077
  "parameterTypeTokenRange": {
2044
2078
  "startIndex": 1,
2045
2079
  "endIndex": 2
2046
- }
2080
+ },
2081
+ "isOptional": false
2047
2082
  },
2048
2083
  {
2049
2084
  "parameterName": "itemCtx",
2050
2085
  "parameterTypeTokenRange": {
2051
2086
  "startIndex": 3,
2052
2087
  "endIndex": 4
2053
- }
2088
+ },
2089
+ "isOptional": true
2054
2090
  }
2055
2091
  ],
2056
2092
  "name": "applyInternalContext"
@@ -2105,14 +2141,16 @@
2105
2141
  "parameterTypeTokenRange": {
2106
2142
  "startIndex": 1,
2107
2143
  "endIndex": 2
2108
- }
2144
+ },
2145
+ "isOptional": false
2109
2146
  },
2110
2147
  {
2111
2148
  "parameterName": "itemCtx",
2112
2149
  "parameterTypeTokenRange": {
2113
2150
  "startIndex": 3,
2114
2151
  "endIndex": 4
2115
- }
2152
+ },
2153
+ "isOptional": true
2116
2154
  }
2117
2155
  ],
2118
2156
  "name": "applyLocationContext"
@@ -2167,14 +2205,16 @@
2167
2205
  "parameterTypeTokenRange": {
2168
2206
  "startIndex": 1,
2169
2207
  "endIndex": 2
2170
- }
2208
+ },
2209
+ "isOptional": false
2171
2210
  },
2172
2211
  {
2173
2212
  "parameterName": "itemCtx",
2174
2213
  "parameterTypeTokenRange": {
2175
2214
  "startIndex": 3,
2176
2215
  "endIndex": 4
2177
- }
2216
+ },
2217
+ "isOptional": true
2178
2218
  }
2179
2219
  ],
2180
2220
  "name": "applyOperatingSystemContxt"
@@ -2229,14 +2269,16 @@
2229
2269
  "parameterTypeTokenRange": {
2230
2270
  "startIndex": 1,
2231
2271
  "endIndex": 2
2232
- }
2272
+ },
2273
+ "isOptional": false
2233
2274
  },
2234
2275
  {
2235
2276
  "parameterName": "itemCtx",
2236
2277
  "parameterTypeTokenRange": {
2237
2278
  "startIndex": 3,
2238
2279
  "endIndex": 4
2239
- }
2280
+ },
2281
+ "isOptional": true
2240
2282
  }
2241
2283
  ],
2242
2284
  "name": "applyOperationContext"
@@ -2291,14 +2333,16 @@
2291
2333
  "parameterTypeTokenRange": {
2292
2334
  "startIndex": 1,
2293
2335
  "endIndex": 2
2294
- }
2336
+ },
2337
+ "isOptional": false
2295
2338
  },
2296
2339
  {
2297
2340
  "parameterName": "itemCtx",
2298
2341
  "parameterTypeTokenRange": {
2299
2342
  "startIndex": 3,
2300
2343
  "endIndex": 4
2301
- }
2344
+ },
2345
+ "isOptional": true
2302
2346
  }
2303
2347
  ],
2304
2348
  "name": "applySessionContext"
@@ -2353,14 +2397,16 @@
2353
2397
  "parameterTypeTokenRange": {
2354
2398
  "startIndex": 1,
2355
2399
  "endIndex": 2
2356
- }
2400
+ },
2401
+ "isOptional": false
2357
2402
  },
2358
2403
  {
2359
2404
  "parameterName": "itemCtx",
2360
2405
  "parameterTypeTokenRange": {
2361
2406
  "startIndex": 3,
2362
2407
  "endIndex": 4
2363
- }
2408
+ },
2409
+ "isOptional": true
2364
2410
  }
2365
2411
  ],
2366
2412
  "name": "applyUserContext"
@@ -2415,14 +2461,16 @@
2415
2461
  "parameterTypeTokenRange": {
2416
2462
  "startIndex": 1,
2417
2463
  "endIndex": 2
2418
- }
2464
+ },
2465
+ "isOptional": false
2419
2466
  },
2420
2467
  {
2421
2468
  "parameterName": "itemCtx",
2422
2469
  "parameterTypeTokenRange": {
2423
2470
  "startIndex": 3,
2424
2471
  "endIndex": 4
2425
- }
2472
+ },
2473
+ "isOptional": true
2426
2474
  }
2427
2475
  ],
2428
2476
  "name": "applyWebContext"
@@ -2477,14 +2525,16 @@
2477
2525
  "parameterTypeTokenRange": {
2478
2526
  "startIndex": 1,
2479
2527
  "endIndex": 2
2480
- }
2528
+ },
2529
+ "isOptional": false
2481
2530
  },
2482
2531
  {
2483
2532
  "parameterName": "itemCtx",
2484
2533
  "parameterTypeTokenRange": {
2485
2534
  "startIndex": 3,
2486
2535
  "endIndex": 4
2487
- }
2536
+ },
2537
+ "isOptional": true
2488
2538
  }
2489
2539
  ],
2490
2540
  "name": "cleanUp"
@@ -2849,28 +2899,32 @@
2849
2899
  "parameterTypeTokenRange": {
2850
2900
  "startIndex": 1,
2851
2901
  "endIndex": 2
2852
- }
2902
+ },
2903
+ "isOptional": true
2853
2904
  },
2854
2905
  {
2855
2906
  "parameterName": "parentId",
2856
2907
  "parameterTypeTokenRange": {
2857
2908
  "startIndex": 3,
2858
2909
  "endIndex": 4
2859
- }
2910
+ },
2911
+ "isOptional": true
2860
2912
  },
2861
2913
  {
2862
2914
  "parameterName": "name",
2863
2915
  "parameterTypeTokenRange": {
2864
2916
  "startIndex": 5,
2865
2917
  "endIndex": 6
2866
- }
2918
+ },
2919
+ "isOptional": true
2867
2920
  },
2868
2921
  {
2869
2922
  "parameterName": "logger",
2870
2923
  "parameterTypeTokenRange": {
2871
2924
  "startIndex": 7,
2872
2925
  "endIndex": 8
2873
- }
2926
+ },
2927
+ "isOptional": true
2874
2928
  }
2875
2929
  ]
2876
2930
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights properties plugin, 2.8.0-beta.2203-15
2
+ * Microsoft Application Insights properties plugin, 2.8.0-nightly.2204-04
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
- * Application Insights JavaScript SDK - Properties Plugin, 2.8.0-beta.2203-15
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-beta.2203-15";
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 EventData = /** @class */ (function () {
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
- var _this = _super.call(this) || this;
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
- _this.id = dataSanitizeId(logger, id);
2342
- _this.url = dataSanitizeUrl(logger, url);
2343
- _this.name = dataSanitizeString(logger, name) || strNotSpecified;
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
- _this.duration = msToTimeSpan(durationMs);
2324
+ _self.duration = msToTimeSpan(durationMs);
2346
2325
  }
2347
- _this.properties = dataSanitizeProperties(logger, properties);
2348
- _this.measurements = dataSanitizeMeasurements(logger, measurements);
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
- }(PageViewData));
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-beta.2203-15";
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;