Commit 02eb9e1
release:
Release candidate for `161.0.0`. Mainly includes the messenger support
for preinstalled Snaps.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Messenger endowment lets preinstalled Snaps invoke allowlisted wallet
controller actions, which is security-sensitive even though this PR is
mostly versioning and manifest churn.
>
> **Overview**
> **Release `161.0.0`** cuts updated package versions and changelogs
across the monorepo, with **`@metamask/snaps-sdk` `11.2.0`** as the new
platform line reflected in example Snap manifests (`platformVersion`
**11.1.1 → 11.2.0**, refreshed bundle `shasum`s).
>
> The release packages **messenger support for preinstalled Snaps** via
**`endowment:messenger`**: **`@metamask/snaps-sdk`** adds
**`getMessenger`**, **`@metamask/snaps-rpc-methods`** **`17.1.0`** wires
RPC handling, **`@metamask/snaps-utils`** **`12.3.0`** adds permission
validation, and **`@metamask/snaps-jest`** /
**`@metamask/snaps-simulation`** gain test/simulation support. The
preinstalled example (**`0.8.0`**) documents a **`messengerCall`** RPC
path (e.g. `PhishingController:testOrigin`), and
**`@metamask/test-snaps` `3.5.0`** adds UI to exercise it.
>
> Dependency bumps called out in changelogs include
**`@metamask/messenger` `^2.0.0`** and **`@metamask/superstruct`
`^3.3.0`** on several packages; root **`package.json`** resolutions pin
**`@metamask/messenger` `^2.0.0`**.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
223ebec. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>161.0.0 (#4065)1 parent 785d0f7 commit 02eb9e1
54 files changed
Lines changed: 168 additions & 93 deletions
File tree
- packages
- examples/packages
- background-events
- bip32
- bip44
- client-status
- cronjob-duration
- cronjobs
- dialogs
- errors
- ethereum-provider
- ethers-js
- file-upload
- get-entropy
- get-file
- home-page
- images
- interactive-ui
- invoke-snap/packages
- consumer-signer
- core-signer
- json-rpc
- jsx
- lifecycle-hooks
- localization
- manage-state
- multichain-provider
- name-lookup
- network-access
- notifications
- preferences
- preinstalled
- protocol
- rollup-plugin
- send-flow
- signature-insights
- transaction-insights
- wasm
- webpack-plugin
- snaps-cli/src/commands
- build
- watch/__test__/invalid
- snaps-jest
- snaps-rpc-methods
- snaps-sdk
- snaps-simulation
- snaps-utils
- src/manifest
- test-snaps
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
0 commit comments