Socket
Socket
Sign inDemoInstall

@metamask/controller-utils

Package Overview
Dependencies
Maintainers
12
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/controller-utils - npm Package Compare versions

Comparing version 8.0.2 to 8.0.3

69

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.

@@ -9,16 +10,30 @@

## [8.0.3]
### Changed
- Bump `@metamask/ethjs-unit` to `^0.3.0` ([#3897](https://github.com/MetaMask/core/pull/3897))
## [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 +44,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 +56,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 +67,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 +79,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 +97,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 +121,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 +131,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 +156,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 +166,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 +180,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 +194,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 +202,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 +215,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 +221,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 +229,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 +237,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 +243,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 +249,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 +262,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`:

@@ -227,3 +293,4 @@ - `SupportedTokenDetectionNetworks`

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.2...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.3...HEAD
[8.0.3]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.2...@metamask/controller-utils@8.0.3
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.1...@metamask/controller-utils@8.0.2

@@ -230,0 +297,0 @@ [8.0.1]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.0...@metamask/controller-utils@8.0.1

4

package.json
{
"name": "@metamask/controller-utils",
"version": "8.0.2",
"version": "8.0.3",
"description": "Data and convenience functions shared by multiple packages",

@@ -35,3 +35,3 @@ "keywords": [

"@metamask/eth-query": "^4.0.0",
"@metamask/ethjs-unit": "^0.2.1",
"@metamask/ethjs-unit": "^0.3.0",
"@metamask/utils": "^8.3.0",

@@ -38,0 +38,0 @@ "@spruceid/siwe-parser": "1.1.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc