Skip to content

Commit

Permalink
Correct documentation for proposedName and permissions (#1722)
Browse files Browse the repository at this point in the history
* Update README.md

Update example proposedName and permissions

* Update README.md

Include endowment:rpc example to match template-snap-monorepo
  • Loading branch information
Montoya authored Sep 6, 2023
1 parent 4dfcc60 commit 806975b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/snaps-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ directory of your npm package. Here's an example manifest:
```json
{
"version": "0.7.0",
"proposedName": "@metamask/template-snap",
"proposedName": "Dialog Example",
"description": "A MetaMask Snap template.",
"repository": {
"type": "git",
Expand All @@ -84,7 +84,11 @@ directory of your npm package. Here's an example manifest:
}
},
"initialPermissions": {
"snap_confirm": {}
"snap_dialog": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
}
},
"manifestVersion": "0.1"
}
Expand Down

0 comments on commit 806975b

Please sign in to comment.