@metamask-previews/multichain-api-middleware 3.1.5-preview-1bd5239bf → 4.0.0-preview-2855dbf4e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.0.0]
|
|
11
|
+
|
|
10
12
|
### Added
|
|
11
13
|
|
|
12
14
|
- Add `MULTICHAIN_API.md`, a reference for the Multichain API: `wallet_createSession` and the other session methods, supported methods per namespace, error codes, and divergences from the current CAIP-25 spec ([#9258](https://github.com/MetaMask/core/pull/9258))
|
|
@@ -17,7 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
17
19
|
- `WalletGetSessionHooks` and `WalletCreateSessionHooks` now include this hook, which must be provided when wiring up the handlers.
|
|
18
20
|
- The `wallet_getSession` and `wallet_createSession` handlers now derive the returned `sessionProperties` via `getSessionProperties`, hydrating the persisted session properties with an `eip155Capabilities` record that maps each permitted EVM account address to its per-chain capabilities resolved from the `getCapabilities` hook ([#9294](https://github.com/MetaMask/core/pull/9294))
|
|
19
21
|
- `wallet_getSession` now always includes a `sessionProperties` field in its result (an empty object when there is no active session).
|
|
20
|
-
- Bump `@metamask/accounts-controller` from `^39.0.2` to `^39.0.
|
|
22
|
+
- Bump `@metamask/accounts-controller` from `^39.0.2` to `^39.0.4` ([#9231](https://github.com/MetaMask/core/pull/9231), [#9349](https://github.com/MetaMask/core/pull/9349))
|
|
23
|
+
- Bump `@metamask/network-controller` from `^33.0.0` to `^34.0.0` ([#9349](https://github.com/MetaMask/core/pull/9349))
|
|
21
24
|
|
|
22
25
|
## [3.1.5]
|
|
23
26
|
|
|
@@ -265,7 +268,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
265
268
|
|
|
266
269
|
- Initial release
|
|
267
270
|
|
|
268
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@
|
|
271
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@4.0.0...HEAD
|
|
272
|
+
[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@3.1.5...@metamask/multichain-api-middleware@4.0.0
|
|
269
273
|
[3.1.5]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@3.1.4...@metamask/multichain-api-middleware@3.1.5
|
|
270
274
|
[3.1.4]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@3.1.3...@metamask/multichain-api-middleware@3.1.4
|
|
271
275
|
[3.1.3]: https://github.com/MetaMask/core/compare/@metamask/multichain-api-middleware@3.1.2...@metamask/multichain-api-middleware@3.1.3
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/multichain-api-middleware",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-preview-2855dbf4e",
|
|
4
4
|
"description": "JSON-RPC methods and middleware to support the MetaMask Multichain API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@metamask/accounts-controller": "^39.0.
|
|
54
|
+
"@metamask/accounts-controller": "^39.0.4",
|
|
55
55
|
"@metamask/api-specs": "^0.15.0",
|
|
56
56
|
"@metamask/chain-agnostic-permission": "^1.6.2",
|
|
57
57
|
"@metamask/controller-utils": "^12.3.0",
|
|
58
58
|
"@metamask/json-rpc-engine": "^10.5.0",
|
|
59
|
-
"@metamask/network-controller": "^
|
|
59
|
+
"@metamask/network-controller": "^34.0.0",
|
|
60
60
|
"@metamask/permission-controller": "^13.1.1",
|
|
61
61
|
"@metamask/rpc-errors": "^7.0.2",
|
|
62
62
|
"@metamask/snaps-controllers": "^19.0.0",
|