@microsoft/applicationinsights-web 3.0.0-beta.2209-01 → 3.0.0-beta.2209-03
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/README.md +2 -1
- package/browser/{ai.3.0.0-beta.2209-01.cjs.js → ai.3.0.0-beta.2209-03.cjs.js} +35 -10
- package/browser/ai.3.0.0-beta.2209-03.cjs.js.map +1 -0
- package/browser/ai.3.0.0-beta.2209-03.cjs.min.js +6 -0
- package/browser/ai.3.0.0-beta.2209-03.cjs.min.js.map +1 -0
- package/browser/{ai.3.0.0-beta.2209-01.gbl.js → ai.3.0.0-beta.2209-03.gbl.js} +35 -10
- package/browser/ai.3.0.0-beta.2209-03.gbl.js.map +1 -0
- package/browser/ai.3.0.0-beta.2209-03.gbl.min.js +6 -0
- package/browser/ai.3.0.0-beta.2209-03.gbl.min.js.map +1 -0
- package/browser/ai.3.0.0-beta.2209-03.integrity.json +66 -0
- package/browser/{ai.3.0.0-beta.2209-01.js → ai.3.0.0-beta.2209-03.js} +35 -10
- package/browser/ai.3.0.0-beta.2209-03.js.map +1 -0
- package/browser/ai.3.0.0-beta.2209-03.min.js +6 -0
- package/browser/ai.3.0.0-beta.2209-03.min.js.map +1 -0
- package/browser/ai.3.cjs.js +34 -9
- package/browser/ai.3.cjs.js.map +1 -1
- package/browser/ai.3.cjs.min.js +2 -2
- package/browser/ai.3.cjs.min.js.map +1 -1
- package/browser/ai.3.gbl.js +34 -9
- package/browser/ai.3.gbl.js.map +1 -1
- package/browser/ai.3.gbl.min.js +2 -2
- package/browser/ai.3.gbl.min.js.map +1 -1
- package/browser/ai.3.js +34 -9
- package/browser/ai.3.js.map +1 -1
- package/browser/ai.3.min.js +2 -2
- package/browser/ai.3.min.js.map +1 -1
- package/dist/applicationinsights-web.api.json +6 -6
- package/dist/applicationinsights-web.api.md +1 -1
- package/dist/applicationinsights-web.d.ts +13 -1
- package/dist/applicationinsights-web.js +34 -9
- package/dist/applicationinsights-web.js.map +1 -1
- package/dist/applicationinsights-web.min.js +2 -2
- package/dist/applicationinsights-web.min.js.map +1 -1
- package/dist/applicationinsights-web.rollup.d.ts +13 -1
- package/dist-esm/ApplicationInsightsContainer.js +1 -1
- package/dist-esm/Init.js +1 -1
- package/dist-esm/Initialization.js +1 -1
- package/dist-esm/InternalConstants.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-web.js +1 -1
- package/package.json +7 -7
- package/types/tsdoc-metadata.json +1 -1
- package/browser/ai.3.0.0-beta.2209-01.cjs.js.map +0 -1
- package/browser/ai.3.0.0-beta.2209-01.cjs.min.js +0 -6
- package/browser/ai.3.0.0-beta.2209-01.cjs.min.js.map +0 -1
- package/browser/ai.3.0.0-beta.2209-01.gbl.js.map +0 -1
- package/browser/ai.3.0.0-beta.2209-01.gbl.min.js +0 -6
- package/browser/ai.3.0.0-beta.2209-01.gbl.min.js.map +0 -1
- package/browser/ai.3.0.0-beta.2209-01.integrity.json +0 -66
- package/browser/ai.3.0.0-beta.2209-01.js.map +0 -1
- package/browser/ai.3.0.0-beta.2209-01.min.js +0 -6
- package/browser/ai.3.0.0-beta.2209-01.min.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
4
|
+
"toolVersion": "7.31.1",
|
|
5
5
|
"schemaVersion": 1009,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -2482,7 +2482,7 @@
|
|
|
2482
2482
|
{
|
|
2483
2483
|
"kind": "Reference",
|
|
2484
2484
|
"text": "_getDefaultConfig",
|
|
2485
|
-
"canonicalReference": "@microsoft/applicationinsights-web
|
|
2485
|
+
"canonicalReference": "@microsoft/applicationinsights-web!_getDefaultConfig:function"
|
|
2486
2486
|
},
|
|
2487
2487
|
{
|
|
2488
2488
|
"kind": "Content",
|
|
@@ -4209,7 +4209,7 @@
|
|
|
4209
4209
|
{
|
|
4210
4210
|
"kind": "Reference",
|
|
4211
4211
|
"text": "ApplicationInsights",
|
|
4212
|
-
"canonicalReference": "@microsoft/applicationinsights-web!
|
|
4212
|
+
"canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics:class"
|
|
4213
4213
|
},
|
|
4214
4214
|
{
|
|
4215
4215
|
"kind": "Content",
|
|
@@ -8406,7 +8406,7 @@
|
|
|
8406
8406
|
{
|
|
8407
8407
|
"kind": "Reference",
|
|
8408
8408
|
"text": "_getDefaultConfig",
|
|
8409
|
-
"canonicalReference": "@microsoft/applicationinsights-web
|
|
8409
|
+
"canonicalReference": "@microsoft/applicationinsights-web!_getDefaultConfig_2:function"
|
|
8410
8410
|
},
|
|
8411
8411
|
{
|
|
8412
8412
|
"kind": "Content",
|
|
@@ -8440,7 +8440,7 @@
|
|
|
8440
8440
|
{
|
|
8441
8441
|
"kind": "Reference",
|
|
8442
8442
|
"text": "_getEmptyConfig",
|
|
8443
|
-
"canonicalReference": "@microsoft/applicationinsights-web
|
|
8443
|
+
"canonicalReference": "@microsoft/applicationinsights-web!_getEmptyConfig:function"
|
|
8444
8444
|
},
|
|
8445
8445
|
{
|
|
8446
8446
|
"kind": "Content",
|
|
@@ -13117,7 +13117,7 @@
|
|
|
13117
13117
|
{
|
|
13118
13118
|
"kind": "Reference",
|
|
13119
13119
|
"text": "AnalyticsPlugin",
|
|
13120
|
-
"canonicalReference": "@microsoft/applicationinsights-web!
|
|
13120
|
+
"canonicalReference": "@microsoft/applicationinsights-web!ApplicationAnalytics:class"
|
|
13121
13121
|
},
|
|
13122
13122
|
{
|
|
13123
13123
|
"kind": "Content",
|
|
@@ -258,7 +258,7 @@ export class DependenciesPlugin extends BaseTelemetryPlugin implements IDependen
|
|
|
258
258
|
constructor();
|
|
259
259
|
addDependencyInitializer(dependencyInitializer: DependencyInitializerFunction): IDependencyInitializerHandler;
|
|
260
260
|
addDependencyListener(dependencyListener: DependencyListenerFunction): IDependencyListenerHandler;
|
|
261
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
261
|
+
// Warning: (ae-forgotten-export) The symbol "_getDefaultConfig_2" needs to be exported by the entry point applicationinsights-web.d.ts
|
|
262
262
|
//
|
|
263
263
|
// (undocumented)
|
|
264
264
|
static getDefaultConfig: typeof _getDefaultConfig_2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.0.0-beta.2209-
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.0.0-beta.2209-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1872,6 +1872,18 @@ declare namespace ApplicationInsights {
|
|
|
1872
1872
|
* Specifies the path to use for the cookie, defaults to '/'
|
|
1873
1873
|
*/
|
|
1874
1874
|
path?: string;
|
|
1875
|
+
/**
|
|
1876
|
+
* Specify the cookie name(s) to be ignored, this will cause any matching cookie name to never be read or written.
|
|
1877
|
+
* They may still be explicitly purged or deleted. You do not need to repeat the name in the `blockedCookies`
|
|
1878
|
+
* configuration.(Since v2.8.8)
|
|
1879
|
+
*/
|
|
1880
|
+
ignoreCookies?: string[];
|
|
1881
|
+
/**
|
|
1882
|
+
* Specify the cookie name(s) to never be written, this will cause any cookie name to never be created or updated,
|
|
1883
|
+
* they will still be read unless also included in the ignoreCookies and may still be explicitly purged or deleted.
|
|
1884
|
+
* If not provided defaults to the same list provided in ignoreCookies. (Since v2.8.8)
|
|
1885
|
+
*/
|
|
1886
|
+
blockedCookies?: string[];
|
|
1875
1887
|
/**
|
|
1876
1888
|
* Hook function to fetch the named cookie value.
|
|
1877
1889
|
* @param name - The name of the cookie
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Web, 3.0.0-beta.2209-
|
|
2
|
+
* Application Insights JavaScript SDK - Web, 3.0.0-beta.2209-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -486,14 +486,21 @@
|
|
|
486
486
|
return _hasHistory ? history : getInst(HISTORY);
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
+
var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
|
|
490
|
+
|
|
489
491
|
function objHasOwnProperty(obj, prop) {
|
|
490
492
|
return obj && ObjProto[HAS_OWN_PROPERTY].call(obj, prop);
|
|
491
493
|
}
|
|
492
494
|
|
|
495
|
+
var objHasOwn = ObjClass["hasOwn"] || polyObjHasOwn;
|
|
496
|
+
function polyObjHasOwn(obj, prop) {
|
|
497
|
+
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
498
|
+
}
|
|
499
|
+
|
|
493
500
|
function objForEachKey(theObject, callbackfn, thisArg) {
|
|
494
501
|
if (theObject && isObject(theObject)) {
|
|
495
502
|
for (var prop in theObject) {
|
|
496
|
-
if (
|
|
503
|
+
if (objHasOwn(theObject, prop)) {
|
|
497
504
|
if (callbackfn.call(thisArg || theObject, prop, theObject[prop]) === -1) {
|
|
498
505
|
break;
|
|
499
506
|
}
|
|
@@ -766,6 +773,7 @@
|
|
|
766
773
|
var _DYN_SET_NEXT_PLUGIN = "setNextPlugin";
|
|
767
774
|
var _DYN_CREATE_NEW = "createNew";
|
|
768
775
|
var _DYN_COOKIE_CFG = "cookieCfg";
|
|
776
|
+
var _DYN_INDEX_OF$1 = "indexOf";
|
|
769
777
|
var _DYN_SUBSTRING$1 = "substring";
|
|
770
778
|
var _DYN_USER_AGENT = "userAgent";
|
|
771
779
|
var _DYN_SPLIT$1 = "split";
|
|
@@ -1601,7 +1609,7 @@
|
|
|
1601
1609
|
}
|
|
1602
1610
|
|
|
1603
1611
|
var _objDefineProperty = ObjDefineProperty;
|
|
1604
|
-
var version = "3.0.0-beta.2209-
|
|
1612
|
+
var version = "3.0.0-beta.2209-03";
|
|
1605
1613
|
var instanceName = "." + newId(6);
|
|
1606
1614
|
var _dataUid = 0;
|
|
1607
1615
|
function _createAccessor(target, prop, value) {
|
|
@@ -2434,6 +2442,20 @@
|
|
|
2434
2442
|
}
|
|
2435
2443
|
return cookieMgrCfg;
|
|
2436
2444
|
}
|
|
2445
|
+
function _isIgnoredCookie(cookieMgrCfg, name) {
|
|
2446
|
+
if (name && cookieMgrCfg && isArray(cookieMgrCfg.ignoreCookies)) {
|
|
2447
|
+
return cookieMgrCfg.ignoreCookies[_DYN_INDEX_OF$1 ](name) !== -1;
|
|
2448
|
+
}
|
|
2449
|
+
return false;
|
|
2450
|
+
}
|
|
2451
|
+
function _isBlockedCookie(cookieMgrCfg, name) {
|
|
2452
|
+
if (name && cookieMgrCfg && isArray(cookieMgrCfg.blockedCookies)) {
|
|
2453
|
+
if (cookieMgrCfg.blockedCookies[_DYN_INDEX_OF$1 ](name) !== -1) {
|
|
2454
|
+
return true;
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
return _isIgnoredCookie(cookieMgrCfg, name);
|
|
2458
|
+
}
|
|
2437
2459
|
function safeGetCookieMgr(core, config) {
|
|
2438
2460
|
var cookieMgr;
|
|
2439
2461
|
if (core) {
|
|
@@ -2472,10 +2494,10 @@
|
|
|
2472
2494
|
},
|
|
2473
2495
|
set: function (name, value, maxAgeSec, domain, path) {
|
|
2474
2496
|
var result = false;
|
|
2475
|
-
if (_isMgrEnabled(cookieMgr)) {
|
|
2497
|
+
if (_isMgrEnabled(cookieMgr) && !_isBlockedCookie(cookieMgrConfig, name)) {
|
|
2476
2498
|
var values = {};
|
|
2477
2499
|
var theValue = strTrim(value || STR_EMPTY);
|
|
2478
|
-
var idx = theValue
|
|
2500
|
+
var idx = theValue[_DYN_INDEX_OF$1 ](";");
|
|
2479
2501
|
if (idx !== -1) {
|
|
2480
2502
|
theValue = strTrim(value[_DYN_SUBSTRING$1 ](0, idx));
|
|
2481
2503
|
values = _extractParts(value[_DYN_SUBSTRING$1 ](idx + 1));
|
|
@@ -2515,7 +2537,7 @@
|
|
|
2515
2537
|
},
|
|
2516
2538
|
get: function (name) {
|
|
2517
2539
|
var value = STR_EMPTY;
|
|
2518
|
-
if (_isMgrEnabled(cookieMgr)) {
|
|
2540
|
+
if (_isMgrEnabled(cookieMgr) && !_isIgnoredCookie(cookieMgrConfig, name)) {
|
|
2519
2541
|
value = (cookieMgrConfig.getCookie || _getCookieValue)(name);
|
|
2520
2542
|
}
|
|
2521
2543
|
return value;
|
|
@@ -2568,7 +2590,7 @@
|
|
|
2568
2590
|
arrForEach(parts, function (thePart) {
|
|
2569
2591
|
thePart = strTrim(thePart || STR_EMPTY);
|
|
2570
2592
|
if (thePart) {
|
|
2571
|
-
var idx = thePart
|
|
2593
|
+
var idx = thePart[_DYN_INDEX_OF$1 ]("=");
|
|
2572
2594
|
if (idx === -1) {
|
|
2573
2595
|
values[thePart] = null;
|
|
2574
2596
|
}
|
|
@@ -4597,6 +4619,9 @@
|
|
|
4597
4619
|
else if (window && window["opera"] && errorObj[strMessage]) {
|
|
4598
4620
|
details = _getOperaStack(errorObj[_DYN_MESSAGE$1 ]);
|
|
4599
4621
|
}
|
|
4622
|
+
else if (errorObj["reason"] && errorObj.reason[strStack]) {
|
|
4623
|
+
details = _convertStackObj(errorObj.reason[strStack]);
|
|
4624
|
+
}
|
|
4600
4625
|
else if (isString(errorObj)) {
|
|
4601
4626
|
details = _convertStackObj(errorObj);
|
|
4602
4627
|
}
|
|
@@ -6375,7 +6400,7 @@
|
|
|
6375
6400
|
});
|
|
6376
6401
|
return _this;
|
|
6377
6402
|
}
|
|
6378
|
-
AnalyticsPlugin.Version = "3.0.0-beta.2209-
|
|
6403
|
+
AnalyticsPlugin.Version = "3.0.0-beta.2209-03";
|
|
6379
6404
|
AnalyticsPlugin.getDefaultConfig = _getDefaultConfig$1;
|
|
6380
6405
|
return AnalyticsPlugin;
|
|
6381
6406
|
}(BaseTelemetryPlugin));
|
|
@@ -6548,7 +6573,7 @@
|
|
|
6548
6573
|
}
|
|
6549
6574
|
}
|
|
6550
6575
|
var EnvelopeCreator = {
|
|
6551
|
-
Version: "3.0.0-beta.2209-
|
|
6576
|
+
Version: "3.0.0-beta.2209-03"
|
|
6552
6577
|
};
|
|
6553
6578
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
6554
6579
|
EnvelopeCreatorInit(logger, telemetryItem);
|