Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.24.0 #968

Merged
merged 5 commits into from Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"repository": {
"type": "git",
Expand Down
11 changes: 10 additions & 1 deletion packages/examples/CHANGELOG.md
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.24.0]
### Added
- Add `snap_getEntropy` JSON-RPC method ([#940](https://github.com/MetaMask/snaps-monorepo/pull/940))

### Changed
- **BREAKING:** Remove `wallet` global in favor of `snap` and `ethereum` ([#939](https://github.com/MetaMask/snaps-monorepo/pull/939), [#964](https://github.com/MetaMask/snaps-monorepo/pull/964))
- Remove `wallet_enable` from examples ([#949](https://github.com/MetaMask/snaps-monorepo/pull/949))

## [0.23.0]
### Changed
- No changes this release.
Expand Down Expand Up @@ -188,7 +196,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- This package was previously a subset of [`snaps-cli`](https://github.com/MetaMask/snaps-cli/tree/main/examples), which has been renamed to [`@metamask/snaps-cli`](https://npmjs.com/package/@metamask/snaps-cli).
- Some examples have been deleted because they were outdated.

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.24.0...HEAD
[0.24.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...v0.24.0
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/bls-signer/package.json
@@ -1,6 +1,6 @@
{
"name": "bls-signer",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap that signs messages using BLS.",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/bls-signer/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap that signs messages using BLS.",
"proposedName": "bls-signer",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/browserify/package.json
@@ -1,6 +1,6 @@
{
"name": "browserify-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap built using TypeScript and Browserify",
"repository": {
Expand All @@ -27,9 +27,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-browserify-plugin": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-types": "^0.23.0",
"@metamask/snaps-browserify-plugin": "^0.24.0",
"@metamask/snaps-cli": "^0.24.0",
"@metamask/snaps-types": "^0.24.0",
"@types/browserify": "^12.0.37",
"@types/gulp": "^4.0.9",
"@types/node": "^17.0.33",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/browserify/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap built using TypeScript and Browserify",
"proposedName": "browserify-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/ethers-js/package.json
@@ -1,6 +1,6 @@
{
"name": "ethers-js-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap that that uses ethers.js.",
"repository": {
Expand All @@ -27,7 +27,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/ethers-js/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap that that uses ethers.js.",
"proposedName": "ethers-js-snap",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/examples/insights/package.json
@@ -1,6 +1,6 @@
{
"name": "transaction-insights-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example transaction insights Snap.",
"repository": {
Expand Down Expand Up @@ -36,8 +36,8 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-types": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"@metamask/snaps-types": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/insights/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example transaction insights Snap.",
"proposedName": "Transaction Insights Example Snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/ipfs/package.json
@@ -1,6 +1,6 @@
{
"name": "ipfs-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap that performs IPFS operations.",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/ipfs/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap that performs IPFS operations.",
"proposedName": "ipfs-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/notifications/package.json
@@ -1,6 +1,6 @@
{
"name": "notification-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "The 'Hello, world!' of MetaMask Snaps.",
"repository": {
Expand Down Expand Up @@ -32,7 +32,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "A notification example snap.",
"proposedName": "Notification Example Snap",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/rollup/package.json
@@ -1,6 +1,6 @@
{
"name": "rollup-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap built using TypeScript and Rollup",
"repository": {
Expand All @@ -27,9 +27,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-rollup-plugin": "^0.23.0",
"@metamask/snaps-types": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"@metamask/snaps-rollup-plugin": "^0.24.0",
"@metamask/snaps-types": "^0.24.0",
"@rollup/plugin-babel": "^5.3.1",
"@types/node": "^17.0.33",
"concurrently": "^7.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/rollup/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap built using TypeScript and Rollup",
"proposedName": "rollup-snap",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/examples/typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "typescript-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "The 'Hello, world!' of MetaMask Snaps, now written in TypeScript.",
"repository": {
Expand Down Expand Up @@ -32,8 +32,8 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-types": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"@metamask/snaps-types": "^0.24.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/typescript/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap written in TypeScript.",
"proposedName": "TypeScript Example Snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/wasm/package.json
@@ -1,6 +1,6 @@
{
"name": "wasm",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap that uses WebAssembly.",
"repository": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"assemblyscript": "^0.19.23",
"brfs": "^2.0.2",
"eslint": "^7.30.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/wasm/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap that uses WebAssembly.",
"proposedName": "wasm",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-snap",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "An example Snap built using TypeScript and Webpack",
"repository": {
Expand Down Expand Up @@ -29,9 +29,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-types": "^0.23.0",
"@metamask/snaps-webpack-plugin": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"@metamask/snaps-types": "^0.24.0",
"@metamask/snaps-webpack-plugin": "^0.24.0",
"@types/node": "^17.0.33",
"babel-loader": "^8.2.5",
"concurrently": "^7.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/webpack/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.23.0",
"version": "0.24.0",
"description": "An example Snap built using TypeScript and Webpack",
"proposedName": "webpack-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/package.json
@@ -1,6 +1,6 @@
{
"name": "examples",
"version": "0.23.0",
"version": "0.24.0",
"private": true,
"description": "Example MetaMask Snaps.",
"repository": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-cli": "^0.24.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"eslint": "^7.30.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/multichain-provider/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.24.0]
### Added
- Add permission validation to `snap.manifest.json` ([#910](https://github.com/MetaMask/snaps-monorepo/pull/910))

## [0.23.0]
### Added
- Export `MultiChainProvider` types ([#857](https://github.com/MetaMask/snaps-monorepo/pull/857))
Expand All @@ -26,7 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release ([#700](https://github.com/MetaMask/snaps-monorepo/pull/700))

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.24.0...HEAD
[0.24.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...v0.24.0
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
Expand Down
6 changes: 3 additions & 3 deletions packages/multichain-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/multichain-provider",
"version": "0.23.0",
"version": "0.24.0",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps-monorepo.git"
Expand All @@ -27,7 +27,7 @@
"dependencies": {
"@metamask/providers": "^10.2.0",
"@metamask/safe-event-emitter": "^2.0.0",
"@metamask/snaps-utils": "^0.23.0",
"@metamask/snaps-utils": "^0.24.0",
"@metamask/utils": "^3.3.1",
"nanoid": "^3.1.31"
},
Expand All @@ -38,7 +38,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-utils": "^0.23.0",
"@metamask/snaps-utils": "^0.24.0",
"@types/jest": "^27.5.1",
"deepmerge": "^4.2.2",
"eslint": "^7.30.0",
Expand Down
15 changes: 14 additions & 1 deletion packages/rpc-methods/CHANGELOG.md
Expand Up @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.24.0]
### Added
- Add `snap_getEntropy` JSON-RPC method ([#940](https://github.com/MetaMask/snaps-monorepo/pull/940))
- Add permission validation to `snap.manifest.json` ([#910](https://github.com/MetaMask/snaps-monorepo/pull/910))

### Changed
- **BREAKING:** Remove `wallet_enable` and `wallet_installSnaps` in favor of `wallet_requestSnaps` ([#909](https://github.com/MetaMask/snaps-monorepo/pull/909))
- **BREAKING:** Refactor RPC method params and add tests ([#922](https://github.com/MetaMask/snaps-monorepo/pull/922))

### Removed
- **BREAKING:** Remove `snap_getAppKey` ([#867](https://github.com/MetaMask/snaps-monorepo/pull/867))

## [0.23.0]
### Changed
- **BREAKING:** Bump `@metamask/key-tree` to 6.0.0 ([#918](https://github.com/MetaMask/snaps-monorepo/pull/918))
Expand Down Expand Up @@ -227,7 +239,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First semi-stable release.

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.24.0...HEAD
[0.24.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...v0.24.0
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
Expand Down
4 changes: 2 additions & 2 deletions packages/rpc-methods/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/rpc-methods",
"version": "0.23.0",
"version": "0.24.0",
"description": "MetaMask Snap RPC method implementations.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@metamask/controllers": "^32.0.2",
"@metamask/key-tree": "^6.0.0",
"@metamask/snaps-utils": "^0.23.0",
"@metamask/snaps-utils": "^0.24.0",
"@metamask/types": "^1.1.0",
"@metamask/utils": "^3.3.1",
"@noble/hashes": "^1.1.3",
Expand Down