@assistant-ui/react 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assistant-ui/react",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -18,10 +18,7 @@
18
18
  "main": "./dist/index.js",
19
19
  "module": "./dist/index.mjs",
20
20
  "types": "./dist/index.d.ts",
21
- "files": [
22
- "dist",
23
- "README.md"
24
- ],
21
+ "files": ["dist", "README.md"],
25
22
  "sideEffects": false,
26
23
  "scripts": {
27
24
  "build": "tsup src/index.ts --format cjs,esm --dts"
@@ -32,25 +29,29 @@
32
29
  "@radix-ui/react-primitive": "^1.0.3",
33
30
  "@radix-ui/react-slot": "^1.0.2",
34
31
  "@radix-ui/react-use-callback-ref": "^1.0.1",
35
- "ai": "^3.1.23",
36
32
  "nanoid": "^5.0.7",
37
33
  "react-textarea-autosize": "^8.5.3",
38
34
  "zustand": "^4.5.2"
39
35
  },
40
36
  "peerDependencies": {
41
37
  "@types/react": "*",
38
+ "ai": "^3",
42
39
  "react": "^18"
43
40
  },
44
41
  "peerDependenciesMeta": {
45
42
  "@types/react": {
46
43
  "optional": true
44
+ },
45
+ "ai": {
46
+ "optional": true
47
47
  }
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
52
  "devDependencies": {
53
- "@assistant-ui/tsconfig": "*",
53
+ "@assistant-ui/tsconfig": "workspace:*",
54
+ "@types/node": "^20.14.2",
54
55
  "tsup": "^8.1.0"
55
56
  },
56
57
  "homepage": "https://assistant-ui.com/",