@metamask-previews/controller-utils 11.4.5-preview-99939da3 → 11.5.0-preview-59b4e66e
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 +12 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -7,14 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [11.5.0]
|
11
|
+
|
10
12
|
### Added
|
11
13
|
|
12
|
-
- Add utility function for reducing boilerplate for service classes ([#5154](https://github.com/MetaMask/core/pull/5154), [#5143](https://github.com/MetaMask/core/pull/5143), [#5149](https://github.com/MetaMask/core/pull/5149), [#5188](https://github.com/MetaMask/core/pull/5188), [#5192](https://github.com/MetaMask/core/pull/5192), [#5225](https://github.com/MetaMask/core/pull/5225))
|
13
|
-
-
|
14
|
-
-
|
15
|
-
- Add types `ServicePolicy` and `CreateServicePolicyOptions`
|
14
|
+
- Add utility function `createServicePolicy` for reducing boilerplate for service classes ([#5141](https://github.com/MetaMask/core/pull/5141), [#5154](https://github.com/MetaMask/core/pull/5154), [#5143](https://github.com/MetaMask/core/pull/5143), [#5149](https://github.com/MetaMask/core/pull/5149), [#5188](https://github.com/MetaMask/core/pull/5188), [#5192](https://github.com/MetaMask/core/pull/5192), [#5225](https://github.com/MetaMask/core/pull/5225))
|
15
|
+
- Export constants `DEFAULT_CIRCUIT_BREAK_DURATION`, `DEFAULT_DEGRADED_THRESHOLD`, `DEFAULT_MAX_CONSECUTIVE_FAILURES`, and `DEFAULT_MAX_RETRIES`
|
16
|
+
- Export types `ServicePolicy` and `CreateServicePolicyOptions`
|
16
17
|
- Re-export `BrokenCircuitError`, `CircuitState`, `handleAll`, and `handleWhen` from `cockatiel`
|
17
|
-
- Export `CockatielEvent` type
|
18
|
+
- Export `CockatielEvent` type, an alias of the `Event` type from `cockatiel`
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
|
22
|
+
- Bump `@metamask/utils` from `^11.0.1` to `^11.1.0` ([#5223](https://github.com/MetaMask/core/pull/5223))
|
18
23
|
|
19
24
|
## [11.4.5]
|
20
25
|
|
@@ -453,7 +458,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
453
458
|
|
454
459
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
455
460
|
|
456
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.
|
461
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.5.0...HEAD
|
462
|
+
[11.5.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.5...@metamask/controller-utils@11.5.0
|
457
463
|
[11.4.5]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.4...@metamask/controller-utils@11.4.5
|
458
464
|
[11.4.4]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.3...@metamask/controller-utils@11.4.4
|
459
465
|
[11.4.3]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.2...@metamask/controller-utils@11.4.3
|
package/package.json
CHANGED