@metamask-previews/approval-controller
Advanced tools
Comparing version 5.1.2-preview.2431602 to 5.1.2-preview.59156403
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
@@ -10,3 +11,5 @@ | ||
## [5.1.2] | ||
### Changed | ||
- Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769)) | ||
@@ -16,11 +19,17 @@ - Bump `@metamask/base-controller` to `^4.1.1` ([#3760](https://github.com/MetaMask/core/pull/3760), [#3821](https://github.com/MetaMask/core/pull/3821)) | ||
## [5.1.1] | ||
### Changed | ||
- Bump `@metamask/base-controller` to `^4.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695)) | ||
## [5.1.0] | ||
### Added | ||
- Add `title` and `icon` options to `success` and `error` methods ([#3675](https://github.com/MetaMask/core/pull/3675)) | ||
## [5.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 (TODO: THIS PR) | ||
@@ -31,3 +40,5 @@ - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. | ||
## [4.1.0] | ||
### Added | ||
- Add `show` option for `startFlow` ([#1886](https://github.com/MetaMask/core/pull/1886)) | ||
@@ -37,7 +48,11 @@ - This option lets you initiate a new approval flow without triggering the UI immediately. | ||
## [4.0.1] | ||
### Changed | ||
- Bump dependency on `@metamask/rpc-errors` to ^6.1.0 ([#1653](https://github.com/MetaMask/core/pull/1653)) | ||
## [4.0.0] | ||
### Changed | ||
- **BREAKING:** Move `eth-rpc-errors@^4.0.2` dependency to `@metamask/rpc-errors@^6.0.2` ([#1743](https://github.com/MetaMask/core/pull/1743)) | ||
@@ -49,34 +64,51 @@ - Upon upgrading, you may need to also use `@metamask/rpc-errors@^6.0.2`, which restricts valid data that can be used to build messages | ||
## [3.5.2] | ||
### Changed | ||
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718)) | ||
## [3.5.1] | ||
### Changed | ||
- Bump dependency on `@metamask/base-controller` to ^3.2.1 | ||
## [3.5.0] | ||
### Changed | ||
- Update `@metamask/utils` to `^6.2.0` ([#1514](https://github.com/MetaMask/core/pull/1514)) | ||
## [3.4.0] | ||
### Added | ||
- Add `success` and `error` methods to display result pages ([#1442](https://github.com/MetaMask/core/pull/1442)) | ||
## [3.3.0] | ||
### Added | ||
- Add `setFlowLoadingText` method to ApprovalController ([#1419](https://github.com/MetaMask/core/pull/1419)) | ||
## [3.2.0] | ||
### Added | ||
- Add `startFlow` and `endFlow` methods to ApprovalController ([#1394](https://github.com/MetaMask/core/pull/1394)) | ||
### Fixed | ||
- Fix ApprovalController constructor so that it accepts a messenger created by calling `getRestricted` without having type parameters explicitly specified ([#1417](https://github.com/MetaMask/core/pull/1417)) | ||
## [3.1.0] | ||
### Added | ||
- Optional feedback when accepting an approval request ([#1396](https://github.com/MetaMask/core/pull/1396)) | ||
## [3.0.0] | ||
### Changed | ||
- **BREAKING:** Bump to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262)) | ||
@@ -86,11 +118,17 @@ - Replace `@metamask/controller-utils` dependency with `@metamask/utils` ([#1370](https://github.com/MetaMask/core/pull/1370)) | ||
## [2.1.1] | ||
### Changed | ||
- deps: eth-rpc-errors@4.0.0->4.0.2 ([#1215](https://github.com/MetaMask/core/pull/1215)) | ||
## [2.1.0] | ||
### Added | ||
- Option to exclude types from rate limiting ([#1185](https://github.com/MetaMask/core/pull/1185)) | ||
## [2.0.0] | ||
### Removed | ||
- **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106)) | ||
@@ -100,6 +138,9 @@ - Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch` | ||
## [1.1.0] | ||
### Added | ||
- Add `updateRequestState` action to `ApprovalController` ([#1059](https://github.com/MetaMask/controllers/pull/1059)) | ||
### Changed | ||
- Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031)) | ||
@@ -109,9 +150,15 @@ - Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
## [1.0.1] | ||
### Changed | ||
- Relax dependencies on `@metamask/base-controller` and `@metamask/controller-utils` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/core/pull/998)) | ||
## [1.0.0] | ||
### Added | ||
- Initial release | ||
- 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: | ||
- Everything in `src/approval` | ||
@@ -118,0 +165,0 @@ |
{ | ||
"name": "@metamask-previews/approval-controller", | ||
"version": "5.1.2-preview.2431602", | ||
"version": "5.1.2-preview.59156403", | ||
"description": "Manages requests that require user approval", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"@metamask/base-controller": "^4.1.1", | ||
"@metamask/rpc-errors": "^6.1.0", | ||
"@metamask/rpc-errors": "^6.2.1", | ||
"@metamask/utils": "^8.3.0", | ||
@@ -38,0 +38,0 @@ "nanoid": "^3.1.31" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113206
Updated@metamask/rpc-errors@^6.2.1