vdb-ai-chat 1.0.11 → 1.0.12
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/chat-widget.js +1 -1
- package/lib/commonjs/api.js +0 -1
- package/lib/commonjs/api.js.map +1 -1
- package/lib/commonjs/components/ChatInput.js +1 -2
- package/lib/commonjs/components/ChatInput.js.map +1 -1
- package/lib/commonjs/components/ChatWidget.js +2 -2
- package/lib/commonjs/components/ChatWidget.js.map +1 -1
- package/lib/module/api.js +0 -1
- package/lib/module/api.js.map +1 -1
- package/lib/module/components/ChatInput.js +1 -2
- package/lib/module/components/ChatInput.js.map +1 -1
- package/lib/module/components/ChatWidget.js +2 -2
- package/lib/module/components/ChatWidget.js.map +1 -1
- package/lib/typescript/api.d.ts.map +1 -1
- package/lib/typescript/components/ChatInput.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api.ts +0 -5
- package/src/components/ChatInput.tsx +0 -1
- package/src/components/ChatWidget.tsx +2 -2
|
@@ -149,7 +149,7 @@ export const ChatWidget = forwardRef<ChatWidgetRef, ChatWidgetProps>(
|
|
|
149
149
|
delete searchPayload.three_x;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
const stringifiedSearchPayload = JSON.stringify(searchPayload);
|
|
153
153
|
const payload = item?.search_payload;
|
|
154
154
|
if (!payload) return;
|
|
155
155
|
const isLabgrown = (typeof payload.lab_grown === "string" ? payload.lab_grown === "true" : typeof payload.lab_grown === "boolean" ? payload.lab_grown : false);
|
|
@@ -160,7 +160,7 @@ export const ChatWidget = forwardRef<ChatWidgetRef, ChatWidgetProps>(
|
|
|
160
160
|
isLabgrown ? "lab_grown_diamond" : "diamond"
|
|
161
161
|
}&fromNewFilterScreen=false&filterSplitStep=1§ionName=${
|
|
162
162
|
searchPayload.pair === "pair" ? "Pairs" : "Single Stones"
|
|
163
|
-
}&breadCrumbLabel=Stone%20Search&enterSecondFlow=false&saved_search=${
|
|
163
|
+
}&breadCrumbLabel=Stone%20Search&enterSecondFlow=false&saved_search=${stringifiedSearchPayload}`;
|
|
164
164
|
|
|
165
165
|
if (onViewAllPress) {
|
|
166
166
|
onViewAllPress(deepLinkUrl, payload);
|