rest-api-kit
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -189,5 +189,5 @@ "use strict"; | ||
let storeIdentifier = `${options.baseUrl || ""}&${params.endpointName}`; | ||
console.log("storeIdentifier", storeIdentifier); | ||
if (Object(params).hasOwnProperty("preferCachevalue")) { | ||
let cachedResult = getFromStore(storeIdentifier); | ||
console.log(cachedResult, "cachedResult"); | ||
if (cachedResult) { | ||
@@ -194,0 +194,0 @@ dispatch({ type: "data/success", payload: cachedResult }); |
{ | ||
"name": "rest-api-kit", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
20573