@seamly/web-ui 24.0.0-beta.8 → 24.0.0

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.
@@ -4355,7 +4355,7 @@ class API {
4355
4355
  return {
4356
4356
  clientName: "@seamly/web-ui",
4357
4357
  clientVariant: this.#layoutMode,
4358
- clientVersion: "24.0.0-beta.8",
4358
+ clientVersion: "24.0.0",
4359
4359
  currentUrl: window.location.toString(),
4360
4360
  screenResolution: `${window.screen.width}x${window.screen.height}`,
4361
4361
  timezone: getTimeZone(),
@@ -17150,6 +17150,14 @@ const SeamlyEventSubscriber = () => {
17150
17150
  const {
17151
17151
  emitEvent
17152
17152
  } = use_seamly_commands();
17153
+ const {
17154
+ hasPrompt,
17155
+ continueChat
17156
+ } = use_seamly_resume_conversation_prompt();
17157
+ const hasResumeConversationPrompt = (0,hooks_module/* useRef */.li)(hasPrompt);
17158
+ (0,hooks_module/* useEffect */.vJ)(() => {
17159
+ hasResumeConversationPrompt.current = hasPrompt;
17160
+ }, [hasPrompt]);
17153
17161
  (0,hooks_module/* useEffect */.vJ)(() => {
17154
17162
  if (conversation.socket) {
17155
17163
  conversation.onConnection(({
@@ -17294,6 +17302,9 @@ const SeamlyEventSubscriber = () => {
17294
17302
  dispatch(updateEvent(event));
17295
17303
  break;
17296
17304
  }
17305
+ if (hasResumeConversationPrompt.current) {
17306
+ continueChat();
17307
+ }
17297
17308
  dispatch(addEvent(event));
17298
17309
  break;
17299
17310
  }
@@ -17347,7 +17358,7 @@ const SeamlyEventSubscriber = () => {
17347
17358
  conversation.onMessage(eventRef.current);
17348
17359
  return true;
17349
17360
  });
17350
- }, [conversation, dispatch, emitEvent, endCountdown, eventBus, initCountdown]);
17361
+ }, [continueChat, conversation, dispatch, emitEvent, endCountdown, eventBus, initCountdown]);
17351
17362
  (0,hooks_module/* useEffect */.vJ)(() => {
17352
17363
  conversation.onConnection(({
17353
17364
  connected