From 9a0f14ed15eba84e9db000140f0615279ca42ef0 Mon Sep 17 00:00:00 2001 From: Viki Val Date: Thu, 10 Oct 2024 16:54:04 +0200 Subject: [PATCH] :bug: :label: fetch should return { data: T } --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 15f51d4..f210536 100644 --- a/src/types.ts +++ b/src/types.ts @@ -33,7 +33,7 @@ export type QueryOptions = { orderBy?: OrderBy | OrderBy[] } -export type GraphLike = { data: T } | T +export type GraphLike = { data: T } // NOW: client.eventListByNftId('123', ['id', 'name'], { limit: 10 }) // NEW: client.eventListByNftId('123', { fields: ['id', 'name'], limit: 10 })