From 51443b263ace3986c959cd6067a7a8316ecb9940 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 1 Feb 2023 12:59:37 +0100 Subject: [PATCH] Add name property to verified snaps (#8) * Add name property to verified snaps * Move name property to metadata object --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 28b006b5..860c1783 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,6 +19,9 @@ const VerifiedSnapVersionStruct = object({ export const VerifiedSnapStruct = object({ id: string(), + metadata: object({ + name: string(), + }), versions: record(VersionStruct, VerifiedSnapVersionStruct), });