@metamask/snaps-execution-environments 3.5.0 → 4.0.1

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 +20 -1
  2. package/dist/browserify/iframe/bundle.js +5 -5
  3. package/dist/browserify/iframe/index.html +202 -111
  4. package/dist/browserify/node-process/bundle.js +205 -114
  5. package/dist/browserify/node-thread/bundle.js +205 -114
  6. package/dist/browserify/webview/bundle.js +9 -0
  7. package/dist/browserify/{offscreen → webview}/index.html +202 -111
  8. package/dist/browserify/worker-executor/bundle.js +207 -116
  9. package/dist/browserify/worker-pool/bundle.js +5 -5
  10. package/dist/browserify/worker-pool/index.html +202 -111
  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 +9 -9
  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,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [4.0.1]
10
+ ### Changed
11
+ - Update several LavaMoat packages ([#2173](https://github.com/MetaMask/snaps/pull/2173))
12
+
13
+ ## [4.0.0]
14
+ ### Added
15
+ - Add WebView execution environment ([#2005](https://github.com/MetaMask/snaps/pull/2005))
16
+ - Add support for dynamic user interfaces ([#1465](https://github.com/MetaMask/snaps/pull/1465))
17
+
18
+ ### Changed
19
+ - **BREAKING:** Stop bundling offscreen execution environment ([#2154](https://github.com/MetaMask/snaps/pull/2154))
20
+ - **BREAKING:** Deploy multiple bundles to AWS ([#2150](https://github.com/MetaMask/snaps/pull/2150))
21
+ - From now on the bundles will be served at `https://execution.metamask.io/%BUILD_TYPE%/%VERSION%/index.html`.
22
+ - Export `ProxySnapExecutor` ([#2153](https://github.com/MetaMask/snaps/pull/2153))
23
+ - Reduce executor bundle sizes ([#2160](https://github.com/MetaMask/snaps/pull/2160))
24
+ - Bump MetaMask dependencies ([#2129](https://github.com/MetaMask/snaps/pull/2129), [#2132](https://github.com/MetaMask/snaps/pull/2132))
25
+
9
26
  ## [3.5.0]
10
27
  ### Added
11
28
  - Add support for signature insights ([#2074](https://github.com/MetaMask/snaps/pull/2074))
@@ -128,7 +145,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
128
145
  - The version of the package no longer needs to match the version of all other
129
146
  MetaMask Snaps packages.
130
147
 
131
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.5.0...HEAD
148
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@4.0.1...HEAD
149
+ [4.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@4.0.0...@metamask/snaps-execution-environments@4.0.1
150
+ [4.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.5.0...@metamask/snaps-execution-environments@4.0.0
132
151
  [3.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.3...@metamask/snaps-execution-environments@3.5.0
133
152
  [3.4.3]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.2...@metamask/snaps-execution-environments@3.4.3
134
153
  [3.4.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@3.4.1...@metamask/snaps-execution-environments@3.4.2