@lighthouse/sdk
Advanced tools
Comparing version 8.0.0-beta-3 to 8.0.0-beta-4
@@ -52,4 +52,6 @@ 'use strict'; | ||
cache: cachedSelector, | ||
list: (0, _reselect.createSelector)(cachedSelector, listSelector, function (cache, list) { | ||
return function () { | ||
list: (0, _reselect.createSelector)(cachedSelector, listSelector, | ||
// NOTE opts for sorting are unsupported until we figure out a good way to memoize them | ||
function (cache, list) { | ||
return (0, _memoize2.default)(function () { | ||
var listId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_LIST_ID; | ||
@@ -99,3 +101,3 @@ var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
return sortedResources; | ||
}; | ||
}); | ||
}), | ||
@@ -102,0 +104,0 @@ state: (0, _reselect.createSelector)(listSelector, function (list) { |
{ | ||
"name": "@lighthouse/sdk", | ||
"version": "8.0.0-beta-3", | ||
"version": "8.0.0-beta-4", | ||
"description": "Lighthouse.io SDK for JavaScript applications", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
391255
5285