Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "983.0.0",
"version": "984.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down
7 changes: 5 additions & 2 deletions packages/assets-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.0.0]

### Changed

- Bump `@metamask/transaction-controller` from `^65.3.0` to `^65.4.0` ([#8796](https://github.com/MetaMask/core/pull/8796))
Expand All @@ -26,7 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `decimals: 0` is treated as valid; `name` and `symbol` are not required.
- Decimals resolution in `#handleBalanceUpdate` and the manual-fetch path no longer relies on `??` to fall through from state to pipeline metadata. A new `#pickValidDecimals` helper picks the first source whose `decimals` is finite and non-negative, so a stale `decimals: NaN` (or `decimals: -1`) in state can no longer shadow the chain-status stub's `decimals: 18` and silently produce `amount: '0'` while `assetsInfo` reports `decimals: 18`.
- `#convertToHumanReadable` now defensively returns `'0'` when `decimals` isn't a finite non-negative number or when the raw balance can't be parsed, matching the existing safe fallback used in the error path.
- The mUSD (`MetaMask USD`) contract address stored in `defaults.ts` is now EIP-55 checksummed (`0xacA92E438df0B2401fF60dA7E4337B687a2435DA`) ([#8786](https://github.com/MetaMask/core/pull/8786)). Previously the address was all-lowercase, causing the CAIP-19 keys pre-seeded into `assetsInfo` by `buildDefaultAssetsInfo()` to differ from the checksummed keys written by data sources (which always normalise asset IDs via `normalizeAssetId`). The mismatch resulted in two separate `assetsInfo` entries for the same token after the first balance or token-data poll.
- The mUSD (`MetaMask USD`) contract address stored in `defaults.ts` is now EIP-55 checksummed (`0xacA92E438df0B2401fF60dA7E4337B687a2435DA`). Previously the address was all-lowercase, causing the CAIP-19 keys pre-seeded into `assetsInfo` by `buildDefaultAssetsInfo()` to differ from the checksummed keys written by data sources (which always normalise asset IDs via `normalizeAssetId`). The mismatch resulted in two separate `assetsInfo` entries for the same token after the first balance or token-data poll. ([#8786](https://github.com/MetaMask/core/pull/8786))

## [7.1.1]

Expand Down Expand Up @@ -501,7 +503,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactor `RpcDataSource` to delegate polling to `BalanceFetcher` and `TokenDetector` services ([#7709](https://github.com/MetaMask/core/pull/7709))
- Refactor `BalanceFetcher` and `TokenDetector` to extend `StaticIntervalPollingControllerOnly` for independent polling management ([#7709](https://github.com/MetaMask/core/pull/7709))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@7.1.2...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.0.0...HEAD
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@7.1.2...@metamask/assets-controller@8.0.0
[7.1.2]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@7.1.1...@metamask/assets-controller@7.1.2
[7.1.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@7.1.0...@metamask/assets-controller@7.1.1
[7.1.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@7.0.1...@metamask/assets-controller@7.1.0
Expand Down
8 changes: 4 additions & 4 deletions packages/assets-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/assets-controller",
"version": "7.1.2",
"version": "8.0.0",
"description": "Tracks assets balances/prices and handles token detection across all digital assets",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -58,11 +58,11 @@
"@ethersproject/providers": "^5.7.0",
"@metamask/account-tree-controller": "^7.4.0",
"@metamask/accounts-controller": "^38.1.1",
"@metamask/assets-controllers": "^108.1.0",
"@metamask/assets-controllers": "^109.0.0",
"@metamask/base-controller": "^9.1.0",
"@metamask/client-controller": "^1.0.1",
"@metamask/controller-utils": "^12.1.0",
"@metamask/core-backend": "^6.2.2",
"@metamask/core-backend": "^7.0.0",
"@metamask/keyring-api": "^23.1.0",
"@metamask/keyring-controller": "^25.5.0",
"@metamask/keyring-internal-api": "^11.0.1",
Expand All @@ -76,7 +76,7 @@
"@metamask/preferences-controller": "^23.1.0",
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/snaps-utils": "^12.1.2",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.1.2",
Expand Down
5 changes: 4 additions & 1 deletion packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [109.0.0]

### Changed

- Bump `@metamask/transaction-controller` from `^65.3.0` to `^65.4.0` ([#8796](https://github.com/MetaMask/core/pull/8796))
Expand Down Expand Up @@ -3100,7 +3102,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@108.1.0...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@109.0.0...HEAD
[109.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@108.1.0...@metamask/assets-controllers@109.0.0
[108.1.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@108.0.0...@metamask/assets-controllers@108.1.0
[108.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@107.0.0...@metamask/assets-controllers@108.0.0
[107.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@106.0.1...@metamask/assets-controllers@107.0.0
Expand Down
6 changes: 3 additions & 3 deletions packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/assets-controllers",
"version": "108.1.0",
"version": "109.0.0",
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -66,7 +66,7 @@
"@metamask/base-controller": "^9.1.0",
"@metamask/contract-metadata": "^2.4.0",
"@metamask/controller-utils": "^12.1.0",
"@metamask/core-backend": "^6.2.2",
"@metamask/core-backend": "^7.0.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/keyring-api": "^23.1.0",
"@metamask/keyring-controller": "^25.5.0",
Expand All @@ -85,7 +85,7 @@
"@metamask/snaps-sdk": "^11.0.0",
"@metamask/snaps-utils": "^12.1.2",
"@metamask/storage-service": "^1.0.1",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"@tanstack/query-core": "^5.62.16",
"@types/bn.js": "^5.1.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/bridge-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@metamask/accounts-controller": "^38.1.1",
"@metamask/assets-controller": "^7.1.2",
"@metamask/assets-controllers": "^108.1.0",
"@metamask/assets-controller": "^8.0.0",
"@metamask/assets-controllers": "^109.0.0",
"@metamask/base-controller": "^9.1.0",
"@metamask/controller-utils": "^12.1.0",
"@metamask/gas-fee-controller": "^26.2.1",
Expand All @@ -72,7 +72,7 @@
"@metamask/profile-sync-controller": "^28.1.0",
"@metamask/remote-feature-flag-controller": "^4.2.1",
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"bignumber.js": "^9.1.2",
"reselect": "^5.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-status-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@metamask/profile-sync-controller": "^28.1.0",
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/superstruct": "^3.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"bignumber.js": "^9.1.2",
"uuid": "^8.3.2"
Expand Down
7 changes: 5 additions & 2 deletions packages/core-backend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.0.0]

### Added

- Add `OHLCVService` for real-time OHLCV (candlestick) data streaming via WebSocket ([#8695](https://github.com/MetaMask/core/pull/8695))
Expand Down Expand Up @@ -68,7 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Bump `@metamask/accounts-controller` from `^36.0.0` to `^37.0.0` ([#7996](https://github.com/MetaMask/core/pull/7996)), ([#8140](https://github.com/MetaMask/core/pull/8140))
- Bump `@metamask/accounts-controller` from `^36.0.0` to `^37.0.0`, ([#7996](https://github.com/MetaMask/core/pull/7996), [#8140](https://github.com/MetaMask/core/pull/8140))
- Bump `@metamask/controller-utils` from `^11.18.0` to `^11.19.0` ([#7995](https://github.com/MetaMask/core/pull/7995))

## [6.0.0]
Expand Down Expand Up @@ -282,7 +284,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Type definitions** - Comprehensive TypeScript types for transactions, balances, WebSocket messages, and service configurations
- **Logging infrastructure** - Structured logging with module-specific loggers for debugging and monitoring

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/core-backend@6.2.2...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/core-backend@7.0.0...HEAD
[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/core-backend@6.2.2...@metamask/core-backend@7.0.0
[6.2.2]: https://github.com/MetaMask/core/compare/@metamask/core-backend@6.2.1...@metamask/core-backend@6.2.2
[6.2.1]: https://github.com/MetaMask/core/compare/@metamask/core-backend@6.2.0...@metamask/core-backend@6.2.1
[6.2.0]: https://github.com/MetaMask/core/compare/@metamask/core-backend@6.1.1...@metamask/core-backend@6.2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/core-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-backend",
"version": "6.2.2",
"version": "7.0.0",
"description": "Core backend services for MetaMask",
"keywords": [
"Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion packages/earn-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^6.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.14",
"deepmerge": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/eip-5792-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"dependencies": {
"@metamask/messenger": "^1.2.0",
"@metamask/superstruct": "^3.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"lodash": "^4.17.21",
"uuid": "^8.3.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/gator-permissions-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/snaps-sdk": "^11.0.0",
"@metamask/snaps-utils": "^12.1.2",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/network-enablement-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@metamask/multichain-network-controller": "^3.1.1",
"@metamask/network-controller": "^32.0.0",
"@metamask/slip44": "^4.3.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"reselect": "^5.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/perps-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@metamask/network-controller": "^32.0.0",
"@metamask/profile-sync-controller": "^28.1.0",
"@metamask/remote-feature-flag-controller": "^4.2.1",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.14",
"@types/uuid": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/phishing-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@metamask/base-controller": "^9.1.0",
"@metamask/controller-utils": "^12.1.0",
"@metamask/messenger": "^1.2.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@noble/hashes": "^1.8.0",
"@types/punycode": "^2.1.0",
"ethereum-cryptography": "^2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/profile-metrics-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@metamask/messenger": "^1.2.0",
"@metamask/polling-controller": "^16.0.5",
"@metamask/profile-sync-controller": "^28.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"async-mutex": "^0.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shield-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@metamask/controller-utils": "^12.1.0",
"@metamask/messenger": "^1.2.0",
"@metamask/signature-controller": "^39.2.2",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"cockatiel": "^3.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/subscription-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@metamask/messenger": "^1.2.0",
"@metamask/polling-controller": "^16.0.5",
"@metamask/profile-sync-controller": "^28.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"bignumber.js": "^9.1.2"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/transaction-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [66.0.0]

## [65.4.0]

### Added
Expand Down Expand Up @@ -2431,7 +2433,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All changes listed after this point were applied to this package following the monorepo conversion.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@65.4.0...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@66.0.0...HEAD
[66.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@65.4.0...@metamask/transaction-controller@66.0.0
[65.4.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@65.3.0...@metamask/transaction-controller@65.4.0
[65.3.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@65.2.0...@metamask/transaction-controller@65.3.0
[65.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@65.1.0...@metamask/transaction-controller@65.2.0
Expand Down
4 changes: 2 additions & 2 deletions packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/transaction-controller",
"version": "65.4.0",
"version": "66.0.0",
"description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -64,7 +64,7 @@
"@metamask/approval-controller": "^9.0.1",
"@metamask/base-controller": "^9.1.0",
"@metamask/controller-utils": "^12.1.0",
"@metamask/core-backend": "^6.2.2",
"@metamask/core-backend": "^7.0.0",
"@metamask/gas-fee-controller": "^26.2.1",
"@metamask/messenger": "^1.2.0",
"@metamask/metamask-eth-abis": "^3.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/transaction-pay-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"@ethersproject/abi": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@metamask/assets-controller": "^7.1.2",
"@metamask/assets-controllers": "^108.1.0",
"@metamask/assets-controller": "^8.0.0",
"@metamask/assets-controllers": "^109.0.0",
"@metamask/base-controller": "^9.1.0",
"@metamask/bridge-controller": "^72.0.4",
"@metamask/bridge-status-controller": "^71.1.4",
Expand All @@ -69,7 +69,7 @@
"@metamask/network-controller": "^32.0.0",
"@metamask/ramps-controller": "^13.3.1",
"@metamask/remote-feature-flag-controller": "^4.2.1",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@metamask/polling-controller": "^16.0.5",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/superstruct": "^3.1.0",
"@metamask/transaction-controller": "^65.4.0",
"@metamask/transaction-controller": "^66.0.0",
"@metamask/utils": "^11.9.0",
"bn.js": "^5.2.1",
"immer": "^9.0.6",
Expand Down
Loading
Loading