@microsoft/applicationinsights-dependencies-js 3.3.5-nightly3.2411-14 → 3.3.5-nightly3.2412-02

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 (28) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +2 -2
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +4 -4
  6. package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-dependencies-js.js +4 -4
  11. package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-dependencies-js.js +2 -2
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  18. package/dist-es5/DependencyInitializer.js +1 -1
  19. package/dist-es5/DependencyListener.js +1 -1
  20. package/dist-es5/InternalConstants.js +1 -1
  21. package/dist-es5/__DynamicConstants.js +1 -1
  22. package/dist-es5/ajax.js +1 -1
  23. package/dist-es5/ajaxRecord.js +1 -1
  24. package/dist-es5/ajaxUtils.js +1 -1
  25. package/dist-es5/applicationinsights-dependencies-js.js +1 -1
  26. package/package.json +3 -3
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +20 -26
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-es5/ajax.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2411-14
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-dependencies-js",
3
- "version": "3.3.5-nightly3.2411-14",
3
+ "version": "3.3.5-nightly3.2412-02",
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",
@@ -58,8 +58,8 @@
58
58
  "dependencies": {
59
59
  "@microsoft/dynamicproto-js": "^2.0.3",
60
60
  "@microsoft/applicationinsights-shims": "3.0.1",
61
- "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-14",
62
- "@microsoft/applicationinsights-common": "3.3.5-nightly3.2411-14",
61
+ "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2412-02",
62
+ "@microsoft/applicationinsights-common": "3.3.5-nightly3.2412-02",
63
63
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
64
64
  "@nevware21/ts-async": ">= 0.5.2 < 2.x"
65
65
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.3.5-nightly3.2411-14
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.5-nightly3.2412-02
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.5-nightly3.2411-14
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.3.5-nightly3.2412-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -495,7 +495,6 @@ declare namespace ApplicationInsights {
495
495
  unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void | IPromise<ITelemetryUnloadState>;
496
496
  /**
497
497
  * Find and return the (first) plugin with the specified identifier if present
498
- * @param pluginIdentifier
499
498
  */
500
499
  getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
501
500
  /**
@@ -550,7 +549,6 @@ declare namespace ApplicationInsights {
550
549
  /**
551
550
  * Watches and tracks changes for accesses to the current config, and if the accessed config changes the
552
551
  * handler will be recalled.
553
- * @param handler
554
552
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
555
553
  */
556
554
  onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
@@ -797,7 +795,7 @@ declare namespace ApplicationInsights {
797
795
  */
798
796
  disableFlushOnBeforeUnload?: boolean;
799
797
  /**
800
- * Default value of {@link #disableFlushOnBeforeUnload}. If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
798
+ * Default value of `disableFlushOnBeforeUnload`. If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
801
799
  */
802
800
  disableFlushOnUnload?: boolean;
803
801
  /**
@@ -849,12 +847,12 @@ declare namespace ApplicationInsights {
849
847
  */
850
848
  isStorageUseDisabled?: boolean;
851
849
  /**
852
- * If false, the SDK will send all telemetry using the [Beacon API](https://www.w3.org/TR/beacon)
850
+ * If false, the SDK will send all telemetry using the <a href="https://www.w3.org/TR/beacon">Beacon API</a>.
853
851
  * @defaultValue true
854
852
  */
855
853
  isBeaconApiDisabled?: boolean;
856
854
  /**
857
- * Don't use XMLHttpRequest or XDomainRequest (for IE < 9) by default instead attempt to use fetch() or sendBeacon.
855
+ * Don't use XMLHttpRequest or XDomainRequest (for IE \< 9) by default instead attempt to use fetch() or sendBeacon.
858
856
  * If no other transport is available it will still use XMLHttpRequest
859
857
  */
860
858
  disableXhr?: boolean;
@@ -1111,8 +1109,8 @@ declare namespace ApplicationInsights {
1111
1109
  * be logged to console if their severity meets the configured loggingConsoleLevel
1112
1110
  *
1113
1111
  * 0: ALL console logging off
1114
- * 1: logs to console: severity >= CRITICAL
1115
- * 2: logs to console: severity >= WARNING
1112
+ * 1: logs to console: severity \>= CRITICAL
1113
+ * 2: logs to console: severity \>= WARNING
1116
1114
  */
1117
1115
  loggingLevelConsole?: number;
1118
1116
  /**
@@ -1121,8 +1119,8 @@ declare namespace ApplicationInsights {
1121
1119
  * the configured instrumentation key.
1122
1120
  *
1123
1121
  * 0: ALL iKey logging off
1124
- * 1: logs to iKey: severity >= CRITICAL
1125
- * 2: logs to iKey: severity >= WARNING
1122
+ * 1: logs to iKey: severity \>= CRITICAL
1123
+ * 2: logs to iKey: severity \>= WARNING
1126
1124
  */
1127
1125
  loggingLevelTelemetry?: number;
1128
1126
  /**
@@ -1149,7 +1147,6 @@ declare namespace ApplicationInsights {
1149
1147
  */
1150
1148
  readonly channels?: IChannelControls[][];
1151
1149
  /**
1152
- * @type {boolean}
1153
1150
  * Flag that disables the Instrumentation Key validation.
1154
1151
  */
1155
1152
  disableInstrumentationKeyValidation?: boolean;
@@ -1180,14 +1177,12 @@ declare namespace ApplicationInsights {
1180
1177
  /**
1181
1178
  * @description Custom cookie domain. This is helpful if you want to share Application Insights cookies across subdomains. It
1182
1179
  * can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
1183
- * @type {string}
1184
1180
  * @defaultValue ""
1185
1181
  */
1186
1182
  cookieDomain?: string;
1187
1183
  /**
1188
1184
  * @description Custom cookie path. This is helpful if you want to share Application Insights cookies behind an application
1189
1185
  * gateway. It can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
1190
- * @type {string}
1191
1186
  * @defaultValue ""
1192
1187
  */
1193
1188
  cookiePath?: string;
@@ -1299,7 +1294,7 @@ declare namespace ApplicationInsights {
1299
1294
  /**
1300
1295
  * Optional Callback hook to allow the cookie manager to update it's configuration, not generally implemented now that
1301
1296
  * dynamic configuration is supported
1302
- * @param updateState
1297
+ * @param updateState - The new configuration state to apply to the cookie manager
1303
1298
  */
1304
1299
  update?(updateState: ITelemetryUpdateState): void;
1305
1300
  /**
@@ -1538,7 +1533,7 @@ declare namespace ApplicationInsights {
1538
1533
  logInternalMessage?(severity: LoggingSeverity, message: _InternalLogMessage): void;
1539
1534
  /**
1540
1535
  * Optional Callback hook to allow the diagnostic logger to update it's configuration
1541
- * @param updateState
1536
+ * @param updateState - The new configuration state to apply to the diagnostic logger
1542
1537
  */
1543
1538
  update?(updateState: ITelemetryUpdateState): void;
1544
1539
  /**
@@ -1559,7 +1554,7 @@ declare namespace ApplicationInsights {
1559
1554
  getName(): string;
1560
1555
  /**
1561
1556
  * Sets the current name of the page
1562
- * @param pageName
1557
+ * @param pageName - The name of the page
1563
1558
  */
1564
1559
  setName(pageName: string): void;
1565
1560
  /**
@@ -1591,7 +1586,7 @@ declare namespace ApplicationInsights {
1591
1586
  getTraceFlags(): number | undefined;
1592
1587
  /**
1593
1588
  * https://www.w3.org/TR/trace-context/#trace-flags
1594
- * @param newValue
1589
+ * @param newValue - An integer representation of the W3C TraceContext trace-flags.
1595
1590
  */
1596
1591
  setTraceFlags(newValue?: number): void;
1597
1592
  }
@@ -1630,10 +1625,10 @@ declare namespace ApplicationInsights {
1630
1625
  *
1631
1626
  * This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
1632
1627
  *
1633
- * @returns {Object} An object with the following property:
1628
+ * @returns An object with the following property:
1634
1629
  * - logs: An array of strings, where each string represents a log entry to be included in the telemetry.
1635
1630
  *
1636
- * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1631
+ * @property maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1637
1632
  */
1638
1633
  expLog?: () => {
1639
1634
  logs: string[];
@@ -1696,32 +1691,31 @@ declare namespace ApplicationInsights {
1696
1691
  getUrl: () => string;
1697
1692
  /**
1698
1693
  * Create payload data
1699
- * @param data data
1700
1694
  * @returns IPayloadData
1701
1695
  */
1702
1696
  createPayload: (data: string | Uint8Array) => IPayloadData;
1703
1697
  /**
1704
1698
  * Serialize an item into a string
1705
- * @param input telemetry item
1706
- * @param convertUndefined convert undefined to a custom-defined object
1699
+ * @param input - telemetry item
1700
+ * @param convertUndefined - convert undefined to a custom-defined object
1707
1701
  * @returns Serialized string
1708
1702
  */
1709
1703
  serialize?: (input: ITelemetryItem, convertUndefined?: any) => string;
1710
1704
  /**
1711
1705
  * Batch an array of strings into one string
1712
- * @param arr array of strings
1706
+ * @param arr - array of strings
1713
1707
  * @returns a string represent all items in the given array
1714
1708
  */
1715
1709
  batch?: (arr: string[]) => string;
1716
1710
  /**
1717
1711
  * If the item should be processed by offline channel
1718
- * @param evt telemetry item
1712
+ * @param evt - telemetry item
1719
1713
  * @returns should process or not
1720
1714
  */
1721
1715
  shouldProcess?: (evt: ITelemetryItem) => boolean;
1722
1716
  /**
1723
1717
  * Create 1ds payload data
1724
- * @param evts ITelemetryItems
1718
+ * @param evts - ITelemetryItems
1725
1719
  * @returns IPayloadData
1726
1720
  */
1727
1721
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
@@ -1781,7 +1775,7 @@ declare namespace ApplicationInsights {
1781
1775
  /**
1782
1776
  * [Optional] This event is sent if you have enabled perf events, they are primarily used to track internal performance testing and debugging
1783
1777
  * the event can be displayed via the debug plugin extension.
1784
- * @param perfEvent
1778
+ * @param perfEvent - The performance event object
1785
1779
  */
1786
1780
  perfEvent?: (perfEvent: IPerfEvent) => void;
1787
1781
  /**