@metamask/snaps-sdk 6.8.0 → 6.9.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 (70) hide show
  1. package/CHANGELOG.md +17 -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/jsx/components/Avatar.cjs +20 -0
  7. package/dist/jsx/components/Avatar.cjs.map +1 -0
  8. package/dist/jsx/components/Avatar.d.cts +31 -0
  9. package/dist/jsx/components/Avatar.d.cts.map +1 -0
  10. package/dist/jsx/components/Avatar.d.mts +31 -0
  11. package/dist/jsx/components/Avatar.d.mts.map +1 -0
  12. package/dist/jsx/components/Avatar.mjs +17 -0
  13. package/dist/jsx/components/Avatar.mjs.map +1 -0
  14. package/dist/jsx/components/Heading.cjs +1 -1
  15. package/dist/jsx/components/Heading.cjs.map +1 -1
  16. package/dist/jsx/components/Heading.d.cts +3 -3
  17. package/dist/jsx/components/Heading.d.cts.map +1 -1
  18. package/dist/jsx/components/Heading.d.mts +3 -3
  19. package/dist/jsx/components/Heading.d.mts.map +1 -1
  20. package/dist/jsx/components/Heading.mjs +1 -1
  21. package/dist/jsx/components/Heading.mjs.map +1 -1
  22. package/dist/jsx/components/form/Input.cjs +8 -0
  23. package/dist/jsx/components/form/Input.cjs.map +1 -1
  24. package/dist/jsx/components/form/Input.d.cts +32 -6
  25. package/dist/jsx/components/form/Input.d.cts.map +1 -1
  26. package/dist/jsx/components/form/Input.d.mts +32 -6
  27. package/dist/jsx/components/form/Input.d.mts.map +1 -1
  28. package/dist/jsx/components/form/Input.mjs +8 -0
  29. package/dist/jsx/components/form/Input.mjs.map +1 -1
  30. package/dist/jsx/components/index.cjs +1 -0
  31. package/dist/jsx/components/index.cjs.map +1 -1
  32. package/dist/jsx/components/index.d.cts +3 -1
  33. package/dist/jsx/components/index.d.cts.map +1 -1
  34. package/dist/jsx/components/index.d.mts +3 -1
  35. package/dist/jsx/components/index.d.mts.map +1 -1
  36. package/dist/jsx/components/index.mjs +1 -0
  37. package/dist/jsx/components/index.mjs.map +1 -1
  38. package/dist/jsx/index.cjs +1 -2
  39. package/dist/jsx/index.cjs.map +1 -1
  40. package/dist/jsx/index.d.cts +1 -1
  41. package/dist/jsx/index.d.cts.map +1 -1
  42. package/dist/jsx/index.d.mts +1 -1
  43. package/dist/jsx/index.d.mts.map +1 -1
  44. package/dist/jsx/index.mjs +1 -1
  45. package/dist/jsx/index.mjs.map +1 -1
  46. package/dist/jsx/validation.cjs +67 -36
  47. package/dist/jsx/validation.cjs.map +1 -1
  48. package/dist/jsx/validation.d.cts +70 -15
  49. package/dist/jsx/validation.d.cts.map +1 -1
  50. package/dist/jsx/validation.d.mts +70 -15
  51. package/dist/jsx/validation.d.mts.map +1 -1
  52. package/dist/jsx/validation.mjs +66 -36
  53. package/dist/jsx/validation.mjs.map +1 -1
  54. package/dist/types/global.cjs.map +1 -1
  55. package/dist/types/global.d.cts.map +1 -1
  56. package/dist/types/global.d.mts.map +1 -1
  57. package/dist/types/global.mjs.map +1 -1
  58. package/dist/types/images.cjs.map +1 -1
  59. package/dist/types/images.d.cts.map +1 -1
  60. package/dist/types/images.d.mts.map +1 -1
  61. package/dist/types/images.mjs.map +1 -1
  62. package/dist/types/interface.d.cts +2 -2
  63. package/dist/types/interface.d.mts +2 -2
  64. package/dist/types/methods/notify.cjs.map +1 -1
  65. package/dist/types/methods/notify.d.cts +2 -21
  66. package/dist/types/methods/notify.d.cts.map +1 -1
  67. package/dist/types/methods/notify.d.mts +2 -21
  68. package/dist/types/methods/notify.d.mts.map +1 -1
  69. package/dist/types/methods/notify.mjs.map +1 -1
  70. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.9.0]
11
+
12
+ ### Added
13
+
14
+ - Add `sm` size variant to `Heading` component ([#2831](https://github.com/MetaMask/snaps/pull/2831))
15
+ - Add `min`, `max` and `step` props to number `Input` component ([#2821](https://github.com/MetaMask/snaps/pull/2821))
16
+ - Add `Avatar` component ([#2820](https://github.com/MetaMask/snaps/pull/2820))
17
+
18
+ ### Removed
19
+
20
+ - Remove support for JSX in `snap_notify` notifications ([#2837](https://github.com/MetaMask/snaps/pull/2837))
21
+ - This is technically a breaking change, but this feature was never actually
22
+ implemented, so it should not affect any existing code.
23
+ - This will be re-implemented in a future release.
24
+
10
25
  ## [6.8.0]
11
26
 
12
27
  ### Added
@@ -383,7 +398,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
383
398
 
384
399
  - Initial release of this package.
385
400
 
386
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.8.0...HEAD
401
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.9.0...HEAD
402
+ [6.9.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.8.0...@metamask/snaps-sdk@6.9.0
387
403
  [6.8.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.7.0...@metamask/snaps-sdk@6.8.0
388
404
  [6.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.6.0...@metamask/snaps-sdk@6.7.0
389
405
  [6.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.1...@metamask/snaps-sdk@6.6.0