@microsoft/applicationinsights-dependencies-js 2.8.16-nightly.2309-03 → 2.8.16

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/src/ajax.ts CHANGED
@@ -434,7 +434,7 @@ export class AjaxMonitor extends BaseTelemetryPlugin implements IDependenciesPlu
434
434
 
435
435
  _processDependencyListeners(_dependencyListeners, _self.core, ajaxData, xhr, input, init);
436
436
 
437
- if (input) { // Fetch
437
+ if (input || input === "") { // Fetch
438
438
  if (CorrelationIdHelper.canIncludeCorrelationHeader(_config, ajaxData.getAbsoluteUrl(), currentWindowHost)) {
439
439
  if (!init) {
440
440
  init = {};
@@ -1224,7 +1224,7 @@ export class AjaxMonitor extends BaseTelemetryPlugin implements IDependenciesPlu
1224
1224
  let result: string = "";
1225
1225
  try {
1226
1226
  if (!isNullOrUndefined(input)) {
1227
- if (typeof (input) === "string") {
1227
+ if (isString(input)) {
1228
1228
  result += `(url: '${input}')`;
1229
1229
  } else {
1230
1230
  result += `(url: '${input.url}')`;
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.36.4"
8
+ "packageVersion": "7.37.0"
9
9
  }
10
10
  ]
11
11
  }