Nick: fixed js-sdk map params
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mendable/firecrawl-js",
|
"name": "@mendable/firecrawl-js",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"description": "JavaScript SDK for Firecrawl API",
|
"description": "JavaScript SDK for Firecrawl API",
|
||||||
"main": "build/cjs/index.js",
|
"main": "build/cjs/index.js",
|
||||||
"types": "types/index.d.ts",
|
"types": "types/index.d.ts",
|
||||||
|
|||||||
@@ -189,7 +189,6 @@ describe('FirecrawlApp<"v0"> E2E Tests', () => {
|
|||||||
10
|
10
|
||||||
)) as FirecrawlDocumentV0[];
|
)) as FirecrawlDocumentV0[];
|
||||||
expect(response).not.toBeNull();
|
expect(response).not.toBeNull();
|
||||||
console.log({ response });
|
|
||||||
expect(response[0].content).toContain("_Roast_");
|
expect(response[0].content).toContain("_Roast_");
|
||||||
},
|
},
|
||||||
60000
|
60000
|
||||||
|
|||||||
+3
-6
@@ -246,13 +246,10 @@ export interface CrawlStatusResponseV0 {
|
|||||||
* Defines options for mapping URLs during a crawl.
|
* Defines options for mapping URLs during a crawl.
|
||||||
*/
|
*/
|
||||||
export interface MapParams {
|
export interface MapParams {
|
||||||
includePaths?: string[];
|
search?: string;
|
||||||
excludePaths?: string[];
|
|
||||||
maxDepth?: number;
|
|
||||||
limit?: number;
|
|
||||||
allowBackwardLinks?: boolean;
|
|
||||||
allowExternalLinks?: boolean;
|
|
||||||
ignoreSitemap?: boolean;
|
ignoreSitemap?: boolean;
|
||||||
|
includeSubdomains?: boolean;
|
||||||
|
limit?: number;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Response interface for mapping operations.
|
* Response interface for mapping operations.
|
||||||
|
|||||||
Reference in New Issue
Block a user