@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.
- package/CHANGELOG.md +29 -1
- package/dist/error-wrappers.d.cts +192 -192
- package/dist/error-wrappers.d.mts +192 -192
- package/dist/internals/error-wrappers.d.cts +12 -12
- package/dist/internals/error-wrappers.d.mts +12 -12
- package/dist/jsx/components/Address.cjs +7 -0
- package/dist/jsx/components/Address.cjs.map +1 -1
- package/dist/jsx/components/Address.d.cts +13 -0
- package/dist/jsx/components/Address.d.cts.map +1 -1
- package/dist/jsx/components/Address.d.mts +13 -0
- package/dist/jsx/components/Address.d.mts.map +1 -1
- package/dist/jsx/components/Address.mjs +7 -0
- package/dist/jsx/components/Address.mjs.map +1 -1
- package/dist/jsx/components/Avatar.cjs +20 -0
- package/dist/jsx/components/Avatar.cjs.map +1 -0
- package/dist/jsx/components/Avatar.d.cts +31 -0
- package/dist/jsx/components/Avatar.d.cts.map +1 -0
- package/dist/jsx/components/Avatar.d.mts +31 -0
- package/dist/jsx/components/Avatar.d.mts.map +1 -0
- package/dist/jsx/components/Avatar.mjs +17 -0
- package/dist/jsx/components/Avatar.mjs.map +1 -0
- package/dist/jsx/components/Heading.cjs +1 -1
- package/dist/jsx/components/Heading.cjs.map +1 -1
- package/dist/jsx/components/Heading.d.cts +3 -3
- package/dist/jsx/components/Heading.d.cts.map +1 -1
- package/dist/jsx/components/Heading.d.mts +3 -3
- package/dist/jsx/components/Heading.d.mts.map +1 -1
- package/dist/jsx/components/Heading.mjs +1 -1
- package/dist/jsx/components/Heading.mjs.map +1 -1
- package/dist/jsx/components/form/Input.cjs +8 -0
- package/dist/jsx/components/form/Input.cjs.map +1 -1
- package/dist/jsx/components/form/Input.d.cts +32 -6
- package/dist/jsx/components/form/Input.d.cts.map +1 -1
- package/dist/jsx/components/form/Input.d.mts +32 -6
- package/dist/jsx/components/form/Input.d.mts.map +1 -1
- package/dist/jsx/components/form/Input.mjs +8 -0
- package/dist/jsx/components/form/Input.mjs.map +1 -1
- package/dist/jsx/components/index.cjs +1 -0
- package/dist/jsx/components/index.cjs.map +1 -1
- package/dist/jsx/components/index.d.cts +3 -1
- package/dist/jsx/components/index.d.cts.map +1 -1
- package/dist/jsx/components/index.d.mts +3 -1
- package/dist/jsx/components/index.d.mts.map +1 -1
- package/dist/jsx/components/index.mjs +1 -0
- package/dist/jsx/components/index.mjs.map +1 -1
- package/dist/jsx/index.cjs +1 -2
- package/dist/jsx/index.cjs.map +1 -1
- package/dist/jsx/index.d.cts +1 -1
- package/dist/jsx/index.d.cts.map +1 -1
- package/dist/jsx/index.d.mts +1 -1
- package/dist/jsx/index.d.mts.map +1 -1
- package/dist/jsx/index.mjs +1 -1
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/validation.cjs +70 -36
- package/dist/jsx/validation.cjs.map +1 -1
- package/dist/jsx/validation.d.cts +70 -15
- package/dist/jsx/validation.d.cts.map +1 -1
- package/dist/jsx/validation.d.mts +70 -15
- package/dist/jsx/validation.d.mts.map +1 -1
- package/dist/jsx/validation.mjs +69 -36
- package/dist/jsx/validation.mjs.map +1 -1
- package/dist/types/global.cjs.map +1 -1
- package/dist/types/global.d.cts.map +1 -1
- package/dist/types/global.d.mts.map +1 -1
- package/dist/types/global.mjs.map +1 -1
- package/dist/types/images.cjs.map +1 -1
- package/dist/types/images.d.cts.map +1 -1
- package/dist/types/images.d.mts.map +1 -1
- package/dist/types/images.mjs.map +1 -1
- package/dist/types/interface.d.cts +2 -2
- package/dist/types/interface.d.mts +2 -2
- package/dist/types/methods/methods.cjs.map +1 -1
- package/dist/types/methods/methods.d.cts +2 -0
- package/dist/types/methods/methods.d.cts.map +1 -1
- package/dist/types/methods/methods.d.mts +2 -0
- package/dist/types/methods/methods.d.mts.map +1 -1
- package/dist/types/methods/methods.mjs.map +1 -1
- package/dist/types/methods/notify.cjs.map +1 -1
- package/dist/types/methods/notify.d.cts +2 -21
- package/dist/types/methods/notify.d.cts.map +1 -1
- package/dist/types/methods/notify.d.mts +2 -21
- package/dist/types/methods/notify.d.mts.map +1 -1
- package/dist/types/methods/notify.mjs.map +1 -1
- 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.
|
|
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
|