@crawlora-org/sdk 1.9.0-sdk.1 → 1.14.0-sdk.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/CHANGELOG.md +48 -0
- package/README.md +1 -1
- package/docs/operations.md +95 -17
- package/docs/recipes.md +44 -0
- package/openapi/public.json +43080 -30393
- package/package.json +2 -2
- package/src/client.js +1 -1
- package/src/operations.js +9092 -5582
- package/src/types.d.ts +3923 -664
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlora-org/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-sdk.1",
|
|
4
4
|
"description": "JavaScript and TypeScript SDK for the public Crawlora API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"crawlora",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"pack:check": "npm pack --dry-run",
|
|
65
65
|
"smoke:live": "npm run example:bing-search && npm run example:youtube-transcript",
|
|
66
66
|
"typecheck": "npx --yes -p typescript@5.5.4 tsc --noEmit --target ES2022 --module NodeNext --moduleResolution NodeNext --strict src/index.d.ts src/types.d.ts test/types-usage.ts",
|
|
67
|
-
"test": "node --test"
|
|
67
|
+
"test": "node --test test/*.test.mjs"
|
|
68
68
|
},
|
|
69
69
|
"sideEffects": false,
|
|
70
70
|
"engines": {
|
package/src/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { operations, groups } from "./operations.js";
|
|
2
2
|
|
|
3
3
|
const DEFAULT_BASE_URL = "https://api.crawlora.net/api/v1";
|
|
4
|
-
export const VERSION = "1.
|
|
4
|
+
export const VERSION = "1.14.0-sdk.1";
|
|
5
5
|
const DEFAULT_USER_AGENT = `crawlora-js-sdk/${VERSION}`;
|
|
6
6
|
|
|
7
7
|
export class CrawloraError extends Error {
|