@mendable/firecrawl-js 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mendable/firecrawl-js",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -10,7 +10,7 @@ interface Params {
10
10
  [key: string]: any;
11
11
  }
12
12
 
13
- class FirecrawlApp {
13
+ export default class FirecrawlApp {
14
14
  private apiKey: string;
15
15
 
16
16
  constructor({ apiKey = null }: FirecrawlAppConfig) {
@@ -132,6 +132,4 @@ class FirecrawlApp {
132
132
  throw new Error(`Unexpected error occurred while trying to ${action}. Status code: ${response.status}`);
133
133
  }
134
134
  }
135
- }
136
-
137
- export default FirecrawlApp;
135
+ }