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