rest-api-kit
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -134,2 +134,3 @@ "use strict"; | ||
const [state, dispatch] = (0, import_react.useReducer)(reducer, initState); | ||
console.log("store state => ", state); | ||
return { | ||
@@ -185,3 +186,2 @@ save: (id, data, options) => dispatch({ | ||
const { save: saveToStore, get: getFromStore, clear: clearFromStore } = useStore(); | ||
console.log("getFromStore => ", getFromStore(`${options.baseUrl || ""}&${params.endpointName}`)); | ||
const trigger = async (body = {}) => { | ||
@@ -188,0 +188,0 @@ try { |
{ | ||
"name": "rest-api-kit", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
20565