react-native-storage
Advanced tools
+1
-1
| { | ||
| "name": "react-native-storage", | ||
| "version": "0.0.10", | ||
| "version": "0.0.11", | ||
| "description": "This is a local storage wrapper for both react-native(AsyncStorage) and browser(localStorage). ES6/babel is needed.", | ||
@@ -5,0 +5,0 @@ "main": "storage.js", |
+2
-2
@@ -103,3 +103,3 @@ /* | ||
| let { key, id, rawData, expires } = params; | ||
| if(key.toString().includes('_')) { | ||
| if(key.toString().indexOf('_') !== -1) { | ||
| console.error('Please do not use "_" in key!'); | ||
@@ -126,3 +126,3 @@ } | ||
| else { | ||
| if(id.toString().includes('_')) { | ||
| if(id.toString().indexOf('_') !== -1) { | ||
| console.error('Please do not use "_" in id!'); | ||
@@ -129,0 +129,0 @@ } |
44693
0.03%