Skip to content

Commit 6a1fa93

Browse files
authored
Merge pull request #167 from MetaMask/feat/5.2-kernel-superfluous-permissions
Remove superfluous permissions
2 parents c4f5372 + 79f3763 commit 6a1fa93

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/permissions-kernel-snap/snap.manifest.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/* eslint-disable no-restricted-globals */
22
import type { SnapManifest } from '@metamask/7715-permissions-shared/types';
33

4-
const gatorSnapId = process.env.GATOR_PERMISSIONS_PROVIDER_SNAP_ID;
5-
64
const manifest: SnapManifest = {
75
version: '0.2.0',
86
description: 'Manage onchain 7715 permissions',
@@ -25,16 +23,11 @@ const manifest: SnapManifest = {
2523
initialPermissions: {
2624
'endowment:rpc': {
2725
dapps: true,
28-
snaps: true,
26+
snaps: false,
2927
},
3028
},
3129
platformVersion: '8.1.0',
3230
manifestVersion: '0.1',
3331
};
3432

35-
if (gatorSnapId) {
36-
manifest.initialConnections = {
37-
[gatorSnapId]: {},
38-
};
39-
}
4033
export default manifest;

0 commit comments

Comments
 (0)