@microsoft/feature-management-applicationinsights-browser 2.0.0 → 2.0.1

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/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Microsoft Feature Management Application Insights Plugin for Browser
2
2
 
3
- Feature Management Application Insights Plugin for Browser provides a solution for sending feature flag evaluation events produced by the Feature Management library.
3
+ Feature Management Application Insights Plugin for Browser provides a solution for sending feature flag evaluation telemetry produced by the [`@microsoft/feature-management`](https://www.npmjs.com/package/@microsoft/feature-management) library.
4
4
 
5
5
  ## Getting Started
6
6
 
7
+ For more information, please go to [Feature reference](https://learn.microsoft.com/azure/azure-app-configuration/feature-management-javascript-reference#application-insights-integration).
8
+
7
9
  ### Usage
8
10
 
9
11
  ``` javascript
@@ -12,7 +14,7 @@ import { FeatureManager, ConfigurationObjectFeatureFlagProvider } from "@microso
12
14
  import { createTelemetryPublisher, trackEvent } from "@microsoft/feature-management-applicationinsights-browser";
13
15
 
14
16
  const appInsights = new ApplicationInsights({ config: {
15
- connectionString: CONNECTION_STRING
17
+ connectionString: "<APPINSIGHTS_CONNECTION_STRING>"
16
18
  }});
17
19
  appInsights.loadAppInsights();
18
20
 
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- const VERSION = "2.0.0";
3
+ const VERSION = "2.0.1";
4
4
 
5
5
  export { VERSION };
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const VERSION = \"2.0.0\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version.js","sources":["../../src/version.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const VERSION = \"2.0.1\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/feature-management-applicationinsights-browser",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Feature Management Application Insights Plugin for Browser provides a solution for sending feature flag evaluation events produced by the Feature Management library.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@microsoft/applicationinsights-web": "^3.3.2",
49
- "@microsoft/feature-management": "2.0.0"
49
+ "@microsoft/feature-management": "2.0.1"
50
50
  }
51
51
  }
52
52
 
package/types/index.d.ts CHANGED
@@ -21,6 +21,6 @@ declare function trackEvent(client: ApplicationInsights, targetingId: string, ev
21
21
  [key: string]: any;
22
22
  }): void;
23
23
 
24
- declare const VERSION = "2.0.0";
24
+ declare const VERSION = "2.0.1";
25
25
 
26
26
  export { VERSION, createTelemetryPublisher, trackEvent };