Skip to content

Commit

Permalink
Add name property to verified snaps (#8)
Browse files Browse the repository at this point in the history
* Add name property to verified snaps

* Move name property to metadata object
  • Loading branch information
Mrtenz authored Feb 1, 2023
1 parent 0b9fcdb commit 51443b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const VerifiedSnapVersionStruct = object({

export const VerifiedSnapStruct = object({
id: string(),
metadata: object({
name: string(),
}),
versions: record(VersionStruct, VerifiedSnapVersionStruct),
});

Expand Down

0 comments on commit 51443b2

Please sign in to comment.