Skip to content

Commit

Permalink
Use initialConnections and allowOrigins (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Montoya authored Apr 17, 2024
1 parent c940cb3 commit 4e6e6b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@consensys/linea-voyager",
"version": "0.6.1",
"version": "0.7.0",
"description": "View your minted Linea XP balance, POH status, and current activations.",
"repository": {
"type": "git",
Expand Down
12 changes: 8 additions & 4 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.6.1",
"version": "0.7.0",
"description": "View your minted Linea XP balance, POH status, and current activations.",
"proposedName": "Linea Voyager",
"repository": {
"type": "git",
"url": "https://github.com/Consensys/linea-voyager-snap"
},
"source": {
"shasum": "BFZM2lGvqce59b/fW4o9kiwyXm/Wl3mkNb7v/qB0Iac=",
"shasum": "AAcFSO2l+t0K/Tww1lFTpRFSAU9SZMEMw4E/C4fVC30=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -17,12 +17,16 @@
}
}
},
"initialConnections": {
"https://voyager-snap.linea.build": {}
},
"initialPermissions": {
"endowment:page-home": {},
"endowment:network-access": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
"allowedOrigins": [
"voyager-snap.linea.build"
]
},
"endowment:ethereum-provider": {},
"snap_manageState": {},
Expand Down

0 comments on commit 4e6e6b9

Please sign in to comment.