Skip to content

Commit

Permalink
Merge branch 'main' into hm/background-events
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Dec 10, 2024
2 parents 7442725 + 51ab913 commit 151d171
Show file tree
Hide file tree
Showing 71 changed files with 319 additions and 217 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "79.0.0",
"version": "80.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/example-snaps",
"version": "3.11.0",
"version": "3.12.0",
"private": true,
"description": "A collection of examples demonstrating how to build MetaMask Snaps",
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion packages/examples/packages/bip32/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": "hRuh420QB8uksiS3rFwrvqNoQD5XTH/QyWkhFkmNBD8=",
"shasum": "BXI9661L/fYaiBpXRSdqkP8BMOngNdoo9FwYTbrY7+s=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down Expand Up @@ -43,5 +43,6 @@
}
]
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/bip44/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": "kztNgPuBct9iJIGhWZs2i/yluGPJSQi0xl5+00opVGs=",
"shasum": "k9draXonmeZgsn647IkJLhYHrc75/Krpn7tA4F+8wGM=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -31,5 +31,6 @@
}
]
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
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": "4yLB19XYAdGgHBPFlVOzCkb/JUZCjSajPRSQWs+a3uE=",
"shasum": "SquG9JvLanG/gJwBw5H1AZBlsthmv21Ci4Vn+sMemjM=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,5 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 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": "+0hxp1uhfCqe9KR+4RPDSPGHFTgRyGULKLn9XWwCmsY=",
"shasum": "pCp96i558WHqHIUZyZGUFcxAfOQ0afBHJ59nJB5ma78=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,5 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/client-status/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": "U1D6XbPDJ3m50P5jpjrEKh18nmCtNsAu0Th4sgqMqPk=",
"shasum": "+KdGrdkNoCdZlzq7KulSaWDD1OU4Vu+LpHiCgmYXnHg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,5 +22,6 @@
"snaps": false
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/cronjobs/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": "ZjF3VIQyyZMjs7bCHZHcBqkkM4mxQjAHhxURv3bNdIg=",
"shasum": "z06MC0KYtySDOdGTKH+afyyu3GWBu4LnKc4FVvfq1Oo=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -29,5 +29,6 @@
},
"snap_dialog": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/dialogs/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": "Mo4tLj3FLGjTrODhiznPVbTmqLdghRqKWaAEhPUmBmg=",
"shasum": "YsyK0ottmZX+MXbSvusMiJ44lQoHoP7y0sq+GrPlRK0=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,5 +22,6 @@
},
"snap_dialog": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/errors/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": "yBkP0yx/0fYCe3r3hglrIJJAXuxTgMpCsR0HMJ/KV7o=",
"shasum": "YKH6iL1qdRaQSvIDIf2jnhVb30U7z6LoZp3sJ3vgBBg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,5 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
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": "jb8yEH2CbYso7JvLwI2hxARfkiq1IXhGMJcD6xpGPrs=",
"shasum": "HYGsbZCa1cbaJLBU9dcQziEhKS1KD/sesQgTxZVI9lc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,5 +22,6 @@
},
"endowment:ethereum-provider": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/ethers-js/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": "kgnGTfsOQs26Kb8oopMnEvXPmbOeDqy0BllLa9z5GCM=",
"shasum": "H18HO5WDT/09sJKQ+JxTuqYi5Krx3LkE2G+JlQMeBVY=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
"snap_dialog": {},
"snap_getEntropy": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/file-upload/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": "OeWGq3s0Anzwjj9wjWBtQQ+M2ArnYyo7iiJVb5I4NWg=",
"shasum": "xk2qj65HFB618cIUh/sYWfLrviSfgu8C+7Fnv6qsDWE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -24,5 +24,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/get-entropy/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": "i70snr3mPw7knx20YaN64bYsJjEgaqNNDl01oFi4Bo4=",
"shasum": "s/mu+Z/V/G7XwdIVMyuXvZ4ORhLTOQHSFdlwRlgfwuw=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
"snap_dialog": {},
"snap_getEntropy": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/get-file/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": "IHFTR7r/ZFrWGriDCjtG4cIh1TnQ/DOJ9/7XvzBnaXA=",
"shasum": "QMdO7yoFhhvlyuMe4KAP1mKwBDvd7AWPqw51JOLiL+4=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,5 +22,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/home-page/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": "emnlXHvrhsGBMi/y1IPhiQPX9ogHmjmOU/iujBu5GB8=",
"shasum": "tcaY0oALNFbvXqOUzovxeXU3lzbkbi6o/K3lfTsvs04=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -19,5 +19,6 @@
"initialPermissions": {
"endowment:page-home": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/images/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": "KJTZWGggYaU8C3LnOd9CodSJoIMtvzkNKC5bzfMPg4M=",
"shasum": "w2YY6L6V4CLq+WEwkrgTmB55B+/z4ceD2/zZIn9NNMY=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
},
"snap_dialog": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/interactive-ui/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": "tjpxfy8rDCt+Qfl9RH+E+58FgwnkyN6WNHac2BzGH8A=",
"shasum": "ProfhCT750VS73AYlE9ypKu95ZsGLLoHXmoEX8zKUt0=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -25,5 +25,6 @@
"endowment:transaction-insight": {},
"endowment:page-home": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
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": "HICk/M3ngw+6Vc+5PD1z97BZ0+hIIb0OhZMB1gNlA3g=",
"shasum": "J9qfjo4ls7KSmOMVlDXxYNO055eANDjIwEV1uxCxXI8=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,5 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
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": "g0lygIry0x1ULrACMgFTncUXfstO2l+7iM7/D65BXqY=",
"shasum": "rZzEML+px4RJ15ADWtQRvVMEVd1ShKd8JtZfAn0sHU8=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/json-rpc/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": "fnBcv6jDxgrg7eGcfSt877oYlchyk3LOvWHXUarlMmM=",
"shasum": "+t2ZHLZx3lvm7ImrZe6jicCH7xTG5xTMdAPEt1onuC4=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -26,5 +26,6 @@
}
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/jsx/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": "pwOggutOjvi9JIOQUsz3PtcWuIVeq88V8sM4H2Be+QE=",
"shasum": "bDD/Av6Wb3HYIx4dd3fBiDwxVb4BL0SzZNsIY2XjZZg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
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": "U+ry3tQOBH2gb+WQYNBYTqKst27YLCCNPNrL3mzwxY8=",
"shasum": "I3HrKMbzbQslQrfoJZ6CPbPwUOJtl5GBudiJNV3xzJo=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -20,5 +20,6 @@
"snap_dialog": {},
"endowment:lifecycle-hooks": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/localization/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": "Riel+Ad0p0CyhwwLM52UgkSx6BORsIoK3N6g5f/3Epw=",
"shasum": "/G+GFTl+PxKobMfdOVdbzdGNjSkclJr7W79GBE3L3cA=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,5 +23,6 @@
},
"snap_getPreferences": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/manage-state/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": "qPBUmh7sDOnakV5nawQSF5g4Z3Oq9SA0S7md02dV4NE=",
"shasum": "rFRplL4VuGBRqiNooRMJTf7dGzVZGMMO7eiEHU3DzrA=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,5 +22,6 @@
},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
3 changes: 2 additions & 1 deletion packages/examples/packages/name-lookup/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": "xk7O5itVsuV3Dfldq3rI3WgggHa3z7HX7e17jzheE8w=",
"shasum": "eaW1e0+YR+RJFQ8hE2CGSLOERHVOPVJcvOBCE90K/bk=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,5 +21,6 @@
"chains": ["eip155:1"]
}
},
"platformVersion": "6.13.0",
"manifestVersion": "0.1"
}
Loading

0 comments on commit 151d171

Please sign in to comment.