From 4ff7b6fe161f39d579d5a6437fa2ddc580cd7570 Mon Sep 17 00:00:00 2001 From: Andreas Richter <708186+richtera@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:53:03 -0500 Subject: [PATCH] chore: Refactor verification --- constants.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/constants.ts b/constants.ts index fda71a580..6b614ea6a 100644 --- a/constants.ts +++ b/constants.ts @@ -123,8 +123,11 @@ export type LSP4DigitalAssetMetadata = { export type ImageMetadata = { width: number; height: number; - verificationFunction: string; - verificationData: string; + verification?: { + method: string; + data: string; + source?: string; + }; url: string; }; @@ -134,8 +137,11 @@ export type LinkMetadata = { }; export type AssetMetadata = { - verificationFunction: string; - verificationData: string; + verification?: { + method: string; + data: string; + source?: string; + }; url: string; fileType: string; };