Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 28, 2025

[22.1.0]

Changed

  • Refactor CAIP294 announcement logic (#419)
    • Adds a new shouldAnnounceCaip294 flag to initializeProvider options (defaulted to true), so instead of the providerInfo.rdns value determining whether or not to announce the caip-294 target, the caller of initializeProvider can directly control this.

github-actions and others added 2 commits April 28, 2025 19:10
CHANGELOG.md Outdated
### Changed

- Refactor CAIP294 announcement logic ([#419](https://github.com/MetaMask/providers/pull/419))
- Adds a new `shouldAnnounceCaip294` flag to `initializeProvider` options (defaulted to true), so instead of the `providerInfo.rdns` value determining whether or not to announce the caip-294 target, the caller of `initializeProvider` can directly control this.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thoughts on replacing the Refactor CAIP294 announcement logic line with the sub point?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done here: da40d58

@adonesky1 adonesky1 merged commit 5b3055f into main Apr 28, 2025
19 checks passed
@adonesky1 adonesky1 deleted the release/22.1.0 branch April 28, 2025 20:13
github-merge-queue bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Apr 29, 2025
…ultichain API on all build types (#32351)

Previously the Multichain API was only available on Flask and Beta
builds. Starting in 12.18.0 we are releasing the Multichain API to all
build types including `stable`

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32351?quickstart=1)

## **Related issues**

Fixes: MetaMask/MetaMask-planning#4779

## **Manual testing steps**

1. Build this branch in a normal stable build (`yarn start`)
2. Go to https://metamask.github.io/test-dapp-multichain/latest/
3. Enter your extensionId (watch video below to see where) -> Detection
on `stable` blocked by MetaMask/providers#420
4. See that you're able to connect and interact with the multichain api 

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**


https://github.com/user-attachments/assets/282cfd24-428f-4eff-ab27-1a9424c27ad0

### **After**


https://github.com/user-attachments/assets/7af12e3c-05a8-4277-a439-5c54fefdd13d


## **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/main/.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/main/.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: jiexi <jiexiluan@gmail.com>
DDDDDanica pushed a commit to MetaMask/metamask-extension that referenced this pull request Apr 30, 2025
…ultichain API on all build types (#32351)

Previously the Multichain API was only available on Flask and Beta
builds. Starting in 12.18.0 we are releasing the Multichain API to all
build types including `stable`

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32351?quickstart=1)

Fixes: MetaMask/MetaMask-planning#4779

1. Build this branch in a normal stable build (`yarn start`)
2. Go to https://metamask.github.io/test-dapp-multichain/latest/
3. Enter your extensionId (watch video below to see where) -> Detection
on `stable` blocked by MetaMask/providers#420
4. See that you're able to connect and interact with the multichain api

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

https://github.com/user-attachments/assets/282cfd24-428f-4eff-ab27-1a9424c27ad0

https://github.com/user-attachments/assets/7af12e3c-05a8-4277-a439-5c54fefdd13d

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.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/main/.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: jiexi <jiexiluan@gmail.com>
DDDDDanica added a commit to MetaMask/metamask-extension that referenced this pull request Apr 30, 2025
…ultichain API on all build types (#32351) Cherry-pick (#32409)

Previously the Multichain API was only available on Flask and Beta
builds. Starting in 12.18.0 we are releasing the Multichain API to all
build types including `stable`

[![Open in GitHub

Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32351?quickstart=1)
Cherry-pick:
https://github.com/MetaMask/metamask-extension/pull/32351/files
Fixes: MetaMask/MetaMask-planning#4779

1. Build this branch in a normal stable build (`yarn start`)
2. Go to https://metamask.github.io/test-dapp-multichain/latest/
3. Enter your extensionId (watch video below to see where) -> Detection
on `stable` blocked by MetaMask/providers#420
4. See that you're able to connect and interact with the multichain api

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->


https://github.com/user-attachments/assets/282cfd24-428f-4eff-ab27-1a9424c27ad0


https://github.com/user-attachments/assets/7af12e3c-05a8-4277-a439-5c54fefdd13d

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding

Standards](https://github.com/MetaMask/metamask-extension/blob/main/.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/main/.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.

---------

<!--
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**

<!--
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/32409?quickstart=1)

## **Related issues**

Fixes:

## **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/main/.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/main/.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: Alex Donesky <adonesky@gmail.com>
Co-authored-by: jiexi <jiexiluan@gmail.com>
DDDDDanica added a commit to MetaMask/metamask-extension that referenced this pull request May 1, 2025
…ultichain API on all build types (#32351) Cherry-pick (#32409)

Previously the Multichain API was only available on Flask and Beta
builds. Starting in 12.18.0 we are releasing the Multichain API to all
build types including `stable`

[![Open in GitHub

Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32351?quickstart=1)
Cherry-pick:
https://github.com/MetaMask/metamask-extension/pull/32351/files
Fixes: MetaMask/MetaMask-planning#4779

1. Build this branch in a normal stable build (`yarn start`)
2. Go to https://metamask.github.io/test-dapp-multichain/latest/
3. Enter your extensionId (watch video below to see where) -> Detection
on `stable` blocked by MetaMask/providers#420
4. See that you're able to connect and interact with the multichain api

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->


https://github.com/user-attachments/assets/282cfd24-428f-4eff-ab27-1a9424c27ad0


https://github.com/user-attachments/assets/7af12e3c-05a8-4277-a439-5c54fefdd13d

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding

Standards](https://github.com/MetaMask/metamask-extension/blob/main/.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/main/.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.

---------

<!--
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**

<!--
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/32409?quickstart=1)

## **Related issues**

Fixes:

## **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/main/.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/main/.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: Alex Donesky <adonesky@gmail.com>
Co-authored-by: jiexi <jiexiluan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants