@zoralabs/nft-hooks
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -20,3 +20,3 @@ "use strict"; | ||
function transformNFTZDK(tokenResponse, object) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1; | ||
if (!object) { | ||
@@ -101,3 +101,4 @@ object = { rawData: {} }; | ||
source: types_1.MEDIA_SOURCES.ZORA, | ||
original: ((_r = (_q = token.content) === null || _q === void 0 ? void 0 : _q.mediaEncoding) === null || _r === void 0 ? void 0 : _r.__typename) === 'VideoEncodingTypes' && | ||
original: (((_r = (_q = token.content) === null || _q === void 0 ? void 0 : _q.mediaEncoding) === null || _r === void 0 ? void 0 : _r.__typename) === 'VideoEncodingTypes' || | ||
((_t = (_s = token.content) === null || _s === void 0 ? void 0 : _s.mediaEncoding) === null || _t === void 0 ? void 0 : _t.__typename) === 'AudioEncodingTypes') && | ||
token.content.mediaEncoding.original | ||
@@ -108,3 +109,4 @@ ? { | ||
: undefined, | ||
large: ((_t = (_s = token.content) === null || _s === void 0 ? void 0 : _s.mediaEncoding) === null || _t === void 0 ? void 0 : _t.__typename) === 'VideoEncodingTypes' && | ||
large: (((_v = (_u = token.content) === null || _u === void 0 ? void 0 : _u.mediaEncoding) === null || _v === void 0 ? void 0 : _v.__typename) === 'VideoEncodingTypes' || | ||
((_x = (_w = token.content) === null || _w === void 0 ? void 0 : _w.mediaEncoding) === null || _x === void 0 ? void 0 : _x.__typename) === 'AudioEncodingTypes') && | ||
token.content.mediaEncoding.large | ||
@@ -115,3 +117,3 @@ ? { | ||
: undefined, | ||
poster: ((_v = (_u = token.content) === null || _u === void 0 ? void 0 : _u.mediaEncoding) === null || _v === void 0 ? void 0 : _v.__typename) === 'VideoEncodingTypes' && | ||
poster: ((_z = (_y = token.content) === null || _y === void 0 ? void 0 : _y.mediaEncoding) === null || _z === void 0 ? void 0 : _z.__typename) === 'VideoEncodingTypes' && | ||
token.content.mediaEncoding.poster | ||
@@ -122,3 +124,3 @@ ? { | ||
: undefined, | ||
thumbnail: ((_x = (_w = token.content) === null || _w === void 0 ? void 0 : _w.mediaEncoding) === null || _x === void 0 ? void 0 : _x.__typename) === 'VideoEncodingTypes' && | ||
thumbnail: ((_1 = (_0 = token.content) === null || _0 === void 0 ? void 0 : _0.mediaEncoding) === null || _1 === void 0 ? void 0 : _1.__typename) === 'VideoEncodingTypes' && | ||
token.content.mediaEncoding.thumbnail | ||
@@ -125,0 +127,0 @@ ? { |
{ | ||
"name": "@zoralabs/nft-hooks", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Generic react hooks for fetching zora auctions, nfts, and data on arbitary 721s. Powers nft-components.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/ourzora/nft-hooks", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
945161
21385