@metamask/snaps-controllers 20.0.3 → 20.0.5

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,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [20.0.5]
11
+
12
+ ### Changed
13
+
14
+ - Bump `@metamask/snaps-rpc-methods` from `^15.1.1` to `16.0.0` ([#3999](https://github.com/MetaMask/snaps/pull/3999))
15
+ - Bump `@metamask/json-rpc-engine` from `^10.3.0` to `^10.5.0` ([#3992](https://github.com/MetaMask/snaps/pull/3992), [#3998](https://github.com/MetaMask/snaps/pull/3998))
16
+
17
+ ## [20.0.4]
18
+
19
+ ### Changed
20
+
21
+ - Bump `@metamask/permission-controller` from `^12.3.0` to `^13.1.0` ([#3984](https://github.com/MetaMask/snaps/pull/3984), [#3989](https://github.com/MetaMask/snaps/pull/3989))
22
+ - Bump `@metamask/json-rpc-engine` from `10.2.4` to `^10.3.0` ([#3982](https://github.com/MetaMask/snaps/pull/3982))
23
+ - Bump `@metamask/messenger` from `^1.1.1` to `^1.2.0` ([#3981](https://github.com/MetaMask/snaps/pull/3981))
24
+ - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#3959](https://github.com/MetaMask/snaps/pull/3959))
25
+
26
+ ### Fixed
27
+
28
+ - Omit installing Snaps from `getAllSnaps` and `getRunnableSnaps` ([#3990](https://github.com/MetaMask/snaps/pull/3990))
29
+
10
30
  ## [20.0.3]
11
31
 
12
32
  ### Fixed
@@ -766,20 +786,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
766
786
 
767
787
  ### Changed
768
788
 
769
- - Bump `@metamask/approval-controller` from `^7.0.0` to `^7.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593))
770
- - Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593))
771
- - Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593))
772
- - Bump `@metamask/json-rpc-middleware-stream` from `^8.0.0` to `^8.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593))
773
- - Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/metamask/snaps/pull/2593))
774
- - Bump `@metamask/phishing-controller` from `^10.0.0` to `^10.1.1` ([#2593](https://github.com/metamask/snaps/pull/2593))
789
+ - Bump `@metamask/approval-controller` from `^7.0.0` to `^7.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
790
+ - Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
791
+ - Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
792
+ - Bump `@metamask/json-rpc-middleware-stream` from `^8.0.0` to `^8.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
793
+ - Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
794
+ - Bump `@metamask/phishing-controller` from `^10.0.0` to `^10.1.1` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
775
795
  - Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595))
776
796
 
777
797
  ## [9.3.0]
778
798
 
779
799
  ### Added
780
800
 
781
- - Add `snap_resolveInterface` RPC method to the `SnapInterfaceController` ([#2509](https://github.com/metamask/snaps/pull/2509))
782
- - Add `SnapInsightsController` ([#2555](https://github.com/metamask/snaps/pull/2555))
801
+ - Add `snap_resolveInterface` RPC method to the `SnapInterfaceController` ([#2509](https://github.com/MetaMask/snaps/pull/2509))
802
+ - Add `SnapInsightsController` ([#2555](https://github.com/MetaMask/snaps/pull/2555))
783
803
 
784
804
  ### Changed
785
805
 
@@ -796,10 +816,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
796
816
  ### Fixed
797
817
 
798
818
  - Handle initial connections for preinstalled Snaps ([#2591](https://github.com/MetaMask/snaps/pull/2591))
799
- - Account for revoked origins when calculating the difference in `initialConnections` ([#2535](https://github.com/metamask/snaps/pull/2535))
819
+ - Account for revoked origins when calculating the difference in `initialConnections` ([#2535](https://github.com/MetaMask/snaps/pull/2535))
800
820
  - Fixes issue of revoking permissions that are already revoked.
801
821
  - Enables revoked connections to be highlighted as being re-added in the UI.
802
- - Enforce stricter size limits for source code, static auxiliary files, and `snap_getFile` return values ([#2527](https://github.com/metamask/snaps/pull/2527))
822
+ - Enforce stricter size limits for source code, static auxiliary files, and `snap_getFile` return values ([#2527](https://github.com/MetaMask/snaps/pull/2527))
803
823
  - Prevent communication failures by enabling compliance with JSON-RPC extension message requirements.
804
824
 
805
825
  ## [9.2.0]
@@ -1207,7 +1227,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1207
1227
  - The version of the package no longer needs to match the version of all other
1208
1228
  MetaMask Snaps packages.
1209
1229
 
1210
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.3...HEAD
1230
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.5...HEAD
1231
+ [20.0.5]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.4...@metamask/snaps-controllers@20.0.5
1232
+ [20.0.4]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.3...@metamask/snaps-controllers@20.0.4
1211
1233
  [20.0.3]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.2...@metamask/snaps-controllers@20.0.3
1212
1234
  [20.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.1...@metamask/snaps-controllers@20.0.2
1213
1235
  [20.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.0...@metamask/snaps-controllers@20.0.1
@@ -1290,7 +1290,9 @@ class SnapController extends base_controller_1.BaseController {
1290
1290
  * @returns All installed snaps in their truncated format.
1291
1291
  */
1292
1292
  getAllSnaps() {
1293
- return Object.values(this.state.snaps).map(truncateSnap);
1293
+ return Object.values(this.state.snaps)
1294
+ .filter((snap) => snap.status !== snaps_utils_1.SnapStatus.Installing)
1295
+ .map(truncateSnap);
1294
1296
  }
1295
1297
  /**
1296
1298
  * Gets all runnable snaps.