diff --git a/package.json b/package.json index 5514a6a..115ad15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zoralabs/nft-hooks", - "version": "0.8.2", + "version": "0.8.3", "description": "Generic react hooks for fetching zora auctions, nfts, and data on arbitary 721s. Powers nft-components.", "repository": "https://github.com/ourzora/nft-hooks", "homepage": "https://github.com/ourzora/nft-hooks#README", diff --git a/src/fetcher/MediaFetchAgent.ts b/src/fetcher/MediaFetchAgent.ts index 49f8408..4b94ddb 100644 --- a/src/fetcher/MediaFetchAgent.ts +++ b/src/fetcher/MediaFetchAgent.ts @@ -604,7 +604,7 @@ export class MediaFetchAgent { try { return await request.json(); } catch (e) { - throw new RequestError('Cannot read JSON metadata from IPFS', e); + throw new RequestError('Cannot read JSON metadata from IPFS', e as any); } } }