Skip to content

Commit

Permalink
feat: Implement interface persistence (#2856)
Browse files Browse the repository at this point in the history
Implementing interface persistence based on a new property stored in the
interface object called `contentType`, it is used to indicate whether
the `SnapInterfaceController` should persist the interface. The property
is added at various points in our system where an interface is created.
  • Loading branch information
hmalik88 authored Nov 11, 2024
1 parent 87234d3 commit c2651ab
Show file tree
Hide file tree
Showing 17 changed files with 298 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "D5uPpprRmrMeqwvti5+Sy5PxuCdyFlMw8PA+7OlP/WY=",
"shasum": "LciQX9cjRXeSErEsKRm9OEFW8jAq9doqaa9b/TfGN3Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/browserify/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "87AZ5qZxOtBTdc4cRBbCRTX5vYhIlhSSJgyUc8WWi1A=",
"shasum": "83SohbQ4Vp/wI2lFXL6tyuvWy7bLcRSL3yZikZEZrAg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
8 changes: 4 additions & 4 deletions packages/snaps-controllers/coverage.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"branches": 92.73,
"functions": 96.65,
"lines": 97.99,
"statements": 97.69
"branches": 92.85,
"functions": 96.71,
"lines": 98,
"statements": 97.7
}
Loading

0 comments on commit c2651ab

Please sign in to comment.