@umituz/react-native-storage 2.6.18 → 2.6.19
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-storage",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.19",
|
|
4
4
|
"description": "Unified storage solution with AsyncStorage persistence, Zustand state management, and in-memory caching for React Native",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -105,7 +105,7 @@ export function usePersistentCache<T>(
|
|
|
105
105
|
actions.setLoading(true);
|
|
106
106
|
|
|
107
107
|
try {
|
|
108
|
-
const cached = await cacheOps.loadFromStorage<T>(key
|
|
108
|
+
const cached = await cacheOps.loadFromStorage<T>(key);
|
|
109
109
|
|
|
110
110
|
if (cached) {
|
|
111
111
|
const expired = isCacheExpired(cached, version);
|