From 4cfaeb890a9ab52c1e9aae5cb354c79e1ec0f960 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Mar 2022 13:12:05 -0700 Subject: [PATCH] 0.10.4 (#296) * 0.10.4 * @metamask/execution-environments only * Update packages/execution-environments/CHANGELOG.md Co-authored-by: github-actions Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com> --- package.json | 2 +- packages/controllers/package.json | 2 +- packages/execution-environments/CHANGELOG.md | 8 +++++++- packages/execution-environments/package.json | 2 +- .../iframe-execution-environment-service/package.json | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index dba792775f..04dd73655f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "0.10.3", + "version": "0.10.4", "private": true, "repository": { "type": "git", diff --git a/packages/controllers/package.json b/packages/controllers/package.json index 03b059a06a..a8c3cfdb27 100644 --- a/packages/controllers/package.json +++ b/packages/controllers/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "@metamask/controllers": "^26.0.0", - "@metamask/execution-environments": "^0.10.3", + "@metamask/execution-environments": "^0.10.4", "@metamask/object-multiplex": "^1.1.0", "@metamask/obs-store": "^7.0.0", "@metamask/post-message-stream": "4.0.0", diff --git a/packages/execution-environments/CHANGELOG.md b/packages/execution-environments/CHANGELOG.md index 0a08321964..e33517faa7 100644 --- a/packages/execution-environments/CHANGELOG.md +++ b/packages/execution-environments/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.4] +### Fixed +- Fix endowed global functions with properties ([#294](https://github.com/MetaMask/snaps-skunkworks/pull/294)) + - Endowments like `Date` were missing all properties except `name` and `length`, causing e.g. `Date.now` to be `undefined`. This is no longer the case. + ## [0.10.3] ### Changed - No changes this release. @@ -28,7 +33,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-skunkworks/pull/263)) -[Unreleased]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.3...HEAD +[Unreleased]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.4...HEAD +[0.10.4]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.3...v0.10.4 [0.10.3]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.2...v0.10.3 [0.10.2]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.1...v0.10.2 [0.10.1]: https://github.com/MetaMask/snaps-skunkworks/compare/v0.10.0...v0.10.1 diff --git a/packages/execution-environments/package.json b/packages/execution-environments/package.json index 36f5ac24ee..ab9bcdf9c4 100644 --- a/packages/execution-environments/package.json +++ b/packages/execution-environments/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/execution-environments", - "version": "0.10.3", + "version": "0.10.4", "description": "Snap sandbox environments for executing SES javascript", "repository": { "type": "git", diff --git a/packages/iframe-execution-environment-service/package.json b/packages/iframe-execution-environment-service/package.json index 4abcec4ada..b96819fa12 100644 --- a/packages/iframe-execution-environment-service/package.json +++ b/packages/iframe-execution-environment-service/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@metamask/controllers": "^26.0.0", - "@metamask/execution-environments": "^0.10.3", + "@metamask/execution-environments": "^0.10.4", "@metamask/object-multiplex": "^1.2.0", "@metamask/post-message-stream": "^4.0.0", "@metamask/snap-controllers": "^0.10.3",