instantsearch.js 4.66.0 → 4.66.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.
@@ -102,6 +102,8 @@ var connectHits = function connectHits(renderFn) {
102
102
  if (!escapeHTML) {
103
103
  return state;
104
104
  }
105
+
106
+ // @MAJOR: set this globally, not in the Hits widget to allow Hits to be conditionally used
105
107
  return state.setQueryParameters(TAG_PLACEHOLDER);
106
108
  }
107
109
  };
@@ -250,6 +250,7 @@ var connectInfiniteHits = function connectInfiniteHits(renderFn) {
250
250
  var uiState = _ref10.uiState;
251
251
  var widgetSearchParameters = searchParameters;
252
252
  if (escapeHTML) {
253
+ // @MAJOR: set this globally, not in the InfiniteHits widget to allow InfiniteHits to be conditionally used
253
254
  widgetSearchParameters = searchParameters.setQueryParameters(TAG_PLACEHOLDER);
254
255
  }
255
256
 
@@ -94,6 +94,8 @@ export type RefinementListRenderState = {
94
94
  isFromSearch: boolean;
95
95
  /**
96
96
  * `true` if a refinement can be applied.
97
+ * @MAJOR: reconsider how `canRefine` is computed so it both accounts for the
98
+ * items returned in the main search and in SFFV.
97
99
  */
98
100
  canRefine: boolean;
99
101
  /**
@@ -1,2 +1,2 @@
1
- declare const _default: "4.66.0";
1
+ declare const _default: "4.66.1";
2
2
  export default _default;
package/es/lib/version.js CHANGED
@@ -1 +1 @@
1
- export default '4.66.0';
1
+ export default '4.66.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instantsearch.js",
3
- "version": "4.66.0",
3
+ "version": "4.66.1",
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",
@@ -31,7 +31,7 @@
31
31
  "@types/google.maps": "^3.45.3",
32
32
  "@types/hogan.js": "^3.0.0",
33
33
  "@types/qs": "^6.5.3",
34
- "algoliasearch-helper": "3.16.3",
34
+ "algoliasearch-helper": "3.17.0",
35
35
  "hogan.js": "^3.0.2",
36
36
  "htm": "^3.0.0",
37
37
  "instantsearch-ui-components": "0.4.0",
@@ -56,9 +56,9 @@
56
56
  "watch:es": "yarn --silent build:es:base --watch"
57
57
  },
58
58
  "devDependencies": {
59
- "@instantsearch/mocks": "1.39.0",
60
- "@instantsearch/tests": "1.39.0",
61
- "@instantsearch/testutils": "1.28.0",
59
+ "@instantsearch/mocks": "1.40.0",
60
+ "@instantsearch/tests": "1.40.0",
61
+ "@instantsearch/testutils": "1.29.0",
62
62
  "@storybook/html": "5.3.9",
63
63
  "@types/scriptjs": "0.0.2",
64
64
  "algoliasearch": "4.22.1",
@@ -66,5 +66,5 @@
66
66
  "scriptjs": "2.5.9",
67
67
  "webpack": "4.47.0"
68
68
  },
69
- "gitHead": "358f849cba15cbbb415da05feb582b47358aa239"
69
+ "gitHead": "d309ca3333476a842be080fcb01b8be925aad204"
70
70
  }