libra-ai-sdk 1.0.1 → 1.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/dist/index.js CHANGED
@@ -35,7 +35,7 @@ var LibraAI = class {
35
35
  * const answer = await libra.ask('Hello!');
36
36
  * ```
37
37
  */
38
- constructor(apiKey, baseUrl = "https://libra-ai.com") {
38
+ constructor(apiKey, baseUrl = "https://www.libraai.site") {
39
39
  if (!apiKey || !apiKey.startsWith("lak_")) {
40
40
  throw new Error('Invalid API key. API key must start with "lak_"');
41
41
  }
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ var LibraAI = class {
10
10
  * const answer = await libra.ask('Hello!');
11
11
  * ```
12
12
  */
13
- constructor(apiKey, baseUrl = "https://libra-ai.com") {
13
+ constructor(apiKey, baseUrl = "https://www.libraai.site") {
14
14
  if (!apiKey || !apiKey.startsWith("lak_")) {
15
15
  throw new Error('Invalid API key. API key must start with "lak_"');
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libra-ai-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official Libra AI SDK for JavaScript and TypeScript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",