Skip to content

Commit a011ba8

Browse files
committed
chore: bump @MetaMask dependencies
Update eth-json-rpc-provider to v6, messenger to v1, and other @MetaMask packages to latest. Migrate test helper from removed providerFromEngine to InternalProvider.
1 parent 35ac83a commit a011ba8

4 files changed

Lines changed: 235 additions & 372 deletions

File tree

CHANGELOG.md

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

3737
- **BREAKING:** Upgrade TypeScript from `~4.8.4` to `~5.3.3` ([#574](https://github.com/MetaMask/smart-transactions-controller/pull/574))
3838
- Consumers on TypeScript 4.x may experience type errors and should upgrade to TypeScript 5.x.
39+
- Bump `@metamask/base-controller` from `^9.0.0` to `^9.0.1` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
40+
- Bump `@metamask/controller-utils` from `^11.0.0` to `^11.19.0` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
41+
- Bump `@metamask/eth-json-rpc-provider` from `^4.1.6` to `^6.0.1` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
42+
- Bump `@metamask/messenger` from `^0.3.0` to `^1.0.0` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
43+
- Bump `@metamask/network-controller` from `^30.0.0` to `^30.0.1` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
44+
- Bump `@metamask/polling-controller` from `^16.0.0` to `^16.0.4` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
45+
- Bump `@metamask/remote-feature-flag-controller` from `^4.1.0` to `^4.2.0` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
46+
- Bump `@metamask/transaction-controller` from `^63.0.0` to `^63.3.1` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
47+
- Bump `@metamask/utils` from `^11.0.0` to `^11.9.0` ([#576](https://github.com/MetaMask/smart-transactions-controller/pull/576))
3948

4049
## [23.0.0]
4150

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
"@ethersproject/bytes": "^5.7.0",
4747
"@ethersproject/keccak256": "^5.8.0",
4848
"@ethersproject/transactions": "^5.7.0",
49-
"@metamask/base-controller": "^9.0.0",
50-
"@metamask/controller-utils": "^11.0.0",
51-
"@metamask/eth-json-rpc-provider": "^4.1.6",
49+
"@metamask/base-controller": "^9.0.1",
50+
"@metamask/controller-utils": "^11.19.0",
51+
"@metamask/eth-json-rpc-provider": "^6.0.1",
5252
"@metamask/eth-query": "^4.0.0",
53-
"@metamask/messenger": "^0.3.0",
54-
"@metamask/network-controller": "^30.0.0",
55-
"@metamask/polling-controller": "^16.0.0",
56-
"@metamask/remote-feature-flag-controller": "^4.1.0",
53+
"@metamask/messenger": "^1.0.0",
54+
"@metamask/network-controller": "^30.0.1",
55+
"@metamask/polling-controller": "^16.0.4",
56+
"@metamask/remote-feature-flag-controller": "^4.2.0",
5757
"@metamask/superstruct": "^3.1.0",
58-
"@metamask/transaction-controller": "^63.0.0",
59-
"@metamask/utils": "^11.0.0",
58+
"@metamask/transaction-controller": "^63.3.1",
59+
"@metamask/utils": "^11.9.0",
6060
"bignumber.js": "^9.0.1",
6161
"fast-json-patch": "^3.1.0",
6262
"lodash": "^4.17.21",

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)