@metamask/snaps-registry
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -9,2 +9,6 @@ # Changelog | ||
## [1.1.0] | ||
### Added | ||
- Add name property to verified snaps ([#8](https://github.com/MetaMask/snaps-registry/pull/8)) | ||
## [1.0.0] | ||
@@ -14,3 +18,4 @@ ### Added | ||
[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v1.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v1.1.0...HEAD | ||
[1.1.0]: https://github.com/MetaMask/snaps-registry/compare/v1.0.0...v1.1.0 | ||
[1.0.0]: https://github.com/MetaMask/snaps-registry/releases/tag/v1.0.0 |
import { Infer } from 'superstruct'; | ||
export declare const VerifiedSnapStruct: import("superstruct").Struct<{ | ||
id: string; | ||
metadata: { | ||
name: string; | ||
}; | ||
versions: Record<import("@metamask/utils").SemVerVersion, { | ||
@@ -9,2 +12,7 @@ checksum: string; | ||
id: import("superstruct").Struct<string, null>; | ||
metadata: import("superstruct").Struct<{ | ||
name: string; | ||
}, { | ||
name: import("superstruct").Struct<string, null>; | ||
}>; | ||
versions: import("superstruct").Struct<Record<import("@metamask/utils").SemVerVersion, { | ||
@@ -39,2 +47,5 @@ checksum: string; | ||
id: string; | ||
metadata: { | ||
name: string; | ||
}; | ||
versions: Record<import("@metamask/utils").SemVerVersion, { | ||
@@ -61,2 +72,5 @@ checksum: string; | ||
id: string; | ||
metadata: { | ||
name: string; | ||
}; | ||
versions: Record<import("@metamask/utils").SemVerVersion, { | ||
@@ -63,0 +77,0 @@ checksum: string; |
@@ -11,2 +11,5 @@ "use strict"; | ||
id: (0, superstruct_1.string)(), | ||
metadata: (0, superstruct_1.object)({ | ||
name: (0, superstruct_1.string)(), | ||
}), | ||
versions: (0, superstruct_1.record)(utils_1.VersionStruct, VerifiedSnapVersionStruct), | ||
@@ -13,0 +16,0 @@ }); |
{ | ||
"name": "@metamask/snaps-registry", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A registry containing metadata about verified and blocked Snaps.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
14400
136