instantsearch.js 4.39.2 → 4.40.2

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.
@@ -6,10 +6,8 @@ export declare type CurrentRefinementsConnectorParamsRefinement = {
6
6
  attribute: string;
7
7
  /**
8
8
  * The type of the refinement.
9
- *
10
- * It can be one of those: 'facet'|'exclude'|'disjunctive'|'hierarchical'|'numeric'|'query'|'tag'.
11
9
  */
12
- type: string;
10
+ type: 'facet' | 'exclude' | 'disjunctive' | 'hierarchical' | 'numeric' | 'query' | 'tag';
13
11
  /**
14
12
  * The raw value of the refinement.
15
13
  */
@@ -181,7 +181,7 @@ var connectInfiniteHits = function connectInfiniteHits(renderFn) {
181
181
  results: results
182
182
  });
183
183
 
184
- if (cachedHits[_page] === undefined) {
184
+ if (cachedHits[_page] === undefined && !results.__isArtificial) {
185
185
  cachedHits[_page] = transformedHits;
186
186
  cache.write({
187
187
  state: state,
@@ -1,2 +1,2 @@
1
- declare const _default: "4.39.2";
1
+ declare const _default: "4.40.2";
2
2
  export default _default;
package/es/lib/version.js CHANGED
@@ -1 +1 @@
1
- export default '4.39.2';
1
+ export default '4.40.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instantsearch.js",
3
- "version": "4.39.2",
3
+ "version": "4.40.2",
4
4
  "description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.",
5
5
  "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/",
6
6
  "types": "es/index.d.ts",
@@ -56,7 +56,7 @@
56
56
  "@types/google.maps": "^3.45.3",
57
57
  "@types/hogan.js": "^3.0.0",
58
58
  "@types/qs": "^6.5.3",
59
- "algoliasearch-helper": "^3.7.0",
59
+ "algoliasearch-helper": "^3.7.4",
60
60
  "classnames": "^2.2.5",
61
61
  "@algolia/events": "^4.0.1",
62
62
  "hogan.js": "^3.0.2",