Skip to content

Release/345.0.0#5550

Merged
adonesky1 merged 3 commits intomainfrom
release/345.0.0
Mar 25, 2025
Merged

Release/345.0.0#5550
adonesky1 merged 3 commits intomainfrom
release/345.0.0

Conversation

@adonesky1
Copy link
Copy Markdown
Contributor

@adonesky1 adonesky1 commented Mar 25, 2025

@metamask/chain-agnostic-permission

[0.3.0]

Added

  • Export KnownSessionProperties enum (#5522)
  • Add more chain agnostic utility functions for interfacing w/ caip25 permission (#5536)
    • New setPermittedAccounts function that allows setting accounts for any CAIP namespace, not just EVM scopes.
    • New addPermittedChainId and setPermittedChainIds functions for managing permitted chains across any CAIP namespace.
    • New generateCaip25Caveat function to generate a valid endowment:caip25 permission caveat from given accounts and chains of any CAIP namespace.
    • New isWalletScope utility function to detect wallet-related scopes.

Changed

  • BREAKING: An error is now thrown in the caveat validator when a caip25:endowment permission caveat has no scopes in either requiredScopes or optionalScopes (#5548)

@socket-security
Copy link
Copy Markdown

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@metamask/chain-agnostic-permission@0.2.0

View full report↗︎

@adonesky1 adonesky1 marked this pull request as ready for review March 25, 2025 19:29
@adonesky1 adonesky1 requested review from a team as code owners March 25, 2025 19:29
@adonesky1 adonesky1 merged commit 3359b31 into main Mar 25, 2025
196 checks passed
@adonesky1 adonesky1 deleted the release/345.0.0 branch March 25, 2025 19:58
@adonesky1 adonesky1 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 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.

2 participants