@metamask-previews/controller-utils
Advanced tools
Comparing version 8.0.2-preview.8cdddaf to 8.0.2-preview.cbe2fbb7
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
@@ -10,15 +11,23 @@ | ||
## [8.0.2] | ||
### Changed | ||
- Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769)) | ||
## [8.0.1] | ||
### Changed | ||
- There are no consumer-facing changes to this package. This version is a part of a synchronized release across all packages in our monorepo. | ||
## [8.0.0] | ||
### Changed | ||
- **BREAKING**: `OPENSEA_PROXY_URL` now points to OpenSea's v2 API. `OPENSEA_API_URL` + `OPENSEA_TEST_API_URL` have been removed ([#3654](https://github.com/MetaMask/core/pull/3654)) | ||
## [7.0.0] | ||
### Changed | ||
- **BREAKING:** Make `safelyExecute` generic so they preserve types ([#3629](https://github.com/MetaMask/core/pull/3629)) | ||
@@ -29,6 +38,9 @@ - Update `successfulFetch` so that a URL instance can now be passed to it ([#3600](https://github.com/MetaMask/core/pull/3600)) | ||
## [6.1.0] | ||
### Added | ||
- Add `isInfuraNetworkType` type guard for `InfuraNetworkType` ([#2055](https://github.com/MetaMask/core/pull/2055)) | ||
### Fixed | ||
- Restore missing dependency `eth-query`([#3578](https://github.com/MetaMask/core/pull/3578)) | ||
@@ -38,3 +50,5 @@ - This was mistakenly recategorized as a devDependency in v6.0.0 | ||
## [6.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/eth-query` to ^4.0.0 ([#2028](https://github.com/MetaMask/core/pull/2028)) | ||
@@ -47,6 +61,9 @@ - This affects `query`: the `sendAsync` method on the given EthQuery must now have a narrower type | ||
### Fixed | ||
- Move `@metamask/eth-query` from a development dependency to a runtime dependency ([#1815](https://github.com/MetaMask/core/pull/1815)) | ||
## [5.0.2] | ||
### Changed | ||
- Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) | ||
@@ -56,10 +73,15 @@ - Move `eth-rpc-errors@^4.0.2` dependency to `@metamask/rpc-errors@^6.0.2` ([#1743](https://github.com/MetaMask/core/pull/1743)) | ||
### Fixed | ||
- Update linea goerli explorer url ([#1666](https://github.com/MetaMask/core/pull/1666)) | ||
## [5.0.1] | ||
### Changed | ||
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718)) | ||
## [5.0.0] | ||
### Changed | ||
- **BREAKING**: Rename `NETWORK_ID_TO_ETHERS_NETWORK_NAME_MAP` to `CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP` ([#1633](https://github.com/MetaMask/core/pull/1633)) | ||
@@ -69,14 +91,21 @@ - Change it to a map of `Hex` chain ID to `BuiltInNetworkName` | ||
### Removed | ||
- **BREAKING**: Remove `NetworkId` constant and type ([#1633](https://github.com/MetaMask/core/pull/1633)) | ||
## [4.3.2] | ||
### Changed | ||
- There are no consumer-facing changes to this package. This version is a part of a synchronized release across all packages in our monorepo. | ||
## [4.3.1] | ||
### Changed | ||
- Replace `eth-query` ^2.1.2 with `@metamask/eth-query` ^3.0.1 ([#1546](https://github.com/MetaMask/core/pull/1546)) | ||
## [4.3.0] | ||
### Changed | ||
- Update `@metamask/utils` to `^6.2.0` ([#1514](https://github.com/MetaMask/core/pull/1514)) | ||
@@ -86,3 +115,5 @@ - Remove unnecessary `babel-runtime` dependency ([#1504](https://github.com/MetaMask/core/pull/1504)) | ||
## [4.2.0] | ||
### Added | ||
- Add support for Linea networks ([#1423](https://github.com/MetaMask/core/pull/1423)) | ||
@@ -94,14 +125,21 @@ - Add `LINEA_GOERLI` to `TESTNET_TICKER_SYMBOLS` map | ||
## [4.1.0] | ||
### Added | ||
- Add approval types for result pages ([#1442](https://github.com/MetaMask/core/pull/1442)) | ||
## [4.0.1] | ||
### Changed | ||
- Add dependencies `eth-query` and `babel-runtime` ([#1447](https://github.com/MetaMask/core/pull/1447)) | ||
### Fixed | ||
- Fix bug where query function failed to call built-in EthQuery methods ([#1447](https://github.com/MetaMask/core/pull/1447)) | ||
## [4.0.0] | ||
### Added | ||
- Add constants `BuiltInNetwork` and `ChainId` ([#1354](https://github.com/MetaMask/core/pull/1354)) | ||
@@ -112,2 +150,3 @@ - Add Aurora network to the `ChainId` constant ([#1327](https://github.com/MetaMask/core/pull/1327)) | ||
### Changed | ||
- **BREAKING:** Bump to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262)) | ||
@@ -121,2 +160,3 @@ - **BREAKING:** The `isSafeChainId` chain ID parameter is now type `Hex` rather than `number` ([#1367](https://github.com/MetaMask/core/pull/1367)) | ||
### Removed | ||
- **BREAKING:** Remove `Json` type ([#1370](https://github.com/MetaMask/core/pull/1370)) | ||
@@ -134,7 +174,11 @@ - **BREAKING:** Remove `NetworksChainId` constant ([#1354](https://github.com/MetaMask/core/pull/1354)) | ||
## [3.4.0] [DEPRECATED] | ||
### Added | ||
- add WalletConnect in approval type ([#1240](https://github.com/MetaMask/core/pull/1240)) | ||
## [3.3.0] [DEPRECATED] | ||
### Added | ||
- Add Sign-in-with-Ethereum origin validation ([#1163](https://github.com/MetaMask/core/pull/1163)) | ||
@@ -144,3 +188,5 @@ - Add `NetworkId` enum and `NETWORK_ID_TO_ETHERS_NETWORK_NAME_MAP` constant that includes entries for each built-in Infura network ([#1170](https://github.com/MetaMask/core/pull/1170)) | ||
## [3.2.0] [DEPRECATED] | ||
### Added | ||
- Add `ORIGIN_METAMASK` constant ([#1166](https://github.com/MetaMask/core/pull/1166)) | ||
@@ -150,6 +196,9 @@ - Add `ApprovalType` enum ([#1174](https://github.com/MetaMask/core/pull/1174)) | ||
### Changed | ||
- Improve return type of `toHex` ([#1195](https://github.com/MetaMask/core/pull/1195)) | ||
## [3.1.0] [DEPRECATED] | ||
### Added | ||
- Add SIWE detection support for PersonalMessageManager ([#1139](https://github.com/MetaMask/core/pull/1139)) | ||
@@ -160,2 +209,3 @@ - Add `NetworkType` ([#1132](https://github.com/MetaMask/core/pull/1132)) | ||
### Removed | ||
- **BREAKING:** Remove constants `MAINNET` and `TESTNET_TICKER_SYMBOLS` ([#1132](https://github.com/MetaMask/core/pull/1132)) | ||
@@ -165,3 +215,5 @@ - We didn't discover this until many releases later, which is why this happened in a minor release | ||
## [3.0.0] | ||
### Removed | ||
- **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106)) | ||
@@ -171,3 +223,5 @@ - Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch` | ||
## [2.0.0] | ||
### Added | ||
- Add Sepolia-related constants ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
@@ -177,2 +231,3 @@ - Update `getBuyURL` function to return Sepolia faucet for Sepolia network ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
### Changed | ||
- **BREAKING:**: Migrate from `metaswap` to `metafi` subdomain for OpenSea proxy ([#1060](https://github.com/MetaMask/core/pull/1060)) | ||
@@ -182,2 +237,3 @@ - Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031)) | ||
### Removed | ||
- **BREAKING:** Remove all constants associated with Ropsten, Rinkeby, and Kovan ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
@@ -187,4 +243,7 @@ - **BREAKING:** Remove support for Ropsten, Rinkeby, and Kovan from `getBuyUrl` function ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
## [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: | ||
@@ -197,2 +256,3 @@ - `src/constants.ts` (but see below) | ||
- A number of functions and types that were previously exported by `src/util.ts` are now available via other packages. Here's a breakdown of these exports and their new locations: | ||
- `@metamask/assets-controllers`: | ||
@@ -199,0 +259,0 @@ - `SupportedTokenDetectionNetworks` |
{ | ||
"name": "@metamask-previews/controller-utils", | ||
"version": "8.0.2-preview.8cdddaf", | ||
"version": "8.0.2-preview.cbe2fbb7", | ||
"description": "Data and convenience functions shared by multiple packages", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
117822