@waniwani/sdk 0.11.5 → 0.11.6

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.
@@ -121,6 +121,18 @@ interface ChatBaseProps {
121
121
  * @internal
122
122
  */
123
123
  skipRemoteConfig?: boolean;
124
+ /**
125
+ * Persist the conversation across page reloads using IndexedDB so the user
126
+ * can resume previous threads. Defaults to `false` — opt in explicitly.
127
+ */
128
+ enableThreadHistory?: boolean;
129
+ /**
130
+ * Force a specific thread to be active. When provided, the embed renders
131
+ * that thread's messages and ignores the most-recently-updated default.
132
+ */
133
+ activeThreadId?: string;
134
+ /** Fired whenever the active thread changes (new chat, switch, delete). */
135
+ onThreadChange?: (threadId: string) => void;
124
136
  }
125
137
  interface ChatBarProps extends ChatBaseProps {
126
138
  /** Chat bar width in pixels. Defaults to 600. */