libra-ai-sdk 1.0.0 → 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/README.md CHANGED
@@ -5,17 +5,17 @@ Official Libra AI SDK for JavaScript and TypeScript.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @libra-ai/sdk
8
+ npm install libra-ai-sdk
9
9
  # or
10
- yarn add @libra-ai/sdk
10
+ yarn add libra-ai-sdk
11
11
  # or
12
- pnpm add @libra-ai/sdk
12
+ pnpm add libra-ai-sdk
13
13
  ```
14
14
 
15
15
  ## Quick Start
16
16
 
17
17
  ```typescript
18
- import { LibraAI } from '@libra-ai/sdk';
18
+ import { LibraAI } from 'libra-ai-sdk';
19
19
 
20
20
  const libra = new LibraAI('lak_your_api_key');
21
21
 
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.0",
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",
@@ -48,4 +48,4 @@
48
48
  "engines": {
49
49
  "node": ">=16.0.0"
50
50
  }
51
- }
51
+ }