Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick: sdks now have search categories

Nicolas54d8d92c9901
diff --git a/apps/js-sdk/package-lock.json b/apps/js-sdk/package-lock.json
index 301a9f3be..adc6781d0 100644
--- a/apps/js-sdk/package-lock.json
+++ b/apps/js-sdk/package-lock.json
@@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
- "@mendable/firecrawl-js": "1.7.1",
+ "@mendable/firecrawl-js": "^3.2.0",
"axios": "^1.6.8",
"firecrawl": "^1.2.0",
"ts-node": "^10.9.2",
@@ -497,16 +497,17 @@
}
},
"node_modules/@mendable/firecrawl-js": {
- "version": "1.7.1",
- "resolved": "https://registry.npmjs.org/@mendable/firecrawl-js/-/firecrawl-js-1.7.1.tgz",
- "integrity": "sha512-+efF8n/dTIGj0cOYKc1Wt84HeXnQqmQLo/hxMHHh1KzRwVUzq2XNFPyiD14zfK5rjAFGX7u+Ms8I1oRJNRBtiA==",
- "license": "MIT",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@mendable/firecrawl-js/-/firecrawl-js-3.2.0.tgz",
+ "integrity": "sha512-5e4pq4TXPOoe6trBLL3W1a/hVnHhJzPqclCefo4NH5iFmo5ZA4P0N1CTEauETxEN8S3doW7dsu2wDsqpALcX3A==",
"dependencies": {
- "axios": "^1.6.8",
- "isows": "^1.0.4",
+ "axios": "^1.11.0",
"typescript-event-target": "^1.1.1",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.0"
+ },
+ "engines": {
+ "node": ">=22.0.0"
}
},
"node_modules/@tsconfig/node10": {
diff --git a/apps/js-sdk/package.json b/apps/js-sdk/package.json
index 6b36c8347..1e9c95534 100644
--- a/apps/js-sdk/package.json
+++ b/apps/js-sdk/package.json
@@ -11,7 +11,7 @@
"author": "",
"license": "MIT",
"dependencies": {
- "@mendable/firecrawl-js": "1.7.1",
+ "@mendable/firecrawl-js": "^3.2.0",
"axios": "^1.6.8",
"firecrawl": "^1.2.0",
"ts-node": "^10.9.2",
diff --git a/apps/python-sdk/firecrawl/__init__.py b/apps/python-sdk/firecrawl/__init__.py
index 273594327..54eaf2945 100644
--- a/apps/python-sdk/firecrawl/__init__.py
+++ b/apps/python-sdk/firecrawl/__init__.py
@@ -17,7 +17,7 @@ from .v1 import (
V1ChangeTrackingOptions,
)
-__version__ = "3.3.0"
+__version__ = "3.3.2"
# Define the logger for the Firecrawl project
logger: logging.Logger = logging.getLogger("firecrawl")
diff --git a/apps/python-sdk/firecrawl/v2/client.py b/apps/python-sdk/firecrawl/v2/client.py
index 43f2d3793..194fa4314 100644
--- a/apps/python-sdk/firecrawl/v2/client.py
+++ b/apps/python-sdk/firecrawl/v2/client.py
@@ -13,6 +13,7 @@ from .types import (
SearchRequest,
SearchData,
SourceOption,
+ CategoryOption,
CrawlRequest,
CrawlResponse,
CrawlJob,
@@ -171,6 +172,7 @@ class FirecrawlClient:
query: str,
*,
sources: Optional[List[SourceOption]] = None,
+ categories: Optional[List[CategoryOption]] = None,
limit: Optional[int] = None,
tbs: Optional[str] = None,
location: Optional[str] = None,
@@ -195,6 +197,7 @@ class FirecrawlClient:
request = SearchRequest(
query=query,
sources=sources,
+ categories=categories,
limit=limit,
tbs=tbs,
location=location,