Comparing version 0.0.24 to 0.0.25
@@ -79,3 +79,3 @@ "use strict"; | ||
this.description = helpers_1.default.recursiveSearchForKey("text", descriptionContainer).join(""); | ||
const thumbnailsContainer = helpers_1.default.recursiveSearchForKey("thumbnails", primaryInfoRendererContainer); | ||
const thumbnailsContainer = helpers_1.default.recursiveSearchForKey("thumbnails", primaryInfoRendererContainer)[0]; | ||
if (thumbnailsContainer) | ||
@@ -82,0 +82,0 @@ this.thumbnails = thumbnailsContainer; |
{ | ||
"name": "iyoutube", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "The ultimate unofficial YouTube API Client for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "output/main.js", |
@@ -102,3 +102,3 @@ import helpers from "../fetchers/helpers"; | ||
const thumbnailsContainer = helpers.recursiveSearchForKey("thumbnails", primaryInfoRendererContainer); | ||
const thumbnailsContainer = helpers.recursiveSearchForKey("thumbnails", primaryInfoRendererContainer)[0]; | ||
if(thumbnailsContainer) | ||
@@ -105,0 +105,0 @@ this.thumbnails = thumbnailsContainer; |
206396