@microsoft/feature-management-applicationinsights-browser
Advanced tools
+10
-18
@@ -0,3 +1,7 @@ | ||
| import { createFeatureEvaluationEventProperties } from '@microsoft/feature-management'; | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT license. | ||
| const TARGETING_ID = "TargetingId"; | ||
| const FEATURE_EVALUATION_EVENT_NAME = "FeatureEvaluation"; | ||
| /** | ||
@@ -9,20 +13,8 @@ * Creates a telemetry publisher that sends feature evaluation events to Application Insights. | ||
| function createTelemetryPublisher(client) { | ||
| return (event) => { | ||
| const eventProperties = { | ||
| "FeatureName": event.feature ? event.feature.id : "", | ||
| "Enabled": event.enabled.toString(), | ||
| // Ensure targetingId is string so that it will be placed in customDimensions | ||
| "TargetingId": event.targetingId ? event.targetingId.toString() : "", | ||
| "Variant": event.variant ? event.variant.name : "", | ||
| "VariantAssignmentReason": event.variantAssignmentReason, | ||
| }; | ||
| const metadata = event.feature?.telemetry?.metadata; | ||
| if (metadata) { | ||
| for (const key in metadata) { | ||
| if (!(key in eventProperties)) { | ||
| eventProperties[key] = metadata[key]; | ||
| } | ||
| } | ||
| return (result) => { | ||
| if (result.feature === undefined) { | ||
| return; | ||
| } | ||
| client.trackEvent({ name: "FeatureEvaluation" }, eventProperties); | ||
| const eventProperties = createFeatureEvaluationEventProperties(result); | ||
| client.trackEvent({ name: FEATURE_EVALUATION_EVENT_NAME }, eventProperties); | ||
| }; | ||
@@ -43,3 +35,3 @@ } | ||
| // Ensure targetingId is string so that it will be placed in customDimensions | ||
| properties["TargetingId"] = targetingId ? targetingId.toString() : ""; | ||
| properties[TARGETING_ID] = targetingId ? targetingId.toString() : ""; | ||
| client.trackEvent(event, properties); | ||
@@ -46,0 +38,0 @@ } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"telemetry.js","sources":["../../src/telemetry.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EvaluationResult } from \"@microsoft/feature-management\";\nimport { ApplicationInsights } from \"@microsoft/applicationinsights-web\";\nimport { IEventTelemetry } from \"@microsoft/applicationinsights-web\";\n\n/**\n * Creates a telemetry publisher that sends feature evaluation events to Application Insights.\n * @param client The Application Insights telemetry client.\n * @returns A callback function that takes an evaluation result and tracks an event with the evaluation details.\n */\nexport function createTelemetryPublisher(client: ApplicationInsights): (event: EvaluationResult) => void {\n return (event: EvaluationResult) => {\n const eventProperties = {\n \"FeatureName\": event.feature ? event.feature.id : \"\",\n \"Enabled\": event.enabled.toString(),\n // Ensure targetingId is string so that it will be placed in customDimensions\n \"TargetingId\": event.targetingId ? event.targetingId.toString() : \"\",\n \"Variant\": event.variant ? event.variant.name : \"\",\n \"VariantAssignmentReason\": event.variantAssignmentReason,\n };\n\n const metadata = event.feature?.telemetry?.metadata;\n if (metadata) {\n for (const key in metadata) {\n if (!(key in eventProperties)) {\n eventProperties[key] = metadata[key];\n }\n }\n }\n\n client.trackEvent({ name: \"FeatureEvaluation\" }, eventProperties);\n };\n}\n\n/**\n * Tracks a custom event using Application Insights, ensuring that the \"TargetingId\"\n * is included in the custom properties. If the \"TargetingId\" already exists in\n * the provided custom properties, it will be overwritten.\n *\n * @param client The Application Insights client instance used to track the event.\n * @param targetingId The unique targeting identifier that will be included in the custom properties.\n * @param event The event telemetry object to be tracked, containing event details.\n * @param customProperties (Optional) Additional properties to include in the event telemetry.\n */\nexport function trackEvent(client: ApplicationInsights, targetingId: string, event: IEventTelemetry, customProperties?: {[key: string]: any}): void {\n const properties = customProperties ? { ...customProperties } : {};\n // Ensure targetingId is string so that it will be placed in customDimensions\n properties[\"TargetingId\"] = targetingId ? targetingId.toString() : \"\";\n client.trackEvent(event, properties);\n}\n"],"names":[],"mappings":"AAAA;AACA;AAMA;;;;AAIG;AACG,SAAU,wBAAwB,CAAC,MAA2B,EAAA;IAChE,OAAO,CAAC,KAAuB,KAAI;AAC/B,QAAA,MAAM,eAAe,GAAG;AACpB,YAAA,aAAa,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE;AACpD,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;;AAEnC,YAAA,aAAa,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE;AACpE,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE;YAClD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB;SAC3D,CAAC;QAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;QACpD,IAAI,QAAQ,EAAE;AACV,YAAA,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE;AACxB,gBAAA,IAAI,EAAE,GAAG,IAAI,eAAe,CAAC,EAAE;oBAC3B,eAAe,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;iBACxC;aACJ;SACJ;QAED,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,eAAe,CAAC,CAAC;AACtE,KAAC,CAAC;AACN,CAAC;AAED;;;;;;;;;AASG;AACG,SAAU,UAAU,CAAC,MAA2B,EAAE,WAAmB,EAAE,KAAsB,EAAE,gBAAuC,EAAA;AACxI,IAAA,MAAM,UAAU,GAAG,gBAAgB,GAAG,EAAE,GAAG,gBAAgB,EAAE,GAAG,EAAE,CAAC;;AAEnE,IAAA,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;AACtE,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACzC;;;;"} | ||
| {"version":3,"file":"telemetry.js","sources":["../../src/telemetry.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EvaluationResult, createFeatureEvaluationEventProperties } from \"@microsoft/feature-management\";\nimport { ApplicationInsights, IEventTelemetry } from \"@microsoft/applicationinsights-web\";\n\nconst TARGETING_ID = \"TargetingId\";\nconst FEATURE_EVALUATION_EVENT_NAME = \"FeatureEvaluation\";\n\n/**\n * Creates a telemetry publisher that sends feature evaluation events to Application Insights.\n * @param client The Application Insights telemetry client.\n * @returns A callback function that takes an evaluation result and tracks an event with the evaluation details.\n */\nexport function createTelemetryPublisher(client: ApplicationInsights): (result: EvaluationResult) => void {\n return (result: EvaluationResult) => {\n if (result.feature === undefined) {\n return;\n }\n\n const eventProperties = createFeatureEvaluationEventProperties(result);\n client.trackEvent({ name: FEATURE_EVALUATION_EVENT_NAME }, eventProperties);\n };\n}\n\n/**\n * Tracks a custom event using Application Insights, ensuring that the \"TargetingId\"\n * is included in the custom properties. If the \"TargetingId\" already exists in\n * the provided custom properties, it will be overwritten.\n *\n * @param client The Application Insights client instance used to track the event.\n * @param targetingId The unique targeting identifier that will be included in the custom properties.\n * @param event The event telemetry object to be tracked, containing event details.\n * @param customProperties (Optional) Additional properties to include in the event telemetry.\n */\nexport function trackEvent(client: ApplicationInsights, targetingId: string, event: IEventTelemetry, customProperties?: {[key: string]: any}): void {\n const properties = customProperties ? { ...customProperties } : {};\n // Ensure targetingId is string so that it will be placed in customDimensions\n properties[TARGETING_ID] = targetingId ? targetingId.toString() : \"\";\n client.trackEvent(event, properties);\n}\n"],"names":[],"mappings":";;AAAA;AACA;AAKA,MAAM,YAAY,GAAG,aAAa;AAClC,MAAM,6BAA6B,GAAG,mBAAmB;AAEzD;;;;AAIG;AACG,SAAU,wBAAwB,CAAC,MAA2B,EAAA;IAChE,OAAO,CAAC,MAAwB,KAAI;AAChC,QAAA,IAAI,MAAM,CAAC,OAAO,KAAK,SAAS,EAAE;YAC9B;;AAGJ,QAAA,MAAM,eAAe,GAAG,sCAAsC,CAAC,MAAM,CAAC;QACtE,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,EAAE,eAAe,CAAC;AAC/E,KAAC;AACL;AAEA;;;;;;;;;AASG;AACG,SAAU,UAAU,CAAC,MAA2B,EAAE,WAAmB,EAAE,KAAsB,EAAE,gBAAuC,EAAA;AACxI,IAAA,MAAM,UAAU,GAAG,gBAAgB,GAAG,EAAE,GAAG,gBAAgB,EAAE,GAAG,EAAE;;AAElE,IAAA,UAAU,CAAC,YAAY,CAAC,GAAG,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE;AACpE,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC;AACxC;;;;"} |
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT license. | ||
| const VERSION = "2.0.0-preview.2"; | ||
| const VERSION = "2.0.0-preview.3"; | ||
| export { VERSION }; | ||
| //# sourceMappingURL=version.js.map |
@@ -1,1 +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.0-preview.2\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"} | ||
| {"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-preview.3\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"} |
+13
-23
| (function (global, factory) { | ||
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
| typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
| (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FeatureManagementApplicationInsights = {})); | ||
| })(this, (function (exports) { 'use strict'; | ||
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@microsoft/feature-management')) : | ||
| typeof define === 'function' && define.amd ? define(['exports', '@microsoft/feature-management'], factory) : | ||
| (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FeatureManagementApplicationInsights = {}, global.featureManagement)); | ||
| })(this, (function (exports, featureManagement) { 'use strict'; | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT license. | ||
| const TARGETING_ID = "TargetingId"; | ||
| const FEATURE_EVALUATION_EVENT_NAME = "FeatureEvaluation"; | ||
| /** | ||
@@ -15,20 +17,8 @@ * Creates a telemetry publisher that sends feature evaluation events to Application Insights. | ||
| function createTelemetryPublisher(client) { | ||
| return (event) => { | ||
| const eventProperties = { | ||
| "FeatureName": event.feature ? event.feature.id : "", | ||
| "Enabled": event.enabled.toString(), | ||
| // Ensure targetingId is string so that it will be placed in customDimensions | ||
| "TargetingId": event.targetingId ? event.targetingId.toString() : "", | ||
| "Variant": event.variant ? event.variant.name : "", | ||
| "VariantAssignmentReason": event.variantAssignmentReason, | ||
| }; | ||
| const metadata = event.feature?.telemetry?.metadata; | ||
| if (metadata) { | ||
| for (const key in metadata) { | ||
| if (!(key in eventProperties)) { | ||
| eventProperties[key] = metadata[key]; | ||
| } | ||
| } | ||
| return (result) => { | ||
| if (result.feature === undefined) { | ||
| return; | ||
| } | ||
| client.trackEvent({ name: "FeatureEvaluation" }, eventProperties); | ||
| const eventProperties = featureManagement.createFeatureEvaluationEventProperties(result); | ||
| client.trackEvent({ name: FEATURE_EVALUATION_EVENT_NAME }, eventProperties); | ||
| }; | ||
@@ -49,3 +39,3 @@ } | ||
| // Ensure targetingId is string so that it will be placed in customDimensions | ||
| properties["TargetingId"] = targetingId ? targetingId.toString() : ""; | ||
| properties[TARGETING_ID] = targetingId ? targetingId.toString() : ""; | ||
| client.trackEvent(event, properties); | ||
@@ -56,3 +46,3 @@ } | ||
| // Licensed under the MIT license. | ||
| const VERSION = "2.0.0-preview.2"; | ||
| const VERSION = "2.0.0-preview.3"; | ||
@@ -59,0 +49,0 @@ exports.VERSION = VERSION; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sources":["../../src/telemetry.ts","../../src/version.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EvaluationResult } from \"@microsoft/feature-management\";\nimport { ApplicationInsights } from \"@microsoft/applicationinsights-web\";\nimport { IEventTelemetry } from \"@microsoft/applicationinsights-web\";\n\n/**\n * Creates a telemetry publisher that sends feature evaluation events to Application Insights.\n * @param client The Application Insights telemetry client.\n * @returns A callback function that takes an evaluation result and tracks an event with the evaluation details.\n */\nexport function createTelemetryPublisher(client: ApplicationInsights): (event: EvaluationResult) => void {\n return (event: EvaluationResult) => {\n const eventProperties = {\n \"FeatureName\": event.feature ? event.feature.id : \"\",\n \"Enabled\": event.enabled.toString(),\n // Ensure targetingId is string so that it will be placed in customDimensions\n \"TargetingId\": event.targetingId ? event.targetingId.toString() : \"\",\n \"Variant\": event.variant ? event.variant.name : \"\",\n \"VariantAssignmentReason\": event.variantAssignmentReason,\n };\n\n const metadata = event.feature?.telemetry?.metadata;\n if (metadata) {\n for (const key in metadata) {\n if (!(key in eventProperties)) {\n eventProperties[key] = metadata[key];\n }\n }\n }\n\n client.trackEvent({ name: \"FeatureEvaluation\" }, eventProperties);\n };\n}\n\n/**\n * Tracks a custom event using Application Insights, ensuring that the \"TargetingId\"\n * is included in the custom properties. If the \"TargetingId\" already exists in\n * the provided custom properties, it will be overwritten.\n *\n * @param client The Application Insights client instance used to track the event.\n * @param targetingId The unique targeting identifier that will be included in the custom properties.\n * @param event The event telemetry object to be tracked, containing event details.\n * @param customProperties (Optional) Additional properties to include in the event telemetry.\n */\nexport function trackEvent(client: ApplicationInsights, targetingId: string, event: IEventTelemetry, customProperties?: {[key: string]: any}): void {\n const properties = customProperties ? { ...customProperties } : {};\n // Ensure targetingId is string so that it will be placed in customDimensions\n properties[\"TargetingId\"] = targetingId ? targetingId.toString() : \"\";\n client.trackEvent(event, properties);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const VERSION = \"2.0.0-preview.2\";\n"],"names":[],"mappings":";;;;;;IAAA;IACA;IAMA;;;;IAIG;IACG,SAAU,wBAAwB,CAAC,MAA2B,EAAA;QAChE,OAAO,CAAC,KAAuB,KAAI;IAC/B,QAAA,MAAM,eAAe,GAAG;IACpB,YAAA,aAAa,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE;IACpD,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;;IAEnC,YAAA,aAAa,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE;IACpE,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE;gBAClD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB;aAC3D,CAAC;YAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;YACpD,IAAI,QAAQ,EAAE;IACV,YAAA,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE;IACxB,gBAAA,IAAI,EAAE,GAAG,IAAI,eAAe,CAAC,EAAE;wBAC3B,eAAe,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;qBACxC;iBACJ;aACJ;YAED,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,eAAe,CAAC,CAAC;IACtE,KAAC,CAAC;IACN,CAAC;IAED;;;;;;;;;IASG;IACG,SAAU,UAAU,CAAC,MAA2B,EAAE,WAAmB,EAAE,KAAsB,EAAE,gBAAuC,EAAA;IACxI,IAAA,MAAM,UAAU,GAAG,gBAAgB,GAAG,EAAE,GAAG,gBAAgB,EAAE,GAAG,EAAE,CAAC;;IAEnE,IAAA,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;IACtE,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IACzC;;ICnDA;IACA;AAEO,UAAM,OAAO,GAAG;;;;;;;;;;"} | ||
| {"version":3,"file":"index.js","sources":["../../src/telemetry.ts","../../src/version.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EvaluationResult, createFeatureEvaluationEventProperties } from \"@microsoft/feature-management\";\nimport { ApplicationInsights, IEventTelemetry } from \"@microsoft/applicationinsights-web\";\n\nconst TARGETING_ID = \"TargetingId\";\nconst FEATURE_EVALUATION_EVENT_NAME = \"FeatureEvaluation\";\n\n/**\n * Creates a telemetry publisher that sends feature evaluation events to Application Insights.\n * @param client The Application Insights telemetry client.\n * @returns A callback function that takes an evaluation result and tracks an event with the evaluation details.\n */\nexport function createTelemetryPublisher(client: ApplicationInsights): (result: EvaluationResult) => void {\n return (result: EvaluationResult) => {\n if (result.feature === undefined) {\n return;\n }\n\n const eventProperties = createFeatureEvaluationEventProperties(result);\n client.trackEvent({ name: FEATURE_EVALUATION_EVENT_NAME }, eventProperties);\n };\n}\n\n/**\n * Tracks a custom event using Application Insights, ensuring that the \"TargetingId\"\n * is included in the custom properties. If the \"TargetingId\" already exists in\n * the provided custom properties, it will be overwritten.\n *\n * @param client The Application Insights client instance used to track the event.\n * @param targetingId The unique targeting identifier that will be included in the custom properties.\n * @param event The event telemetry object to be tracked, containing event details.\n * @param customProperties (Optional) Additional properties to include in the event telemetry.\n */\nexport function trackEvent(client: ApplicationInsights, targetingId: string, event: IEventTelemetry, customProperties?: {[key: string]: any}): void {\n const properties = customProperties ? { ...customProperties } : {};\n // Ensure targetingId is string so that it will be placed in customDimensions\n properties[TARGETING_ID] = targetingId ? targetingId.toString() : \"\";\n client.trackEvent(event, properties);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const VERSION = \"2.0.0-preview.3\";\n"],"names":["createFeatureEvaluationEventProperties"],"mappings":";;;;;;IAAA;IACA;IAKA,MAAM,YAAY,GAAG,aAAa;IAClC,MAAM,6BAA6B,GAAG,mBAAmB;IAEzD;;;;IAIG;IACG,SAAU,wBAAwB,CAAC,MAA2B,EAAA;QAChE,OAAO,CAAC,MAAwB,KAAI;IAChC,QAAA,IAAI,MAAM,CAAC,OAAO,KAAK,SAAS,EAAE;gBAC9B;;IAGJ,QAAA,MAAM,eAAe,GAAGA,wDAAsC,CAAC,MAAM,CAAC;YACtE,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,EAAE,eAAe,CAAC;IAC/E,KAAC;IACL;IAEA;;;;;;;;;IASG;IACG,SAAU,UAAU,CAAC,MAA2B,EAAE,WAAmB,EAAE,KAAsB,EAAE,gBAAuC,EAAA;IACxI,IAAA,MAAM,UAAU,GAAG,gBAAgB,GAAG,EAAE,GAAG,gBAAgB,EAAE,GAAG,EAAE;;IAElE,IAAA,UAAU,CAAC,YAAY,CAAC,GAAG,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE;IACpE,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC;IACxC;;ICxCA;IACA;AAEO,UAAM,OAAO,GAAG;;;;;;;;;;"} |
+2
-2
| { | ||
| "name": "@microsoft/feature-management-applicationinsights-browser", | ||
| "version": "2.0.0-preview.2", | ||
| "version": "2.0.0-preview.3", | ||
| "description": "Feature Management Application Insights Plugin for Browser provides a solution for sending feature flag evaluation events produced by the Feature Management library.", | ||
@@ -45,5 +45,5 @@ "main": "./dist/umd/index.js", | ||
| "@microsoft/applicationinsights-web": "^3.3.2", | ||
| "@microsoft/feature-management": "1.0.0-preview.1" | ||
| "@microsoft/feature-management": "2.0.0-preview.3" | ||
| } | ||
| } | ||
+0
-4
@@ -7,6 +7,2 @@ # Microsoft Feature Management Application Insights Plugin for Browser | ||
| ### Prerequisites | ||
| - Node.js LTS version | ||
| ### Usage | ||
@@ -13,0 +9,0 @@ |
+2
-2
@@ -9,3 +9,3 @@ import { EvaluationResult } from '@microsoft/feature-management'; | ||
| */ | ||
| declare function createTelemetryPublisher(client: ApplicationInsights): (event: EvaluationResult) => void; | ||
| declare function createTelemetryPublisher(client: ApplicationInsights): (result: EvaluationResult) => void; | ||
| /** | ||
@@ -25,4 +25,4 @@ * Tracks a custom event using Application Insights, ensuring that the "TargetingId" | ||
| declare const VERSION = "2.0.0-preview.2"; | ||
| declare const VERSION = "2.0.0-preview.3"; | ||
| export { VERSION, createTelemetryPublisher, trackEvent }; |
17959
-13.36%115
-14.18%51
-7.27%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed