@metamask/snaps-execution-environments 3.5.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/browserify/iframe/bundle.js +5 -5
  3. package/dist/browserify/iframe/index.html +1 -1
  4. package/dist/browserify/node-process/bundle.js +4 -4
  5. package/dist/browserify/node-thread/bundle.js +4 -4
  6. package/dist/browserify/webview/bundle.js +9 -0
  7. package/dist/browserify/{offscreen → webview}/index.html +1 -1
  8. package/dist/browserify/worker-executor/bundle.js +6 -6
  9. package/dist/browserify/worker-pool/bundle.js +5 -5
  10. package/dist/browserify/worker-pool/index.html +1 -1
  11. package/dist/cjs/common/BaseSnapExecutor.js +2 -2
  12. package/dist/cjs/common/BaseSnapExecutor.js.map +1 -1
  13. package/dist/cjs/common/commands.js +9 -0
  14. package/dist/cjs/common/commands.js.map +1 -1
  15. package/dist/cjs/common/validation.js +14 -0
  16. package/dist/cjs/common/validation.js.map +1 -1
  17. package/dist/cjs/index.js +20 -0
  18. package/dist/cjs/index.js.map +1 -0
  19. package/dist/cjs/proxy/ProxySnapExecutor.js +2 -2
  20. package/dist/cjs/proxy/ProxySnapExecutor.js.map +1 -1
  21. package/dist/cjs/proxy/index.js +20 -0
  22. package/dist/cjs/proxy/index.js.map +1 -0
  23. package/dist/cjs/webview/WebViewExecutorStream.js +121 -0
  24. package/dist/cjs/webview/WebViewExecutorStream.js.map +1 -0
  25. package/dist/cjs/{offscreen → webview}/index.js +4 -4
  26. package/dist/cjs/webview/index.js.map +1 -0
  27. package/dist/esm/common/BaseSnapExecutor.js +1 -1
  28. package/dist/esm/common/BaseSnapExecutor.js.map +1 -1
  29. package/dist/esm/common/commands.js +10 -1
  30. package/dist/esm/common/commands.js.map +1 -1
  31. package/dist/esm/common/validation.js +15 -0
  32. package/dist/esm/common/validation.js.map +1 -1
  33. package/dist/esm/index.js +3 -0
  34. package/dist/esm/index.js.map +1 -0
  35. package/dist/esm/proxy/ProxySnapExecutor.js +2 -2
  36. package/dist/esm/proxy/ProxySnapExecutor.js.map +1 -1
  37. package/dist/esm/proxy/index.js +3 -0
  38. package/dist/esm/proxy/index.js.map +1 -0
  39. package/dist/esm/webview/WebViewExecutorStream.js +111 -0
  40. package/dist/esm/webview/WebViewExecutorStream.js.map +1 -0
  41. package/dist/esm/{offscreen → webview}/index.js +4 -4
  42. package/dist/esm/webview/index.js.map +1 -0
  43. package/dist/types/common/validation.d.ts +31 -0
  44. package/dist/types/index.d.ts +1 -0
  45. package/dist/types/proxy/index.d.ts +1 -0
  46. package/dist/types/webview/WebViewExecutorStream.d.ts +32 -0
  47. package/package.json +5 -5
  48. package/dist/browserify/offscreen/bundle.js +0 -9
  49. package/dist/cjs/offscreen/index.js.map +0 -1
  50. package/dist/esm/offscreen/index.js.map +0 -1
  51. /package/dist/types/{offscreen → webview}/index.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [4.0.0]
10
+ ### Added
11
+ - Add WebView execution environment ([#2005](https://github.com/MetaMask/snaps/pull/2005))
12
+ - Add support for dynamic user interfaces ([#1465](https://github.com/MetaMask/snaps/pull/1465))
13
+
14
+ ### Changed
15
+ - **BREAKING:** Stop bundling offscreen execution environment ([#2154](https://github.com/MetaMask/snaps/pull/2154))
16
+ - **BREAKING:** Deploy multiple bundles to AWS ([#2150](https://github.com/MetaMask/snaps/pull/2150))
17
+ - From now on the bundles will be served at `https://execution.metamask.io/%BUILD_TYPE%/%VERSION%/index.html`.
18
+ - Export `ProxySnapExecutor` ([#2153](https://github.com/MetaMask/snaps/pull/2153))
19
+ - Reduce executor bundle sizes ([#2160](https://github.com/MetaMask/snaps/pull/2160))
20
+ - Bump MetaMask dependencies ([#2129](https://github.com/MetaMask/snaps/pull/2129), [#2132](https://github.com/MetaMask/snaps/pull/2132))
21
+
9
22
  ## [3.5.0]
10
23
  ### Added
11
24
  - Add support for signature insights ([#2074](https://github.com/MetaMask/snaps/pull/2074))
@@ -128,7 +141,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
128
141
  - The version of the package no longer needs to match the version of all other
129
142
  MetaMask Snaps packages.
130
143
 
131
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.5.0...HEAD
144
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@4.0.0...HEAD
145
+ [4.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.5.0...@metamask/snaps-execution-environments@4.0.0
132
146
  [3.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.3...@metamask/snaps-execution-environments@3.5.0
133
147
  [3.4.3]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.2...@metamask/snaps-execution-environments@3.4.3
134
148
  [3.4.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.1...@metamask/snaps-execution-environments@3.4.2