Skip to content

Commit f248a01

Browse files
committed
Merge branch 'main' into hm/background-events
2 parents feb12e9 + aa5f7a1 commit f248a01

File tree

101 files changed

+738
-810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+738
-810
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "root",
3-
"version": "80.0.0",
3+
"version": "81.0.0",
44
"private": true,
55
"repository": {
66
"type": "git",

packages/examples/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ The following is a list of the snaps in this directory.
6666
- [**`packages/notifications`**](./packages/notifications): This snap
6767
demonstrates how to use the `snap_notify` method to display notifications to
6868
the user, either as a MetaMask notification or as a desktop notification.
69-
- [**`packages/settings-page`**](./packages/settings-page):
70-
This snap demonstrates how to use `endowment:page-settings` permission,
71-
showing a settings page to the user.
7269
- [**`packages/transaction-insights`**](./packages/transaction-insights):
7370
This snap demonstrates how to use `endowment:transaction-insights` permission,
7471
and provide transaction insights to the user.
@@ -90,7 +87,8 @@ The following is a list of the snaps in this directory.
9087
how the Snaps platform handles errors thrown by snaps.
9188
- [**`packages/preinstalled`**](./packages/preinstalled): This snap demonstrates
9289
preinstalled snaps, i.e., snaps that are installed in the MetaMask extension
93-
by default.
90+
by default. It also demonstrates the use of the `endowment:page-settings` permission,
91+
showing a settings page to the user.
9492
- [**`packages/send-flow`**](./packages/send-flow): This snap demonstrates
9593
a simple send flow using custom UI.
9694
- [**`packages/wasm`**](./packages/wasm): This snap demonstrates how

packages/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/example-snaps",
3-
"version": "3.12.0",
3+
"version": "3.13.0",
44
"private": true,
55
"description": "A collection of examples demonstrating how to build MetaMask Snaps",
66
"keywords": [

packages/examples/packages/bip32/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "BXI9661L/fYaiBpXRSdqkP8BMOngNdoo9FwYTbrY7+s=",
10+
"shasum": "jLJIqWBjnn/zEbE1yvjJehJk6iqNH+9A9Lf/lZ1aRJU=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -43,6 +43,6 @@
4343
}
4444
]
4545
},
46-
"platformVersion": "6.13.0",
46+
"platformVersion": "6.14.0",
4747
"manifestVersion": "0.1"
4848
}

packages/examples/packages/bip44/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "k9draXonmeZgsn647IkJLhYHrc75/Krpn7tA4F+8wGM=",
10+
"shasum": "d1BpBEpSMHL5L9fllD6/Rv8MO4ZCEnNdnnPfMJAH2d4=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -31,6 +31,6 @@
3131
}
3232
]
3333
},
34-
"platformVersion": "6.13.0",
34+
"platformVersion": "6.14.0",
3535
"manifestVersion": "0.1"
3636
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24-
"platformVersion": "6.13.0",
24+
"platformVersion": "6.14.0",
2525
"manifestVersion": "0.1"
2626
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24-
"platformVersion": "6.13.0",
24+
"platformVersion": "6.14.0",
2525
"manifestVersion": "0.1"
2626
}

packages/examples/packages/client-status/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "+KdGrdkNoCdZlzq7KulSaWDD1OU4Vu+LpHiCgmYXnHg=",
10+
"shasum": "HmWf4+H/aEE+6m63FtJq0209VzRWGnAJWNz+L+l9SIQ=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,6 +22,6 @@
2222
"snaps": false
2323
}
2424
},
25-
"platformVersion": "6.13.0",
25+
"platformVersion": "6.14.0",
2626
"manifestVersion": "0.1"
2727
}

packages/examples/packages/cronjobs/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
"snap_dialog": {},
3535
"snap_notify": {}
3636
},
37-
"platformVersion": "6.13.0",
37+
"platformVersion": "6.14.0",
3838
"manifestVersion": "0.1"
3939
}

packages/examples/packages/dialogs/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "YsyK0ottmZX+MXbSvusMiJ44lQoHoP7y0sq+GrPlRK0=",
10+
"shasum": "RUrYLVeRBQerR54CiGw8JK3zAnZr0Dq6AJcL6TH/2Vc=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,6 +22,6 @@
2222
},
2323
"snap_dialog": {}
2424
},
25-
"platformVersion": "6.13.0",
25+
"platformVersion": "6.14.0",
2626
"manifestVersion": "0.1"
2727
}

packages/examples/packages/errors/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "YKH6iL1qdRaQSvIDIf2jnhVb30U7z6LoZp3sJ3vgBBg=",
10+
"shasum": "lyj5zGWzg8mL6sHvpnfWWsy/pFj3B1IHWsFkymFrPwY=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -21,6 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24-
"platformVersion": "6.13.0",
24+
"platformVersion": "6.14.0",
2525
"manifestVersion": "0.1"
2626
}

packages/examples/packages/ethereum-provider/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "HYGsbZCa1cbaJLBU9dcQziEhKS1KD/sesQgTxZVI9lc=",
10+
"shasum": "wGmGlT7y9asBxBtugpaU+ZkK1bzawwMx3upjmMDhygs=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,6 +22,6 @@
2222
},
2323
"endowment:ethereum-provider": {}
2424
},
25-
"platformVersion": "6.13.0",
25+
"platformVersion": "6.14.0",
2626
"manifestVersion": "0.1"
2727
}

packages/examples/packages/ethers-js/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "H18HO5WDT/09sJKQ+JxTuqYi5Krx3LkE2G+JlQMeBVY=",
10+
"shasum": "zubwO7yHVCCLsWmhLQ5Ip41EDeoi4KKcsu8hPPIlthI=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
"snap_dialog": {},
2424
"snap_getEntropy": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/file-upload/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "xk2qj65HFB618cIUh/sYWfLrviSfgu8C+7Fnv6qsDWE=",
10+
"shasum": "3VGh2l3Pbyg2HMe9Qv4BX++mgkKRjVslOp6SzicBMg8=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -24,6 +24,6 @@
2424
"snap_dialog": {},
2525
"snap_manageState": {}
2626
},
27-
"platformVersion": "6.13.0",
27+
"platformVersion": "6.14.0",
2828
"manifestVersion": "0.1"
2929
}

packages/examples/packages/get-entropy/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "s/mu+Z/V/G7XwdIVMyuXvZ4ORhLTOQHSFdlwRlgfwuw=",
10+
"shasum": "xpn8z4s207JKNFb4xfkgdWYvgR0AcTGrDFAZZwe5bMc=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
"snap_dialog": {},
2424
"snap_getEntropy": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/get-file/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "QMdO7yoFhhvlyuMe4KAP1mKwBDvd7AWPqw51JOLiL+4=",
10+
"shasum": "UtEQgpEQUp+N12xnKYfvYEACbst0nUwYi20Aj+fagZQ=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,6 +22,6 @@
2222
"dapps": true
2323
}
2424
},
25-
"platformVersion": "6.13.0",
25+
"platformVersion": "6.14.0",
2626
"manifestVersion": "0.1"
2727
}

packages/examples/packages/home-page/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "tcaY0oALNFbvXqOUzovxeXU3lzbkbi6o/K3lfTsvs04=",
10+
"shasum": "CFGW+27A/rdqLpqq4wGQ1nPhbRgle8Ojvu5rhVcYwq4=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -19,6 +19,6 @@
1919
"initialPermissions": {
2020
"endowment:page-home": {}
2121
},
22-
"platformVersion": "6.13.0",
22+
"platformVersion": "6.14.0",
2323
"manifestVersion": "0.1"
2424
}

packages/examples/packages/images/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "w2YY6L6V4CLq+WEwkrgTmB55B+/z4ceD2/zZIn9NNMY=",
10+
"shasum": "UfPUw7yb9+IBq3oxpadPoDlLSwrx5vuHl8OtFuke+FE=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
},
2424
"snap_dialog": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/interactive-ui/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "ProfhCT750VS73AYlE9ypKu95ZsGLLoHXmoEX8zKUt0=",
10+
"shasum": "PFxZVa0k7j72F2zT4y/YmhIXWQ2GB16YZlZV2E5wLiA=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -25,6 +25,6 @@
2525
"endowment:transaction-insight": {},
2626
"endowment:page-home": {}
2727
},
28-
"platformVersion": "6.13.0",
28+
"platformVersion": "6.14.0",
2929
"manifestVersion": "0.1"
3030
}

packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "J9qfjo4ls7KSmOMVlDXxYNO055eANDjIwEV1uxCxXI8=",
10+
"shasum": "n1Hc20UPbc0lMPxlER1c3DqQt35U6DRM639ab1OrUJ0=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -21,6 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24-
"platformVersion": "6.13.0",
24+
"platformVersion": "6.14.0",
2525
"manifestVersion": "0.1"
2626
}

packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "rZzEML+px4RJ15ADWtQRvVMEVd1ShKd8JtZfAn0sHU8=",
10+
"shasum": "JyTwEv5TNQ5QV93bfa0XbT8ekWjcHr03DvtrU9xWY7U=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
"snap_dialog": {},
2424
"snap_manageState": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/json-rpc/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "+t2ZHLZx3lvm7ImrZe6jicCH7xTG5xTMdAPEt1onuC4=",
10+
"shasum": "2J2zlkoRLAJKG8RB30NY+TJBXr3P8eG63QryIInsj7c=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -26,6 +26,6 @@
2626
}
2727
}
2828
},
29-
"platformVersion": "6.13.0",
29+
"platformVersion": "6.14.0",
3030
"manifestVersion": "0.1"
3131
}

packages/examples/packages/jsx/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "bDD/Av6Wb3HYIx4dd3fBiDwxVb4BL0SzZNsIY2XjZZg=",
10+
"shasum": "v3eGYczehLu0VzhssbMeMcnkGFAyta82mPUtg4f9yVI=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
"snap_dialog": {},
2424
"snap_manageState": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/lifecycle-hooks/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "I3HrKMbzbQslQrfoJZ6CPbPwUOJtl5GBudiJNV3xzJo=",
10+
"shasum": "McEJrD53+nBoIBkWhIildkVeao7ip2Ld5V2tsEopkXw=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -20,6 +20,6 @@
2020
"snap_dialog": {},
2121
"endowment:lifecycle-hooks": {}
2222
},
23-
"platformVersion": "6.13.0",
23+
"platformVersion": "6.14.0",
2424
"manifestVersion": "0.1"
2525
}

packages/examples/packages/localization/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "/G+GFTl+PxKobMfdOVdbzdGNjSkclJr7W79GBE3L3cA=",
10+
"shasum": "kXD/C5BuuY6sj7vpZHWJzugcULiusnACW2U9cb4pnbg=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,6 +23,6 @@
2323
},
2424
"snap_getPreferences": {}
2525
},
26-
"platformVersion": "6.13.0",
26+
"platformVersion": "6.14.0",
2727
"manifestVersion": "0.1"
2828
}

packages/examples/packages/manage-state/snap.manifest.json

Lines changed: 2 additions & 2 deletions
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": "rFRplL4VuGBRqiNooRMJTf7dGzVZGMMO7eiEHU3DzrA=",
10+
"shasum": "3jbTBm2Gtm5+qWdWgNR2sgwEGwWmKsGK7QPeXN9yOpE=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,6 +22,6 @@
2222
},
2323
"snap_manageState": {}
2424
},
25-
"platformVersion": "6.13.0",
25+
"platformVersion": "6.14.0",
2626
"manifestVersion": "0.1"
2727
}

0 commit comments

Comments
 (0)