@snf/qa-bot-core 0.2.11-debug.0 → 0.2.11-debug.3

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.
@@ -6,13 +6,12 @@
6
6
  * which messages belong to which conversation. Also, RCB's history storage
7
7
  * is opaque and unreliable for session restore.
8
8
  *
9
- * Solution: This component listens for every message injection and stores
10
- * the full message content in our own localStorage. The history dropdown
9
+ * Solution: This component watches the messages array via useMessages hook
10
+ * and stores new messages in our own localStorage. The history dropdown
11
11
  * restores sessions directly from our storage, not RCB's.
12
12
  *
13
- * Note: react-chatbotify wraps all messages (including plain strings) in JSX
14
- * before firing events. We use extractTextFromJsx() to recover the text content
15
- * from bot messages so they appear in restored sessions.
13
+ * Note: react-chatbotify wraps all messages (including plain strings) in JSX.
14
+ * We use extractTextFromJsx() to recover the text content from bot messages.
16
15
  *
17
16
  * Deduplication is handled by session-utils (checks message ID).
18
17
  *
@@ -7,7 +7,7 @@
7
7
  * Usage for consumers:
8
8
  * localStorage.setItem('QA_BOT_DEBUG', 'true'); // Enable debug logs + version
9
9
  */
10
- export declare const LIB_VERSION = "0.2.11-debug.0";
10
+ export declare const LIB_VERSION = "0.2.11-debug.3";
11
11
  export declare const logger: {
12
12
  version: () => void;
13
13
  session: (action: string, ...args: unknown[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snf/qa-bot-core",
3
- "version": "0.2.11-debug.0",
3
+ "version": "0.2.11-debug.3",
4
4
  "description": "A configurable chatbot setup for quick integration of RAG-powered Q&A and rating system",
5
5
  "main": "./dist/qa-bot-core.umd.cjs",
6
6
  "module": "./dist/qa-bot-core.js",