@microsoft/feature-management-applicationinsights-browser 2.0.0 → 2.0.2
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 +4 -2
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +1 -1
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
|
|
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:
|
|
17
|
+
connectionString: "<APPINSIGHTS_CONNECTION_STRING>"
|
|
16
18
|
}});
|
|
17
19
|
appInsights.loadAppInsights();
|
|
18
20
|
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -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.
|
|
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.2\";\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.
|
|
3
|
+
"version": "2.0.2",
|
|
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.
|
|
49
|
+
"@microsoft/feature-management": "2.0.2"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
package/types/index.d.ts
CHANGED