Skip to content

Release/370.0.0 - #5674

Merged
ffmcgee725 merged 6 commits into
mainfrom
release/370.0.0
Apr 17, 2025
Merged

Release/370.0.0#5674
ffmcgee725 merged 6 commits into
mainfrom
release/370.0.0

Conversation

@ffmcgee725

@ffmcgee725ffmcgee725 commented Apr 17, 2025

Copy link
Copy Markdown
Member

This is a release for the @metamask/multichain-api-middleware adding and exporting wallet_createSession handler and Caip25Errors, and@metamask/chain-agnostic-permission adding and exporting utility functions isKnownSessionPropertyValue, getCaipAccountIdsFromScopesObjects, getAllScopesFromScopesObjects and getSupportedScopeObjects.

Explanation

References

Changelog

@metamask/chain-agnostic-permission

  • ADDED: Added isKnownSessionPropertyValue validation utility function (originally migrated from extension repo)
  • ADDED: Added getCaipAccountIdsFromScopesObjects filtering utility function (originally migrated from extension repo)
  • ADDED: Added getAllScopesFromScopesObjects filtering utility function (originally migrated from extension repo)
  • ADDED: Added getSupportedScopeObjects filtering utility function (originally migrated from extension repo)

@metamask/multichain-api-middleware

  • ADDED: Added wallet_createSession handler (originally migrated from extension repo)
  • ADDED: Added Caip25Errors

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, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@ffmcgee725
ffmcgee725 requested review from a team as code ownersApril 17, 2025 18:47
jiexi
jiexi previously approved these changes Apr 17, 2025
mcmire
mcmire previously approved these changes Apr 17, 2025

@mcmiremcmire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One nit, but looks good regardless.

Comment threadpackages/multichain-api-middleware/CHANGELOG.md Outdated
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
@ffmcgee725
ffmcgee725 dismissed stale reviews from mcmire and jiexi via 7e8011aApril 17, 2025 19:10
@ffmcgee725
ffmcgee725 enabled auto-merge (squash) April 17, 2025 19:13
@ffmcgee725
ffmcgee725 merged commit 0b94001 into mainApr 17, 2025
@ffmcgee725
ffmcgee725 deleted the release/370.0.0 branch April 17, 2025 19:15
@adonesky1adonesky1 mentioned this pull request Jun 20, 2025
adonesky1 added a commit that referenced this pull request Jun 20, 2025
## @metamask/chain-agnostic-permission
## [1.0.0]
### Changed
- This package is now considered stable
## @metamask/eip1193-permission-middleware
## [1.0.0]
### Changed
- Bump `@metamask/chain-agnostic-permission` to `^0.8.0`
([#5518](#5518),
[#5674](#5674),
[#5818](https://github.com/MetaMask/core/pull/5818)[#5583](https://github.com/MetaMask/core/pull/5583),
[#5982](https://github.com/MetaMask/core/pull/5982),[#6004](https://github.com/MetaMask/core/pull/6004))
- Bump `@metamask/chain-agnostic-permission` to `^0.8.0`
([#5550](#5550),
[#5518](#5518),
[#5674](#5674),
[#5715](#5715),
[#5760](#5760),
[#5818](https://github.com/MetaMask/core/pull/5818)[#5583](https://github.com/MetaMask/core/pull/5583),
[#5982](https://github.com/MetaMask/core/pull/5982),[#6004](https://github.com/MetaMask/core/pull/6004))
- Bump `@metamask/controller-utils` to `^11.10.0`
([#5935](#5935),
[#5583](#5583),
[#5765](#5765),
[#5812](#5812))
## @metamask/multichain-api-middleware
## [1.0.0]
### Changed
- Bump `@metamask/chain-agnostic-permission` to `^0.8.0`
([#5518](#5518),
[#5674](#5674),
[#5818](https://github.com/MetaMask/core/pull/5818)[#5583](https://github.com/MetaMask/core/pull/5583),
[#5982](https://github.com/MetaMask/core/pull/5982),[#6004](https://github.com/MetaMask/core/pull/6004))
- Bump `@metamask/chain-agnostic-permission` to `^0.8.0`
([#5550](#5550),
[#5518](#5518),
[#5674](#5674),
[#5715](#5715),
[#5760](#5760),
[#5818](https://github.com/MetaMask/core/pull/5818)[#5583](https://github.com/MetaMask/core/pull/5583),
[#5982](https://github.com/MetaMask/core/pull/5982),[#6004](https://github.com/MetaMask/core/pull/6004))
- Bump `@metamask/controller-utils` to `^11.10.0`
([#5935](#5935),
[#5583](#5583),
[#5765](#5765),
[#5812](#5812))
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ffmcgee725@mcmire@jiexi