Comparing version 1.0.0 to 1.0.1
@@ -116,3 +116,3 @@ "use strict"; | ||
let feedPosts = feedResponse.data.children.map(p => { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
let post = new Post_1.default(); | ||
@@ -128,2 +128,3 @@ post.id = p.data.id; | ||
post.thumbnail = (_c = p.data.thumbnail) !== null && _c !== void 0 ? _c : ""; | ||
post.description = (_d = p.data.selftext) !== null && _d !== void 0 ? _d : null; | ||
return post; | ||
@@ -130,0 +131,0 @@ }); |
@@ -12,4 +12,5 @@ declare class Post { | ||
url: string; | ||
description: string | null; | ||
constructor(); | ||
} | ||
export default Post; |
{ | ||
"name": "hehedit", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "my own reddit helper", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37315
686