Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit bdff0b9

Browse files
authored
chore: bump @metamask/* dependencies (#585)
* chore: bump @metamask/* dependencies Update production @metamask/* dependencies to the latest available versions and migrate tests/helpers.ts off providerFromEngine (removed in @metamask/eth-json-rpc-provider 6.0) to use InternalProvider. * chore: add PR link to changelog
1 parent 0fed7c4 commit bdff0b9

4 files changed

Lines changed: 288 additions & 269 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Bump `@metamask/base-controller` from `^9.0.0` to `^9.1.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
13+
- Bump `@metamask/controller-utils` from `^11.0.0` to `^12.1.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
14+
- Bump `@metamask/eth-json-rpc-provider` from `^4.1.6` to `^6.0.1` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
15+
- Bump `@metamask/messenger` from `^1.1.0` to `^1.2.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
16+
- Bump `@metamask/network-controller` from `^30.0.0` to `^32.0.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
17+
- Bump `@metamask/polling-controller` from `^16.0.0` to `^16.0.6` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
18+
- Bump `@metamask/profile-sync-controller` from `^28.0.2` to `^28.1.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
19+
- Bump `@metamask/remote-feature-flag-controller` from `^4.1.0` to `^4.2.1` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
20+
- Bump `@metamask/transaction-controller` from `^64.3.0` to `^65.4.0` ([#585](https://github.com/MetaMask/smart-transactions-controller/pull/585))
21+
1022
## [24.1.0]
1123

1224
### Changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@
4747
"@ethersproject/bytes": "^5.7.0",
4848
"@ethersproject/keccak256": "^5.8.0",
4949
"@ethersproject/transactions": "^5.7.0",
50-
"@metamask/base-controller": "^9.0.0",
51-
"@metamask/controller-utils": "^11.0.0",
52-
"@metamask/eth-json-rpc-provider": "^4.1.6",
50+
"@metamask/base-controller": "^9.1.0",
51+
"@metamask/controller-utils": "^12.1.0",
52+
"@metamask/eth-json-rpc-provider": "^6.0.1",
5353
"@metamask/eth-query": "^4.0.0",
54-
"@metamask/messenger": "^1.1.0",
55-
"@metamask/network-controller": "^30.0.0",
56-
"@metamask/polling-controller": "^16.0.0",
57-
"@metamask/profile-sync-controller": "^28.0.2",
58-
"@metamask/remote-feature-flag-controller": "^4.1.0",
54+
"@metamask/messenger": "^1.2.0",
55+
"@metamask/network-controller": "^32.0.0",
56+
"@metamask/polling-controller": "^16.0.6",
57+
"@metamask/profile-sync-controller": "^28.1.0",
58+
"@metamask/remote-feature-flag-controller": "^4.2.1",
5959
"@metamask/superstruct": "^3.1.0",
60-
"@metamask/transaction-controller": "^64.3.0",
60+
"@metamask/transaction-controller": "^65.4.0",
6161
"@metamask/utils": "^11.0.0",
6262
"bignumber.js": "^9.0.1",
6363
"fast-json-patch": "^3.1.0",
@@ -73,8 +73,8 @@
7373
"@metamask/eslint-config-jest": "^12.1.0",
7474
"@metamask/eslint-config-nodejs": "^12.1.0",
7575
"@metamask/eslint-config-typescript": "^12.1.0",
76-
"@metamask/gas-fee-controller": "^26.0.0",
77-
"@metamask/json-rpc-engine": "^10.0.1",
76+
"@metamask/gas-fee-controller": "^26.2.2",
77+
"@metamask/json-rpc-engine": "^10.5.0",
7878
"@metamask/messenger-cli": "^0.1.0",
7979
"@ts-bridge/cli": "^0.6.3",
8080
"@types/eslint": "^9.6.1",

tests/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { providerFromEngine } from '@metamask/eth-json-rpc-provider';
1+
import { InternalProvider } from '@metamask/eth-json-rpc-provider';
22
import { JsonRpcEngine } from '@metamask/json-rpc-engine';
33

44
/**
@@ -40,5 +40,5 @@ export async function advanceTime({
4040
}
4141

4242
export function getFakeProvider() {
43-
return providerFromEngine(new JsonRpcEngine());
43+
return new InternalProvider({ engine: new JsonRpcEngine() });
4444
}

0 commit comments

Comments
 (0)