From 901923664da496cf4c058d34554a86cbb0ca5dad Mon Sep 17 00:00:00 2001 From: OGPoyraz Date: Mon, 25 Nov 2024 13:07:33 +0100 Subject: [PATCH] Release `257.0.0` (#4969) ## Changes ## `transaction-controller` ### Added - Add `firstTimeInteraction` to transaction meta ([#4895](https://github.com/MetaMask/core/pull/4895)) - This is a boolean value that indicates whether the transaction is the first time the user has interacted with it. --- package.json | 2 +- packages/transaction-controller/CHANGELOG.md | 12 +++++++++++- packages/transaction-controller/package.json | 2 +- packages/user-operation-controller/package.json | 2 +- yarn.lock | 4 ++-- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index db11ecebbdf..e2e0fa10d2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "256.0.0", + "version": "257.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 9d01062f176..7a609c72842 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [40.1.0] + +### Added + +- Add `firstTimeInteraction` to transaction meta ([#4895](https://github.com/MetaMask/core/pull/4895)) + - This is a boolean value that indicates whether the transaction is the first time the user has interacted with it. +- Add `isFirstTimeInteractionEnabled` callback constructor option ([#4895](https://github.com/MetaMask/core/pull/4895)) + - This is a function that returns a boolean value indicating whether the first time interaction check should be enabled. + ## [40.0.0] ### Changed @@ -1133,7 +1142,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.1.0...HEAD +[40.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.0.0...@metamask/transaction-controller@40.1.0 [40.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@39.1.0...@metamask/transaction-controller@40.0.0 [39.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@39.0.0...@metamask/transaction-controller@39.1.0 [39.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@38.3.0...@metamask/transaction-controller@39.0.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index f387f3a5d34..a87a19374cf 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "40.0.0", + "version": "40.1.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index bde5bca0d92..cda601915f8 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -66,7 +66,7 @@ "@metamask/gas-fee-controller": "^22.0.1", "@metamask/keyring-controller": "^19.0.0", "@metamask/network-controller": "^22.0.2", - "@metamask/transaction-controller": "^40.0.0", + "@metamask/transaction-controller": "^40.1.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/yarn.lock b/yarn.lock index a3d0d0886a1..1c9d6915b27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3664,7 +3664,7 @@ __metadata: languageName: node linkType: hard -"@metamask/transaction-controller@npm:^40.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": +"@metamask/transaction-controller@npm:^40.1.0, @metamask/transaction-controller@workspace:packages/transaction-controller": version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: @@ -3731,7 +3731,7 @@ __metadata: "@metamask/polling-controller": "npm:^12.0.1" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/superstruct": "npm:^3.1.0" - "@metamask/transaction-controller": "npm:^40.0.0" + "@metamask/transaction-controller": "npm:^40.1.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" bn.js: "npm:^5.2.1"