@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 +8 -0
- package/dist/api.cjs.development.js +3 -1
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +3 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/platforms/vtex/clients/search/types/ProductSearchResult.d.ts +1 -1
- package/package.json +2 -2
- package/src/platforms/vtex/clients/search/types/ProductSearchResult.ts +1 -1
- package/src/platforms/vtex/resolvers/searchResult.ts +1 -1
package/dist/api.esm.js
CHANGED
|
@@ -1913,10 +1913,12 @@ const StoreSearchResult = {
|
|
|
1913
1913
|
// a full text search.
|
|
1914
1914
|
|
|
1915
1915
|
if (searchArgs.query) {
|
|
1916
|
+
var _products$correction$, _products$correction;
|
|
1917
|
+
|
|
1916
1918
|
sp.sendEvent({
|
|
1917
1919
|
type: 'search.query',
|
|
1918
1920
|
text: searchArgs.query,
|
|
1919
|
-
misspelled: products.correction.misspelled,
|
|
1921
|
+
misspelled: (_products$correction$ = (_products$correction = products.correction) == null ? void 0 : _products$correction.misspelled) != null ? _products$correction$ : false,
|
|
1920
1922
|
match: products.recordsFiltered,
|
|
1921
1923
|
operator: products.operator
|
|
1922
1924
|
}).catch(console.error);
|