Comparing version 1.1.1 to 1.1.2
@@ -66,3 +66,3 @@ const uuidv4 = require('uuid/v4'); | ||
this.list = async function (keys) { | ||
keys = keys || (await this.adaptor.getAllKeys()).filter( | ||
keys = (keys && keys.map(k => this.name + k)) || (await this.adaptor.getAllKeys()).filter( | ||
(key) => key.indexOf(this.name) === 0 | ||
@@ -69,0 +69,0 @@ ); |
{ | ||
"name": "judel", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "For javascript key/value storage like react-native async-storage.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7343