mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #15475 from MetaMask/Version-v10.18.3
Version v10.18.3 RC
This commit is contained in:
commit
ca343f3198
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [10.18.3]
|
||||||
|
### Fixed
|
||||||
|
- Prevent confirm screen from showing method name from contract registry for transactions created within MetaMask ([#15472](https://github.com/MetaMask/metamask-extension/pull/15472))
|
||||||
|
|
||||||
## [10.18.2]
|
## [10.18.2]
|
||||||
### Changed
|
### Changed
|
||||||
- Enhance approval screen title logic ([#15406](https://github.com/MetaMask/metamask-extension/pull/15406))
|
- Enhance approval screen title logic ([#15406](https://github.com/MetaMask/metamask-extension/pull/15406))
|
||||||
@ -3103,7 +3107,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Uncategorized
|
### Uncategorized
|
||||||
- Added the ability to restore accounts from seed words.
|
- Added the ability to restore accounts from seed words.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.18.2...HEAD
|
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.18.3...HEAD
|
||||||
|
[10.18.3]: https://github.com/MetaMask/metamask-extension/compare/v10.18.2...v10.18.3
|
||||||
[10.18.2]: https://github.com/MetaMask/metamask-extension/compare/v10.18.1...v10.18.2
|
[10.18.2]: https://github.com/MetaMask/metamask-extension/compare/v10.18.1...v10.18.2
|
||||||
[10.18.1]: https://github.com/MetaMask/metamask-extension/compare/v10.18.0...v10.18.1
|
[10.18.1]: https://github.com/MetaMask/metamask-extension/compare/v10.18.0...v10.18.1
|
||||||
[10.18.0]: https://github.com/MetaMask/metamask-extension/compare/v10.17.0...v10.18.0
|
[10.18.0]: https://github.com/MetaMask/metamask-extension/compare/v10.17.0...v10.18.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "metamask-crx",
|
"name": "metamask-crx",
|
||||||
"version": "10.18.2",
|
"version": "10.18.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -1048,7 +1048,10 @@ export default class ConfirmTransactionBase extends Component {
|
|||||||
} = this.getNavigateTxData();
|
} = this.getNavigateTxData();
|
||||||
|
|
||||||
let functionType;
|
let functionType;
|
||||||
if (txData.type === TRANSACTION_TYPES.CONTRACT_INTERACTION) {
|
if (
|
||||||
|
txData.type === TRANSACTION_TYPES.CONTRACT_INTERACTION &&
|
||||||
|
txData.origin !== 'metamask'
|
||||||
|
) {
|
||||||
functionType = getMethodName(name);
|
functionType = getMethodName(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ export default class ConfirmTransaction extends Component {
|
|||||||
sendTo,
|
sendTo,
|
||||||
history,
|
history,
|
||||||
mostRecentOverviewPage,
|
mostRecentOverviewPage,
|
||||||
transaction: { txParams: { data } = {} } = {},
|
transaction: { txParams: { data } = {}, origin } = {},
|
||||||
getContractMethodData,
|
getContractMethodData,
|
||||||
transactionId,
|
transactionId,
|
||||||
paramsTransactionId,
|
paramsTransactionId,
|
||||||
@ -91,7 +91,9 @@ export default class ConfirmTransaction extends Component {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
getContractMethodData(data);
|
if (origin !== 'metamask') {
|
||||||
|
getContractMethodData(data);
|
||||||
|
}
|
||||||
|
|
||||||
const txId = transactionId || paramsTransactionId;
|
const txId = transactionId || paramsTransactionId;
|
||||||
if (txId) {
|
if (txId) {
|
||||||
@ -107,7 +109,7 @@ export default class ConfirmTransaction extends Component {
|
|||||||
componentDidUpdate(prevProps) {
|
componentDidUpdate(prevProps) {
|
||||||
const {
|
const {
|
||||||
setTransactionToConfirm,
|
setTransactionToConfirm,
|
||||||
transaction: { txData: { txParams: { data } = {} } = {} },
|
transaction: { txData: { txParams: { data } = {}, origin } = {} },
|
||||||
clearConfirmTransaction,
|
clearConfirmTransaction,
|
||||||
getContractMethodData,
|
getContractMethodData,
|
||||||
paramsTransactionId,
|
paramsTransactionId,
|
||||||
@ -124,8 +126,10 @@ export default class ConfirmTransaction extends Component {
|
|||||||
prevProps.paramsTransactionId !== paramsTransactionId
|
prevProps.paramsTransactionId !== paramsTransactionId
|
||||||
) {
|
) {
|
||||||
clearConfirmTransaction();
|
clearConfirmTransaction();
|
||||||
getContractMethodData(data);
|
|
||||||
setTransactionToConfirm(paramsTransactionId);
|
setTransactionToConfirm(paramsTransactionId);
|
||||||
|
if (origin !== 'metamask') {
|
||||||
|
getContractMethodData(data);
|
||||||
|
}
|
||||||
} else if (
|
} else if (
|
||||||
prevProps.transactionId &&
|
prevProps.transactionId &&
|
||||||
!transactionId &&
|
!transactionId &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user