@metamask/transaction-controller
Advanced tools
Comparing version 9.0.0 to 9.1.0
@@ -9,2 +9,13 @@ # Changelog | ||
## [9.1.0] | ||
### Added | ||
- Add `blockTimestamp` to `TransactionMetaBase` type ([#1616](https://github.com/MetaMask/core/pull/1616)) | ||
- Update `queryTransactionStatuses` to populate `blockTimestamp` on each transaction when it is verified ([#1616](https://github.com/MetaMask/core/pull/1616)) | ||
### Changed | ||
- Bump dependency and peer dependency on `@metamask/approval-controller` to ^3.5.1 | ||
- Bump dependency on `@metamask/base-controller` to ^3.2.1 | ||
- Bump dependency on `@metamask/controller-utils` to ^4.3.2 | ||
- Bump dependency and peer dependency on `@metamask/network-controller` to ^12.1.2 | ||
## [9.0.0] | ||
@@ -139,3 +150,4 @@ ### Added | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@9.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@9.1.0...HEAD | ||
[9.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@9.0.0...@metamask/transaction-controller@9.1.0 | ||
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@8.0.1...@metamask/transaction-controller@9.0.0 | ||
@@ -142,0 +154,0 @@ [8.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@8.0.0...@metamask/transaction-controller@8.0.1 |
@@ -750,2 +750,3 @@ "use strict"; | ||
meta.baseFeePerGas = txBlock === null || txBlock === void 0 ? void 0 : txBlock.baseFeePerGas; | ||
meta.blockTimestamp = txBlock === null || txBlock === void 0 ? void 0 : txBlock.timestamp; | ||
// According to the Web3 docs: | ||
@@ -752,0 +753,0 @@ // TRUE if the transaction was successful, FALSE if the EVM reverted the transaction. |
@@ -24,2 +24,6 @@ import type { Hex } from '@metamask/utils'; | ||
/** | ||
* The timestamp for when the block was collated. | ||
*/ | ||
blockTimestamp?: string; | ||
/** | ||
* Network code as per EIP-155 for this transaction. | ||
@@ -26,0 +30,0 @@ */ |
{ | ||
"name": "@metamask/transaction-controller", | ||
"version": "9.0.0", | ||
"version": "9.1.0", | ||
"description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", | ||
@@ -33,7 +33,7 @@ "keywords": [ | ||
"@ethereumjs/tx": "^4.2.0", | ||
"@metamask/approval-controller": "^3.5.0", | ||
"@metamask/base-controller": "^3.2.0", | ||
"@metamask/controller-utils": "^4.3.1", | ||
"@metamask/approval-controller": "^3.5.1", | ||
"@metamask/base-controller": "^3.2.1", | ||
"@metamask/controller-utils": "^4.3.2", | ||
"@metamask/eth-query": "^3.0.1", | ||
"@metamask/network-controller": "^12.1.1", | ||
"@metamask/network-controller": "^12.1.2", | ||
"@metamask/utils": "^6.2.0", | ||
@@ -62,4 +62,4 @@ "async-mutex": "^0.2.6", | ||
"peerDependencies": { | ||
"@metamask/approval-controller": "^3.5.0", | ||
"@metamask/network-controller": "^12.1.1", | ||
"@metamask/approval-controller": "^3.5.1", | ||
"@metamask/network-controller": "^12.1.2", | ||
"babel-runtime": "^6.26.0" | ||
@@ -66,0 +66,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
283680
2553