@voltx/ui 0.4.1 → 0.4.4

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Promptly AI Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.d.mts CHANGED
@@ -35,6 +35,6 @@ interface UseAgentReturn {
35
35
  error: Error | null;
36
36
  }
37
37
  declare function useAgent(options: UseAgentOptions): UseAgentReturn;
38
- declare const VERSION = "0.4.1";
38
+ declare const VERSION = "0.4.4";
39
39
 
40
40
  export { type ChatMessage, type UseAgentOptions, type UseAgentReturn, type UseChatOptions, type UseChatReturn, VERSION, useAgent, useChat };
package/dist/index.d.ts CHANGED
@@ -35,6 +35,6 @@ interface UseAgentReturn {
35
35
  error: Error | null;
36
36
  }
37
37
  declare function useAgent(options: UseAgentOptions): UseAgentReturn;
38
- declare const VERSION = "0.4.1";
38
+ declare const VERSION = "0.4.4";
39
39
 
40
40
  export { type ChatMessage, type UseAgentOptions, type UseAgentReturn, type UseChatOptions, type UseChatReturn, VERSION, useAgent, useChat };
package/dist/index.js CHANGED
@@ -130,7 +130,7 @@ function useAgent(options) {
130
130
  );
131
131
  return { run, isRunning, error };
132
132
  }
133
- var VERSION = "0.4.1";
133
+ var VERSION = "0.4.4";
134
134
  // Annotate the CommonJS export names for ESM import in node:
135
135
  0 && (module.exports = {
136
136
  VERSION,
package/dist/index.mjs CHANGED
@@ -104,7 +104,7 @@ function useAgent(options) {
104
104
  );
105
105
  return { run, isRunning, error };
106
106
  }
107
- var VERSION = "0.4.1";
107
+ var VERSION = "0.4.4";
108
108
  export {
109
109
  VERSION,
110
110
  useAgent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltx/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.4",
4
4
  "description": "VoltX React hooks — useRAG, useAgent, useChat, useCompletion",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -13,11 +13,6 @@
13
13
  "require": "./dist/index.js"
14
14
  }
15
15
  },
16
- "scripts": {
17
- "build": "tsup src/index.ts --format cjs,esm --dts --external react",
18
- "dev": "tsup src/index.ts --format cjs,esm --dts --external react --watch",
19
- "clean": "rm -rf dist"
20
- },
21
16
  "peerDependencies": {
22
17
  "react": ">=18.0.0"
23
18
  },
@@ -27,7 +22,9 @@
27
22
  "tsup": "^8.0.0",
28
23
  "typescript": "^5.7.0"
29
24
  },
30
- "files": ["dist"],
25
+ "files": [
26
+ "dist"
27
+ ],
31
28
  "license": "MIT",
32
29
  "repository": {
33
30
  "type": "git",
@@ -36,5 +33,18 @@
36
33
  },
37
34
  "homepage": "https://voltx.co.in",
38
35
  "bugs": "https://github.com/codewithshail/voltx/issues",
39
- "keywords": ["voltx", "react", "hooks", "useChat", "useAgent", "ai", "ui"]
40
- }
36
+ "keywords": [
37
+ "voltx",
38
+ "react",
39
+ "hooks",
40
+ "useChat",
41
+ "useAgent",
42
+ "ai",
43
+ "ui"
44
+ ],
45
+ "scripts": {
46
+ "build": "tsup src/index.ts --format cjs,esm --dts --external react",
47
+ "dev": "tsup src/index.ts --format cjs,esm --dts --external react --watch",
48
+ "clean": "rm -rf dist"
49
+ }
50
+ }