@metamask/notification-services-controller 0.5.1 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.0]
11
+
12
+ ### Changed
13
+
14
+ - update subpath exports to use new .d.cts definition files. ([#4709](https://github.com/MetaMask/core/pull/4709))
15
+ - Bump `@metamask/profile-sync-controller` from `^0.6.0` to `^0.7.0` ([#4710](https://github.com/MetaMask/core/pull/4710))
16
+
10
17
  ## [0.5.1]
11
18
 
12
19
  ### Fixed
@@ -141,7 +148,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
141
148
 
142
149
  - Initial release
143
150
 
144
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.5.1...HEAD
151
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.6.0...HEAD
152
+ [0.6.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.5.1...@metamask/notification-services-controller@0.6.0
145
153
  [0.5.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.5.0...@metamask/notification-services-controller@0.5.1
146
154
  [0.5.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.4.1...@metamask/notification-services-controller@0.5.0
147
155
  [0.4.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.4.0...@metamask/notification-services-controller@0.4.1
@@ -4,6 +4,6 @@
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
- "main": "../../dist/NotificationServicesController/__fixtures__/index.js",
8
- "types": "../../dist/types/NotificationServicesController/__fixtures__/index.d.ts"
7
+ "main": "../../dist/NotificationServicesController/__fixtures__/index.cjs",
8
+ "types": "../../dist/NotificationServicesController/__fixtures__/index.d.cts"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
- "main": "../dist/NotificationServicesController/index.js",
8
- "types": "../dist/types/NotificationServicesController/index.d.ts"
7
+ "main": "../dist/NotificationServicesController/index.cjs",
8
+ "types": "../dist/NotificationServicesController/index.d.cts"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
- "main": "../../dist/NotificationServicesController/ui/index.js",
8
- "types": "../../dist/types/NotificationServicesController/ui/index.d.ts"
7
+ "main": "../../dist/NotificationServicesController/ui/index.cjs",
8
+ "types": "../../dist/NotificationServicesController/ui/index.d.cts"
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/notification-services-controller",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Manages New MetaMask decentralized Notification system",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -28,29 +28,54 @@
28
28
  }
29
29
  },
30
30
  "./notification-services": {
31
- "import": "./dist/NotificationServicesController/index.mjs",
32
- "require": "./dist/NotificationServicesController/index.js",
33
- "types": "./dist/types/NotificationServicesController/index.d.ts"
31
+ "import": {
32
+ "types": "./dist/NotificationServicesController/index.d.mts",
33
+ "default": "./dist/NotificationServicesController/index.mjs"
34
+ },
35
+ "require": {
36
+ "types": "./dist/NotificationServicesController/index.d.cts",
37
+ "default": "./dist/NotificationServicesController/index.cjs"
38
+ }
34
39
  },
35
40
  "./notification-services/ui": {
36
- "import": "./dist/NotificationServicesController/ui/index.mjs",
37
- "require": "./dist/NotificationServicesController/ui/index.js",
38
- "types": "./dist/types/NotificationServicesController/ui/index.d.ts"
41
+ "import": {
42
+ "types": "./dist/NotificationServicesController/ui/index.d.mts",
43
+ "default": "./dist/NotificationServicesController/ui/index.mjs"
44
+ },
45
+ "require": {
46
+ "types": "./dist/NotificationServicesController/ui/index.d.cts",
47
+ "default": "./dist/NotificationServicesController/ui/index.cjs"
48
+ }
39
49
  },
40
50
  "./notification-services/mocks": {
41
- "import": "./dist/NotificationServicesController/__fixtures__/index.mjs",
42
- "require": "./dist/NotificationServicesController/__fixtures__/index.js",
43
- "types": "./dist/types/NotificationServicesController/__fixtures__/index.d.ts"
51
+ "import": {
52
+ "types": "./dist/NotificationServicesController/__fixtures__/index.d.mts",
53
+ "default": "./dist/NotificationServicesController/__fixtures__/index.mjs"
54
+ },
55
+ "require": {
56
+ "types": "./dist/NotificationServicesController/__fixtures__/index.d.cts",
57
+ "default": "./dist/NotificationServicesController/__fixtures__/index.cjs"
58
+ }
44
59
  },
45
60
  "./push-services": {
46
- "import": "./dist/NotificationServicesPushController/index.mjs",
47
- "require": "./dist/NotificationServicesPushController/index.js",
48
- "types": "./dist/types/NotificationServicesPushController/index.d.ts"
61
+ "import": {
62
+ "types": "./dist/NotificationServicesPushController/index.d.mts",
63
+ "default": "./dist/NotificationServicesPushController/index.mjs"
64
+ },
65
+ "require": {
66
+ "types": "./dist/NotificationServicesPushController/index.d.cts",
67
+ "default": "./dist/NotificationServicesPushController/index.cjs"
68
+ }
49
69
  },
50
70
  "./push-services/mocks": {
51
- "import": "./dist/NotificationServicesPushController/__fixtures__/index.mjs",
52
- "require": "./dist/NotificationServicesPushController/__fixtures__/index.js",
53
- "types": "./dist/types/NotificationServicesPushController/__fixtures__/index.d.ts"
71
+ "import": {
72
+ "types": "./dist/NotificationServicesPushController/__fixtures__/index.d.mts",
73
+ "default": "./dist/NotificationServicesPushController/__fixtures__/index.mjs"
74
+ },
75
+ "require": {
76
+ "types": "./dist/NotificationServicesPushController/__fixtures__/index.d.cts",
77
+ "default": "./dist/NotificationServicesPushController/__fixtures__/index.cjs"
78
+ }
54
79
  },
55
80
  "./package.json": "./package.json"
56
81
  },
@@ -86,7 +111,7 @@
86
111
  "@lavamoat/allow-scripts": "^3.0.4",
87
112
  "@metamask/auto-changelog": "^3.4.4",
88
113
  "@metamask/keyring-controller": "^17.2.1",
89
- "@metamask/profile-sync-controller": "^0.6.0",
114
+ "@metamask/profile-sync-controller": "^0.7.0",
90
115
  "@types/jest": "^27.4.1",
91
116
  "@types/readable-stream": "^2.3.0",
92
117
  "contentful": "^10.15.0",
@@ -4,6 +4,6 @@
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
- "main": "../../dist/NotificationServicesPushController/__fixtures__/index.js",
8
- "types": "../../dist/types/NotificationServicesPushController/__fixtures__/index.d.ts"
7
+ "main": "../../dist/NotificationServicesPushController/__fixtures__/index.cjs",
8
+ "types": "../../dist/NotificationServicesPushController/__fixtures__/index.d.cts"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
- "main": "../dist/NotificationServicesPushController/index.js",
8
- "types": "../dist/types/NotificationServicesPushController/index.d.ts"
7
+ "main": "../dist/NotificationServicesPushController/index.cjs",
8
+ "types": "../dist/NotificationServicesPushController/index.d.cts"
9
9
  }