firecrawl 1.11.0 → 1.11.1

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/dist/index.cjs CHANGED
@@ -492,9 +492,6 @@ var FirecrawlApp = class {
492
492
  */
493
493
  async extract(urls, params) {
494
494
  const headers = this.prepareHeaders();
495
- if (!params?.prompt) {
496
- throw new FirecrawlError("Prompt is required", 400);
497
- }
498
495
  let jsonData = { urls, ...params };
499
496
  let jsonSchema;
500
497
  try {
package/dist/index.js CHANGED
@@ -456,9 +456,6 @@ var FirecrawlApp = class {
456
456
  */
457
457
  async extract(urls, params) {
458
458
  const headers = this.prepareHeaders();
459
- if (!params?.prompt) {
460
- throw new FirecrawlError("Prompt is required", 400);
461
- }
462
459
  let jsonData = { urls, ...params };
463
460
  let jsonSchema;
464
461
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -835,10 +835,6 @@ export default class FirecrawlApp {
835
835
  async extract<T extends zt.ZodSchema = any>(urls: string[], params?: ExtractParams<T>): Promise<ExtractResponse<zt.infer<T>> | ErrorResponse> {
836
836
  const headers = this.prepareHeaders();
837
837
 
838
- if (!params?.prompt) {
839
- throw new FirecrawlError("Prompt is required", 400);
840
- }
841
-
842
838
  let jsonData: { urls: string[] } & ExtractParams<T> = { urls, ...params };
843
839
  let jsonSchema: any;
844
840
  try {