@microsoft/applicationinsights-dependencies-js 2.8.7-nightly.2208-09 → 2.8.7

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.
Files changed (38) hide show
  1. package/browser/applicationinsights-dependencies-js.integrity.json +9 -9
  2. package/browser/applicationinsights-dependencies-js.js +152 -105
  3. package/browser/applicationinsights-dependencies-js.js.map +1 -1
  4. package/browser/applicationinsights-dependencies-js.min.js +2 -2
  5. package/browser/applicationinsights-dependencies-js.min.js.map +1 -1
  6. package/dist/applicationinsights-dependencies-js.api.json +676 -43
  7. package/dist/applicationinsights-dependencies-js.api.md +63 -9
  8. package/dist/applicationinsights-dependencies-js.d.ts +73 -8
  9. package/dist/applicationinsights-dependencies-js.js +152 -105
  10. package/dist/applicationinsights-dependencies-js.js.map +1 -1
  11. package/dist/applicationinsights-dependencies-js.min.js +2 -2
  12. package/dist/applicationinsights-dependencies-js.min.js.map +1 -1
  13. package/dist/applicationinsights-dependencies-js.rollup.d.ts +75 -10
  14. package/dist-esm/DependencyInitializer.js +6 -0
  15. package/dist-esm/DependencyInitializer.js.map +1 -0
  16. package/dist-esm/DependencyListener.js +1 -1
  17. package/dist-esm/InternalConstants.js +1 -1
  18. package/dist-esm/__DynamicConstants.js +7 -7
  19. package/dist-esm/__DynamicConstants.js.map +1 -1
  20. package/dist-esm/ajax.js +155 -100
  21. package/dist-esm/ajax.js.map +1 -1
  22. package/dist-esm/ajaxRecord.js +1 -1
  23. package/dist-esm/ajaxUtils.js +1 -1
  24. package/dist-esm/applicationinsights-dependencies-js.js +1 -1
  25. package/package.json +60 -63
  26. package/src/DependencyInitializer.ts +44 -0
  27. package/src/DependencyListener.ts +13 -3
  28. package/src/__DynamicConstants.ts +6 -6
  29. package/src/ajax.ts +183 -106
  30. package/src/ajaxRecord.ts +5 -0
  31. package/src/applicationinsights-dependencies-js.ts +5 -1
  32. package/types/DependencyInitializer.d.ts +41 -0
  33. package/types/DependencyListener.d.ts +14 -3
  34. package/types/__DynamicConstants.d.ts +5 -5
  35. package/types/ajax.d.ts +18 -5
  36. package/types/ajaxRecord.d.ts +6 -0
  37. package/types/applicationinsights-dependencies-js.d.ts +2 -0
  38. package/types/tsdoc-metadata.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.29.0",
4
+ "toolVersion": "7.30.0",
5
5
  "schemaVersion": 1009,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -188,11 +188,7 @@
188
188
  },
189
189
  {
190
190
  "kind": "Content",
191
- "text": " "
192
- },
193
- {
194
- "kind": "Content",
195
- "text": "implements "
191
+ "text": " implements "
196
192
  },
197
193
  {
198
194
  "kind": "Reference",
@@ -208,6 +204,15 @@
208
204
  "text": "IInstrumentationRequirements",
209
205
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IInstrumentationRequirements:interface"
210
206
  },
207
+ {
208
+ "kind": "Content",
209
+ "text": ", "
210
+ },
211
+ {
212
+ "kind": "Reference",
213
+ "text": "IDependencyListenerContainer",
214
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~IDependencyListenerContainer:interface"
215
+ },
211
216
  {
212
217
  "kind": "Content",
213
218
  "text": " "
@@ -232,6 +237,55 @@
232
237
  "overloadIndex": 1,
233
238
  "parameters": []
234
239
  },
240
+ {
241
+ "kind": "Method",
242
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#addDependencyInitializer:member(1)",
243
+ "docComment": "/**\n * Add an dependency telemetry initializer callback function to allow populating additional properties or drop the request. It is called after the dependency call has completed and any available performance details are available. A dependency initializer is similar to the TelemetryInitializer function but it allows you to block the reporting of the dependency request so that it doesn't count against the `maxAjaxCallsPerView`.\n *\n * @param dependencyInitializer - The Dependency Telemetry Initializer function\n *\n * @returns - A IDependencyInitializerHandler to enable the initializer to be removed\n */\n",
244
+ "excerptTokens": [
245
+ {
246
+ "kind": "Content",
247
+ "text": "addDependencyInitializer(dependencyInitializer: "
248
+ },
249
+ {
250
+ "kind": "Reference",
251
+ "text": "DependencyInitializerFunction",
252
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!DependencyInitializerFunction:type"
253
+ },
254
+ {
255
+ "kind": "Content",
256
+ "text": "): "
257
+ },
258
+ {
259
+ "kind": "Reference",
260
+ "text": "IDependencyInitializerHandler",
261
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerHandler:interface"
262
+ },
263
+ {
264
+ "kind": "Content",
265
+ "text": ";"
266
+ }
267
+ ],
268
+ "isStatic": false,
269
+ "returnTypeTokenRange": {
270
+ "startIndex": 3,
271
+ "endIndex": 4
272
+ },
273
+ "releaseTag": "Public",
274
+ "isProtected": false,
275
+ "overloadIndex": 1,
276
+ "parameters": [
277
+ {
278
+ "parameterName": "dependencyInitializer",
279
+ "parameterTypeTokenRange": {
280
+ "startIndex": 1,
281
+ "endIndex": 2
282
+ },
283
+ "isOptional": false
284
+ }
285
+ ],
286
+ "isOptional": false,
287
+ "name": "addDependencyInitializer"
288
+ },
235
289
  {
236
290
  "kind": "Method",
237
291
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin#addDependencyListener:member(1)",
@@ -282,66 +336,72 @@
282
336
  "name": "addDependencyListener"
283
337
  },
284
338
  {
285
- "kind": "Method",
286
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin.getDefaultConfig:member(1)",
339
+ "kind": "Property",
340
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin.getDefaultConfig:member",
287
341
  "docComment": "",
288
342
  "excerptTokens": [
289
343
  {
290
344
  "kind": "Content",
291
- "text": "static getDefaultConfig(): "
345
+ "text": "static getDefaultConfig: "
346
+ },
347
+ {
348
+ "kind": "Content",
349
+ "text": "typeof "
292
350
  },
293
351
  {
294
352
  "kind": "Reference",
295
- "text": "ICorrelationConfig",
296
- "canonicalReference": "@microsoft/applicationinsights-common!ICorrelationConfig:interface"
353
+ "text": "_getDefaultConfig",
354
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~_getDefaultConfig:function"
297
355
  },
298
356
  {
299
357
  "kind": "Content",
300
358
  "text": ";"
301
359
  }
302
360
  ],
303
- "isStatic": true,
304
- "returnTypeTokenRange": {
361
+ "isReadonly": false,
362
+ "isOptional": false,
363
+ "releaseTag": "Public",
364
+ "name": "getDefaultConfig",
365
+ "propertyTypeTokenRange": {
305
366
  "startIndex": 1,
306
- "endIndex": 2
367
+ "endIndex": 3
307
368
  },
308
- "releaseTag": "Public",
309
- "isProtected": false,
310
- "overloadIndex": 1,
311
- "parameters": [],
312
- "isOptional": false,
313
- "name": "getDefaultConfig"
369
+ "isStatic": true,
370
+ "isProtected": false
314
371
  },
315
372
  {
316
- "kind": "Method",
317
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin.getEmptyConfig:member(1)",
373
+ "kind": "Property",
374
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!AjaxPlugin.getEmptyConfig:member",
318
375
  "docComment": "",
319
376
  "excerptTokens": [
320
377
  {
321
378
  "kind": "Content",
322
- "text": "static getEmptyConfig(): "
379
+ "text": "static getEmptyConfig: "
380
+ },
381
+ {
382
+ "kind": "Content",
383
+ "text": "typeof "
323
384
  },
324
385
  {
325
386
  "kind": "Reference",
326
- "text": "ICorrelationConfig",
327
- "canonicalReference": "@microsoft/applicationinsights-common!ICorrelationConfig:interface"
387
+ "text": "_getEmptyConfig",
388
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~_getEmptyConfig:function"
328
389
  },
329
390
  {
330
391
  "kind": "Content",
331
392
  "text": ";"
332
393
  }
333
394
  ],
334
- "isStatic": true,
335
- "returnTypeTokenRange": {
395
+ "isReadonly": false,
396
+ "isOptional": false,
397
+ "releaseTag": "Public",
398
+ "name": "getEmptyConfig",
399
+ "propertyTypeTokenRange": {
336
400
  "startIndex": 1,
337
- "endIndex": 2
401
+ "endIndex": 3
338
402
  },
339
- "releaseTag": "Public",
340
- "isProtected": false,
341
- "overloadIndex": 1,
342
- "parameters": [],
343
- "isOptional": false,
344
- "name": "getEmptyConfig"
403
+ "isStatic": true,
404
+ "isProtected": false
345
405
  },
346
406
  {
347
407
  "kind": "Property",
@@ -861,12 +921,16 @@
861
921
  },
862
922
  "implementsTokenRanges": [
863
923
  {
864
- "startIndex": 4,
865
- "endIndex": 5
924
+ "startIndex": 3,
925
+ "endIndex": 4
926
+ },
927
+ {
928
+ "startIndex": 5,
929
+ "endIndex": 6
866
930
  },
867
931
  {
868
- "startIndex": 6,
869
- "endIndex": 7
932
+ "startIndex": 7,
933
+ "endIndex": 8
870
934
  }
871
935
  ]
872
936
  },
@@ -1169,6 +1233,35 @@
1169
1233
  "isStatic": false,
1170
1234
  "isProtected": false
1171
1235
  },
1236
+ {
1237
+ "kind": "Property",
1238
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!ajaxRecord#context:member",
1239
+ "docComment": "/**\n * The listener assigned context values that will be passed to any dependency initializer\n */\n",
1240
+ "excerptTokens": [
1241
+ {
1242
+ "kind": "Content",
1243
+ "text": "context?: "
1244
+ },
1245
+ {
1246
+ "kind": "Content",
1247
+ "text": "{\n [key: string]: any;\n }"
1248
+ },
1249
+ {
1250
+ "kind": "Content",
1251
+ "text": ";"
1252
+ }
1253
+ ],
1254
+ "isReadonly": false,
1255
+ "isOptional": true,
1256
+ "releaseTag": "Public",
1257
+ "name": "context",
1258
+ "propertyTypeTokenRange": {
1259
+ "startIndex": 1,
1260
+ "endIndex": 2
1261
+ },
1262
+ "isStatic": false,
1263
+ "isProtected": false
1264
+ },
1172
1265
  {
1173
1266
  "kind": "Method",
1174
1267
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!ajaxRecord#CreateTrackItem:member(1)",
@@ -1201,7 +1294,7 @@
1201
1294
  {
1202
1295
  "kind": "Reference",
1203
1296
  "text": "IAjaxRecordResponse",
1204
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IAjaxRecordResponse:interface"
1297
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~IAjaxRecordResponse:interface"
1205
1298
  },
1206
1299
  {
1207
1300
  "kind": "Content",
@@ -1939,7 +2032,7 @@
1939
2032
  {
1940
2033
  "kind": "Reference",
1941
2034
  "text": "XHRMonitoringState",
1942
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!XHRMonitoringState:class"
2035
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~XHRMonitoringState:class"
1943
2036
  },
1944
2037
  {
1945
2038
  "kind": "Content",
@@ -1960,6 +2053,74 @@
1960
2053
  ],
1961
2054
  "implementsTokenRanges": []
1962
2055
  },
2056
+ {
2057
+ "kind": "TypeAlias",
2058
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!DependencyInitializerFunction:type",
2059
+ "docComment": "/**\n * The initializer function that will be called, if it returns false the event will be dropped and not reported or counted against the `maxAjaxCallsPerView`.\n */\n",
2060
+ "excerptTokens": [
2061
+ {
2062
+ "kind": "Content",
2063
+ "text": "export declare type DependencyInitializerFunction = "
2064
+ },
2065
+ {
2066
+ "kind": "Content",
2067
+ "text": "(item: "
2068
+ },
2069
+ {
2070
+ "kind": "Reference",
2071
+ "text": "IDependencyInitializerDetails",
2072
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails:interface"
2073
+ },
2074
+ {
2075
+ "kind": "Content",
2076
+ "text": ") => boolean | void"
2077
+ },
2078
+ {
2079
+ "kind": "Content",
2080
+ "text": ";"
2081
+ }
2082
+ ],
2083
+ "releaseTag": "Public",
2084
+ "name": "DependencyInitializerFunction",
2085
+ "typeTokenRange": {
2086
+ "startIndex": 1,
2087
+ "endIndex": 4
2088
+ }
2089
+ },
2090
+ {
2091
+ "kind": "TypeAlias",
2092
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!DependencyListenerFunction:type",
2093
+ "docComment": "/**\n * The function that will get called when the ajax request is about to occur.\n */\n",
2094
+ "excerptTokens": [
2095
+ {
2096
+ "kind": "Content",
2097
+ "text": "export declare type DependencyListenerFunction = "
2098
+ },
2099
+ {
2100
+ "kind": "Content",
2101
+ "text": "(dependencyDetails: "
2102
+ },
2103
+ {
2104
+ "kind": "Reference",
2105
+ "text": "IDependencyListenerDetails",
2106
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails:interface"
2107
+ },
2108
+ {
2109
+ "kind": "Content",
2110
+ "text": ") => void"
2111
+ },
2112
+ {
2113
+ "kind": "Content",
2114
+ "text": ";"
2115
+ }
2116
+ ],
2117
+ "releaseTag": "Public",
2118
+ "name": "DependencyListenerFunction",
2119
+ "typeTokenRange": {
2120
+ "startIndex": 1,
2121
+ "endIndex": 4
2122
+ }
2123
+ },
1963
2124
  {
1964
2125
  "kind": "Variable",
1965
2126
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!DfltAjaxCorrelationHeaderExDomains:var",
@@ -1994,7 +2155,7 @@
1994
2155
  {
1995
2156
  "kind": "Reference",
1996
2157
  "text": "IDependencyListenerContainer",
1997
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerContainer:interface"
2158
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~IDependencyListenerContainer:interface"
1998
2159
  },
1999
2160
  {
2000
2161
  "kind": "Content",
@@ -2059,6 +2220,478 @@
2059
2220
  }
2060
2221
  ]
2061
2222
  },
2223
+ {
2224
+ "kind": "Interface",
2225
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyHandler:interface",
2226
+ "docComment": "",
2227
+ "excerptTokens": [
2228
+ {
2229
+ "kind": "Content",
2230
+ "text": "export interface IDependencyHandler "
2231
+ }
2232
+ ],
2233
+ "releaseTag": "Public",
2234
+ "name": "IDependencyHandler",
2235
+ "preserveMemberOrder": false,
2236
+ "members": [
2237
+ {
2238
+ "kind": "MethodSignature",
2239
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyHandler#remove:member(1)",
2240
+ "docComment": "",
2241
+ "excerptTokens": [
2242
+ {
2243
+ "kind": "Content",
2244
+ "text": "remove(): "
2245
+ },
2246
+ {
2247
+ "kind": "Content",
2248
+ "text": "void"
2249
+ },
2250
+ {
2251
+ "kind": "Content",
2252
+ "text": ";"
2253
+ }
2254
+ ],
2255
+ "isOptional": false,
2256
+ "returnTypeTokenRange": {
2257
+ "startIndex": 1,
2258
+ "endIndex": 2
2259
+ },
2260
+ "releaseTag": "Public",
2261
+ "overloadIndex": 1,
2262
+ "parameters": [],
2263
+ "name": "remove"
2264
+ }
2265
+ ],
2266
+ "extendsTokenRanges": []
2267
+ },
2268
+ {
2269
+ "kind": "Interface",
2270
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails:interface",
2271
+ "docComment": "",
2272
+ "excerptTokens": [
2273
+ {
2274
+ "kind": "Content",
2275
+ "text": "export interface IDependencyInitializerDetails "
2276
+ }
2277
+ ],
2278
+ "releaseTag": "Public",
2279
+ "name": "IDependencyInitializerDetails",
2280
+ "preserveMemberOrder": false,
2281
+ "members": [
2282
+ {
2283
+ "kind": "PropertySignature",
2284
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails#context:member",
2285
+ "docComment": "/**\n * The context that the application can assigned via the dependency listener(s)\n */\n",
2286
+ "excerptTokens": [
2287
+ {
2288
+ "kind": "Content",
2289
+ "text": "context?: "
2290
+ },
2291
+ {
2292
+ "kind": "Content",
2293
+ "text": "{\n [key: string]: any;\n }"
2294
+ },
2295
+ {
2296
+ "kind": "Content",
2297
+ "text": ";"
2298
+ }
2299
+ ],
2300
+ "isReadonly": false,
2301
+ "isOptional": true,
2302
+ "releaseTag": "Public",
2303
+ "name": "context",
2304
+ "propertyTypeTokenRange": {
2305
+ "startIndex": 1,
2306
+ "endIndex": 2
2307
+ }
2308
+ },
2309
+ {
2310
+ "kind": "PropertySignature",
2311
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails#item:member",
2312
+ "docComment": "/**\n * The DependencyTelemetry event that will be passed to the `trackDependencyDataInternal` function.\n */\n",
2313
+ "excerptTokens": [
2314
+ {
2315
+ "kind": "Content",
2316
+ "text": "item: "
2317
+ },
2318
+ {
2319
+ "kind": "Reference",
2320
+ "text": "IDependencyTelemetry",
2321
+ "canonicalReference": "@microsoft/applicationinsights-common!IDependencyTelemetry:interface"
2322
+ },
2323
+ {
2324
+ "kind": "Content",
2325
+ "text": ";"
2326
+ }
2327
+ ],
2328
+ "isReadonly": false,
2329
+ "isOptional": false,
2330
+ "releaseTag": "Public",
2331
+ "name": "item",
2332
+ "propertyTypeTokenRange": {
2333
+ "startIndex": 1,
2334
+ "endIndex": 2
2335
+ }
2336
+ },
2337
+ {
2338
+ "kind": "PropertySignature",
2339
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails#properties:member",
2340
+ "docComment": "/**\n * Additional properties to be added to the event\n */\n",
2341
+ "excerptTokens": [
2342
+ {
2343
+ "kind": "Content",
2344
+ "text": "properties?: "
2345
+ },
2346
+ {
2347
+ "kind": "Content",
2348
+ "text": "{\n [key: string]: any;\n }"
2349
+ },
2350
+ {
2351
+ "kind": "Content",
2352
+ "text": ";"
2353
+ }
2354
+ ],
2355
+ "isReadonly": false,
2356
+ "isOptional": true,
2357
+ "releaseTag": "Public",
2358
+ "name": "properties",
2359
+ "propertyTypeTokenRange": {
2360
+ "startIndex": 1,
2361
+ "endIndex": 2
2362
+ }
2363
+ },
2364
+ {
2365
+ "kind": "PropertySignature",
2366
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerDetails#sysProperties:member",
2367
+ "docComment": "/**\n * Additional system properties to be added to the event.\n */\n",
2368
+ "excerptTokens": [
2369
+ {
2370
+ "kind": "Content",
2371
+ "text": "sysProperties?: "
2372
+ },
2373
+ {
2374
+ "kind": "Content",
2375
+ "text": "{\n [key: string]: any;\n }"
2376
+ },
2377
+ {
2378
+ "kind": "Content",
2379
+ "text": ";"
2380
+ }
2381
+ ],
2382
+ "isReadonly": false,
2383
+ "isOptional": true,
2384
+ "releaseTag": "Public",
2385
+ "name": "sysProperties",
2386
+ "propertyTypeTokenRange": {
2387
+ "startIndex": 1,
2388
+ "endIndex": 2
2389
+ }
2390
+ }
2391
+ ],
2392
+ "extendsTokenRanges": []
2393
+ },
2394
+ {
2395
+ "kind": "Interface",
2396
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyInitializerHandler:interface",
2397
+ "docComment": "",
2398
+ "excerptTokens": [
2399
+ {
2400
+ "kind": "Content",
2401
+ "text": "export interface IDependencyInitializerHandler extends "
2402
+ },
2403
+ {
2404
+ "kind": "Reference",
2405
+ "text": "IDependencyHandler",
2406
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyHandler:interface"
2407
+ },
2408
+ {
2409
+ "kind": "Content",
2410
+ "text": " "
2411
+ }
2412
+ ],
2413
+ "releaseTag": "Public",
2414
+ "name": "IDependencyInitializerHandler",
2415
+ "preserveMemberOrder": false,
2416
+ "members": [],
2417
+ "extendsTokenRanges": [
2418
+ {
2419
+ "startIndex": 1,
2420
+ "endIndex": 2
2421
+ }
2422
+ ]
2423
+ },
2424
+ {
2425
+ "kind": "Interface",
2426
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails:interface",
2427
+ "docComment": "",
2428
+ "excerptTokens": [
2429
+ {
2430
+ "kind": "Content",
2431
+ "text": "export interface IDependencyListenerDetails "
2432
+ }
2433
+ ],
2434
+ "releaseTag": "Public",
2435
+ "name": "IDependencyListenerDetails",
2436
+ "preserveMemberOrder": false,
2437
+ "members": [
2438
+ {
2439
+ "kind": "PropertySignature",
2440
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#context:member",
2441
+ "docComment": "/**\n * [Optional] Context that the application can assign that will also be passed to any dependency initializer\n */\n",
2442
+ "excerptTokens": [
2443
+ {
2444
+ "kind": "Content",
2445
+ "text": "context?: "
2446
+ },
2447
+ {
2448
+ "kind": "Content",
2449
+ "text": "{\n [key: string]: any;\n }"
2450
+ },
2451
+ {
2452
+ "kind": "Content",
2453
+ "text": ";"
2454
+ }
2455
+ ],
2456
+ "isReadonly": false,
2457
+ "isOptional": true,
2458
+ "releaseTag": "Public",
2459
+ "name": "context",
2460
+ "propertyTypeTokenRange": {
2461
+ "startIndex": 1,
2462
+ "endIndex": 2
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "PropertySignature",
2467
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#core:member",
2468
+ "docComment": "/**\n * The current core instance\n */\n",
2469
+ "excerptTokens": [
2470
+ {
2471
+ "kind": "Content",
2472
+ "text": "core: "
2473
+ },
2474
+ {
2475
+ "kind": "Reference",
2476
+ "text": "IAppInsightsCore",
2477
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
2478
+ },
2479
+ {
2480
+ "kind": "Content",
2481
+ "text": ";"
2482
+ }
2483
+ ],
2484
+ "isReadonly": false,
2485
+ "isOptional": false,
2486
+ "releaseTag": "Public",
2487
+ "name": "core",
2488
+ "propertyTypeTokenRange": {
2489
+ "startIndex": 1,
2490
+ "endIndex": 2
2491
+ }
2492
+ },
2493
+ {
2494
+ "kind": "PropertySignature",
2495
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#init:member",
2496
+ "docComment": "/**\n * Provided only if the dependency request is a fetch call, this is the init argument being used, re-assigning this value does not change the value used for the request, however, changing properties of this object will be used.\n */\n",
2497
+ "excerptTokens": [
2498
+ {
2499
+ "kind": "Content",
2500
+ "text": "init?: "
2501
+ },
2502
+ {
2503
+ "kind": "Reference",
2504
+ "text": "RequestInit",
2505
+ "canonicalReference": "!RequestInit:interface"
2506
+ },
2507
+ {
2508
+ "kind": "Content",
2509
+ "text": ";"
2510
+ }
2511
+ ],
2512
+ "isReadonly": false,
2513
+ "isOptional": true,
2514
+ "releaseTag": "Public",
2515
+ "name": "init",
2516
+ "propertyTypeTokenRange": {
2517
+ "startIndex": 1,
2518
+ "endIndex": 2
2519
+ }
2520
+ },
2521
+ {
2522
+ "kind": "PropertySignature",
2523
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#input:member",
2524
+ "docComment": "/**\n * Provided only if the dependency request is a fetch call, this is the input argument being used, re-assigning this value has not affect on the value used for the request, however, when this is a Request object changing the value of the Request will be used for the outbound request.\n */\n",
2525
+ "excerptTokens": [
2526
+ {
2527
+ "kind": "Content",
2528
+ "text": "input?: "
2529
+ },
2530
+ {
2531
+ "kind": "Reference",
2532
+ "text": "Request",
2533
+ "canonicalReference": "!Request:interface"
2534
+ },
2535
+ {
2536
+ "kind": "Content",
2537
+ "text": " | string"
2538
+ },
2539
+ {
2540
+ "kind": "Content",
2541
+ "text": ";"
2542
+ }
2543
+ ],
2544
+ "isReadonly": false,
2545
+ "isOptional": true,
2546
+ "releaseTag": "Public",
2547
+ "name": "input",
2548
+ "propertyTypeTokenRange": {
2549
+ "startIndex": 1,
2550
+ "endIndex": 3
2551
+ }
2552
+ },
2553
+ {
2554
+ "kind": "PropertySignature",
2555
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#spanId:member",
2556
+ "docComment": "/**\n * Self-generated 8-bytes identifier of the incoming request. Must be a hex representation of 8-byte array. Also know as the parentId, used to link requests together\n */\n",
2557
+ "excerptTokens": [
2558
+ {
2559
+ "kind": "Content",
2560
+ "text": "spanId?: "
2561
+ },
2562
+ {
2563
+ "kind": "Content",
2564
+ "text": "string"
2565
+ },
2566
+ {
2567
+ "kind": "Content",
2568
+ "text": ";"
2569
+ }
2570
+ ],
2571
+ "isReadonly": false,
2572
+ "isOptional": true,
2573
+ "releaseTag": "Public",
2574
+ "name": "spanId",
2575
+ "propertyTypeTokenRange": {
2576
+ "startIndex": 1,
2577
+ "endIndex": 2
2578
+ }
2579
+ },
2580
+ {
2581
+ "kind": "PropertySignature",
2582
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#traceFlags:member",
2583
+ "docComment": "/**\n * An integer representation of the W3C TraceContext trace-flags. https://www.w3.org/TR/trace-context/#trace-flags\n */\n",
2584
+ "excerptTokens": [
2585
+ {
2586
+ "kind": "Content",
2587
+ "text": "traceFlags?: "
2588
+ },
2589
+ {
2590
+ "kind": "Content",
2591
+ "text": "number"
2592
+ },
2593
+ {
2594
+ "kind": "Content",
2595
+ "text": ";"
2596
+ }
2597
+ ],
2598
+ "isReadonly": false,
2599
+ "isOptional": true,
2600
+ "releaseTag": "Public",
2601
+ "name": "traceFlags",
2602
+ "propertyTypeTokenRange": {
2603
+ "startIndex": 1,
2604
+ "endIndex": 2
2605
+ }
2606
+ },
2607
+ {
2608
+ "kind": "PropertySignature",
2609
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#traceId:member",
2610
+ "docComment": "/**\n * Returns the unique identifier for a trace. All requests / spans from the same trace share the same traceId. Must be read from incoming headers or generated according to the W3C TraceContext specification, in a hex representation of 16-byte array. A.k.a. trace-id, TraceID or Distributed TraceID\n */\n",
2611
+ "excerptTokens": [
2612
+ {
2613
+ "kind": "Content",
2614
+ "text": "traceId?: "
2615
+ },
2616
+ {
2617
+ "kind": "Content",
2618
+ "text": "string"
2619
+ },
2620
+ {
2621
+ "kind": "Content",
2622
+ "text": ";"
2623
+ }
2624
+ ],
2625
+ "isReadonly": false,
2626
+ "isOptional": true,
2627
+ "releaseTag": "Public",
2628
+ "name": "traceId",
2629
+ "propertyTypeTokenRange": {
2630
+ "startIndex": 1,
2631
+ "endIndex": 2
2632
+ }
2633
+ },
2634
+ {
2635
+ "kind": "PropertySignature",
2636
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerDetails#xhr:member",
2637
+ "docComment": "/**\n * Provided only if the dependency request is an XHR call\n */\n",
2638
+ "excerptTokens": [
2639
+ {
2640
+ "kind": "Content",
2641
+ "text": "xhr?: "
2642
+ },
2643
+ {
2644
+ "kind": "Reference",
2645
+ "text": "XMLHttpRequest",
2646
+ "canonicalReference": "!XMLHttpRequest:interface"
2647
+ },
2648
+ {
2649
+ "kind": "Content",
2650
+ "text": ";"
2651
+ }
2652
+ ],
2653
+ "isReadonly": false,
2654
+ "isOptional": true,
2655
+ "releaseTag": "Public",
2656
+ "name": "xhr",
2657
+ "propertyTypeTokenRange": {
2658
+ "startIndex": 1,
2659
+ "endIndex": 2
2660
+ }
2661
+ }
2662
+ ],
2663
+ "extendsTokenRanges": []
2664
+ },
2665
+ {
2666
+ "kind": "Interface",
2667
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyListenerHandler:interface",
2668
+ "docComment": "",
2669
+ "excerptTokens": [
2670
+ {
2671
+ "kind": "Content",
2672
+ "text": "export interface IDependencyListenerHandler extends "
2673
+ },
2674
+ {
2675
+ "kind": "Reference",
2676
+ "text": "IDependencyHandler",
2677
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IDependencyHandler:interface"
2678
+ },
2679
+ {
2680
+ "kind": "Content",
2681
+ "text": " "
2682
+ }
2683
+ ],
2684
+ "releaseTag": "Public",
2685
+ "name": "IDependencyListenerHandler",
2686
+ "preserveMemberOrder": false,
2687
+ "members": [],
2688
+ "extendsTokenRanges": [
2689
+ {
2690
+ "startIndex": 1,
2691
+ "endIndex": 2
2692
+ }
2693
+ ]
2694
+ },
2062
2695
  {
2063
2696
  "kind": "Interface",
2064
2697
  "canonicalReference": "@microsoft/applicationinsights-dependencies-js!IInstrumentationRequirements:interface",
@@ -2093,8 +2726,8 @@
2093
2726
  },
2094
2727
  {
2095
2728
  "kind": "Reference",
2096
- "text": "_DYN_INCLUDE_CORRELATION_3",
2097
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!_DYN_INCLUDE_CORRELATION_3"
2729
+ "text": "_DYN_INCLUDE_CORRELATION_2",
2730
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~_DYN_INCLUDE_CORRELATION_2"
2098
2731
  },
2099
2732
  {
2100
2733
  "kind": "Content",