@microsoft/feature-management-applicationinsights-node 2.2.0 → 2.3.0

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Copyright (c) Microsoft Corporation.
4
4
  // Licensed under the MIT license.
5
- const VERSION = "2.2.0";
5
+ const VERSION = "2.3.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# 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.2.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.3.0\";\n"],"names":[],"mappings":";;AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- const VERSION = "2.2.0";
3
+ const VERSION = "2.3.0";
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.2.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.3.0\";\n"],"names":[],"mappings":"AAAA;AACA;AAEO,MAAM,OAAO,GAAG;;;;"}
@@ -24,6 +24,6 @@ declare function trackEvent(client: TelemetryClient, targetingId: string, event:
24
24
  */
25
25
  declare function createTargetingTelemetryProcessor(targetingContextAccessor: ITargetingContextAccessor): (envelope: Contracts.EnvelopeTelemetry) => boolean;
26
26
 
27
- declare const VERSION = "2.2.0";
27
+ declare const VERSION = "2.3.0";
28
28
 
29
29
  export { VERSION, createTargetingTelemetryProcessor, createTelemetryPublisher, trackEvent };
package/package.json CHANGED
@@ -1,19 +1,28 @@
1
1
  {
2
2
  "name": "@microsoft/feature-management-applicationinsights-node",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Feature Management Application Insights Plugin for Node.js provides a solution for sending feature flag evaluation events produced by the Feature Management library.",
5
- "main": "./dist/commonjs/index.js",
6
- "module": "./dist/esm/index.js",
7
- "types": "types/index.d.ts",
8
5
  "files": [
9
6
  "dist/",
10
- "types/",
11
7
  "LICENSE",
12
8
  "README.md"
13
9
  ],
10
+ "exports": {
11
+ "./package.json": "./package.json",
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/types/index.d.ts",
15
+ "default": "./dist/esm/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/types/index.d.ts",
19
+ "default": "./dist/commonjs/index.js"
20
+ }
21
+ }
22
+ },
14
23
  "scripts": {
15
24
  "build": "npm run link && npm run clean && rollup --config",
16
- "clean": "rimraf dist types",
25
+ "clean": "rimraf dist",
17
26
  "link": "npm link ../feature-management",
18
27
  "dev": "rollup --config --watch",
19
28
  "lint": "eslint src/",
@@ -32,20 +41,20 @@
32
41
  },
33
42
  "homepage": "https://github.com/microsoft/FeatureManagement-JavaScript#readme",
34
43
  "devDependencies": {
35
- "@rollup/plugin-typescript": "^11.1.5",
36
- "@types/node": "^20.10.7",
37
- "@typescript-eslint/eslint-plugin": "^6.18.1",
38
- "@typescript-eslint/parser": "^6.18.1",
39
- "eslint": "^8.56.0",
40
- "rimraf": "^5.0.5",
41
- "rollup": "^4.9.4",
42
- "rollup-plugin-dts": "^6.1.0",
43
- "tslib": "^2.6.2",
44
- "typescript": "^5.3.3"
44
+ "@rollup/plugin-typescript": "^11.1.6",
45
+ "@types/node": "^22.18.0",
46
+ "@typescript-eslint/eslint-plugin": "^8.41.0",
47
+ "@typescript-eslint/parser": "^8.41.0",
48
+ "eslint": "^9.34.0",
49
+ "rimraf": "^6.0.1",
50
+ "rollup": "^4.50.0",
51
+ "rollup-plugin-dts": "^6.2.3",
52
+ "tslib": "^2.8.1",
53
+ "typescript": "^5.9.2"
45
54
  },
46
55
  "dependencies": {
47
56
  "applicationinsights": "^2.9.6",
48
- "@microsoft/feature-management": "2.2.0"
57
+ "@microsoft/feature-management": "2.3.0"
49
58
  }
50
59
  }
51
60