@metamask/snaps-controllers 20.0.3 → 20.0.4

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,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [20.0.4]
11
+
12
+ ### Changed
13
+
14
+ - 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))
15
+ - Bump `@metamask/json-rpc-engine` from `10.2.4` to `^10.3.0` ([#3982](https://github.com/MetaMask/snaps/pull/3982))
16
+ - Bump `@metamask/messenger` from `^1.1.1` to `^1.2.0` ([#3981](https://github.com/MetaMask/snaps/pull/3981))
17
+ - Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#3959](https://github.com/MetaMask/snaps/pull/3959))
18
+
19
+ ### Fixed
20
+
21
+ - Omit installing Snaps from `getAllSnaps` and `getRunnableSnaps` ([#3990](https://github.com/MetaMask/snaps/pull/3990))
22
+
10
23
  ## [20.0.3]
11
24
 
12
25
  ### Fixed
@@ -766,20 +779,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
766
779
 
767
780
  ### Changed
768
781
 
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))
782
+ - Bump `@metamask/approval-controller` from `^7.0.0` to `^7.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
783
+ - Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
784
+ - Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
785
+ - Bump `@metamask/json-rpc-middleware-stream` from `^8.0.0` to `^8.0.2` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
786
+ - Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
787
+ - Bump `@metamask/phishing-controller` from `^10.0.0` to `^10.1.1` ([#2593](https://github.com/MetaMask/snaps/pull/2593))
775
788
  - Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595))
776
789
 
777
790
  ## [9.3.0]
778
791
 
779
792
  ### Added
780
793
 
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))
794
+ - Add `snap_resolveInterface` RPC method to the `SnapInterfaceController` ([#2509](https://github.com/MetaMask/snaps/pull/2509))
795
+ - Add `SnapInsightsController` ([#2555](https://github.com/MetaMask/snaps/pull/2555))
783
796
 
784
797
  ### Changed
785
798
 
@@ -796,10 +809,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
796
809
  ### Fixed
797
810
 
798
811
  - 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))
812
+ - Account for revoked origins when calculating the difference in `initialConnections` ([#2535](https://github.com/MetaMask/snaps/pull/2535))
800
813
  - Fixes issue of revoking permissions that are already revoked.
801
814
  - 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))
815
+ - Enforce stricter size limits for source code, static auxiliary files, and `snap_getFile` return values ([#2527](https://github.com/MetaMask/snaps/pull/2527))
803
816
  - Prevent communication failures by enabling compliance with JSON-RPC extension message requirements.
804
817
 
805
818
  ## [9.2.0]
@@ -1207,7 +1220,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1207
1220
  - The version of the package no longer needs to match the version of all other
1208
1221
  MetaMask Snaps packages.
1209
1222
 
1210
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.3...HEAD
1223
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.4...HEAD
1224
+ [20.0.4]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.3...@metamask/snaps-controllers@20.0.4
1211
1225
  [20.0.3]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.2...@metamask/snaps-controllers@20.0.3
1212
1226
  [20.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-controllers@20.0.1...@metamask/snaps-controllers@20.0.2
1213
1227
  [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.