@metamask-previews/phishing-controller 6.0.2-preview.1b84247 → 7.0.0-preview.26b130a
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 +10 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [7.0.0]
|
|
10
|
+
### Changed
|
|
11
|
+
- **BREAKING:** Migrate `PhishingController` to BaseControllerV2 ([#1705](https://github.com/MetaMask/core/pull/1705))
|
|
12
|
+
- `PhishingController` now expects a `messenger` option (and corresponding type `PhishingControllerMessenger` is now available)
|
|
13
|
+
- The constructor takes a single argument, an options bag, instead of three arguments
|
|
14
|
+
- The `disabled` configuration is no longer supported
|
|
15
|
+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
|
|
16
|
+
|
|
9
17
|
## [6.0.2]
|
|
10
18
|
### Changed
|
|
11
19
|
- Bump dependency on `@metamask/controller-utils` to ^5.0.0
|
|
@@ -84,7 +92,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
84
92
|
|
|
85
93
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
86
94
|
|
|
87
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@
|
|
95
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@7.0.0...HEAD
|
|
96
|
+
[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@6.0.2...@metamask/phishing-controller@7.0.0
|
|
88
97
|
[6.0.2]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@6.0.1...@metamask/phishing-controller@6.0.2
|
|
89
98
|
[6.0.1]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@6.0.0...@metamask/phishing-controller@6.0.1
|
|
90
99
|
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@5.0.0...@metamask/phishing-controller@6.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/phishing-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-preview.26b130a",
|
|
4
4
|
"description": "Maintains a periodically updated list of approved and unapproved website origins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/phishing-controller",
|
|
26
26
|
"publish:preview": "yarn npm publish --tag preview",
|
|
27
27
|
"test": "jest",
|
|
28
|
+
"test:clean": "jest --clearCache",
|
|
28
29
|
"test:watch": "jest --watch"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@metamask/base-controller": "^3.2.
|
|
32
|
-
"@metamask/controller-utils": "^5.0.
|
|
32
|
+
"@metamask/base-controller": "^3.2.3",
|
|
33
|
+
"@metamask/controller-utils": "^5.0.2",
|
|
33
34
|
"@types/punycode": "^2.1.0",
|
|
34
35
|
"eth-phishing-detect": "^1.2.0",
|
|
35
36
|
"punycode": "^2.1.1"
|
|
@@ -42,9 +43,9 @@
|
|
|
42
43
|
"nock": "^13.3.1",
|
|
43
44
|
"sinon": "^9.2.4",
|
|
44
45
|
"ts-jest": "^27.1.4",
|
|
45
|
-
"typedoc": "^0.
|
|
46
|
-
"typedoc-plugin-missing-exports": "^0.
|
|
47
|
-
"typescript": "~4.
|
|
46
|
+
"typedoc": "^0.24.8",
|
|
47
|
+
"typedoc-plugin-missing-exports": "^2.0.0",
|
|
48
|
+
"typescript": "~4.8.4"
|
|
48
49
|
},
|
|
49
50
|
"engines": {
|
|
50
51
|
"node": ">=16.0.0"
|