@microsoft/applicationinsights-cfgsync-js 3.3.10-nightly3.2506-09 → 3.3.10-nightly3.2507-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.
Files changed (42) hide show
  1. package/README.md +10 -10
  2. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.cjs.js → ai.cfgsync.3.3.10-nightly3.2507-01.cjs.js} +3 -3
  3. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.cjs.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.cjs.js.map} +1 -1
  4. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.cjs.min.js → ai.cfgsync.3.3.10-nightly3.2507-01.cjs.min.js} +3 -3
  5. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.cjs.min.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.cjs.min.js.map} +1 -1
  6. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.gbl.js → ai.cfgsync.3.3.10-nightly3.2507-01.gbl.js} +5 -5
  7. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.gbl.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.gbl.js.map} +1 -1
  8. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.gbl.min.js → ai.cfgsync.3.3.10-nightly3.2507-01.gbl.min.js} +3 -3
  9. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.gbl.min.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.gbl.min.js.map} +1 -1
  10. package/browser/es5/ai.cfgsync.3.3.10-nightly3.2507-01.integrity.json +66 -0
  11. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.js → ai.cfgsync.3.3.10-nightly3.2507-01.js} +5 -5
  12. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.js.map} +1 -1
  13. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.min.js → ai.cfgsync.3.3.10-nightly3.2507-01.min.js} +3 -3
  14. package/browser/es5/{ai.cfgsync.3.3.10-nightly3.2506-09.min.js.map → ai.cfgsync.3.3.10-nightly3.2507-01.min.js.map} +1 -1
  15. package/browser/es5/ai.cfgsync.3.cjs.js +2 -2
  16. package/browser/es5/ai.cfgsync.3.cjs.js.map +1 -1
  17. package/browser/es5/ai.cfgsync.3.cjs.min.js +2 -2
  18. package/browser/es5/ai.cfgsync.3.cjs.min.js.map +1 -1
  19. package/browser/es5/ai.cfgsync.3.gbl.js +4 -4
  20. package/browser/es5/ai.cfgsync.3.gbl.js.map +1 -1
  21. package/browser/es5/ai.cfgsync.3.gbl.min.js +2 -2
  22. package/browser/es5/ai.cfgsync.3.gbl.min.js.map +1 -1
  23. package/browser/es5/ai.cfgsync.3.integrity.json +25 -25
  24. package/browser/es5/ai.cfgsync.3.js +4 -4
  25. package/browser/es5/ai.cfgsync.3.js.map +1 -1
  26. package/browser/es5/ai.cfgsync.3.min.js +2 -2
  27. package/browser/es5/ai.cfgsync.3.min.js.map +1 -1
  28. package/dist/es5/applicationinsights-cfgsync-js.js +2 -2
  29. package/dist/es5/applicationinsights-cfgsync-js.js.map +1 -1
  30. package/dist/es5/applicationinsights-cfgsync-js.min.js +2 -2
  31. package/dist/es5/applicationinsights-cfgsync-js.min.js.map +1 -1
  32. package/dist-es5/CfgSyncHelperFuncs.js +1 -1
  33. package/dist-es5/CfgSyncPlugin.js +1 -1
  34. package/dist-es5/Interfaces/ICfgSyncCdnConfig.js +1 -1
  35. package/dist-es5/Interfaces/ICfgSyncConfig.js +1 -1
  36. package/dist-es5/Interfaces/ICfgSyncPlugin.js +1 -1
  37. package/dist-es5/__DynamicConstants.js +1 -1
  38. package/dist-es5/applicationinsights-cfgsync-js.js +1 -1
  39. package/package.json +3 -3
  40. package/types/applicationinsights-cfgsync-js.d.ts +1 -1
  41. package/types/applicationinsights-cfgsync-js.namespaced.d.ts +1 -1
  42. package/browser/es5/ai.cfgsync.3.3.10-nightly3.2506-09.integrity.json +0 -66
package/README.md CHANGED
@@ -8,19 +8,19 @@
8
8
  Application Insights CfgSync Plugin enables configuration change communication among mutiple instances.
9
9
  Refer to [our GitHub page](https://github.com/microsoft/ApplicationInsights-JS) for more details on getting started.
10
10
 
11
- ## Configuration
11
+ ## [Configuration](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html)
12
12
 
13
13
  | Name | Type | Default | Description |
14
14
  |------|------|---------|-------------|
15
- | syncMode | ICfgSyncMode<br>[Optional]| Broadcast | Sync mode of current instance. If set to `None`, current instance will NOT receive or broadcast config changes. If set to `Broadcast`, current instance will ONLY broadcast changes. If set to `Receive`, instance will ONLY receive config changes but NOT broadcast config changes. |
16
- | customEvtName | string<br>[Optional] | ai_cfgsync | Event name for sending or listening to configuration change details. |
17
- | cfgUrl | string<br>[Optional] | null | CDN endpoint for fetching configuration. If cfgUrl is defined, instance will NOT listen to core configuration changes. Details defined in the CDN endpoint should follow `ICfgSyncCdnConfig` interface. |
18
- | blkCdnCfg | boolean<br>[Optional] | false | Determines if fetching the CDN endpoint should be blocked or not. |
19
- | onCfgChangeReceive | function<br>[Optional] | null | Overrides callback function to handle event details when changes are received via event listener. |
20
- | overrideSyncFn | function<br>[Optional] | null | Overrides sync() function to broadcast changes. |
21
- | overrideFetchFn | function<br>[Optional] | null | Overrides fetch function to get config from cfgUrl when cfgUrl is defined. |
22
- | nonOverrideConfigs | NonOverrideCfg<br>[Optional] | {instrumentationKey: true, connectionString: true, endpointUrl: true } | When current instance is set with syncMode: `Receive`, config fields under nonOverrideConfigs will NOT be changed by any confif details sent out from other instances. NOTE: this config will be ONLY applied during initialization, so it won't be changed dynamically. |
23
- | scheduleFetchTimeout | number<br>[Optional] | 30 mins | Identifies the time interval (in milliseconds) for fetching config details from cfgUrl when cfgUrl is defined. If set to 0, the fetch operation will only be called once during initialization. |
15
+ | [syncMode](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#syncMode) | ICfgSyncMode<br>[Optional]| Broadcast | Sync mode of current instance. If set to `None`, current instance will NOT receive or broadcast config changes. If set to `Broadcast`, current instance will ONLY broadcast changes. If set to `Receive`, instance will ONLY receive config changes but NOT broadcast config changes. |
16
+ | [customEvtName](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#customEvtName) | string<br>[Optional] | ai_cfgsync | Event name for sending or listening to configuration change details. |
17
+ | [cfgUrl](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#cfgUrl) | string<br>[Optional] | null | CDN endpoint for fetching configuration. If cfgUrl is defined, instance will NOT listen to core configuration changes. Details defined in the CDN endpoint should follow `ICfgSyncCdnConfig` interface. |
18
+ | [blkCdnCfg](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#blkCdnCfg) | boolean<br>[Optional] | false | Determines if fetching the CDN endpoint should be blocked or not. |
19
+ | [onCfgChangeReceive](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#onCfgChangeReceive) | function<br>[Optional] | null | Overrides callback function to handle event details when changes are received via event listener. |
20
+ | [overrideSyncFn](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#overrideSyncFn) | function<br>[Optional] | null | Overrides sync() function to broadcast changes. |
21
+ | [overrideFetchFn](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#overrideFetchFn) | function<br>[Optional] | null | Overrides fetch function to get config from cfgUrl when cfgUrl is defined. |
22
+ | [nonOverrideConfigs](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#nonOverrideConfigs) | NonOverrideCfg<br>[Optional] | {instrumentationKey: true, connectionString: true, endpointUrl: true } | When current instance is set with syncMode: `Receive`, config fields under nonOverrideConfigs will NOT be changed by any confif details sent out from other instances. NOTE: this config will be ONLY applied during initialization, so it won't be changed dynamically. |
23
+ | [scheduleFetchTimeout](https://microsoft.github.io/ApplicationInsights-JS/webSdk/applicationinsights-cfgsync-js/interfaces/ICfgSyncConfig.html#scheduleFetchTimeout) | number<br>[Optional] | 30 mins | Identifies the time interval (in milliseconds) for fetching config details from cfgUrl when cfgUrl is defined. If set to 0, the fetch operation will only be called once during initialization. |
24
24
 
25
25
 
26
26
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.3.10-nightly3.2506-09
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.3.10-nightly3.2507-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  'use strict';
@@ -1614,7 +1614,7 @@ function newId(maxLength) {
1614
1614
  return result;
1615
1615
  }
1616
1616
 
1617
- var version = '3.3.10-nightly3.2506-09';
1617
+ var version = '3.3.10-nightly3.2507-01';
1618
1618
  var instanceName = "." + newId(6);
1619
1619
  var _dataUid = 0;
1620
1620
  function _canAcceptData(target) {
@@ -3796,4 +3796,4 @@ var CfgSyncPlugin = /** @class */ (function (_super) {
3796
3796
  }(BaseTelemetryPlugin));
3797
3797
 
3798
3798
  exports.CfgSyncPlugin = CfgSyncPlugin;
3799
- //# sourceMappingURL=ai.cfgsync.3.3.10-nightly3.2506-09.cjs.js.map
3799
+ //# sourceMappingURL=ai.cfgsync.3.3.10-nightly3.2507-01.cjs.js.map