@metamask-previews/transaction-controller 41.1.0-preview-16ba2ba → 42.0.0-preview-5eef594d
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 +5 -1
- package/dist/TransactionController.cjs +1 -3
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +2 -62
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +2 -62
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +1 -3
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +0 -8
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +0 -8
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [42.0.0]
|
|
11
|
+
|
|
10
12
|
### Added
|
|
11
13
|
|
|
12
14
|
- Retrieve incoming transactions using Accounts API ([#4927](https://github.com/MetaMask/core/pull/4927))
|
|
@@ -20,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
20
22
|
- `startIncomingTransactionPolling`
|
|
21
23
|
- `stopIncomingTransactionPolling`
|
|
22
24
|
- `updateIncomingTransactions`
|
|
25
|
+
- Bump `@metamask/eth-block-tracker` from `^11.0.2` to `^11.0.3` ([#5025](https://github.com/MetaMask/core/pull/5025))
|
|
23
26
|
|
|
24
27
|
### Removed
|
|
25
28
|
|
|
@@ -1212,7 +1215,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1212
1215
|
|
|
1213
1216
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
1214
1217
|
|
|
1215
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
1218
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.0.0...HEAD
|
|
1219
|
+
[42.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.1.0...@metamask/transaction-controller@42.0.0
|
|
1216
1220
|
[41.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.0.0...@metamask/transaction-controller@41.1.0
|
|
1217
1221
|
[41.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.1.0...@metamask/transaction-controller@41.0.0
|
|
1218
1222
|
[40.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.0.0...@metamask/transaction-controller@40.1.0
|
|
@@ -625,6 +625,7 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
625
625
|
this.onTransactionStatusChange(updatedTransactionMeta);
|
|
626
626
|
// Intentional given potential duration of process.
|
|
627
627
|
this.updatePostBalance(updatedTransactionMeta).catch((error) => {
|
|
628
|
+
/* istanbul ignore next */
|
|
628
629
|
(0, logger_1.projectLogger)('Error while updating post balance', error);
|
|
629
630
|
throw error;
|
|
630
631
|
});
|
|
@@ -861,9 +862,6 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
861
862
|
if (!transactionMeta) {
|
|
862
863
|
throw new Error(`Cannot update custodial transaction as no transaction metadata found`);
|
|
863
864
|
}
|
|
864
|
-
if (!transactionMeta.custodyId) {
|
|
865
|
-
throw new Error('Transaction must be a custodian transaction');
|
|
866
|
-
}
|
|
867
865
|
if (status &&
|
|
868
866
|
![
|
|
869
867
|
types_1.TransactionStatus.submitted,
|