@wallavi/widget 1.13.1 → 1.13.2
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.
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -174,8 +174,10 @@ interface ChatWidgetConfig {
|
|
|
174
174
|
showThinking?: boolean;
|
|
175
175
|
regenerateMessage?: boolean;
|
|
176
176
|
/**
|
|
177
|
-
* Persist
|
|
178
|
-
*
|
|
177
|
+
* Persist the conversation so it survives page reloads and navigations.
|
|
178
|
+
* The storage key is `wallavi_<agentId>_<userId>` when `userContext.userId`
|
|
179
|
+
* is set, otherwise `wallavi_<agentId>`. Messages go in sessionStorage under
|
|
180
|
+
* `<key>_msgs` and the threadId in localStorage under `<key>_tid`.
|
|
179
181
|
*/
|
|
180
182
|
persist?: boolean;
|
|
181
183
|
onNavigate?: (path: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -174,8 +174,10 @@ interface ChatWidgetConfig {
|
|
|
174
174
|
showThinking?: boolean;
|
|
175
175
|
regenerateMessage?: boolean;
|
|
176
176
|
/**
|
|
177
|
-
* Persist
|
|
178
|
-
*
|
|
177
|
+
* Persist the conversation so it survives page reloads and navigations.
|
|
178
|
+
* The storage key is `wallavi_<agentId>_<userId>` when `userContext.userId`
|
|
179
|
+
* is set, otherwise `wallavi_<agentId>`. Messages go in sessionStorage under
|
|
180
|
+
* `<key>_msgs` and the threadId in localStorage under `<key>_tid`.
|
|
179
181
|
*/
|
|
180
182
|
persist?: boolean;
|
|
181
183
|
onNavigate?: (path: string) => void;
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"tsup": "^8.3.5",
|
|
23
23
|
"tsx": "^4.19.2",
|
|
24
24
|
"typescript": "^5.7.3",
|
|
25
|
-
"@wallavi/
|
|
26
|
-
"@wallavi/
|
|
25
|
+
"@wallavi/protocol": "0.0.1",
|
|
26
|
+
"@wallavi/typescript-config": "0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"private": false,
|
|
46
46
|
"types": "./dist/index.d.ts",
|
|
47
|
-
"version": "1.13.
|
|
47
|
+
"version": "1.13.2",
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup && pnpm build:css",
|
|
50
50
|
"build:css": "tailwindcss -i ./src/styles.css -o ./dist/styles.css --config tailwind.config.cjs --minify",
|