@microsoft/applicationinsights-dependencies-js 2.8.5-nightly.2206-02 → 2.8.5-nightly.2206-06
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-dependencies-js.integrity.json +9 -9
- package/browser/applicationinsights-dependencies-js.js +1127 -934
- package/browser/applicationinsights-dependencies-js.js.map +1 -1
- package/browser/applicationinsights-dependencies-js.min.js +2 -2
- package/browser/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.api.json +159 -46
- package/dist/applicationinsights-dependencies-js.api.md +6 -1
- package/dist/applicationinsights-dependencies-js.d.ts +9 -3
- package/dist/applicationinsights-dependencies-js.js +1127 -934
- package/dist/applicationinsights-dependencies-js.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.min.js +2 -2
- package/dist/applicationinsights-dependencies-js.min.js.map +1 -1
- package/dist/applicationinsights-dependencies-js.rollup.d.ts +9 -3
- package/dist-esm/DependencyListener.js +1 -1
- package/dist-esm/InternalConstants.js +14 -0
- package/dist-esm/InternalConstants.js.map +1 -0
- package/dist-esm/__DynamicConstants.js +64 -0
- package/dist-esm/__DynamicConstants.js.map +1 -0
- package/dist-esm/ajax.js +201 -189
- package/dist-esm/ajax.js.map +1 -1
- package/dist-esm/ajaxRecord.js +59 -54
- package/dist-esm/ajaxRecord.js.map +1 -1
- package/dist-esm/ajaxUtils.js +3 -2
- package/dist-esm/ajaxUtils.js.map +1 -1
- package/dist-esm/applicationinsights-dependencies-js.js +2 -2
- package/dist-esm/applicationinsights-dependencies-js.js.map +1 -1
- package/package.json +7 -4
- package/src/InternalConstants.ts +13 -0
- package/src/__DynamicConstants.ts +62 -0
- package/src/ajax.ts +39 -32
- package/src/ajaxRecord.ts +25 -24
- package/src/ajaxUtils.ts +6 -6
- package/src/applicationinsights-dependencies-js.ts +1 -1
- package/types/InternalConstants.d.ts +2 -0
- package/types/__DynamicConstants.d.ts +50 -0
- package/types/ajax.d.ts +6 -4
- package/types/ajaxRecord.d.ts +2 -1
- package/types/applicationinsights-dependencies-js.d.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
|
@@ -117,6 +117,9 @@ export class ajaxRecord {
|
|
|
117
117
|
xhrMonitoringState: XHRMonitoringState;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
// @public (undocumented)
|
|
121
|
+
export const DfltAjaxCorrelationHeaderExDomains: string[];
|
|
122
|
+
|
|
120
123
|
// Warning: (ae-forgotten-export) The symbol "IDependencyListenerContainer" needs to be exported by the entry point applicationinsights-dependencies-js.d.ts
|
|
121
124
|
//
|
|
122
125
|
// @public (undocumented)
|
|
@@ -126,8 +129,10 @@ export interface IDependenciesPlugin extends IDependencyListenerContainer {
|
|
|
126
129
|
|
|
127
130
|
// @public (undocumented)
|
|
128
131
|
export interface IInstrumentationRequirements extends IDependenciesPlugin {
|
|
132
|
+
// Warning: (ae-forgotten-export) The symbol "_DYN_INCLUDE_CORRELATION_0" needs to be exported by the entry point applicationinsights-dependencies-js.d.ts
|
|
133
|
+
//
|
|
129
134
|
// (undocumented)
|
|
130
|
-
|
|
135
|
+
[_DYN_INCLUDE_CORRELATION_0]: (ajaxData: ajaxRecord, input?: Request | string, init?: RequestInit, xhr?: XMLHttpRequestInstrumented) => any;
|
|
131
136
|
}
|
|
132
137
|
|
|
133
138
|
// @public (undocumented)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights XHR dependencies plugin, 2.8.5-nightly.2206-
|
|
2
|
+
* Microsoft Application Insights XHR dependencies plugin, 2.8.5-nightly.2206-06
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -92,9 +92,15 @@ declare namespace ApplicationInsights {
|
|
|
92
92
|
|
|
93
93
|
type DependencyListenerFunction = (dependencyDetails: IDependencyListenerDetails) => void;
|
|
94
94
|
|
|
95
|
+
const DfltAjaxCorrelationHeaderExDomains: string[];
|
|
96
|
+
|
|
97
|
+
const _DYN_HEADER_MAP = "headerMap";
|
|
98
|
+
|
|
99
|
+
const _DYN_INCLUDE_CORRELATION_0 = "includeCorrelationHeaders";
|
|
100
|
+
|
|
95
101
|
interface IAjaxRecordResponse {
|
|
96
102
|
statusText: string;
|
|
97
|
-
|
|
103
|
+
[_DYN_HEADER_MAP]: Object;
|
|
98
104
|
correlationContext: string;
|
|
99
105
|
type?: string;
|
|
100
106
|
responseText?: string;
|
|
@@ -163,7 +169,7 @@ declare namespace ApplicationInsights {
|
|
|
163
169
|
}
|
|
164
170
|
|
|
165
171
|
interface IInstrumentationRequirements extends IDependenciesPlugin {
|
|
166
|
-
|
|
172
|
+
[_DYN_INCLUDE_CORRELATION_0]: (ajaxData: ajaxRecord, input?: Request | string, init?: RequestInit, xhr?: XMLHttpRequestInstrumented) => any;
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
class XHRMonitoringState {
|