@crawlora-org/sdk 1.2.0-sdk.12 → 1.2.0-sdk.13

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.2.0-sdk.13
4
+
5
+ - Updated the published npmjs package homepage to `https://crawlora.net`.
6
+
3
7
  ## v1.2.0-sdk.12
4
8
 
5
9
  - Added tag/manual CI/CD workflows for npmjs publishing and GitHub Packages
package/README.md CHANGED
@@ -5,6 +5,12 @@ JavaScript and TypeScript SDK for the public Crawlora API. It works in Node.js
5
5
 
6
6
  Website: [crawlora.net](https://crawlora.net)
7
7
 
8
+ ## Get an API Key
9
+
10
+ Create or sign in to your Crawlora account at [crawlora.net](https://crawlora.net),
11
+ then open the dashboard and create an API key. Set it as `CRAWLORA_API_KEY` in
12
+ your environment before running the examples or using the SDK.
13
+
8
14
  ## Install
9
15
 
10
16
  ```sh
@@ -14,7 +20,7 @@ npm install @crawlora-org/sdk@latest
14
20
  For reproducible builds, pin the current package version:
15
21
 
16
22
  ```sh
17
- npm install @crawlora-org/sdk@1.2.0-sdk.12
23
+ npm install @crawlora-org/sdk@1.2.0-sdk.13
18
24
  ```
19
25
 
20
26
  ## Usage
@@ -83,7 +89,7 @@ variables are not set. `npm run smoke:live` runs all live examples in sequence.
83
89
  This SDK is published to npmjs and mirrored to GitHub Packages. The package
84
90
  `latest` dist-tag and the moving Git tag named `latest` track the current
85
91
  promoted beta. Explicit package versions and Git beta tags such as
86
- `1.2.0-sdk.12` / `v1.2.0-sdk.12` remain available for reproducible builds. Pin
92
+ `1.2.0-sdk.13` / `v1.2.0-sdk.13` remain available for reproducible builds. Pin
87
93
  an explicit version in production applications and upgrade intentionally.
88
94
 
89
95
  GitHub Packages installs require a project `.npmrc` that maps the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlora-org/sdk",
3
- "version": "1.2.0-sdk.12",
3
+ "version": "1.2.0-sdk.13",
4
4
  "description": "JavaScript and TypeScript SDK for the public Crawlora API.",
5
5
  "keywords": [
6
6
  "crawlora",
@@ -8,7 +8,7 @@
8
8
  "web-scraping",
9
9
  "api-client"
10
10
  ],
11
- "homepage": "https://github.com/Crawlora-org/crawlora-typescript-sdk#readme",
11
+ "homepage": "https://crawlora.net",
12
12
  "bugs": {
13
13
  "url": "https://github.com/Crawlora-org/crawlora-typescript-sdk/issues"
14
14
  },
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.2.0-sdk.12";
4
+ export const VERSION = "1.2.0-sdk.13";
5
5
  const DEFAULT_USER_AGENT = `crawlora-js-sdk/${VERSION}`;
6
6
 
7
7
  export class CrawloraError extends Error {