@metamask/snaps-execution-environments 6.13.0 → 7.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 (42) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/dist/browserify/iframe/bundle.js +5 -5
  3. package/dist/browserify/node-process/bundle.js +4 -4
  4. package/dist/browserify/node-thread/bundle.js +4 -4
  5. package/dist/browserify/webview/index.html +5 -5
  6. package/dist/browserify/worker-executor/bundle.js +5 -5
  7. package/dist/browserify/worker-pool/bundle.js +5 -5
  8. package/dist/common/BaseSnapExecutor.cjs +12 -2
  9. package/dist/common/BaseSnapExecutor.cjs.map +1 -1
  10. package/dist/common/BaseSnapExecutor.d.cts.map +1 -1
  11. package/dist/common/BaseSnapExecutor.d.mts.map +1 -1
  12. package/dist/common/BaseSnapExecutor.mjs +16 -2
  13. package/dist/common/BaseSnapExecutor.mjs.map +1 -1
  14. package/dist/common/commands.cjs +5 -0
  15. package/dist/common/commands.cjs.map +1 -1
  16. package/dist/common/commands.d.cts.map +1 -1
  17. package/dist/common/commands.d.mts.map +1 -1
  18. package/dist/common/commands.mjs +6 -1
  19. package/dist/common/commands.mjs.map +1 -1
  20. package/dist/common/endowments/commonEndowmentFactory.cjs +1 -0
  21. package/dist/common/endowments/commonEndowmentFactory.cjs.map +1 -1
  22. package/dist/common/endowments/commonEndowmentFactory.d.cts.map +1 -1
  23. package/dist/common/endowments/commonEndowmentFactory.d.mts.map +1 -1
  24. package/dist/common/endowments/commonEndowmentFactory.mjs +1 -0
  25. package/dist/common/endowments/commonEndowmentFactory.mjs.map +1 -1
  26. package/dist/common/validation.cjs +19 -3
  27. package/dist/common/validation.cjs.map +1 -1
  28. package/dist/common/validation.d.cts +51 -37
  29. package/dist/common/validation.d.cts.map +1 -1
  30. package/dist/common/validation.d.mts +51 -37
  31. package/dist/common/validation.d.mts.map +1 -1
  32. package/dist/common/validation.mjs +19 -4
  33. package/dist/common/validation.mjs.map +1 -1
  34. package/dist/webview/WebViewExecutorStream.cjs +3 -3
  35. package/dist/webview/WebViewExecutorStream.cjs.map +1 -1
  36. package/dist/webview/WebViewExecutorStream.mjs +4 -4
  37. package/dist/webview/WebViewExecutorStream.mjs.map +1 -1
  38. package/dist/webview/index.cjs +2 -2
  39. package/dist/webview/index.cjs.map +1 -1
  40. package/dist/webview/index.mjs +2 -2
  41. package/dist/webview/index.mjs.map +1 -1
  42. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [7.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Use a WebView per Snap on mobile ([#3085](https://github.com/MetaMask/snaps/pull/3085))
15
+ - The WebView bundle no longer supports proxy executor calls and functions as a single executor.
16
+ - **BREAKING:** Encode messages in `WebViewMessageStream` as byte arrays ([#3077](https://github.com/MetaMask/snaps/pull/3077))
17
+ - A version of `snaps-controllers` that supports this encoding is required.
18
+ - Bump MetaMask dependencies ([#3091](https://github.com/MetaMask/snaps/pull/3091), [#3057](https://github.com/MetaMask/snaps/pull/3057), [#3050](https://github.com/MetaMask/snaps/pull/3050))
19
+
20
+ ## [6.14.0]
21
+
22
+ ### Added
23
+
24
+ - Add `onProtocolRequest` handler ([#2875](https://github.com/MetaMask/snaps/pull/2875))
25
+ - Add `URLSearchParams` as a default endowment ([#3047](https://github.com/MetaMask/snaps/pull/3047))
26
+
10
27
  ## [6.13.0]
11
28
 
12
29
  ### Added
@@ -422,7 +439,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
422
439
  - The version of the package no longer needs to match the version of all other
423
440
  MetaMask Snaps packages.
424
441
 
425
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.13.0...HEAD
442
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@7.0.0...HEAD
443
+ [7.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.14.0...@metamask/snaps-execution-environments@7.0.0
444
+ [6.14.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.13.0...@metamask/snaps-execution-environments@6.14.0
426
445
  [6.13.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.12.0...@metamask/snaps-execution-environments@6.13.0
427
446
  [6.12.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.11.0...@metamask/snaps-execution-environments@6.12.0
428
447
  [6.11.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.10.0...@metamask/snaps-execution-environments@6.11.0