@lobehub/chat 0.161.19 → 0.161.20

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.161.20](https://github.com/lobehub/lobe-chat/compare/v0.161.19...v0.161.20)
6
+
7
+ <sup>Released on **2024-05-26**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix vercel build.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix vercel build, closes [#2666](https://github.com/lobehub/lobe-chat/issues/2666) ([cb70e4a](https://github.com/lobehub/lobe-chat/commit/cb70e4a))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.161.19](https://github.com/lobehub/lobe-chat/compare/v0.161.18...v0.161.19)
6
31
 
7
32
  <sup>Released on **2024-05-25**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.161.19",
3
+ "version": "0.161.20",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -84,22 +84,22 @@
84
84
  "@ant-design/icons": "^5.3.7",
85
85
  "@anthropic-ai/sdk": "^0.20.9",
86
86
  "@auth/core": "0.28.0",
87
- "@aws-sdk/client-bedrock-runtime": "^3.577.0",
88
- "@aws-sdk/client-s3": "^3.577.0",
89
- "@aws-sdk/s3-request-presigner": "^3.577.0",
87
+ "@aws-sdk/client-bedrock-runtime": "^3.583.0",
88
+ "@aws-sdk/client-s3": "^3.583.0",
89
+ "@aws-sdk/s3-request-presigner": "^3.583.0",
90
90
  "@azure/openai": "1.0.0-beta.12",
91
91
  "@cfworker/json-schema": "^1.12.8",
92
92
  "@clerk/localizations": "2.0.0",
93
- "@clerk/nextjs": "^5.0.12",
94
- "@clerk/themes": "^2.1.6",
95
- "@google/generative-ai": "^0.11.3",
93
+ "@clerk/nextjs": "^5.1.2",
94
+ "@clerk/themes": "^2.1.7",
95
+ "@google/generative-ai": "^0.11.4",
96
96
  "@icons-pack/react-simple-icons": "^9.5.0",
97
97
  "@khmyznikov/pwa-install": "^0.3.9",
98
98
  "@lobehub/chat-plugin-sdk": "^1.32.3",
99
99
  "@lobehub/chat-plugins-gateway": "^1.9.0",
100
- "@lobehub/icons": "^1.22.0",
100
+ "@lobehub/icons": "^1.22.1",
101
101
  "@lobehub/tts": "^1.24.1",
102
- "@lobehub/ui": "^1.139.0",
102
+ "@lobehub/ui": "^1.141.2",
103
103
  "@microsoft/fetch-event-source": "^2.0.1",
104
104
  "@next/third-parties": "^14.2.3",
105
105
  "@sentry/nextjs": "^7.116.0",
@@ -107,9 +107,9 @@
107
107
  "@trpc/client": "next",
108
108
  "@trpc/next": "next",
109
109
  "@trpc/server": "next",
110
- "@vercel/analytics": "^1.2.2",
111
- "@vercel/speed-insights": "^1.0.10",
112
- "ahooks": "^3.7.11",
110
+ "@vercel/analytics": "^1.3.1",
111
+ "@vercel/speed-insights": "^1.0.11",
112
+ "ahooks": "^3.8.0",
113
113
  "ai": "3.0.19",
114
114
  "antd": "^5.17.3",
115
115
  "antd-style": "^3.6.2",
@@ -128,8 +128,8 @@
128
128
  "immer": "^10.1.1",
129
129
  "ip": "^2.0.1",
130
130
  "jose": "^5.3.0",
131
- "langfuse": "^3.11.0",
132
- "langfuse-core": "^3.11.0",
131
+ "langfuse": "^3.11.1",
132
+ "langfuse-core": "^3.11.1",
133
133
  "lodash-es": "^4.17.21",
134
134
  "lucide-react": "latest",
135
135
  "modern-screenshot": "^4.4.39",
@@ -143,18 +143,18 @@
143
143
  "openai": "^4.47.1",
144
144
  "pino": "^9.1.0",
145
145
  "polished": "^4.3.1",
146
- "posthog-js": "^1.131.4",
146
+ "posthog-js": "^1.135.2",
147
147
  "pwa-install-handler": "^2.6.0",
148
148
  "query-string": "^9.0.0",
149
149
  "random-words": "^2.0.1",
150
150
  "react": "^18.3.1",
151
151
  "react-dom": "^18.3.1",
152
152
  "react-hotkeys-hook": "^4.5.0",
153
- "react-i18next": "^14.1.1",
153
+ "react-i18next": "^14.1.2",
154
154
  "react-layout-kit": "^1.9.0",
155
155
  "react-lazy-load": "^4.0.1",
156
- "react-virtuoso": "^4.7.10",
157
- "react-wrap-balancer": "^1.1.0",
156
+ "react-virtuoso": "^4.7.11",
157
+ "react-wrap-balancer": "^1.1.1",
158
158
  "remark": "^14.0.3",
159
159
  "remark-gfm": "^3.0.1",
160
160
  "remark-html": "^15.0.2",
@@ -200,7 +200,7 @@
200
200
  "@types/lodash-es": "^4.17.12",
201
201
  "@types/node": "^20.12.12",
202
202
  "@types/numeral": "^2.0.5",
203
- "@types/react": "^18.3.2",
203
+ "@types/react": "^18.3.3",
204
204
  "@types/react-dom": "^18.3.0",
205
205
  "@types/rtl-detect": "^1.0.3",
206
206
  "@types/semver": "^7.5.8",
@@ -216,12 +216,12 @@
216
216
  "eslint": "^8.57.0",
217
217
  "eslint-plugin-mdx": "^2.3.4",
218
218
  "fake-indexeddb": "^5.0.2",
219
- "glob": "^10.3.16",
219
+ "glob": "^10.4.1",
220
220
  "gray-matter": "^4.0.3",
221
221
  "happy-dom": "^14.11.0",
222
222
  "husky": "^9.0.11",
223
223
  "just-diff": "^6.0.2",
224
- "lint-staged": "^15.2.4",
224
+ "lint-staged": "^15.2.5",
225
225
  "lodash": "^4.17.21",
226
226
  "markdown-table": "^3.0.3",
227
227
  "node-fetch": "^3.3.2",
@@ -232,7 +232,7 @@
232
232
  "remark-parse": "^10.0.2",
233
233
  "semantic-release": "^21.1.2",
234
234
  "stylelint": "^15.11.0",
235
- "tsx": "^4.10.5",
235
+ "tsx": "^4.11.0",
236
236
  "typescript": "^5.4.5",
237
237
  "unified": "^11.0.4",
238
238
  "unist-util-visit": "^5.0.0",
@@ -40,6 +40,8 @@ const SessionPanel = memo<PropsWithChildren>(({ children }) => {
40
40
  const handleSizeChange: DraggablePanelProps['onSizeChange'] = (_, size) => {
41
41
  if (!size) return;
42
42
  const nextWidth = typeof size.width === 'string' ? Number.parseInt(size.width) : size.width;
43
+ if (!nextWidth) return;
44
+
43
45
  if (isEqual(nextWidth, sessionsWidth)) return;
44
46
  setWidth(nextWidth);
45
47
  updatePreference({ sessionsWidth: nextWidth });