Skip to content

Commit d91472b

Browse files
authored
Add transaction-controller as peer of gator-permissions-controller (#7058)
## Explanation Gator Permissions Controller added a dev dependency on Transaction Controller. This PR adds a peer dependency also, to ensure that the controller is available at runtime. ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds `@metamask/transaction-controller` as a peer dependency of `@metamask/gator-permissions-controller` (lockfile updated). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 193ab78. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 9e7baf9 commit d91472b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/gator-permissions-controller/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
"typescript": "~5.2.2"
7474
},
7575
"peerDependencies": {
76-
"@metamask/snaps-controllers": "^14.0.1"
76+
"@metamask/snaps-controllers": "^14.0.1",
77+
"@metamask/transaction-controller": "^61.1.0"
7778
},
7879
"engines": {
7980
"node": "^18.18 || >=20"

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3913,6 +3913,7 @@ __metadata:
39133913
typescript: "npm:~5.2.2"
39143914
peerDependencies:
39153915
"@metamask/snaps-controllers": ^14.0.1
3916+
"@metamask/transaction-controller": ^61.1.0
39163917
languageName: unknown
39173918
linkType: soft
39183919

0 commit comments

Comments
 (0)