@metamask/network-controller 23.6.0 → 24.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/package.json +5 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [24.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Remove `@metamask/error-reporting-service@^1.0.0` as a direct dependency, add `^2.0.0` as a peer dependency ([#5970](https://github.com/MetaMask/core/pull/5970), [#5999](https://github.com/MetaMask/core/pull/5999))
15
+
10
16
  ## [23.6.0]
11
17
 
12
18
  ### Added
@@ -22,6 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
28
 
23
29
  ### Changed
24
30
 
31
+ - **BREAKING:** NetworkController messenger now requires the `ErrorReportingService:captureException` action to be allowed ([#5970](https://github.com/MetaMask/core/pull/5970))
32
+ - This change was originally missed when this release was created. It was added to the changelog afterward.
25
33
  - Block tracker errors will no longer be wrapped under "PollingBlockTracker - encountered an error while attempting to update latest block" ([#5860](https://github.com/MetaMask/core/pull/5860))
26
34
  - Bump dependencies ([#5867](https://github.com/MetaMask/core/pull/5867), [#5860](https://github.com/MetaMask/core/pull/5860))
27
35
  - Bump `@metamask/eth-block-tracker` to `^12.0.1`
@@ -877,7 +885,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
877
885
 
878
886
  All changes listed after this point were applied to this package following the monorepo conversion.
879
887
 
880
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@23.6.0...HEAD
888
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@24.0.0...HEAD
889
+ [24.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@23.6.0...@metamask/network-controller@24.0.0
881
890
  [23.6.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@23.5.1...@metamask/network-controller@23.6.0
882
891
  [23.5.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@23.5.0...@metamask/network-controller@23.5.1
883
892
  [23.5.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@23.4.0...@metamask/network-controller@23.5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/network-controller",
3
- "version": "23.6.0",
3
+ "version": "24.0.0",
4
4
  "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -49,7 +49,6 @@
49
49
  "dependencies": {
50
50
  "@metamask/base-controller": "^8.0.1",
51
51
  "@metamask/controller-utils": "^11.10.0",
52
- "@metamask/error-reporting-service": "^1.0.0",
53
52
  "@metamask/eth-block-tracker": "^12.0.1",
54
53
  "@metamask/eth-json-rpc-infura": "^10.2.0",
55
54
  "@metamask/eth-json-rpc-middleware": "^17.0.1",
@@ -70,6 +69,7 @@
70
69
  "devDependencies": {
71
70
  "@json-rpc-specification/meta-schema": "^1.0.6",
72
71
  "@metamask/auto-changelog": "^3.4.4",
72
+ "@metamask/error-reporting-service": "^2.0.0",
73
73
  "@types/jest": "^27.4.1",
74
74
  "@types/jest-when": "^2.7.3",
75
75
  "@types/lodash": "^4.14.191",
@@ -86,6 +86,9 @@
86
86
  "typedoc-plugin-missing-exports": "^2.0.0",
87
87
  "typescript": "~5.2.2"
88
88
  },
89
+ "peerDependencies": {
90
+ "@metamask/error-reporting-service": "^2.0.0"
91
+ },
89
92
  "engines": {
90
93
  "node": "^18.18 || >=20"
91
94
  },