@microsoft/applicationinsights-dependencies-js 3.3.3-nightly3.2408-12 → 3.3.3-nightly3.2409-01
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/applicationinsights-dependencies-js.cjs.js +2 -2
- package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-dependencies-js.gbl.js +4 -4
- package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
- package/browser/es5/applicationinsights-dependencies-js.js +4 -4
- package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
- package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
- package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/es5/applicationinsights-dependencies-js.js +2 -2
- package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
- package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
- package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist-es5/DependencyInitializer.js +1 -1
- package/dist-es5/DependencyListener.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/ajax.js +1 -1
- package/dist-es5/ajaxRecord.js +1 -1
- package/dist-es5/ajaxUtils.js +1 -1
- package/dist-es5/applicationinsights-dependencies-js.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-dependencies-js.d.ts +1 -1
- package/types/applicationinsights-dependencies-js.namespaced.d.ts +29 -3
package/dist-es5/ajax.js
CHANGED
package/dist-es5/ajaxRecord.js
CHANGED
package/dist-es5/ajaxUtils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-dependencies-js",
|
|
3
|
-
"version": "3.3.3-nightly3.
|
|
3
|
+
"version": "3.3.3-nightly3.2409-01",
|
|
4
4
|
"description": "Microsoft Application Insights XHR dependencies plugin",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
59
59
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
60
|
-
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.
|
|
61
|
-
"@microsoft/applicationinsights-common": "3.3.3-nightly3.
|
|
60
|
+
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-01",
|
|
61
|
+
"@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-01",
|
|
62
62
|
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
|
|
63
63
|
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
|
|
64
64
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights XHR dependencies plugin, 3.3.3-nightly3.
|
|
2
|
+
* Microsoft Application Insights XHR dependencies plugin, 3.3.3-nightly3.2409-01
|
|
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
|
-
* Microsoft Application Insights XHR dependencies plugin, 3.3.3-nightly3.
|
|
2
|
+
* Microsoft Application Insights XHR dependencies plugin, 3.3.3-nightly3.2409-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1596,10 +1596,31 @@ declare namespace ApplicationInsights {
|
|
|
1596
1596
|
setTraceFlags(newValue?: number): void;
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
+
/**
|
|
1600
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
1601
|
+
* @example
|
|
1602
|
+
* ```js
|
|
1603
|
+
* const appInsights = new ApplicationInsights({
|
|
1604
|
+
config: {
|
|
1605
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
1606
|
+
expCfg: {
|
|
1607
|
+
inclScripts: true,
|
|
1608
|
+
expLog : () => {
|
|
1609
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
1610
|
+
},
|
|
1611
|
+
maxLogs : 100
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
});
|
|
1615
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
1616
|
+
* ```
|
|
1617
|
+
* @interface IExceptionConfig
|
|
1618
|
+
*/
|
|
1599
1619
|
interface IExceptionConfig {
|
|
1600
1620
|
/**
|
|
1601
1621
|
* If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
|
|
1602
1622
|
* Notice: This would increase the size of the exception telemetry.
|
|
1623
|
+
* @defaultvalue true
|
|
1603
1624
|
*/
|
|
1604
1625
|
inclScripts?: boolean;
|
|
1605
1626
|
/**
|
|
@@ -1614,10 +1635,15 @@ declare namespace ApplicationInsights {
|
|
|
1614
1635
|
*
|
|
1615
1636
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
1616
1637
|
*/
|
|
1617
|
-
expLog
|
|
1638
|
+
expLog?: () => {
|
|
1618
1639
|
logs: string[];
|
|
1619
1640
|
};
|
|
1620
|
-
|
|
1641
|
+
/**
|
|
1642
|
+
* The maximum number of logs to include in the telemetry data.
|
|
1643
|
+
* If not explicitly set, it defaults to 50.
|
|
1644
|
+
* This is used in conjunction with the `expLog` callback.
|
|
1645
|
+
*/
|
|
1646
|
+
maxLogs?: number;
|
|
1621
1647
|
}
|
|
1622
1648
|
|
|
1623
1649
|
interface IFeatureOptIn {
|