Comparing version 0.0.13 to 0.0.14
@@ -65,3 +65,3 @@ "use strict"; | ||
}); | ||
return [...clickToTweetRefs.values()]; | ||
return Array.from(clickToTweetRefs.values()); | ||
} | ||
@@ -68,0 +68,0 @@ exports.scrapeClickToTweetRefs = scrapeClickToTweetRefs; |
@@ -10,4 +10,4 @@ import { ClickToTweetRef } from "./getClickToTweetRefs"; | ||
export declare function scrapeQuote(clickToTweetRef: ClickToTweetRef): Promise<Quote | { | ||
error: true; | ||
error: unknown; | ||
}>; | ||
//# sourceMappingURL=getQuotes.d.ts.map |
@@ -69,3 +69,3 @@ "use strict"; | ||
return { | ||
error: true, | ||
error: e, | ||
}; | ||
@@ -72,0 +72,0 @@ } |
{ | ||
"name": "jcscraper", | ||
"version": "0.0.13", | ||
"description": "Scrape utilities for James Clear.com 3-2-1 newsletter", | ||
"version": "0.0.14", | ||
"description": "Scrape utilities for James Clear 3-2-1 newsletter", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,4 @@ "scripts": { | ||
"build": "del-cli dist && tsc", | ||
"prepublishOnly": "npm run build" | ||
"prepublishOnly": "npm run build", | ||
"watch": "tsc-watch --onSuccess \"yalc push\"" | ||
}, | ||
@@ -33,4 +34,6 @@ "keywords": [], | ||
"ts-node": "^10.7.0", | ||
"tsc-watch": "^5.0.3", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.4.3" | ||
"typescript": "^4.4.3", | ||
"yalc": "^1.0.0-pre.53" | ||
}, | ||
@@ -37,0 +40,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25466
15