@metamask/snaps-sdk 6.7.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.
- package/CHANGELOG.md +40 -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/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/form/index.cjs +0 -1
- package/dist/jsx/components/form/index.cjs.map +1 -1
- package/dist/jsx/components/form/index.d.cts +1 -3
- package/dist/jsx/components/form/index.d.cts.map +1 -1
- package/dist/jsx/components/form/index.d.mts +1 -3
- package/dist/jsx/components/form/index.d.mts.map +1 -1
- package/dist/jsx/components/form/index.mjs +0 -1
- package/dist/jsx/components/form/index.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 +67 -47
- package/dist/jsx/validation.cjs.map +1 -1
- package/dist/jsx/validation.d.cts +71 -20
- package/dist/jsx/validation.d.cts.map +1 -1
- package/dist/jsx/validation.d.mts +71 -20
- package/dist/jsx/validation.d.mts.map +1 -1
- package/dist/jsx/validation.mjs +67 -47
- 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/handlers/signature.cjs.map +1 -1
- package/dist/types/handlers/signature.d.cts +1 -14
- package/dist/types/handlers/signature.d.cts.map +1 -1
- package/dist/types/handlers/signature.d.mts +1 -14
- package/dist/types/handlers/signature.d.mts.map +1 -1
- package/dist/types/handlers/signature.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/index.cjs +1 -0
- package/dist/types/methods/index.cjs.map +1 -1
- package/dist/types/methods/index.d.cts +1 -0
- package/dist/types/methods/index.d.cts.map +1 -1
- package/dist/types/methods/index.d.mts +1 -0
- package/dist/types/methods/index.d.mts.map +1 -1
- package/dist/types/methods/index.mjs +1 -0
- package/dist/types/methods/index.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/dist/types/methods/provider-request.cjs +3 -0
- package/dist/types/methods/provider-request.cjs.map +1 -0
- package/dist/types/methods/provider-request.d.cts +25 -0
- package/dist/types/methods/provider-request.d.cts.map +1 -0
- package/dist/types/methods/provider-request.d.mts +25 -0
- package/dist/types/methods/provider-request.d.mts.map +1 -0
- package/dist/types/methods/provider-request.mjs +2 -0
- package/dist/types/methods/provider-request.mjs.map +1 -0
- package/dist/types/methods/update-interface.cjs.map +1 -1
- package/dist/types/methods/update-interface.d.cts +2 -1
- package/dist/types/methods/update-interface.d.cts.map +1 -1
- package/dist/types/methods/update-interface.d.mts +2 -1
- package/dist/types/methods/update-interface.d.mts.map +1 -1
- package/dist/types/methods/update-interface.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/jsx/components/form/AccountSelector.cjs +0 -25
- package/dist/jsx/components/form/AccountSelector.cjs.map +0 -1
- package/dist/jsx/components/form/AccountSelector.d.cts +0 -43
- package/dist/jsx/components/form/AccountSelector.d.cts.map +0 -1
- package/dist/jsx/components/form/AccountSelector.d.mts +0 -43
- package/dist/jsx/components/form/AccountSelector.d.mts.map +0 -1
- package/dist/jsx/components/form/AccountSelector.mjs +0 -22
- package/dist/jsx/components/form/AccountSelector.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,43 @@ 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
|
+
|
|
25
|
+
## [6.8.0]
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Add `snap_experimentalProviderRequest` JSON-RPC method ([#2773](https://github.com/MetaMask/snaps/pull/2773))
|
|
30
|
+
- This method is experimental and will likely be removed in a future release.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- Allow updating interface context ([#2809](https://github.com/MetaMask/snaps/pull/2809))
|
|
35
|
+
- `snap_updateInterface` now accepts a `context` parameter to update the
|
|
36
|
+
context of an interface.
|
|
37
|
+
- Remove `eth_sign` ([#2772](https://github.com/MetaMask/snaps/pull/2772))
|
|
38
|
+
- This method was removed from the MetaMask extension, so any references to it
|
|
39
|
+
in Snaps can be removed.
|
|
40
|
+
|
|
41
|
+
### Removed
|
|
42
|
+
|
|
43
|
+
- Remove `AccountSelector` component ([#2794](https://github.com/MetaMask/snaps/pull/2794))
|
|
44
|
+
- This is technically a breaking change, but the `AccountSelector` component was never actually implemented, so it
|
|
45
|
+
should not affect any existing code.
|
|
46
|
+
|
|
10
47
|
## [6.7.0]
|
|
11
48
|
|
|
12
49
|
### Added
|
|
@@ -361,7 +398,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
361
398
|
|
|
362
399
|
- Initial release of this package.
|
|
363
400
|
|
|
364
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.
|
|
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
|
|
403
|
+
[6.8.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.7.0...@metamask/snaps-sdk@6.8.0
|
|
365
404
|
[6.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.6.0...@metamask/snaps-sdk@6.7.0
|
|
366
405
|
[6.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.1...@metamask/snaps-sdk@6.6.0
|
|
367
406
|
[6.5.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.0...@metamask/snaps-sdk@6.5.1
|