Skip to content

Commit 74b8c3b

Browse files
committed
Bump transaction-controller peer dep to v58
This package was previously on a rather old version of `transaction-controller` (v42). This commit ensures that clients can upgrade to v58 without peer dependency warnings.
1 parent 5df4775 commit 74b8c3b

3 files changed

Lines changed: 291 additions & 188 deletions

File tree

CHANGELOG.md

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

1212
- **BREAKING:** Bump peer dependency on `@metamask/network-controller` to `^24.0.0` ([#519](https://github.com/MetaMask/smart-transactions-controller/pull/519))
13+
- **BREAKING:** Bump dependency and peer dependency on `@metamask/transaction-controller` to `^58.0.0` ([#519](https://github.com/MetaMask/smart-transactions-controller/pull/519))
14+
- The `confirmExternalTransaction` constructor option now expects to match `TransactionController` from this version
15+
- The `getNonceLock` constructor option now expects to match `TransactionController` from this version
16+
- The `getTransactions` constructor option now returns an object that matches `TransactionMeta` from this version
17+
- The `updateTransaction` constructor option now expects an object that matches `TransactionMeta` from this version
18+
- The `transactionMeta` option of the `submitSignedTransactions` method now expects an object that matches `TransactionMeta` from this version
19+
- The `txParams` option of the `submitSignedTransactions` method now expects an object that matches `TransactionParams` from this version
1320

1421
## [16.5.0]
1522

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@metamask/gas-fee-controller": "^22.0.0",
5151
"@metamask/json-rpc-engine": "^10.0.1",
5252
"@metamask/network-controller": "^24.0.0",
53-
"@metamask/transaction-controller": "^42.0.0",
53+
"@metamask/transaction-controller": "^58.1.0",
5454
"@types/jest": "^26.0.24",
5555
"@types/lodash": "^4.14.194",
5656
"@types/node": "^18.19.17",
@@ -76,7 +76,7 @@
7676
},
7777
"peerDependencies": {
7878
"@metamask/network-controller": "^24.0.0",
79-
"@metamask/transaction-controller": "^42.0.0"
79+
"@metamask/transaction-controller": "^58.0.0"
8080
},
8181
"peerDependenciesMeta": {
8282
"@metamask/accounts-controller": {
@@ -99,9 +99,7 @@
9999
"@lavamoat/preinstall-always-fail": false,
100100
"@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>keccak": false,
101101
"@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>secp256k1": false,
102-
"@metamask/controller-utils>babel-runtime>core-js": false,
103-
"@metamask/transaction-controller>@metamask/accounts-controller>@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography>keccak": false,
104-
"@metamask/transaction-controller>@metamask/accounts-controller>@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography>secp256k1": false
102+
"@metamask/controller-utils>babel-runtime>core-js": false
105103
}
106104
}
107105
}

0 commit comments

Comments
 (0)