@microsoft/feature-management-applicationinsights-browser 2.0.0-preview.1 → 2.0.0-preview.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.
@@ -8,11 +8,11 @@
8
8
  function createTelemetryPublisher(client) {
9
9
  return (event) => {
10
10
  const eventProperties = {
11
- "FeatureName": event.feature?.id,
11
+ "FeatureName": event.feature ? event.feature.id : "",
12
12
  "Enabled": event.enabled.toString(),
13
13
  // Ensure targetingId is string so that it will be placed in customDimensions
14
- "TargetingId": event.targetingId?.toString(),
15
- "Variant": event.variant?.name,
14
+ "TargetingId": event.targetingId ? event.targetingId.toString() : "",
15
+ "Variant": event.variant ? event.variant.name : "",
16
16
  "VariantAssignmentReason": event.variantAssignmentReason,
17
17
  };
18
18
  const metadata = event.feature?.telemetry?.metadata;
@@ -39,7 +39,7 @@ function createTelemetryPublisher(client) {
39
39
  function trackEvent(client, targetingId, event, customProperties) {
40
40
  const properties = customProperties ? { ...customProperties } : {};
41
41
  // Ensure targetingId is string so that it will be placed in customDimensions
42
- properties["TargetingId"] = targetingId?.toString();
42
+ properties["TargetingId"] = targetingId ? targetingId.toString() : "";
43
43
  client.trackEvent(event, properties);
44
44
  }
45
45
 
@@ -1 +1 @@
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?.id,\n \"Enabled\": event.enabled.toString(),\n // Ensure targetingId is string so that it will be placed in customDimensions\n \"TargetingId\": event.targetingId?.toString(),\n \"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?.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,EAAE,EAAE;AAChC,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;;AAEnC,YAAA,aAAa,EAAE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE;AAC5C,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI;YAC9B,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;;IAEnE,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,EAAE,QAAQ,EAAE,CAAC;AACpD,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACzC;;;;"}
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;;;;"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- const VERSION = "2.0.0-preview.1";
3
+ const VERSION = "2.0.0-preview.2";
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-preview.1\";\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.0-preview.2\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"}
package/dist/umd/index.js CHANGED
@@ -14,11 +14,11 @@
14
14
  function createTelemetryPublisher(client) {
15
15
  return (event) => {
16
16
  const eventProperties = {
17
- "FeatureName": event.feature?.id,
17
+ "FeatureName": event.feature ? event.feature.id : "",
18
18
  "Enabled": event.enabled.toString(),
19
19
  // Ensure targetingId is string so that it will be placed in customDimensions
20
- "TargetingId": event.targetingId?.toString(),
21
- "Variant": event.variant?.name,
20
+ "TargetingId": event.targetingId ? event.targetingId.toString() : "",
21
+ "Variant": event.variant ? event.variant.name : "",
22
22
  "VariantAssignmentReason": event.variantAssignmentReason,
23
23
  };
24
24
  const metadata = event.feature?.telemetry?.metadata;
@@ -45,13 +45,13 @@
45
45
  function trackEvent(client, targetingId, event, customProperties) {
46
46
  const properties = customProperties ? { ...customProperties } : {};
47
47
  // Ensure targetingId is string so that it will be placed in customDimensions
48
- properties["TargetingId"] = targetingId?.toString();
48
+ properties["TargetingId"] = targetingId ? targetingId.toString() : "";
49
49
  client.trackEvent(event, properties);
50
50
  }
51
51
 
52
52
  // Copyright (c) Microsoft Corporation.
53
53
  // Licensed under the MIT license.
54
- const VERSION = "2.0.0-preview.1";
54
+ const VERSION = "2.0.0-preview.2";
55
55
 
56
56
  exports.VERSION = VERSION;
57
57
  exports.createTelemetryPublisher = createTelemetryPublisher;
@@ -1 +1 @@
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?.id,\n \"Enabled\": event.enabled.toString(),\n // Ensure targetingId is string so that it will be placed in customDimensions\n \"TargetingId\": event.targetingId?.toString(),\n \"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?.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.1\";\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,EAAE,EAAE;IAChC,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE;;IAEnC,YAAA,aAAa,EAAE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE;IAC5C,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI;gBAC9B,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;;QAEnE,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,EAAE,QAAQ,EAAE,CAAC;IACpD,IAAA,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IACzC;;ICnDA;IACA;AAEO,UAAM,OAAO,GAAG;;;;;;;;;;"}
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;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/feature-management-applicationinsights-browser",
3
- "version": "2.0.0-preview.1",
3
+ "version": "2.0.0-preview.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/umd/index.js",
6
6
  "module": "./dist/esm/index.js",
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-preview.1";
24
+ declare const VERSION = "2.0.0-preview.2";
25
25
 
26
26
  export { VERSION, createTelemetryPublisher, trackEvent };