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 17, 2024
2 parents feb12e9 + aa5f7a1 commit f248a01
Show file tree
Hide file tree
Showing 101 changed files with 738 additions and 810 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": "80.0.0",
"version": "81.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
6 changes: 2 additions & 4 deletions packages/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ The following is a list of the snaps in this directory.
- [**`packages/notifications`**](./packages/notifications): This snap
demonstrates how to use the `snap_notify` method to display notifications to
the user, either as a MetaMask notification or as a desktop notification.
- [**`packages/settings-page`**](./packages/settings-page):
This snap demonstrates how to use `endowment:page-settings` permission,
showing a settings page to the user.
- [**`packages/transaction-insights`**](./packages/transaction-insights):
This snap demonstrates how to use `endowment:transaction-insights` permission,
and provide transaction insights to the user.
Expand All @@ -90,7 +87,8 @@ The following is a list of the snaps in this directory.
how the Snaps platform handles errors thrown by snaps.
- [**`packages/preinstalled`**](./packages/preinstalled): This snap demonstrates
preinstalled snaps, i.e., snaps that are installed in the MetaMask extension
by default.
by default. It also demonstrates the use of the `endowment:page-settings` permission,
showing a settings page to the user.
- [**`packages/send-flow`**](./packages/send-flow): This snap demonstrates
a simple send flow using custom UI.
- [**`packages/wasm`**](./packages/wasm): This snap demonstrates how
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.12.0",
"version": "3.13.0",
"private": true,
"description": "A collection of examples demonstrating how to build MetaMask Snaps",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions 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": "BXI9661L/fYaiBpXRSdqkP8BMOngNdoo9FwYTbrY7+s=",
"shasum": "jLJIqWBjnn/zEbE1yvjJehJk6iqNH+9A9Lf/lZ1aRJU=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down Expand Up @@ -43,6 +43,6 @@
}
]
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "k9draXonmeZgsn647IkJLhYHrc75/Krpn7tA4F+8wGM=",
"shasum": "d1BpBEpSMHL5L9fllD6/Rv8MO4ZCEnNdnnPfMJAH2d4=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -31,6 +31,6 @@
}
]
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
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 @@ -21,6 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "+KdGrdkNoCdZlzq7KulSaWDD1OU4Vu+LpHiCgmYXnHg=",
"shasum": "HmWf4+H/aEE+6m63FtJq0209VzRWGnAJWNz+L+l9SIQ=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,6 +22,6 @@
"snaps": false
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
2 changes: 1 addition & 1 deletion packages/examples/packages/cronjobs/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"snap_dialog": {},
"snap_notify": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "YsyK0ottmZX+MXbSvusMiJ44lQoHoP7y0sq+GrPlRK0=",
"shasum": "RUrYLVeRBQerR54CiGw8JK3zAnZr0Dq6AJcL6TH/2Vc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,6 +22,6 @@
},
"snap_dialog": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "YKH6iL1qdRaQSvIDIf2jnhVb30U7z6LoZp3sJ3vgBBg=",
"shasum": "lyj5zGWzg8mL6sHvpnfWWsy/pFj3B1IHWsFkymFrPwY=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,6 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.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": "HYGsbZCa1cbaJLBU9dcQziEhKS1KD/sesQgTxZVI9lc=",
"shasum": "wGmGlT7y9asBxBtugpaU+ZkK1bzawwMx3upjmMDhygs=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,6 +22,6 @@
},
"endowment:ethereum-provider": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "H18HO5WDT/09sJKQ+JxTuqYi5Krx3LkE2G+JlQMeBVY=",
"shasum": "zubwO7yHVCCLsWmhLQ5Ip41EDeoi4KKcsu8hPPIlthI=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
"snap_dialog": {},
"snap_getEntropy": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "xk2qj65HFB618cIUh/sYWfLrviSfgu8C+7Fnv6qsDWE=",
"shasum": "3VGh2l3Pbyg2HMe9Qv4BX++mgkKRjVslOp6SzicBMg8=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -24,6 +24,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "s/mu+Z/V/G7XwdIVMyuXvZ4ORhLTOQHSFdlwRlgfwuw=",
"shasum": "xpn8z4s207JKNFb4xfkgdWYvgR0AcTGrDFAZZwe5bMc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
"snap_dialog": {},
"snap_getEntropy": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "QMdO7yoFhhvlyuMe4KAP1mKwBDvd7AWPqw51JOLiL+4=",
"shasum": "UtEQgpEQUp+N12xnKYfvYEACbst0nUwYi20Aj+fagZQ=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,6 +22,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "tcaY0oALNFbvXqOUzovxeXU3lzbkbi6o/K3lfTsvs04=",
"shasum": "CFGW+27A/rdqLpqq4wGQ1nPhbRgle8Ojvu5rhVcYwq4=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -19,6 +19,6 @@
"initialPermissions": {
"endowment:page-home": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "w2YY6L6V4CLq+WEwkrgTmB55B+/z4ceD2/zZIn9NNMY=",
"shasum": "UfPUw7yb9+IBq3oxpadPoDlLSwrx5vuHl8OtFuke+FE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
},
"snap_dialog": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "ProfhCT750VS73AYlE9ypKu95ZsGLLoHXmoEX8zKUt0=",
"shasum": "PFxZVa0k7j72F2zT4y/YmhIXWQ2GB16YZlZV2E5wLiA=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -25,6 +25,6 @@
"endowment:transaction-insight": {},
"endowment:page-home": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.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": "J9qfjo4ls7KSmOMVlDXxYNO055eANDjIwEV1uxCxXI8=",
"shasum": "n1Hc20UPbc0lMPxlER1c3DqQt35U6DRM639ab1OrUJ0=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -21,6 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.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": "rZzEML+px4RJ15ADWtQRvVMEVd1ShKd8JtZfAn0sHU8=",
"shasum": "JyTwEv5TNQ5QV93bfa0XbT8ekWjcHr03DvtrU9xWY7U=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "+t2ZHLZx3lvm7ImrZe6jicCH7xTG5xTMdAPEt1onuC4=",
"shasum": "2J2zlkoRLAJKG8RB30NY+TJBXr3P8eG63QryIInsj7c=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -26,6 +26,6 @@
}
}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "bDD/Av6Wb3HYIx4dd3fBiDwxVb4BL0SzZNsIY2XjZZg=",
"shasum": "v3eGYczehLu0VzhssbMeMcnkGFAyta82mPUtg4f9yVI=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
"snap_dialog": {},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions packages/examples/packages/lifecycle-hooks/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": "I3HrKMbzbQslQrfoJZ6CPbPwUOJtl5GBudiJNV3xzJo=",
"shasum": "McEJrD53+nBoIBkWhIildkVeao7ip2Ld5V2tsEopkXw=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -20,6 +20,6 @@
"snap_dialog": {},
"endowment:lifecycle-hooks": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "/G+GFTl+PxKobMfdOVdbzdGNjSkclJr7W79GBE3L3cA=",
"shasum": "kXD/C5BuuY6sj7vpZHWJzugcULiusnACW2U9cb4pnbg=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -23,6 +23,6 @@
},
"snap_getPreferences": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions 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": "rFRplL4VuGBRqiNooRMJTf7dGzVZGMMO7eiEHU3DzrA=",
"shasum": "3jbTBm2Gtm5+qWdWgNR2sgwEGwWmKsGK7QPeXN9yOpE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -22,6 +22,6 @@
},
"snap_manageState": {}
},
"platformVersion": "6.13.0",
"platformVersion": "6.14.0",
"manifestVersion": "0.1"
}
Loading

0 comments on commit f248a01

Please sign in to comment.