@metamask-previews/rate-limit-controller 4.0.2-preview.8cdddaf → 4.0.2-preview.cbe2fbb7
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 +27 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -7,60 +8,86 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
9
10
|
## [4.0.2]
|
|
11
|
+
|
|
10
12
|
### Changed
|
|
13
|
+
|
|
11
14
|
- Bump `@metamask/base-controller` to `^4.1.1` ([#3760](https://github.com/MetaMask/core/pull/3760), [#3821](https://github.com/MetaMask/core/pull/3821))
|
|
12
15
|
|
|
13
16
|
## [4.0.1]
|
|
17
|
+
|
|
14
18
|
### Changed
|
|
19
|
+
|
|
15
20
|
- Bump `@metamask/base-controller` to `^4.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
|
|
16
21
|
|
|
17
22
|
## [4.0.0]
|
|
23
|
+
|
|
18
24
|
### Changed
|
|
25
|
+
|
|
19
26
|
- **BREAKING:** Enforce that `RateLimitedApi['method']` matches action handler type instead of using `any` ([#1890](https://github.com/MetaMask/core/pull/1890))
|
|
20
27
|
- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
21
28
|
- This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more.
|
|
22
29
|
|
|
23
30
|
## [3.0.3]
|
|
31
|
+
|
|
24
32
|
### Changed
|
|
33
|
+
|
|
25
34
|
- Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747))
|
|
26
35
|
- Move from `eth-rpc-errors` ^4.0.2 to `@metamask/rpc-errors` ^6.1.0 ([#1653](https://github.com/MetaMask/core/pull/1653))
|
|
27
36
|
|
|
28
37
|
## [3.0.2]
|
|
38
|
+
|
|
29
39
|
### Changed
|
|
40
|
+
|
|
30
41
|
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
|
|
31
42
|
|
|
32
43
|
## [3.0.1]
|
|
44
|
+
|
|
33
45
|
### Changed
|
|
46
|
+
|
|
34
47
|
- Bump dependency on `@metamask/base-controller` to ^3.2.1
|
|
35
48
|
|
|
36
49
|
## [3.0.0]
|
|
50
|
+
|
|
37
51
|
### Changed
|
|
52
|
+
|
|
38
53
|
- **BREAKING:** Allow `RateLimitController` to define a rate-limit per method ([#1355](https://github.com/MetaMask/core/pull/1355))
|
|
39
54
|
- The constructor `implementations` option now maps API names to objects with a `method` property, rather than mapping to a function. This object may also have `rateLimitCount` and `rateLimitTimeout` properties, allowing custom rate limits for that method.
|
|
40
55
|
- **BREAKING:** Bump to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262))
|
|
41
56
|
|
|
42
57
|
## [2.0.1]
|
|
58
|
+
|
|
43
59
|
### Changed
|
|
60
|
+
|
|
44
61
|
- deps: eth-rpc-errors@4.0.0->4.0.2 ([#1215](https://github.com/MetaMask/core/pull/1215))
|
|
45
62
|
|
|
46
63
|
## [2.0.0]
|
|
64
|
+
|
|
47
65
|
### Removed
|
|
66
|
+
|
|
48
67
|
- **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106))
|
|
49
68
|
- Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch`
|
|
50
69
|
|
|
51
70
|
## [1.0.2]
|
|
71
|
+
|
|
52
72
|
### Changed
|
|
73
|
+
|
|
53
74
|
- Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031))
|
|
54
75
|
- Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
|
|
55
76
|
|
|
56
77
|
## [1.0.1]
|
|
78
|
+
|
|
57
79
|
### Changed
|
|
80
|
+
|
|
58
81
|
- Relax dependency on `@metamask/base-controller` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/core/pull/998))
|
|
59
82
|
|
|
60
83
|
## [1.0.0]
|
|
84
|
+
|
|
61
85
|
### Added
|
|
86
|
+
|
|
62
87
|
- Initial release
|
|
88
|
+
|
|
63
89
|
- As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/core/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/core/tree/v33.0.0), namely:
|
|
90
|
+
|
|
64
91
|
- Everything in `src/ratelimit`
|
|
65
92
|
|
|
66
93
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
package/package.json
CHANGED