@faststore/api 1.12.6 → 1.12.7

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.12.7](https://github.com/vtex/faststore/compare/v1.12.6...v1.12.7) (2022-09-28)
7
+
8
+ **Note:** Version bump only for package @faststore/api
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.12.6](https://github.com/vtex/faststore/compare/v1.12.5...v1.12.6) (2022-09-26)
7
15
 
8
16
 
@@ -1917,10 +1917,12 @@ const StoreSearchResult = {
1917
1917
  // a full text search.
1918
1918
 
1919
1919
  if (searchArgs.query) {
1920
+ var _products$correction$, _products$correction;
1921
+
1920
1922
  sp.sendEvent({
1921
1923
  type: 'search.query',
1922
1924
  text: searchArgs.query,
1923
- misspelled: products.correction.misspelled,
1925
+ misspelled: (_products$correction$ = (_products$correction = products.correction) == null ? void 0 : _products$correction.misspelled) != null ? _products$correction$ : false,
1924
1926
  match: products.recordsFiltered,
1925
1927
  operator: products.operator
1926
1928
  }).catch(console.error);