@metamask-previews/controller-utils
Advanced tools
Comparing version 11.4.5-preview-fbd9878 to 11.5.0-preview-0d0d258d
@@ -10,11 +10,16 @@ # Changelog | ||
## [11.5.0] | ||
### Added | ||
- 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)) | ||
- Add function `createServicePolicy` | ||
- Add constants `DEFAULT_CIRCUIT_BREAK_DURATION`, `DEFAULT_DEGRADED_THRESHOLD`, `DEFAULT_MAX_CONSECUTIVE_FAILURES`, and `DEFAULT_MAX_RETRIES` | ||
- Add types `ServicePolicy` and `CreateServicePolicyOptions` | ||
- 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)) | ||
- Export constants `DEFAULT_CIRCUIT_BREAK_DURATION`, `DEFAULT_DEGRADED_THRESHOLD`, `DEFAULT_MAX_CONSECUTIVE_FAILURES`, and `DEFAULT_MAX_RETRIES` | ||
- Export types `ServicePolicy` and `CreateServicePolicyOptions` | ||
- Re-export `BrokenCircuitError`, `CircuitState`, `handleAll`, and `handleWhen` from `cockatiel` | ||
- Export `CockatielEvent` type which is an alias of the `Event` type from `cockatiel` | ||
- Export `CockatielEvent` type, an alias of the `Event` type from `cockatiel` | ||
### Changed | ||
- Bump `@metamask/utils` from `^11.0.1` to `^11.1.0` ([#5223](https://github.com/MetaMask/core/pull/5223)) | ||
## [11.4.5] | ||
@@ -457,3 +462,4 @@ | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.5...HEAD | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.5.0...HEAD | ||
[11.5.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.5...@metamask/controller-utils@11.5.0 | ||
[11.4.5]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.4...@metamask/controller-utils@11.4.5 | ||
@@ -460,0 +466,0 @@ [11.4.4]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.3...@metamask/controller-utils@11.4.4 |
{ | ||
"name": "@metamask-previews/controller-utils", | ||
"version": "11.4.5-preview-fbd9878", | ||
"version": "11.5.0-preview-0d0d258d", | ||
"description": "Data and convenience functions shared by multiple packages", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
321808