typesense-instantsearch-adapter 2.7.0-0 → 2.7.0-1

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/README.md CHANGED
@@ -403,7 +403,8 @@ Read more about all available options for `renderingContent` in [Algolia's docum
403
403
  ## Compatibility
404
404
 
405
405
  | Typesense Server | typesense-instantsearch-adapter | instantsearch.js | react-instantsearch | vue-instantsearch | angular-instantsearch |
406
- | ---------------- | ------------------------------- | ---------------- | ------------------- | ----------------- | --------------------- |
406
+ |------------------|---------------------------------| ---------------- | ------------------- | ----------------- | --------------------- |
407
+ | \>= v0.25.0.rc14 | \>= v2.7.0-1 | \>= 4.51 | \>= 6.39 | \>= 4.8 | \>= 4.4 |
407
408
  | \>= v0.25.0.rc12 | \>= v2.6.0 | \>= 4.51 | \>= 6.39 | \>= 4.8 | \>= 4.4 |
408
409
  | \>= v0.24 | \>= v2.5.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
409
410
  | \>= v0.21 | \>= v2.0.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
@@ -7,7 +7,7 @@
7
7
  exports["TypesenseInstantSearchAdapter"] = factory();
8
8
  else
9
9
  root["TypesenseInstantSearchAdapter"] = factory();
10
- })(self, function() {
10
+ })(self, () => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -2822,7 +2822,11 @@ var SearchResponseAdapter = /*#__PURE__*/function () {
2822
2822
  var adaptedHits = _this._adaptHits(groupedHit.hits);
2823
2823
 
2824
2824
  adaptedHits.forEach(function (hit) {
2825
- return hit["group_key"] = groupedHit.group_key;
2825
+ hit["group_key"] = hit["_group_key"] = groupedHit.group_key;
2826
+
2827
+ if (groupedHit.found) {
2828
+ hit["_group_found"] = groupedHit.found;
2829
+ }
2826
2830
  });
2827
2831
  return adaptedHits;
2828
2832
  }); // adaptedResult is now in the form of [[{}, {}], [{}, {}], ...]