algoliasearch-helper 3.16.2 → 3.16.3
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.
|
@@ -3243,7 +3243,8 @@ function extractNormalizedFacetValues(results, attribute) {
|
|
|
3243
3243
|
* @return {undefined} function mutates the item
|
|
3244
3244
|
*/
|
|
3245
3245
|
function setIsRefined(item, currentRefinement, depth) {
|
|
3246
|
-
item.isRefined =
|
|
3246
|
+
item.isRefined =
|
|
3247
|
+
item.name === (currentRefinement[depth] && currentRefinement[depth].trim());
|
|
3247
3248
|
if (item.data) {
|
|
3248
3249
|
item.data.forEach(function (child) {
|
|
3249
3250
|
setIsRefined(child, currentRefinement, depth + 1);
|
|
@@ -6107,7 +6108,7 @@ module.exports = function isValidUserToken(userToken) {
|
|
|
6107
6108
|
},{}],24:[function(require,module,exports){
|
|
6108
6109
|
'use strict';
|
|
6109
6110
|
|
|
6110
|
-
module.exports = '3.16.
|
|
6111
|
+
module.exports = '3.16.3';
|
|
6111
6112
|
|
|
6112
6113
|
},{}]},{},[2])(2)
|
|
6113
6114
|
});
|