@eng-ai/sdk 2.0.1 → 2.0.2

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
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to `@eng-ai/sdk` will be documented in this file.
4
4
 
5
+ ## 2.0.2 - 2026-04-05
6
+
7
+ ### Changed
8
+
9
+ - JavaScript SDK default `baseUrl` updated:
10
+ - from `https://app.eng-ai.com/api/v2`
11
+ - to `https://api.eng-ai.com/api/v2`
12
+ - Python SDK default `base_url` aligned to `https://api.eng-ai.com/api/v2`.
13
+
5
14
  ## 2.0.1 - 2026-04-05
6
15
 
7
16
  ### Changed
package/README.md CHANGED
@@ -25,7 +25,7 @@ console.log(response.result.content);
25
25
  console.log(response.normative?.citations ?? []);
26
26
  ```
27
27
 
28
- Default base URL: `https://app.eng-ai.com/api/v2`.
28
+ Default base URL: `https://api.eng-ai.com/api/v2`.
29
29
 
30
30
  ## Security Notes
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eng-ai/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Official JavaScript SDK for ENG-AI External API v2",
5
5
  "type": "module",
6
6
  "main": "./src/client.js",
package/src/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export class EngAIClient {
2
- constructor(apiKey, baseUrl = "https://app.eng-ai.com/api/v2") {
2
+ constructor(apiKey, baseUrl = "https://api.eng-ai.com/api/v2") {
3
3
  this.apiKey = apiKey;
4
4
  this.baseUrl = String(baseUrl || "").replace(/\/+$/, "");
5
5
  this.headers = {