@akropolys/kiku 1.6.7 → 1.6.8

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
@@ -89,7 +89,7 @@ function SearchBar({
89
89
  }, []);
90
90
  const handleSelect = (r) => {
91
91
  if (query.trim()) {
92
- client.api.searchVector(query, 1).catch(() => {
92
+ client.api.searchVector(query, 1, void 0, true).catch(() => {
93
93
  });
94
94
  }
95
95
  ignoreNextQueryChange.current = true;
@@ -99,7 +99,7 @@ function SearchBar({
99
99
  };
100
100
  const handleCommitSearch = () => {
101
101
  if (!query.trim()) return;
102
- client.api.searchVector(query, 1).catch(() => {
102
+ client.api.searchVector(query, 1, void 0, true).catch(() => {
103
103
  });
104
104
  if (results.length > 0) {
105
105
  handleSelect(results[0]);