typesense-instantsearch-adapter 2.5.0-5 → 2.5.0-6
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/typesense-instantsearch-adapter.js +4 -4
- package/dist/typesense-instantsearch-adapter.js.map +1 -1
- package/dist/typesense-instantsearch-adapter.min.js +1 -1
- package/dist/typesense-instantsearch-adapter.min.js.map +1 -1
- package/lib/SearchResponseAdapter.js +4 -4
- package/lib/SearchResponseAdapter.js.map +1 -1
- package/package.json +1 -1
- package/src/SearchResponseAdapter.js +4 -4
|
@@ -2951,7 +2951,7 @@ var SearchResponseAdapter = /*#__PURE__*/function () {
|
|
|
2951
2951
|
var adaptedValue;
|
|
2952
2952
|
|
|
2953
2953
|
if (value == null) {
|
|
2954
|
-
adaptedValue = _this4._adaptHighlightNullValue(
|
|
2954
|
+
adaptedValue = _this4._adaptHighlightNullValue();
|
|
2955
2955
|
} else if (Array.isArray(value)) {
|
|
2956
2956
|
var _highlightObjectValue;
|
|
2957
2957
|
|
|
@@ -2976,7 +2976,7 @@ var SearchResponseAdapter = /*#__PURE__*/function () {
|
|
|
2976
2976
|
var adaptedValue;
|
|
2977
2977
|
|
|
2978
2978
|
if (value == null) {
|
|
2979
|
-
adaptedValue = _this5._adaptHighlightNullValue(
|
|
2979
|
+
adaptedValue = _this5._adaptHighlightNullValue();
|
|
2980
2980
|
} else if (Array.isArray(value)) {
|
|
2981
2981
|
var _highlightArrayValue$;
|
|
2982
2982
|
|
|
@@ -3012,9 +3012,9 @@ var SearchResponseAdapter = /*#__PURE__*/function () {
|
|
|
3012
3012
|
}
|
|
3013
3013
|
}, {
|
|
3014
3014
|
key: "_adaptHighlightNullValue",
|
|
3015
|
-
value: function _adaptHighlightNullValue(
|
|
3015
|
+
value: function _adaptHighlightNullValue() {
|
|
3016
3016
|
return {
|
|
3017
|
-
value:
|
|
3017
|
+
value: "",
|
|
3018
3018
|
matchLevel: "none",
|
|
3019
3019
|
matchedWords: []
|
|
3020
3020
|
};
|