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.22.2 #841

Merged
merged 5 commits into from Oct 11, 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.22.1",
"version": "0.22.2",
"private": true,
"repository": {
"type": "git",
Expand Down
7 changes: 6 additions & 1 deletion packages/cli/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.22.2]
### Changed
- No changes this release.

## [0.22.1]
### Changed
- No changes this release.
Expand Down Expand Up @@ -241,7 +245,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Example snaps ([#72](https://github.com/MetaMask/snaps-monorepo/pull/72))
- The examples now live in their own package, [`@metamask/snap-examples`](https://npmjs.com/package/@metamask/snap-examples).

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...HEAD
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.21.0...v0.22.0
[0.21.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.20.0...v0.21.0
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-cli",
"version": "0.22.1",
"version": "0.22.2",
"description": "A CLI for developing MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -46,8 +46,8 @@
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@metamask/snap-utils": "^0.22.1",
"@metamask/snaps-browserify-plugin": "^0.22.1",
"@metamask/snap-utils": "^0.22.2",
"@metamask/snaps-browserify-plugin": "^0.22.2",
"@metamask/utils": "^3.1.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/controllers/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.22.2]
### Fixed
- Fix an issue with installing snaps that request the `eth_accounts` permission ([#839](https://github.com/MetaMask/snaps-monorepo/pull/839))

## [0.22.1]
### Fixed
- Assert that multichain RPC methods are supported before usage ([#814](https://github.com/MetaMask/snaps-monorepo/pull/814))
Expand Down Expand Up @@ -364,7 +368,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.22.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...HEAD
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.21.0...v0.22.0
[0.21.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.20.0...v0.21.0
Expand Down
10 changes: 5 additions & 5 deletions packages/controllers/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/snap-controllers",
"version": "0.22.1",
"version": "0.22.2",
"description": "Controllers for MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,12 +33,12 @@
"dependencies": {
"@metamask/browser-passworder": "^3.0.0",
"@metamask/controllers": "^31.0.0",
"@metamask/execution-environments": "^0.22.1",
"@metamask/execution-environments": "^0.22.2",
"@metamask/object-multiplex": "^1.1.0",
"@metamask/post-message-stream": "^6.0.0",
"@metamask/rpc-methods": "^0.22.1",
"@metamask/snap-types": "^0.22.1",
"@metamask/snap-utils": "^0.22.1",
"@metamask/rpc-methods": "^0.22.2",
"@metamask/snap-types": "^0.22.2",
"@metamask/snap-utils": "^0.22.2",
"@metamask/utils": "^3.1.0",
"@xstate/fsm": "^2.0.0",
"concat-stream": "^2.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/examples/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.22.2]
### Changed
- No changes this release.

## [0.22.1]
### Changed
- No changes this release.
Expand Down Expand Up @@ -176,7 +180,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.22.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...HEAD
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.21.0...v0.22.0
[0.21.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.20.0...v0.21.0
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/bls-signer/package.json
@@ -1,6 +1,6 @@
{
"name": "bls-signer",
"version": "0.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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/snap-types": "^0.22.1",
"@metamask/snaps-browserify-plugin": "^0.22.1",
"@metamask/snaps-cli": "^0.22.1",
"@metamask/snap-types": "^0.22.2",
"@metamask/snaps-browserify-plugin": "^0.22.2",
"@metamask/snaps-cli": "^0.22.2",
"@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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"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.22.1",
"version": "0.22.2",
"description": "An example Snap that that uses ethers.js.",
"proposedName": "ethers-js-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.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
@@ -1,5 +1,5 @@
{
"version": "0.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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/rollup-plugin-snaps": "^0.22.1",
"@metamask/snap-types": "^0.22.1",
"@metamask/snaps-cli": "^0.22.1",
"@metamask/rollup-plugin-snaps": "^0.22.2",
"@metamask/snap-types": "^0.22.2",
"@metamask/snaps-cli": "^0.22.2",
"@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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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/snap-types": "^0.22.1",
"@metamask/snaps-cli": "^0.22.1",
"@metamask/snap-types": "^0.22.2",
"@metamask/snaps-cli": "^0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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/snap-types": "^0.22.1",
"@metamask/snaps-cli": "^0.22.1",
"@metamask/snaps-webpack-plugin": "^0.22.1",
"@metamask/snap-types": "^0.22.2",
"@metamask/snaps-cli": "^0.22.2",
"@metamask/snaps-webpack-plugin": "^0.22.2",
"@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.22.1",
"version": "0.22.2",
"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.22.1",
"version": "0.22.2",
"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.22.1",
"@metamask/snaps-cli": "^0.22.2",
"@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/execution-environments/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.22.2]
### Fixed
- Throw an error when response is unserializable ([#840](https://github.com/MetaMask/snaps-monorepo/pull/840))

## [0.22.1]
### Changed
- No changes this release.
Expand Down Expand Up @@ -141,7 +145,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Previously, default endowments were specified in the execution environment itself. Now, all endowments must be specified in the `executeSnap` RPC parameters, except for the `wallet` API object.
- Add endowments to the global `self` in addition to `window` ([#263](https://github.com/MetaMask/snaps-monorepo/pull/263))

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...HEAD
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.21.0...v0.22.0
[0.21.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.20.0...v0.21.0
Expand Down