Skip to content

Commit c2651ab

Browse files
authored
feat: Implement interface persistence (#2856)
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.
1 parent 87234d3 commit c2651ab

File tree

17 files changed

+298
-51
lines changed

17 files changed

+298
-51
lines changed

packages/examples/packages/browserify-plugin/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "D5uPpprRmrMeqwvti5+Sy5PxuCdyFlMw8PA+7OlP/WY=",
10+
"shasum": "LciQX9cjRXeSErEsKRm9OEFW8jAq9doqaa9b/TfGN3Y=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/packages/browserify/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "87AZ5qZxOtBTdc4cRBbCRTX5vYhIlhSSJgyUc8WWi1A=",
10+
"shasum": "83SohbQ4Vp/wI2lFXL6tyuvWy7bLcRSL3yZikZEZrAg=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"branches": 92.73,
3-
"functions": 96.65,
4-
"lines": 97.99,
5-
"statements": 97.69
2+
"branches": 92.85,
3+
"functions": 96.71,
4+
"lines": 98,
5+
"statements": 97.7
66
}

0 commit comments

Comments
 (0)