-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenSea V2 -> V1 compatibility (#3654)
## Explanation Moves to using OpenSea V2 API, but modifies the responses to keep compatibility with the existing controller state schema. ## References ## Changelog ### `@metamask/controller-utils` - **BREAKING**: `OPENSEA_PROXY_URL` now points to OpenSea's v2 API. `OPENSEA_API_URL` + `OPENSEA_TEST_API_URL` have been removed. ### `@metamask/assets-controllers` - **BREAKING**: - `NftDetectionController` constructor now requires the `NftController.getNftApi` function. - NFT controllers will no longer return `last_sale` information for NFTs fetched after the OpenSea V2 update ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
- Loading branch information
Showing
6 changed files
with
622 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.