@akropolys/kiku 1.5.4 → 1.5.5

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.js CHANGED
@@ -2307,7 +2307,7 @@ function SparkleModal({
2307
2307
  const client = (0, import_sdk7.useAkropolysContext)();
2308
2308
  const [fetchedProduct, setFetchedProduct] = (0, import_react6.useState)(null);
2309
2309
  const displayProduct = initialProduct || fetchedProduct;
2310
- const { results, loading: searchLoading, search } = (0, import_sdk7.useSearch)();
2310
+ const { results, loading: searchLoading, search } = (0, import_sdk7.useSearch)({ type: "vector" });
2311
2311
  const { messages, sources, loading: chatLoading, error: chatError, send } = (0, import_sdk7.useKiku)();
2312
2312
  const [chatInput, setChatInput] = (0, import_react6.useState)("");
2313
2313
  const [isMobile, setIsMobile] = (0, import_react6.useState)(false);