@metamask/snaps-sdk 6.12.0 → 6.14.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 +30 -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/Banner.cjs +19 -0
- package/dist/jsx/components/Banner.cjs.map +1 -0
- package/dist/jsx/components/Banner.d.cts +42 -0
- package/dist/jsx/components/Banner.d.cts.map +1 -0
- package/dist/jsx/components/Banner.d.mts +42 -0
- package/dist/jsx/components/Banner.d.mts.map +1 -0
- package/dist/jsx/components/Banner.mjs +16 -0
- package/dist/jsx/components/Banner.mjs.map +1 -0
- package/dist/jsx/components/Icon.cjs +1 -1
- package/dist/jsx/components/Icon.cjs.map +1 -1
- package/dist/jsx/components/Icon.mjs +1 -1
- package/dist/jsx/components/Icon.mjs.map +1 -1
- package/dist/jsx/components/Text.cjs +10 -0
- package/dist/jsx/components/Text.cjs.map +1 -1
- package/dist/jsx/components/Text.d.cts +14 -0
- package/dist/jsx/components/Text.d.cts.map +1 -1
- package/dist/jsx/components/Text.d.mts +14 -0
- package/dist/jsx/components/Text.d.mts.map +1 -1
- package/dist/jsx/components/Text.mjs +10 -0
- package/dist/jsx/components/Text.mjs.map +1 -1
- package/dist/jsx/components/form/Button.cjs.map +1 -1
- package/dist/jsx/components/form/Button.d.cts +4 -0
- package/dist/jsx/components/form/Button.d.cts.map +1 -1
- package/dist/jsx/components/form/Button.d.mts +4 -0
- package/dist/jsx/components/form/Button.d.mts.map +1 -1
- package/dist/jsx/components/form/Button.mjs.map +1 -1
- package/dist/jsx/components/form/Field.cjs +1 -2
- package/dist/jsx/components/form/Field.cjs.map +1 -1
- package/dist/jsx/components/form/Field.d.cts +1 -2
- package/dist/jsx/components/form/Field.d.cts.map +1 -1
- package/dist/jsx/components/form/Field.d.mts +1 -2
- package/dist/jsx/components/form/Field.d.mts.map +1 -1
- package/dist/jsx/components/form/Field.mjs +1 -2
- package/dist/jsx/components/form/Field.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/validation.cjs +52 -21
- package/dist/jsx/validation.cjs.map +1 -1
- package/dist/jsx/validation.d.cts +19 -15
- package/dist/jsx/validation.d.cts.map +1 -1
- package/dist/jsx/validation.d.mts +19 -15
- package/dist/jsx/validation.d.mts.map +1 -1
- package/dist/jsx/validation.mjs +51 -20
- package/dist/jsx/validation.mjs.map +1 -1
- package/dist/types/handlers/index.cjs +1 -0
- package/dist/types/handlers/index.cjs.map +1 -1
- package/dist/types/handlers/index.d.cts +1 -0
- package/dist/types/handlers/index.d.cts.map +1 -1
- package/dist/types/handlers/index.d.mts +1 -0
- package/dist/types/handlers/index.d.mts.map +1 -1
- package/dist/types/handlers/index.mjs +1 -0
- package/dist/types/handlers/index.mjs.map +1 -1
- package/dist/types/handlers/settings-page.cjs +3 -0
- package/dist/types/handlers/settings-page.cjs.map +1 -0
- package/dist/types/handlers/settings-page.d.cts +23 -0
- package/dist/types/handlers/settings-page.d.cts.map +1 -0
- package/dist/types/handlers/settings-page.d.mts +23 -0
- package/dist/types/handlers/settings-page.d.mts.map +1 -0
- package/dist/types/handlers/settings-page.mjs +2 -0
- package/dist/types/handlers/settings-page.mjs.map +1 -0
- package/dist/types/interface.d.cts +2 -2
- package/dist/types/interface.d.cts.map +1 -1
- package/dist/types/interface.d.mts +2 -2
- package/dist/types/interface.d.mts.map +1 -1
- package/dist/types/methods/notify.cjs.map +1 -1
- package/dist/types/methods/notify.d.cts +15 -2
- package/dist/types/methods/notify.d.cts.map +1 -1
- package/dist/types/methods/notify.d.mts +15 -2
- package/dist/types/methods/notify.d.mts.map +1 -1
- package/dist/types/methods/notify.mjs.map +1 -1
- package/dist/types/permissions.cjs.map +1 -1
- package/dist/types/permissions.d.cts +3 -0
- package/dist/types/permissions.d.cts.map +1 -1
- package/dist/types/permissions.d.mts +3 -0
- package/dist/types/permissions.d.mts.map +1 -1
- package/dist/types/permissions.mjs.map +1 -1
- package/dist/ui/components/input.cjs +1 -1
- package/dist/ui/components/input.cjs.map +1 -1
- package/dist/ui/components/input.d.cts +1 -1
- package/dist/ui/components/input.d.mts +1 -1
- package/dist/ui/components/input.mjs +1 -1
- package/dist/ui/components/input.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [6.14.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `onSettingsPage` export ([#2911](https://github.com/MetaMask/snaps/pull/2911))
|
|
15
|
+
- Add `Banner` component ([#2961](https://github.com/MetaMask/snaps/pull/2961))
|
|
16
|
+
- Support `fontWeight` prop on `Text` ([#2959](https://github.com/MetaMask/snaps/pull/2959))
|
|
17
|
+
- Support `size` prop on `Button` ([#2953](https://github.com/MetaMask/snaps/pull/2953))
|
|
18
|
+
- Add loading state for `Button` ([#2930](https://github.com/MetaMask/snaps/pull/2930))
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Improve `Field` validation errors ([#2937](https://github.com/MetaMask/snaps/pull/2937))
|
|
23
|
+
|
|
24
|
+
## [6.13.0]
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Add `size` prop to `Text` ([#2908](https://github.com/MetaMask/snaps/pull/2908))
|
|
29
|
+
- Add JSX `content` property to `snap_notify` ([#2881](https://github.com/MetaMask/snaps/pull/2881))
|
|
30
|
+
- This content will be displayed in an upcoming expanded view for notifications.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- Allow `Field` in `Box` ([#2926](https://github.com/MetaMask/snaps/pull/2926))
|
|
35
|
+
- Bump `@metamask/key-tree` from `^9.1.2` to `^10.0.1` ([#2909](https://github.com/MetaMask/snaps/pull/2909))
|
|
36
|
+
|
|
10
37
|
## [6.12.0]
|
|
11
38
|
|
|
12
39
|
### Added
|
|
@@ -421,7 +448,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
421
448
|
|
|
422
449
|
- Initial release of this package.
|
|
423
450
|
|
|
424
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.
|
|
451
|
+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.14.0...HEAD
|
|
452
|
+
[6.14.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.13.0...@metamask/snaps-sdk@6.14.0
|
|
453
|
+
[6.13.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.12.0...@metamask/snaps-sdk@6.13.0
|
|
425
454
|
[6.12.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.11.0...@metamask/snaps-sdk@6.12.0
|
|
426
455
|
[6.11.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.10.0...@metamask/snaps-sdk@6.11.0
|
|
427
456
|
[6.10.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.9.0...@metamask/snaps-sdk@6.10.0
|