@mendable/firecrawl-js 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -104,7 +104,7 @@ export default class FirecrawlApp {
|
|
|
104
104
|
* @param {number} timeout - Timeout in seconds for job status checks.
|
|
105
105
|
* @returns {Promise<CrawlResponse>} The response from the crawl operation.
|
|
106
106
|
*/
|
|
107
|
-
async crawlUrl(url: string, params: Params | null = null, waitUntilDone: boolean = true, timeout: number = 2): Promise<CrawlResponse> {
|
|
107
|
+
async crawlUrl(url: string, params: Params | null = null, waitUntilDone: boolean = true, timeout: number = 2): Promise<CrawlResponse | any> {
|
|
108
108
|
const headers = this.prepareHeaders();
|
|
109
109
|
let jsonData: Params = { url };
|
|
110
110
|
if (params) {
|