@lobehub/chat 1.77.12 → 1.77.13
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 +25 -0
- package/changelog/v1.json +9 -0
- package/package.json +1 -1
- package/src/libs/trpc/index.ts +1 -7
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.77.13](https://github.com/lobehub/lobe-chat/compare/v1.77.12...v1.77.13)
|
6
|
+
|
7
|
+
<sup>Released on **2025-04-06**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix data not show correctly in 1.77.11.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Fix data not show correctly in 1.77.11, closes [#7311](https://github.com/lobehub/lobe-chat/issues/7311) ([d99ca04](https://github.com/lobehub/lobe-chat/commit/d99ca04))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.77.12](https://github.com/lobehub/lobe-chat/compare/v1.77.11...v1.77.12)
|
6
31
|
|
7
32
|
<sup>Released on **2025-04-06**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.77.
|
3
|
+
"version": "1.77.13",
|
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",
|
package/src/libs/trpc/index.ts
CHANGED
@@ -7,8 +7,6 @@
|
|
7
7
|
* @link https://trpc.io/docs/v11/router
|
8
8
|
* @link https://trpc.io/docs/v11/procedures
|
9
9
|
*/
|
10
|
-
import { DESKTOP_USER_ID } from '@/const/desktop';
|
11
|
-
import { isDesktop } from '@/const/version';
|
12
10
|
|
13
11
|
import { trpc } from './init';
|
14
12
|
import { jwtPayloadChecker } from './middleware/jwtPayload';
|
@@ -24,11 +22,7 @@ export const router = trpc.router;
|
|
24
22
|
* Create an unprotected procedure
|
25
23
|
* @link https://trpc.io/docs/v11/procedures
|
26
24
|
**/
|
27
|
-
export const publicProcedure = trpc.procedure
|
28
|
-
return next({
|
29
|
-
ctx: { userId: isDesktop ? DESKTOP_USER_ID : null },
|
30
|
-
});
|
31
|
-
});
|
25
|
+
export const publicProcedure = trpc.procedure;
|
32
26
|
|
33
27
|
// procedure that asserts that the user is logged in
|
34
28
|
export const authedProcedure = trpc.procedure.use(userAuth);
|