@metamask/snaps-sdk 4.4.1 → 5.0.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 +23 -1
- package/dist/index.js +192 -213
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -53
- package/dist/index.mjs.map +1 -1
- package/dist/jsx/index.js +69 -50
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +49 -30
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/jsx-dev-runtime.js +69 -50
- package/dist/jsx/jsx-dev-runtime.js.map +1 -1
- package/dist/jsx/jsx-dev-runtime.mjs +49 -30
- package/dist/jsx/jsx-dev-runtime.mjs.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internals/svg.d.ts +4 -11
- package/dist/types/jsx/component.d.ts +11 -1
- package/dist/types/jsx/components/Row.d.ts +5 -2
- package/dist/types/jsx/components/form/Dropdown.d.ts +1 -2
- package/dist/types/jsx/components/form/Input.d.ts +1 -2
- package/dist/types/types/handlers/name-lookup.d.ts +1 -0
- package/dist/types/ui/components/image.d.ts +0 -7
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [5.0.0]
|
|
10
|
+
### Added
|
|
11
|
+
- Allow row tooltips ([#2483](https://github.com/MetaMask/snaps/pull/2483))
|
|
12
|
+
- Support nested children in JSX ([#2482](https://github.com/MetaMask/snaps/pull/2482))
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Update `onNameLookup` response types ([#2484](https://github.com/MetaMask/snaps/pull/2484))
|
|
16
|
+
|
|
17
|
+
### Removed
|
|
18
|
+
- **BREAKING:** Remove `parseSvg` and `isSvg` internals ([#2475](https://github.com/MetaMask/snaps/pull/2475))
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- Correct Row variant in JSX ([#2486](https://github.com/MetaMask/snaps/pull/2486))
|
|
22
|
+
- Revert requiring at least one child in JSX components ([#2481](https://github.com/MetaMask/snaps/pull/2481), [#2470](https://github.com/MetaMask/snaps/pull/2470))
|
|
23
|
+
- Correct docs for `Input` and `Dropdown` ([#2479](https://github.com/MetaMask/snaps/pull/2479))
|
|
24
|
+
|
|
25
|
+
## [4.4.2]
|
|
26
|
+
### Fixed
|
|
27
|
+
- Require at least 1 child in JSX components ([#2466](https://github.com/MetaMask/snaps/pull/2466))
|
|
28
|
+
|
|
9
29
|
## [4.4.1]
|
|
10
30
|
### Fixed
|
|
11
31
|
- Fix invalid `@metamask/snaps-sdk` imports ([#2452](https://github.com/MetaMask/snaps/pull/2452))
|
|
@@ -150,7 +170,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
150
170
|
### Added
|
|
151
171
|
- Initial release of this package.
|
|
152
172
|
|
|
153
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@
|
|
173
|
+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@5.0.0...HEAD
|
|
174
|
+
[5.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@4.4.2...@metamask/snaps-sdk@5.0.0
|
|
175
|
+
[4.4.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@4.4.1...@metamask/snaps-sdk@4.4.2
|
|
154
176
|
[4.4.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@4.4.0...@metamask/snaps-sdk@4.4.1
|
|
155
177
|
[4.4.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@4.3.0...@metamask/snaps-sdk@4.4.0
|
|
156
178
|
[4.3.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@4.2.0...@metamask/snaps-sdk@4.3.0
|