@metamask-previews/accounts-controller 20.0.0-preview-5544fdb2 → 20.0.0-preview-ad39b13e

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 +9 -0
  2. package/package.json +7 -3
package/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Fixed
11
+
12
+ - Make implicit peer dependencies explicit ([#4974](https://github.com/MetaMask/core/pull/4974))
13
+ - Add the following packages as peer dependencies of this package to satisfy peer dependency requirements from other dependencies:
14
+ - `@metamask/providers` `^18.1.0` (required by `@metamask/keyring-api`)
15
+ - `webextension-polyfill` `^0.10.0 || ^0.11.0 || ^0.12.0` (required by `@metamask/providers`)
16
+ - These dependencies really should be present in projects that consume this package (e.g. MetaMask clients), and this change ensures that they now are.
17
+ - Furthermore, we are assuming that clients already use these dependencies, since otherwise it would be impossible to consume this package in its entirety or even create a working build. Hence, the addition of these peer dependencies is really a formality and should not be breaking.
18
+
10
19
  ## [20.0.0]
11
20
 
12
21
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/accounts-controller",
3
- "version": "20.0.0-preview-5544fdb2",
3
+ "version": "20.0.0-preview-ad39b13e",
4
4
  "description": "Manages internal accounts",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -62,6 +62,7 @@
62
62
  "devDependencies": {
63
63
  "@metamask/auto-changelog": "^3.4.4",
64
64
  "@metamask/keyring-controller": "^19.0.0",
65
+ "@metamask/providers": "^18.1.1",
65
66
  "@metamask/snaps-controllers": "^9.10.0",
66
67
  "@types/jest": "^27.4.1",
67
68
  "@types/readable-stream": "^2.3.0",
@@ -69,11 +70,14 @@
69
70
  "ts-jest": "^27.1.4",
70
71
  "typedoc": "^0.24.8",
71
72
  "typedoc-plugin-missing-exports": "^2.0.0",
72
- "typescript": "~5.2.2"
73
+ "typescript": "~5.2.2",
74
+ "webextension-polyfill": "^0.12.0"
73
75
  },
74
76
  "peerDependencies": {
75
77
  "@metamask/keyring-controller": "^19.0.0",
76
- "@metamask/snaps-controllers": "^9.7.0"
78
+ "@metamask/providers": "^18.1.0",
79
+ "@metamask/snaps-controllers": "^9.7.0",
80
+ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
77
81
  },
78
82
  "engines": {
79
83
  "node": "^18.18 || >=20"