Skip to content

Commit

Permalink
fix: 🐛 add missing localstorage conversation id keys
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpetrov committed Sep 7, 2023
1 parent fc7da68 commit 8feb222
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/ChatBoxFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function ChatBoxFrame(props: { initConfig?: AgentInterfaceConfig }) {

channel: ConversationChannel.website,
agentId,
localStorageConversationIdKey: 'iFrameConversationId',
});

const primaryColor =
Expand Down
1 change: 1 addition & 0 deletions components/ChatBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function App(props: { agentId: string; initConfig?: AgentInterfaceConfig }) {
channel: 'website',
// channel: ConversationChannel.website // not working with bundler parcel,
agentId: props?.agentId,
localStorageConversationIdKey: 'chatBubbleConversationId',
});

const textColor = useMemo(() => {
Expand Down
2 changes: 1 addition & 1 deletion packages/chat-bubble/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databerry/chat-bubble",
"version": "1.0.57",
"version": "1.0.60",
"description": "Chaindesk.ai Chat Bubble Widget",
"main": "chat-bubble.js",
"scripts": {
Expand Down

1 comment on commit 8feb222

@vercel
Copy link

@vercel vercel bot commented on 8feb222 Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.