@metamask/solana-wallet-snap 2.9.1 → 2.11.0

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 CHANGED
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.11.0]
11
+
12
+ ### Added
13
+
14
+ - Implement keyring type and methods to V2 ([#606](https://github.com/MetaMask/snap-solana-wallet/pull/606))
15
+ - Implements `getAccounts` and `exportAccount`.
16
+ - Defines loosened keyring type that omits irrelevant properties from the keyring V2 type.
17
+
18
+ ### Changed
19
+
20
+ - Bump `@metamask/keyring-api` to `^23.5.0` and `@metamask/keyring-snap-sdk` to `^9.2.0` ([#606](https://github.com/MetaMask/snap-solana-wallet/pull/606))
21
+
22
+ ### Removed
23
+
24
+ - Remove v1-only keyring methods now that the Snap speaks the keyring V2 protocol ([#606](https://github.com/MetaMask/snap-solana-wallet/pull/606))
25
+ - Removes `createAccount` (superseded by `createAccounts`), `listAccounts` (superseded by `getAccounts`), `updateAccount`, and `filterAccountChains`.
26
+ - Stops emitting the `AccountCreated` and `AccountDeleted` keyring events; account lifecycle is now driven by the V2 client via `createAccounts`/`deleteAccount` return values.
27
+
28
+ ## [2.10.0]
29
+
30
+ ### Changed
31
+
32
+ - Track suppressed errors ([#624](https://github.com/MetaMask/snap-solana-wallet/pull/624))
33
+
10
34
  ## [2.9.1]
11
35
 
12
36
  ### Fixed
@@ -23,6 +47,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
47
  ### Changed
24
48
 
25
49
  - Validate that account IDs passed to `keyring_setSelectedAccounts` belong to the snap, rejecting unknown IDs with `InvalidParamsError` ([#604](https://github.com/MetaMask/snap-solana-wallet/pull/604))
50
+ - **BREAKING:** `getAccount` now throws on an invalid id instead of returning `undefined` ([#606](https://github.com/MetaMask/snap-solana-wallet/pull/606))
51
+ - Wrap all public keyring method errors in a single `SnapError` ([#606](https://github.com/MetaMask/snap-solana-wallet/pull/606))
26
52
 
27
53
  ## [2.8.0]
28
54
 
@@ -1094,7 +1120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1094
1120
  - Sonarcloud to github workflow ([#25](https://github.com/MetaMask/snap-solana-wallet/pull/25))
1095
1121
  - Snap setup
1096
1122
 
1097
- [Unreleased]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.9.1...HEAD
1123
+ [Unreleased]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.10.0...HEAD
1124
+ [2.10.0]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.9.1...v2.10.0
1098
1125
  [2.9.1]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.9.0...v2.9.1
1099
1126
  [2.9.0]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.8.0...v2.9.0
1100
1127
  [2.8.0]: https://github.com/MetaMask/snap-solana-wallet/compare/v2.7.4...v2.8.0