-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Explanation This is the release candidate for `v58.0.0`. - `@metamask/snaps-controllers@9.3.1` (patch) - `@metamask/snaps-execution-environments@6.6.2` (patch) - `@metamask/snaps-rpc-methods@10.0.1` (patch) - `@metamask/snaps-utils@7.8.1` (patch) ## Notes - Removes `@metamask/utils` yarn resolution to `9.1.0`. - Bumps `@metamask/eth-json-rpc-middleware` from `^12.1.2` to `^13.0.0` in `@MetaMask/snaps-{jest,simulator}`. - The `permission-controller` major version bump doesn't affect the snaps monorepo as a breaking change, as the updated enums `CaveatMutatorOperations`, `MethodNames` are not used in any snaps package. ## Blockers - [x] Blocked by #2579: With yarn resolution for `@metamask/utils` removed, `@metamask/snaps-execution-environments` experiences a build error due to version mismatch between `@metamask/providers` (`@metamask/utils@8.5.0`) and `@metamask/utils@9.1.0`. - Resolved with `@metamask/providers@17.1.2` - With `@metamask/providers@17.0.0` ```ts ➤ YN0000: [@metamask/snaps-execution-environments]: src/common/BaseSnapExecutor.ts(373,23): error TS2322: Type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/json-rpc-engine/dist/types/JsonRpcEngine").JsonRpcMiddleware<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcParams, import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").J...' is not assignable to type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/json-rpc-engine/dist/types/JsonRpcEngine").JsonRpcMiddleware<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcParams, import("/Users/majorl...'. ➤ YN0000: [@metamask/snaps-execution-environments]: Types of parameters 'req' and 'req' are incompatible. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcRequest<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcParams>' is not assignable to type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcRequest<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcParams>'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'JsonRpcRequest<JsonRpcParams>' is not assignable to type '{ params?: ((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined; id: string | number | null; method: string; jsonrpc: "2.0"; }'. ➤ YN0000: [@metamask/snaps-execution-environments]: Types of property 'params' are incompatible. ➤ YN0000: [@metamask/snaps-execution-environments]: Type '(((Record<string, Json> | Json[]) & ExactOptionalGuard) & JsonRpcParams) | undefined' is not assignable to type '((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGuard' is not assignable to type '((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGuard' is not assignable to type 'Json[] & ExactOptionalGuard'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGua ``` - With yarn resolution entry `"@metamask/snaps-execution-environments/@metamask/providers": "17.1.1"` ```ts ➤ YN0000: [@metamask/snaps-execution-environments]: node_modules/@metamask/providers/dist/EIP6963.d.cts(11,9): error TS2717: Subsequent property declarations must have the same type. Property '[EIP6963EventNames.Request]' must be of type 'EIP6963RequestProviderEvent', but here has type 'EIP6963RequestProviderEvent'. ➤ YN0000: [@metamask/snaps-execution-environments]: node_modules/@metamask/providers/dist/EIP6963.d.cts(12,9): error TS2717: Subsequent property declarations must have the same type. Property '[EIP6963EventNames.Announce]' must be of type 'EIP6963AnnounceProviderEvent', but here has type 'EIP6963AnnounceProviderEvent'. ```
- Loading branch information
Showing
18 changed files
with
188 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.