-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Bump Snaps packages #27057
chore: Bump Snaps packages #27057
Conversation
9b36323
to
a7302e1
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/eth-snap-keyring@4.3.1, npm/@metamask/phishing-controller@12.0.1, npm/@metamask/post-message-stream@8.1.0, npm/@metamask/snaps-execution-environments@6.6.2, npm/@metamask/snaps-rpc-methods@11.0.0, npm/@metamask/snaps-sdk@6.3.0, npm/@swc/types@0.1.7, npm/concat-stream@1.6.2, npm/fs-constants@1.0.0, npm/tar-stream@2.2.0 |
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
@metamaskbot update-policies |
Policies updated |
98674cd
to
ba235fc
Compare
@metamaskbot update-policies |
Policies updated |
2a996b5
to
b58258c
Compare
ced19ad
to
8fa5f28
Compare
@metamaskbot update-policies |
No policy changes |
5f777e1
to
d60b697
Compare
Quality Gate passedIssues Measures |
Builds ready [14708a8]
Page Load Metrics (1751 ± 78 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
## **Description** This PR adds changes required to enable customizable Input component for Snaps custom UI. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26904?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3067 ## **Manual testing steps** 1. Install Snap with custom UI which has customized input with all combinations of start and end accessories. ## **Screenshots/Recordings** ### **Before** Input with additional elements other than button was not supported before (nothing significant to show here). ### **After** ![Screenshot 2024-09-11 at 16 55 08](https://github.com/user-attachments/assets/0bcfac8a-31e9-400b-81ed-ea330e0f090f) ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
…nent (#27106) ## **Description** This PR adds the new `center` attribute to the `Box` component. It allows to apply `align-items: center` to it. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27106?quickstart=1) ## **Related issues** ## **Manual testing steps** ## **Screenshots/Recordings** ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> Add support for showing CAIP-10 addresses in Snaps by introducing `SnapUIAddress`. This component mimics the original implementation of `ConfirmInfoRowAddress` but also adds parsing logic for CAIP-10 addresses. CAIP-10 addresses are parsed in the component and the address part is passed to the jazzicon or blockie implementation to render an avatar. The blockie implementation supports arbitrary strings and did not need to be altered. For jazzicons, this PR implements seed generation that is compatible with any address string by seeding the PRNG used for jazzicons with the normalized byte array of the address. Plain Ethereum addresses are still supported and will use the regular jazzicon seed generation logic. This PR will also need a release of the Snaps packages to update the JSX validation to allow passing CAIP-10 addresses. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26799?quickstart=1) <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> <img width="385" alt="Screenshot 2024-09-02 at 14 35 33" src="https://github.com/user-attachments/assets/344d849b-9121-4bcb-bf58-8cb0b1286112"> <img width="384" alt="Screenshot 2024-09-02 at 14 45 30" src="https://github.com/user-attachments/assets/158e3421-4f9f-46e1-a4cf-93daec45db66">
…27158) <!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This PR adds changes required to enable Snaps' footer buttons to submit and reset forms. <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27158?quickstart=1) ## **Related issues** Fixes: MetaMask/snaps#2691 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Small UI adjustments made to Snaps custom UI components. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27101?quickstart=1) 1. Go to test snap 2. Try an example snap that renders custom UI ![image](https://github.com/user-attachments/assets/3c7ee5c8-0327-4e0c-9cd0-a20358b49fc6) ![image](https://github.com/user-attachments/assets/0c3d9985-69dd-4ed9-9b37-bc8c548b85f3) - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
…27109) ## **Description** This allows a preinstalled snap to disable the snaps branding (headers and icon in buttons) by setting a flag on the preinstalled snap manifest. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27109?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1- Got to test-snaps 2- Use the preinstalled example snap ## **Screenshots/Recordings** ### Before ![image](https://github.com/user-attachments/assets/2902472d-a6cf-4c0c-9576-1d478da09412) ![image](https://github.com/user-attachments/assets/f85aa471-4bb3-4ff1-a8d8-38eb60fc4ddb) ### After ![image](https://github.com/user-attachments/assets/20c75391-ba3e-40ef-9c8e-60478dbe23e0) ![image](https://github.com/user-attachments/assets/bf220be9-45e9-4461-b4e0-1bbe98c5bbf8) ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
d3b006d
4ad5841
to
d3b006d
Compare
Quality Gate passedIssues Measures |
Builds ready [d3b006d]
Page Load Metrics (1663 ± 106 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Missing release label release-12.5.0 on PR. Adding release label release-12.5.0 on PR and removing other release labels(release-12.6.0), as PR was added to branch 12.5.0 when release was cut. |
Description
This bumps Snaps packages to the latest version.