core
core copied to clipboard
This monorepo is a collection of packages used across multiple MetaMask clients
Requires: #4239 Following #4239, we should remove all ZCAP-LD-specific properties from the permission controller's state. It's time we admit that our wallet permissions have, in their present form, nothing to...
The `data` property of the approved permission request metadata (i.e. the second value in the returned tuple [here](https://github.com/MetaMask/core/blob/df1152f78aeae244fd946264bee9e013aad9bff5/packages/permission-controller/src/PermissionController.ts#L1916-L1924)) is actually only used for permission request side effects, and should be...
The permission controller's `ARCHITECTURE.md` is intended to provide a complete description of the permission system and its architecture. When side effects were added in #1069, this document was not updated....
Following #4171, `any` is only used in a small number of `PermissionController` types. They are _mostly_, but not always used as constraints. We should eliminate `any` from the following types:...
## Explanation This pull requests introduces validation to the phishing-controller `test` and `bypass` methods to ensure that the value being provided is a hostname. The way the code is currently...
## Explanation Adds 2 query parameters when fetching token lists: - `includeERC20Permit=false` - `includeStorage=false` The best I can tell, neither field is used by extension or mobile. So we'll instead...
## Requirements When initializing a `ComposableController` class, given a `ComposableControllerState` type: 1. A type error should be raised if the list of child controllers specified in the `controllers` array constructor...
The `lookupNetwork` method of the network controller should include console warnings for all branches where we fail to connect to a network. This would be very useful when investigating bug...
### What is this about? API Platform team intends to deprecate *.metafi and *.metaswap subdomains in favour of *.api.cx.metamask.io The new *.api.cx.metamask.io is already in place. The old *.metafi and...
## Explanation ## References ## Changelog ### `@metamask/package-a` - ****: Your change here - ****: Your change here ### `@metamask/package-b` - ****: Your change here - ****: Your change here...