You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`production` (default) | Only kernel snap connection | No connections |
28
+
29
+
30
+
## How It Works
31
+
32
+
1. Each snap has a `snap.manifest.ts` file that defines the manifest using the `defineSnapManifest` helper
33
+
2. The shared `generate-snap-manifest` command (provided by `@metamask/7715-permissions-shared`) compiles and executes the TypeScript file to generate `snap.manifest.json`
34
+
3. The build/start commands automatically run this generation command
Copy file name to clipboardExpand all lines: packages/gator-permissions-snap/docs/architecture.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ This document outlines the architecture of the Permissions Provider Snap system
51
51
52
52
### UI Components
53
53
54
-
-**HomePage**: Component that builds the snap's homepage, showing feature introduction, as well as granted permissions. This is only part of the pre-production feature, as the snap will be pre-installed in which case the homepage is not accessible.
55
54
-**ConfirmationDialogFactory**: Creates confirmation dialogs for permission requests.
56
55
-**ConfirmationDialog**: Manages the lifecycle and user interaction of confirmation dialogs.
57
56
@@ -80,7 +79,6 @@ src/
80
79
├── services/ # Business logic services (token prices, metadata)
0 commit comments