@metamask/snaps-sdk 6.22.1 → 6.24.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 (46) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/dist/error-wrappers.d.cts +192 -192
  3. package/dist/error-wrappers.d.mts +192 -192
  4. package/dist/internals/error-wrappers.d.cts +12 -12
  5. package/dist/internals/error-wrappers.d.mts +12 -12
  6. package/dist/types/handlers/client-request.cjs +3 -0
  7. package/dist/types/handlers/client-request.cjs.map +1 -0
  8. package/dist/types/handlers/client-request.d.cts +16 -0
  9. package/dist/types/handlers/client-request.d.cts.map +1 -0
  10. package/dist/types/handlers/client-request.d.mts +16 -0
  11. package/dist/types/handlers/client-request.d.mts.map +1 -0
  12. package/dist/types/handlers/client-request.mjs +2 -0
  13. package/dist/types/handlers/client-request.mjs.map +1 -0
  14. package/dist/types/handlers/index.cjs.map +1 -1
  15. package/dist/types/handlers/index.d.cts +1 -0
  16. package/dist/types/handlers/index.d.cts.map +1 -1
  17. package/dist/types/handlers/index.d.mts +1 -0
  18. package/dist/types/handlers/index.d.mts.map +1 -1
  19. package/dist/types/handlers/index.mjs.map +1 -1
  20. package/dist/types/methods/get-preferences.cjs.map +1 -1
  21. package/dist/types/methods/get-preferences.d.cts +2 -0
  22. package/dist/types/methods/get-preferences.d.cts.map +1 -1
  23. package/dist/types/methods/get-preferences.d.mts +2 -0
  24. package/dist/types/methods/get-preferences.d.mts.map +1 -1
  25. package/dist/types/methods/get-preferences.mjs.map +1 -1
  26. package/dist/types/methods/index.cjs.map +1 -1
  27. package/dist/types/methods/index.d.cts +1 -0
  28. package/dist/types/methods/index.d.cts.map +1 -1
  29. package/dist/types/methods/index.d.mts +1 -0
  30. package/dist/types/methods/index.d.mts.map +1 -1
  31. package/dist/types/methods/index.mjs.map +1 -1
  32. package/dist/types/methods/methods.cjs.map +1 -1
  33. package/dist/types/methods/methods.d.cts +2 -0
  34. package/dist/types/methods/methods.d.cts.map +1 -1
  35. package/dist/types/methods/methods.d.mts +2 -0
  36. package/dist/types/methods/methods.d.mts.map +1 -1
  37. package/dist/types/methods/methods.mjs.map +1 -1
  38. package/dist/types/methods/track-event.cjs +3 -0
  39. package/dist/types/methods/track-event.cjs.map +1 -0
  40. package/dist/types/methods/track-event.d.cts +21 -0
  41. package/dist/types/methods/track-event.d.cts.map +1 -0
  42. package/dist/types/methods/track-event.d.mts +21 -0
  43. package/dist/types/methods/track-event.d.mts.map +1 -0
  44. package/dist/types/methods/track-event.mjs +2 -0
  45. package/dist/types/methods/track-event.mjs.map +1 -0
  46. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.24.0]
11
+
12
+ ### Added
13
+
14
+ - Add support for SIP-31 `onClientRequest` handler ([#3394](https://github.com/MetaMask/snaps/pull/3394))
15
+ - This adds the corresponding `OnClientRequestHandler` type.
16
+ - Add `showTestnets` to `snap_getPreferences` ([#3395](https://github.com/MetaMask/snaps/pull/3395))
17
+
18
+ ## [6.23.0]
19
+
20
+ ### Added
21
+
22
+ - Add `snap_trackEvent` method ([#3375](https://github.com/MetaMask/snaps/pull/3375))
23
+
24
+ ### Changed
25
+
26
+ - Bump `@metamask/providers` from `22.0.1` to `22.1.0` ([#3363](https://github.com/MetaMask/snaps/pull/3363))
27
+
10
28
  ## [6.22.1]
11
29
 
12
30
  ### Fixed
@@ -553,7 +571,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
553
571
 
554
572
  - Initial release of this package.
555
573
 
556
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.22.1...HEAD
574
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.24.0...HEAD
575
+ [6.24.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.23.0...@metamask/snaps-sdk@6.24.0
576
+ [6.23.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.22.1...@metamask/snaps-sdk@6.23.0
557
577
  [6.22.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.22.0...@metamask/snaps-sdk@6.22.1
558
578
  [6.22.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.21.0...@metamask/snaps-sdk@6.22.0
559
579
  [6.21.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.20.0...@metamask/snaps-sdk@6.21.0