@metamask-previews/transaction-controller 47.0.0-preview-4fbfa93f → 48.0.0-preview-b08aa8e7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [48.0.0]
11
+
10
12
  ### Changed
11
13
 
14
+ - **BREAKING:** Bump `@metamask/accounts-controller` peer dependency to `^26.0.0` ([#5439](https://github.com/MetaMask/core/pull/5439))
12
15
  - **BREAKING:** Bump `@ethereumjs/util` from `^8.1.0` to `^9.1.0` ([#5347](https://github.com/MetaMask/core/pull/5347))
13
16
 
14
17
  ## [47.0.0]
@@ -1323,7 +1326,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1323
1326
 
1324
1327
  All changes listed after this point were applied to this package following the monorepo conversion.
1325
1328
 
1326
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@47.0.0...HEAD
1329
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@48.0.0...HEAD
1330
+ [48.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@47.0.0...@metamask/transaction-controller@48.0.0
1327
1331
  [47.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@46.0.0...@metamask/transaction-controller@47.0.0
1328
1332
  [46.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@45.1.0...@metamask/transaction-controller@46.0.0
1329
1333
  [45.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@45.0.0...@metamask/transaction-controller@45.1.0
@@ -901,19 +901,19 @@ class TransactionController extends base_controller_1.BaseController {
901
901
  /**
902
902
  * Update a custodial transaction.
903
903
  *
904
- * @param transactionId - The ID of the transaction to update.
905
- * @param options - The custodial transaction options to update.
906
- * @param options.errorMessage - The error message to be assigned in case transaction status update to failed.
907
- * @param options.hash - The new hash value to be assigned.
908
- * @param options.status - The new status value to be assigned.
909
- * @param options.gasLimit - The new gas limit value to be assigned
910
- * @param options.gasPrice - The new gas price value to be assigned
911
- * @param options.maxFeePerGas - The new max fee per gas value to be assigned
912
- * @param options.maxPriorityFeePerGas - The new max priority fee per gas value to be assigned
913
- * @param options.nonce - The new nonce value to be assigned
914
- * @param options.type - The tranasction type (hardfork) to be assigned
904
+ * @param payload - The custodial transaction options to update.
905
+ * @param payload.transactionId - The ID of the transaction to update.
906
+ * @param payload.errorMessage - The error message to be assigned in case transaction status update to failed.
907
+ * @param payload.hash - The new hash value to be assigned.
908
+ * @param payload.status - The new status value to be assigned.
909
+ * @param payload.gasLimit - The new gas limit value to be assigned
910
+ * @param payload.gasPrice - The new gas price value to be assigned
911
+ * @param payload.maxFeePerGas - The new max fee per gas value to be assigned
912
+ * @param payload.maxPriorityFeePerGas - The new max priority fee per gas value to be assigned
913
+ * @param payload.nonce - The new nonce value to be assigned
914
+ * @param payload.type - The tranasction type (hardfork) to be assigned
915
915
  */
916
- updateCustodialTransaction(transactionId, { errorMessage, hash, status, gasLimit, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, type, }) {
916
+ updateCustodialTransaction({ transactionId, errorMessage, hash, status, gasLimit, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, type, }) {
917
917
  const transactionMeta = this.getTransaction(transactionId);
918
918
  if (!transactionMeta) {
919
919
  throw new Error(`Cannot update custodial transaction as no transaction metadata found`);