abstract-store
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -64,4 +64,4 @@ /* | ||
if (!store || !store.store || ('function' !== typeof store.store.key)) return setImmediate(function() { callback(new Error('invalid bucket: '+bucket)); }); | ||
key = Utils.transformKey(bucket, key, store.options); | ||
store.store.key(key, callback); | ||
pre = Utils.transformKey(bucket, pre, store.options); | ||
store.store.key(pre, callback); | ||
} | ||
@@ -68,0 +68,0 @@ |
@@ -64,3 +64,3 @@ /* | ||
return Pea(function(callback) { | ||
store.del(key, value, callback); | ||
store.del(key, callback); | ||
}); | ||
@@ -67,0 +67,0 @@ }); |
@@ -26,3 +26,4 @@ /* | ||
}); | ||
store.client.agent = /v0\.1\d/.test(process.version) ? undefined : store.client.agent; | ||
store.client.agent = /v0\.1\d/.test(process.version) ? false : store.client.agent; | ||
Utils.common(store, get, put, del, key); | ||
@@ -29,0 +30,0 @@ setImmediate(function() { callback(null, store); }); |
{ | ||
"name": "abstract-store", | ||
"description": "a module to abstract key/value storage away from the underlying technology", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "mongodb", |
35444
12
746