From 063897007754fa70b104b9da73cde0f5152d8b9f Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Wed, 17 Apr 2024 08:21:32 -0700 Subject: [PATCH] fix: make getNFT `owners` an array (#1449) * fix: make getNFT "owners" an array * bump package.json version --- package.json | 2 +- src/api/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6ae882fd8..20cd0ee6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opensea-js", - "version": "7.1.6", + "version": "7.1.7", "description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data", "license": "MIT", "author": "OpenSea Developers", diff --git a/src/api/types.ts b/src/api/types.ts index 880e8713e..705e39896 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -227,7 +227,7 @@ export type NFT = { owners: { address: string; quantity: number; - }; + }[]; /** Rarity of the NFT */ rarity: null | { strategy_id: string | null;