-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
feat: Add Multichain API to @metamask/multichain
#4813
base: main
Are you sure you want to change the base?
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bc56104 - Browse repository at this point
Copy the full SHA bc56104View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4b52ad - Browse repository at this point
Copy the full SHA a4b52adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ab58a - Browse repository at this point
Copy the full SHA 86ab58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 186d4b3 - Browse repository at this point
Copy the full SHA 186d4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a93d1d - Browse repository at this point
Copy the full SHA 6a93d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 231bcaa - Browse repository at this point
Copy the full SHA 231bcaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e52fc0 - Browse repository at this point
Copy the full SHA 4e52fc0View commit details
Commits on Oct 11, 2024
-
fix: typescript + linting (#4788)
## Explanation This PR fixes a lot of the linting and typescript errors. still some left but this covers a lot of it. <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --------- Co-authored-by: Jiexi Luan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 151eaac - Browse repository at this point
Copy the full SHA 151eaacView commit details -
Added exports for multichain package (#4789)
## Explanation <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> Added ESM exports for multichain package ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
Configuration menu - View commit details
-
Copy full SHA for 85a723e - Browse repository at this point
Copy the full SHA 85a723eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0bb278 - Browse repository at this point
Copy the full SHA a0bb278View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cd8ef2 - Browse repository at this point
Copy the full SHA 1cd8ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c636def - Browse repository at this point
Copy the full SHA c636defView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6aa7c1 - Browse repository at this point
Copy the full SHA a6aa7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42134f7 - Browse repository at this point
Copy the full SHA 42134f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13b9c7 - Browse repository at this point
Copy the full SHA a13b9c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81db877 - Browse repository at this point
Copy the full SHA 81db877View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3fc263 - Browse repository at this point
Copy the full SHA a3fc263View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe5cb9 - Browse repository at this point
Copy the full SHA afe5cb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea78be - Browse repository at this point
Copy the full SHA 9ea78beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5650d31 - Browse repository at this point
Copy the full SHA 5650d31View commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df5167e - Browse repository at this point
Copy the full SHA df5167eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9446b0b - Browse repository at this point
Copy the full SHA 9446b0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f65ca24 - Browse repository at this point
Copy the full SHA f65ca24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 941849d - Browse repository at this point
Copy the full SHA 941849dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a250de2 - Browse repository at this point
Copy the full SHA a250de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa7ba39 - Browse repository at this point
Copy the full SHA aa7ba39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8415be6 - Browse repository at this point
Copy the full SHA 8415be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f510e - Browse repository at this point
Copy the full SHA c7f510eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4afa8f8 - Browse repository at this point
Copy the full SHA 4afa8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 597e837 - Browse repository at this point
Copy the full SHA 597e837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1872188 - Browse repository at this point
Copy the full SHA 1872188View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5d8005 - Browse repository at this point
Copy the full SHA c5d8005View commit details -
Added handler wrappers to better integrate with existing middleware (#…
…4796) Add handler wrappers to better integrate with existing middleware in extension --------- Co-authored-by: Jiexi Luan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54f7c49 - Browse repository at this point
Copy the full SHA 54f7c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada451d - Browse repository at this point
Copy the full SHA ada451dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2322e39 - Browse repository at this point
Copy the full SHA 2322e39View commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9b21677 - Browse repository at this point
Copy the full SHA 9b21677View commit details -
Jl/caip multichain/update scope object account types (#4803)
## Explanation * Make `accounts` required on `ScopeObject` * Make `flattenScope` also add empty `accounts` array if missing * Rename `flattenScope` to `normalizeScope` * Rename `validateAndFlattenScopes` to `validateAndNormalizeScopes` * Rename `flattenMergeScopes` to `normalizeAndMergeScopes` ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
Configuration menu - View commit details
-
Copy full SHA for 00a41cb - Browse repository at this point
Copy the full SHA 00a41cbView commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f30dd8b - Browse repository at this point
Copy the full SHA f30dd8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71085a0 - Browse repository at this point
Copy the full SHA 71085a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2be8f0 - Browse repository at this point
Copy the full SHA f2be8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 644f4d0 - Browse repository at this point
Copy the full SHA 644f4d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b78bbc - Browse repository at this point
Copy the full SHA 1b78bbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc28c89 - Browse repository at this point
Copy the full SHA fc28c89View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba25ce5 - Browse repository at this point
Copy the full SHA ba25ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ceb118 - Browse repository at this point
Copy the full SHA 4ceb118View commit details -
Configuration menu - View commit details
-
Copy full SHA for a36ec4d - Browse repository at this point
Copy the full SHA a36ec4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95dfbc9 - Browse repository at this point
Copy the full SHA 95dfbc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcf869 - Browse repository at this point
Copy the full SHA 9bcf869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 633485c - Browse repository at this point
Copy the full SHA 633485cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 609518a - Browse repository at this point
Copy the full SHA 609518aView commit details -
Configuration menu - View commit details
-
Copy full SHA for afb2e2c - Browse repository at this point
Copy the full SHA afb2e2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c97afe - Browse repository at this point
Copy the full SHA 7c97afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba210ac - Browse repository at this point
Copy the full SHA ba210acView commit details -
Update packages/controller-utils/src/util.test.ts
Co-authored-by: Mark Stacey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 109a7bf - Browse repository at this point
Copy the full SHA 109a7bfView commit details -
Merge branch 'controller-utils-isEqualCaseInsensitive' into initializ…
…e-caip-multichain
Configuration menu - View commit details
-
Copy full SHA for 1e67641 - Browse repository at this point
Copy the full SHA 1e67641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32b213a - Browse repository at this point
Copy the full SHA 32b213aView commit details -
add account support check in validator (#4816)
## Explanation Mirrors the [wallet_createSession handler ](https://github.com/MetaMask/metamask-extension/pull/27782/files#diff-107459889087f2776c6db636bd45498bef6749302f9d2dc633b4de17fede40a3R96-R108) in how eth account support is checked/asserted. Opted to do this rather than modify `assertScopeSupported` because the `bucketScopes` helper also relies on `assertScopedSupported` but doesn't care about accounts (which is why eth accounts are checked outside of assertScopeSupported in the wallet_createSession handler currently) ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dae4f73 - Browse repository at this point
Copy the full SHA dae4f73View commit details -
Configuration menu - View commit details
-
Copy full SHA for b673f62 - Browse repository at this point
Copy the full SHA b673f62View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d7ed999 - Browse repository at this point
Copy the full SHA d7ed999View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b65e2 - Browse repository at this point
Copy the full SHA b4b65e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d752b7 - Browse repository at this point
Copy the full SHA 4d752b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fad338d - Browse repository at this point
Copy the full SHA fad338dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bf15a2 - Browse repository at this point
Copy the full SHA 5bf15a2View commit details -
Revert "remove caip-permission-adapter-middleware"
This reverts commit fad338d.
Configuration menu - View commit details
-
Copy full SHA for 8208931 - Browse repository at this point
Copy the full SHA 8208931View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5980c6 - Browse repository at this point
Copy the full SHA c5980c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 106e986 - Browse repository at this point
Copy the full SHA 106e986View commit details -
Revert "remove caip-permission-adapter-middleware from exports"
This reverts commit c5980c6.
Configuration menu - View commit details
-
Copy full SHA for 5c6bb8f - Browse repository at this point
Copy the full SHA 5c6bb8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7a8e6e - Browse repository at this point
Copy the full SHA a7a8e6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0962fb2 - Browse repository at this point
Copy the full SHA 0962fb2View commit details -
Revert "remove types/@metamask/eth-json-rpc-filters.d.ts"
This reverts commit a7a8e6e.
Configuration menu - View commit details
-
Copy full SHA for 54829e0 - Browse repository at this point
Copy the full SHA 54829e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b367f0 - Browse repository at this point
Copy the full SHA 6b367f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42297f9 - Browse repository at this point
Copy the full SHA 42297f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc31704 - Browse repository at this point
Copy the full SHA dc31704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56176d1 - Browse repository at this point
Copy the full SHA 56176d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26acfcd - Browse repository at this point
Copy the full SHA 26acfcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e3bfb4 - Browse repository at this point
Copy the full SHA 2e3bfb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89d6101 - Browse repository at this point
Copy the full SHA 89d6101View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ea5d5 - Browse repository at this point
Copy the full SHA b7ea5d5View commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7203358 - Browse repository at this point
Copy the full SHA 7203358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046133a - Browse repository at this point
Copy the full SHA 046133aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eea9f46 - Browse repository at this point
Copy the full SHA eea9f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 257618a - Browse repository at this point
Copy the full SHA 257618aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67b222e - Browse repository at this point
Copy the full SHA 67b222eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ead2f43 - Browse repository at this point
Copy the full SHA ead2f43View commit details -
Loosen get adapter param types (#4835)
## Explanation Loosen `getEthAccounts` and `getPermittedEthChainIds` param type ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
Configuration menu - View commit details
-
Copy full SHA for 009fb4a - Browse repository at this point
Copy the full SHA 009fb4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e34032b - Browse repository at this point
Copy the full SHA e34032bView commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0631c48 - Browse repository at this point
Copy the full SHA 0631c48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4685547 - Browse repository at this point
Copy the full SHA 4685547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18d1112 - Browse repository at this point
Copy the full SHA 18d1112View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ba77c7 - Browse repository at this point
Copy the full SHA 1ba77c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb50a19 - Browse repository at this point
Copy the full SHA bb50a19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d32a0b - Browse repository at this point
Copy the full SHA 7d32a0bView commit details -
Remove accountsChanged and chainChanged from KnownNotifications (sinc…
…e they are implicitly granted now)
Configuration menu - View commit details
-
Copy full SHA for f095370 - Browse repository at this point
Copy the full SHA f095370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62929a4 - Browse repository at this point
Copy the full SHA 62929a4View commit details
Commits on Oct 24, 2024
-
Update packages/multichain/src/scope/transform.test.ts
Co-authored-by: Elliot Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 491552f - Browse repository at this point
Copy the full SHA 491552fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd0f50f - Browse repository at this point
Copy the full SHA bd0f50fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41dcc83 - Browse repository at this point
Copy the full SHA 41dcc83View commit details
Commits on Nov 21, 2024
-
Merge branch 'main' into caip-multichain-api
# Conflicts: # packages/multichain/package.json # packages/multichain/src/adapters/caip-permission-adapter-eth-accounts.test.ts # packages/multichain/src/adapters/caip-permission-adapter-eth-accounts.ts # packages/multichain/src/adapters/caip-permission-adapter-permittedChains.test.ts # packages/multichain/src/adapters/caip-permission-adapter-permittedChains.ts # packages/multichain/src/caip25Permission.test.ts # packages/multichain/src/caip25Permission.ts # packages/multichain/src/index.test.ts # packages/multichain/src/index.ts # packages/multichain/src/scope/assert.test.ts # packages/multichain/src/scope/assert.ts # packages/multichain/src/scope/authorization.test.ts # packages/multichain/src/scope/authorization.ts # packages/multichain/src/scope/constants.ts # packages/multichain/src/scope/supported.test.ts # packages/multichain/src/scope/supported.ts # packages/multichain/src/scope/transform.test.ts # packages/multichain/src/scope/transform.ts # packages/multichain/src/scope/types.ts # packages/multichain/src/scope/validation.test.ts # packages/multichain/src/scope/validation.ts # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for d80c9ce - Browse repository at this point
Copy the full SHA d80c9ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb3e87 - Browse repository at this point
Copy the full SHA 6eb3e87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8374f37 - Browse repository at this point
Copy the full SHA 8374f37View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6dfc71 - Browse repository at this point
Copy the full SHA d6dfc71View commit details -
CAIP Multichain API with permission refactor changes (#4961)
## Explanation ~~This diff is a bit messy since it also brings in the [core PR that refactors the CAIP-25 permission](#4950) which the [caip-multichain-api](https://github.com/MetaMask/core/tree/caip-multichain-api) branch doesn't have yet.~~ The main thing this PR does is adds `getSessionScopes()` which massages the new CAIP-25 permission into a `NormalizedScopesObject` ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ### `@metamask/package-a` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ### `@metamask/package-b` - **<CATEGORY>**: Your change here - **<CATEGORY>**: Your change here ## 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 highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d167a3 - Browse repository at this point
Copy the full SHA 0d167a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17af395 - Browse repository at this point
Copy the full SHA 17af395View commit details -
Caip multichain api normalized to internal (#4964)
## Explanation * Add getInternalScopesObject * Export getInternalScopesObject and getSessionScopes --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62975b6 - Browse repository at this point
Copy the full SHA 62975b6View commit details
Commits on Nov 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19a5983 - Browse repository at this point
Copy the full SHA 19a5983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 439ef9b - Browse repository at this point
Copy the full SHA 439ef9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d61af6 - Browse repository at this point
Copy the full SHA 7d61af6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d0cd7 - Browse repository at this point
Copy the full SHA b5d0cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b4a09 - Browse repository at this point
Copy the full SHA 97b4a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6732cd9 - Browse repository at this point
Copy the full SHA 6732cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e03033c - Browse repository at this point
Copy the full SHA e03033cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1793ff - Browse repository at this point
Copy the full SHA e1793ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c9be0e - Browse repository at this point
Copy the full SHA 4c9be0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a25c05d - Browse repository at this point
Copy the full SHA a25c05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b35bdc3 - Browse repository at this point
Copy the full SHA b35bdc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad05a3 - Browse repository at this point
Copy the full SHA 2ad05a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79acd26 - Browse repository at this point
Copy the full SHA 79acd26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32aa807 - Browse repository at this point
Copy the full SHA 32aa807View commit details
Commits on Nov 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 121ba94 - Browse repository at this point
Copy the full SHA 121ba94View commit details
Commits on Nov 26, 2024
-
this seems like a reasonable tweak (#4980)
Not sure if I'm missing something about why we were refetching the middleware after passing in the whole entry...?
Configuration menu - View commit details
-
Copy full SHA for 6d4bd04 - Browse repository at this point
Copy the full SHA 6d4bd04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4c297 - Browse repository at this point
Copy the full SHA 3f4c297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a621b3 - Browse repository at this point
Copy the full SHA 5a621b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aef155f - Browse repository at this point
Copy the full SHA aef155fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 944be53 - Browse repository at this point
Copy the full SHA 944be53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f98801 - Browse repository at this point
Copy the full SHA 5f98801View commit details
Commits on Nov 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b79f827 - Browse repository at this point
Copy the full SHA b79f827View commit details