Skip to content

Commit

Permalink
expose sessionId in useChatSession
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard authored and tpatel committed Apr 15, 2024
1 parent 20f2f82 commit 7e3f54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/react-client/package.json
@@ -1,7 +1,7 @@
{
"name": "@chainlit/react-client",
"description": "Websocket client to connect to your chainlit app.",
"version": "0.0.601",
"version": "0.0.602",
"scripts": {
"build": "tsup src/index.ts --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
"dev": "tsup src/index.ts --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
Expand Down
1 change: 1 addition & 0 deletions libs/react-client/src/useChatSession.ts
Expand Up @@ -294,6 +294,7 @@ const useChatSession = () => {
connect,
disconnect,
session,
sessionId,
chatProfile,
idToResume,
setChatProfile
Expand Down

0 comments on commit 7e3f54a

Please sign in to comment.