@metamask-previews/transaction-controller 68.0.0-preview-a8ca11c → 68.0.0-preview-1a8241c
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 +2 -2
- package/dist/TransactionController.cjs +12 -0
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +26 -3
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +26 -3
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +12 -0
- package/dist/TransactionController.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -21,8 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
21
21
|
### Removed
|
|
22
22
|
|
|
23
23
|
- **BREAKING:** Remove incoming transaction support from `TransactionController` ([#9012](https://github.com/MetaMask/core/pull/9012))
|
|
24
|
-
-
|
|
25
|
-
- Removed public
|
|
24
|
+
- The constructor option `incomingTransactions` is ignored for backwards compatibility.
|
|
25
|
+
- Removed public method `updateIncomingTransactions`; `startIncomingTransactionPolling` and `stopIncomingTransactionPolling` are retained as no-ops for backwards compatibility.
|
|
26
26
|
- Removed event `TransactionController:incomingTransactionsReceived`.
|
|
27
27
|
- Removed exported constant `INCOMING_TRANSACTIONS_SUPPORTED_CHAIN_IDS`.
|
|
28
28
|
- Removed exported types `TransactionControllerIncomingTransactionsReceivedEvent`, `TransactionControllerStartIncomingTransactionPollingAction`, `TransactionControllerStopIncomingTransactionPollingAction`, `TransactionControllerUpdateIncomingTransactionsAction`, `TransactionResponse`, `GetAccountTransactionsRequest`, `GetAccountTransactionsResponse`.
|
|
@@ -305,6 +305,18 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
305
305
|
destroy() {
|
|
306
306
|
__classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_stopAllTracking).call(this);
|
|
307
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* @deprecated Incoming transaction support has been removed. This method is retained as a no-op for backwards compatibility.
|
|
310
|
+
*/
|
|
311
|
+
startIncomingTransactionPolling() {
|
|
312
|
+
(0, lodash_1.noop)();
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @deprecated Incoming transaction support has been removed. This method is retained as a no-op for backwards compatibility.
|
|
316
|
+
*/
|
|
317
|
+
stopIncomingTransactionPolling() {
|
|
318
|
+
(0, lodash_1.noop)();
|
|
319
|
+
}
|
|
308
320
|
/**
|
|
309
321
|
* Handle new method data request.
|
|
310
322
|
*
|