Skip to content

Commit 1827df3

Browse files
committed
Merge branch 'main' into wip/intent-swap-architecture-refactory
2 parents 6cfc1db + c17a0d8 commit 1827df3

File tree

120 files changed

+1007
-1471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+1007
-1471
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
## Assets Team
1717
/packages/assets-controllers @MetaMask/metamask-assets
1818
/packages/network-enablement-controller @MetaMask/metamask-assets
19+
/packages/token-search-discovery-controller @MetaMask/metamask-assets
1920

2021
## Confirmations Team
2122
/packages/address-book-controller @MetaMask/confirmations
@@ -55,9 +56,6 @@
5556
/packages/app-metadata-controller @MetaMask/mobile-platform
5657
/packages/analytics-controller @MetaMask/mobile-platform @MetaMask/extension-platform
5758

58-
## Portfolio Team
59-
/packages/token-search-discovery-controller @MetaMask/portfolio
60-
6159
## Wallet Integrations Team
6260
/packages/chain-agnostic-permission @MetaMask/wallet-integrations
6361
/packages/eip1193-permission-middleware @MetaMask/wallet-integrations
@@ -166,8 +164,8 @@
166164
/packages/user-operation-controller/CHANGELOG.md @MetaMask/confirmations @MetaMask/core-platform
167165
/packages/multichain-transactions-controller/package.json @MetaMask/accounts-engineers @MetaMask/core-platform
168166
/packages/multichain-transactions-controller/CHANGELOG.md @MetaMask/accounts-engineers @MetaMask/core-platform
169-
/packages/token-search-discovery-controller/package.json @MetaMask/portfolio @MetaMask/core-platform
170-
/packages/token-search-discovery-controller/CHANGELOG.md @MetaMask/portfolio @MetaMask/core-platform
167+
/packages/token-search-discovery-controller/package.json @MetaMask/metamask-assets @MetaMask/core-platform
168+
/packages/token-search-discovery-controller/CHANGELOG.md @MetaMask/metamask-assets @MetaMask/core-platform
171169
/packages/bridge-controller/package.json @MetaMask/swaps-engineers @MetaMask/core-platform
172170
/packages/bridge-controller/CHANGELOG.md @MetaMask/swaps-engineers @MetaMask/core-platform
173171
/packages/remote-feature-flag-controller/package.json @MetaMask/extension-platform @MetaMask/mobile-platform @MetaMask/core-platform

.github/workflows/main.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,25 @@ concurrency:
1111
cancel-in-progress: ${{ !contains(github.ref, 'refs/heads/main') }}
1212

1313
jobs:
14+
check-skip-merge-queue:
15+
name: Check if pull request can skip merge queue
16+
runs-on: ubuntu-latest
17+
outputs:
18+
skip-merge-queue: ${{ steps.check-skip-merge-queue.outputs.up-to-date }}
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v6
22+
if: github.event_name == 'merge_group'
23+
- name: Check pull request merge queue status
24+
id: check-skip-merge-queue
25+
if: github.event_name == 'merge_group'
26+
uses: MetaMask/github-tools/.github/actions/check-skip-merge-queue@v1
27+
1428
check-workflows:
1529
name: Check workflows
30+
needs:
31+
- check-skip-merge-queue
32+
if: github.event_name != 'merge_group' || needs.check-skip-merge-queue.outputs.skip-merge-queue != 'true'
1633
runs-on: ubuntu-latest
1734
steps:
1835
- uses: actions/checkout@v5
@@ -127,11 +144,14 @@ jobs:
127144
name: All jobs pass
128145
if: ${{ always() }}
129146
runs-on: ubuntu-latest
130-
needs: all-jobs-complete
147+
needs:
148+
- all-jobs-complete
149+
- check-skip-merge-queue
150+
env:
151+
PASSED: ${{ needs.all-jobs-complete.outputs.passed == 'true' || needs.check-skip-merge-queue.outputs.skip-merge-queue == 'true' }}
131152
steps:
132153
- name: Check that all jobs have passed
133154
run: |
134-
passed="${{ needs.all-jobs-complete.outputs.passed }}"
135-
if [[ $passed != "true" ]]; then
155+
if [[ "$PASSED" != "true" ]]; then
136156
exit 1
137157
fi

eslint-suppressions.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,6 @@
926926
"@typescript-eslint/explicit-function-return-type": {
927927
"count": 9
928928
},
929-
"@typescript-eslint/naming-convention": {
930-
"count": 1
931-
},
932929
"id-length": {
933930
"count": 2
934931
},
@@ -938,7 +935,7 @@
938935
},
939936
"packages/earn-controller/src/selectors.ts": {
940937
"@typescript-eslint/explicit-function-return-type": {
941-
"count": 6
938+
"count": 3
942939
}
943940
},
944941
"packages/eip-5792-middleware/src/constants.ts": {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "724.0.0",
3+
"version": "732.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {
@@ -63,7 +63,7 @@
6363
"@metamask/eth-block-tracker": "^15.0.0",
6464
"@metamask/eth-json-rpc-provider": "^6.0.0",
6565
"@metamask/json-rpc-engine": "^10.2.0",
66-
"@metamask/network-controller": "^27.0.0",
66+
"@metamask/network-controller": "^27.1.0",
6767
"@metamask/utils": "^11.8.1",
6868
"@ts-bridge/cli": "^0.6.4",
6969
"@types/jest": "^27.4.1",

packages/account-tree-controller/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
2020
- For example, this scenario would be valid: a client relies on `@metamask/controller-a` 1.0.0 and `@metamask/controller-b` 1.0.0, and `@metamask/controller-b` depends on `@metamask/controller-a` 1.1.0.
2121
- Note, however, that the versions specified in the client's `package.json` always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
22-
- Bump `@metamask/multichain-account-service` from `^4.0.0` to `^4.0.1` ([#7437](https://github.com/MetaMask/core/pull/7437)
22+
- Bump `@metamask/multichain-account-service` from `^4.0.0` to `^4.1.0` ([#7437](https://github.com/MetaMask/core/pull/7437), ([#7515](https://github.com/MetaMask/core/pull/7515)
2323

2424
## [4.0.0]
2525

packages/account-tree-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@metamask/base-controller": "^9.0.0",
5353
"@metamask/keyring-controller": "^25.0.0",
5454
"@metamask/messenger": "^0.3.0",
55-
"@metamask/multichain-account-service": "^4.0.1",
55+
"@metamask/multichain-account-service": "^4.1.0",
5656
"@metamask/profile-sync-controller": "^27.0.0",
5757
"@metamask/snaps-controllers": "^14.0.1",
5858
"@metamask/snaps-sdk": "^9.0.0",

packages/accounts-controller/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12-
- Move peer dependencies for controller and service packages to direct dependencies ([#7209](https://github.com/MetaMask/core/pull/7209), [#7258](https://github.com/MetaMask/core/pull/7258))
12+
- Move peer dependencies for controller and service packages to direct dependencies ([#7209](https://github.com/MetaMask/core/pull/7209), [#7258](https://github.com/MetaMask/core/pull/7258), [#7534](https://github.com/MetaMask/core/pull/7534))
1313
- The dependencies moved are:
1414
- `@metamask/keyring-controller` (^25.0.0)
15-
- `@metamask/network-controller` (^27.0.0)
15+
- `@metamask/network-controller` (^27.1.0)
1616
- `@metamask/snaps-controllers` (^14.0.1)
1717
- In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
1818
- For example, this scenario would be valid: a client relies on `@metamask/controller-a` 1.0.0 and `@metamask/controller-b` 1.0.0, and `@metamask/controller-b` depends on `@metamask/controller-a` 1.1.0.

packages/accounts-controller/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@metamask/keyring-internal-api": "^9.0.0",
5757
"@metamask/keyring-utils": "^3.1.0",
5858
"@metamask/messenger": "^0.3.0",
59-
"@metamask/network-controller": "^27.0.0",
59+
"@metamask/network-controller": "^27.1.0",
6060
"@metamask/snaps-controllers": "^14.0.1",
6161
"@metamask/snaps-sdk": "^9.0.0",
6262
"@metamask/snaps-utils": "^11.0.0",
@@ -70,7 +70,7 @@
7070
},
7171
"devDependencies": {
7272
"@metamask/auto-changelog": "^3.4.4",
73-
"@metamask/controller-utils": "^11.16.0",
73+
"@metamask/controller-utils": "^11.17.0",
7474
"@metamask/providers": "^22.1.0",
7575
"@ts-bridge/cli": "^0.6.4",
7676
"@types/jest": "^27.4.1",

packages/address-book-controller/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Bump `@metamask/controller-utils` from `^11.16.0` to `^11.17.0` ([#7534](https://github.com/MetaMask/core/pull/7534))
13+
1014
## [7.0.1]
1115

1216
### Changed

packages/address-book-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@metamask/base-controller": "^9.0.0",
52-
"@metamask/controller-utils": "^11.16.0",
52+
"@metamask/controller-utils": "^11.17.0",
5353
"@metamask/messenger": "^0.3.0",
5454
"@metamask/utils": "^11.8.1"
5555
},

0 commit comments

Comments
 (0)