@assistant-ui/react 0.0.20 → 0.0.22

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.22",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -23,35 +23,40 @@
23
23
  "README.md"
24
24
  ],
25
25
  "sideEffects": false,
26
- "scripts": {
27
- "build": "tsup src/index.ts --format cjs,esm --dts"
28
- },
29
26
  "dependencies": {
30
27
  "@radix-ui/primitive": "^1.0.1",
31
28
  "@radix-ui/react-compose-refs": "^1.0.1",
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": {
37
+ "@ai-sdk/react": "^0.0.x",
41
38
  "@types/react": "*",
39
+ "ai": "^3.1.31",
42
40
  "react": "^18"
43
41
  },
44
42
  "peerDependenciesMeta": {
43
+ "@ai-sdk/react": {
44
+ "optional": true
45
+ },
45
46
  "@types/react": {
46
47
  "optional": true
48
+ },
49
+ "ai": {
50
+ "optional": true
47
51
  }
48
52
  },
49
53
  "publishConfig": {
50
54
  "access": "public"
51
55
  },
52
56
  "devDependencies": {
53
- "@assistant-ui/tsconfig": "*",
54
- "tsup": "^8.1.0"
57
+ "@types/node": "^20.14.2",
58
+ "tsup": "^8.1.0",
59
+ "@assistant-ui/tsconfig": "0.0.0"
55
60
  },
56
61
  "homepage": "https://assistant-ui.com/",
57
62
  "repository": {
@@ -60,5 +65,8 @@
60
65
  },
61
66
  "bugs": {
62
67
  "url": "https://github.com/Yonom/assistant-ui/issues"
68
+ },
69
+ "scripts": {
70
+ "build": "tsup src/index.ts --format cjs,esm --dts"
63
71
  }
64
- }
72
+ }