@microsoft/applicationinsights-web-basic 2.8.7-nightly.2208-05 → 2.8.7-nightly.2208-08
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/aib.2.8.7-nightly.2208-08.integrity.json +26 -0
- package/browser/{aib.2.8.7-nightly.2208-05.js → aib.2.8.7-nightly.2208-08.js} +10 -6
- package/browser/{aib.2.8.7-nightly.2208-05.js.map → aib.2.8.7-nightly.2208-08.js.map} +1 -1
- package/browser/{aib.2.8.7-nightly.2208-05.min.js → aib.2.8.7-nightly.2208-08.min.js} +3 -3
- package/browser/{aib.2.8.7-nightly.2208-05.min.js.map → aib.2.8.7-nightly.2208-08.min.js.map} +1 -1
- package/browser/aib.2.js +9 -5
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.api.json +29 -1
- package/dist/applicationinsights-web-basic.api.md +1 -0
- package/dist/applicationinsights-web-basic.d.ts +7 -1
- package/dist/applicationinsights-web-basic.js +9 -5
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +7 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.2.8.7-nightly.2208-05.integrity.json +0 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
4
|
+
"toolVersion": "7.29.0",
|
|
5
5
|
"schemaVersion": 1009,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -6537,6 +6537,34 @@
|
|
|
6537
6537
|
"name": "IPlugin",
|
|
6538
6538
|
"preserveMemberOrder": false,
|
|
6539
6539
|
"members": [
|
|
6540
|
+
{
|
|
6541
|
+
"kind": "PropertySignature",
|
|
6542
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin#core:member",
|
|
6543
|
+
"docComment": "/**\n * The App Insights core to use for backward compatibility. Therefore the interface will be able to access the core without needing to cast to \"any\". [optional] any 3rd party plugins which are already implementing this interface don't fail to compile.\n */\n",
|
|
6544
|
+
"excerptTokens": [
|
|
6545
|
+
{
|
|
6546
|
+
"kind": "Content",
|
|
6547
|
+
"text": "core?: "
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"kind": "Reference",
|
|
6551
|
+
"text": "IAppInsightsCore",
|
|
6552
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IAppInsightsCore:interface"
|
|
6553
|
+
},
|
|
6554
|
+
{
|
|
6555
|
+
"kind": "Content",
|
|
6556
|
+
"text": ";"
|
|
6557
|
+
}
|
|
6558
|
+
],
|
|
6559
|
+
"isReadonly": false,
|
|
6560
|
+
"isOptional": true,
|
|
6561
|
+
"releaseTag": "Public",
|
|
6562
|
+
"name": "core",
|
|
6563
|
+
"propertyTypeTokenRange": {
|
|
6564
|
+
"startIndex": 1,
|
|
6565
|
+
"endIndex": 2
|
|
6566
|
+
}
|
|
6567
|
+
},
|
|
6540
6568
|
{
|
|
6541
6569
|
"kind": "PropertySignature",
|
|
6542
6570
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IPlugin#identifier:member",
|
|
@@ -415,6 +415,7 @@ export interface IPageViewTelemetry extends IPartC {
|
|
|
415
415
|
|
|
416
416
|
// @public (undocumented)
|
|
417
417
|
export interface IPlugin {
|
|
418
|
+
core?: IAppInsightsCore;
|
|
418
419
|
readonly identifier: string;
|
|
419
420
|
// Warning: (ae-forgotten-export) The symbol "ITelemetryPluginChain" needs to be exported by the entry point index.d.ts
|
|
420
421
|
initialize: (config: IConfiguration, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 2.8.7-nightly.2208-
|
|
2
|
+
* Microsoft.ApplicationInsights, 2.8.7-nightly.2208-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -2064,6 +2064,12 @@ declare namespace ApplicationInsights {
|
|
|
2064
2064
|
* Plugin version (available in data.properties.version in common schema)
|
|
2065
2065
|
*/
|
|
2066
2066
|
readonly version?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* The App Insights core to use for backward compatibility.
|
|
2069
|
+
* Therefore the interface will be able to access the core without needing to cast to "any".
|
|
2070
|
+
* [optional] any 3rd party plugins which are already implementing this interface don't fail to compile.
|
|
2071
|
+
*/
|
|
2072
|
+
core?: IAppInsightsCore;
|
|
2067
2073
|
}
|
|
2068
2074
|
|
|
2069
2075
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 2.8.7-nightly.2208-
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 2.8.7-nightly.2208-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1537,7 +1537,7 @@
|
|
|
1537
1537
|
}
|
|
1538
1538
|
|
|
1539
1539
|
var _objDefineProperty = ObjDefineProperty;
|
|
1540
|
-
var version = "2.8.7-nightly.2208-
|
|
1540
|
+
var version = "2.8.7-nightly.2208-08";
|
|
1541
1541
|
var instanceName = "." + newId(6);
|
|
1542
1542
|
var _dataUid = 0;
|
|
1543
1543
|
function _createAccessor(target, prop, value) {
|
|
@@ -5063,7 +5063,7 @@
|
|
|
5063
5063
|
}
|
|
5064
5064
|
}
|
|
5065
5065
|
var EnvelopeCreator = {
|
|
5066
|
-
Version: "2.8.7-nightly.2208-
|
|
5066
|
+
Version: "2.8.7-nightly.2208-08"
|
|
5067
5067
|
};
|
|
5068
5068
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
5069
5069
|
EnvelopeCreatorInit(logger, telemetryItem);
|
|
@@ -6300,10 +6300,14 @@
|
|
|
6300
6300
|
_retryAt = null;
|
|
6301
6301
|
}
|
|
6302
6302
|
function _isRetriable(statusCode) {
|
|
6303
|
-
return statusCode ===
|
|
6303
|
+
return statusCode === 401
|
|
6304
|
+
|| statusCode === 403
|
|
6305
|
+
|| statusCode === 408
|
|
6304
6306
|
|| statusCode === 429
|
|
6305
6307
|
|| statusCode === 500
|
|
6306
|
-
|| statusCode ===
|
|
6308
|
+
|| statusCode === 502
|
|
6309
|
+
|| statusCode === 503
|
|
6310
|
+
|| statusCode === 504;
|
|
6307
6311
|
}
|
|
6308
6312
|
function _formatErrorMessageXhr(xhr, message) {
|
|
6309
6313
|
if (xhr) {
|