Comparing version 0.1.1 to 0.1.2
@@ -16,2 +16,7 @@ var util = require('util') | ||
this.get = this._cacheInstance.get.bind(this._cacheInstance) | ||
this.mget = this._cacheInstance.mget.bind(this._cacheInstance) | ||
this.set = this._cacheInstance.set.bind(this._cacheInstance) | ||
this.del = this._cacheInstance.del.bind(this._cacheInstance) | ||
opts = opts || {} | ||
@@ -50,18 +55,2 @@ this._opts = { | ||
ConnectionWrapper.prototype.mget = function (keys) { | ||
return this._cacheInstance.mget(keys) | ||
} | ||
ConnectionWrapper.prototype.get = function (key, val) { | ||
return this._cacheInstance.get(key, val) | ||
} | ||
ConnectionWrapper.prototype.set = function (key, val, maxAgeMs) { | ||
return this._cacheInstance.set(key, val, maxAgeMs) | ||
} | ||
ConnectionWrapper.prototype.del = function (key) { | ||
return this._cacheInstance.del(key) | ||
} | ||
ConnectionWrapper.prototype._attemptConnect = function () { | ||
@@ -68,0 +57,0 @@ if (!this._state.shouldConnect) return |
{ | ||
"name": "zcache" | ||
, "description": "AWS zone-aware caching" | ||
, "version": "0.1.1" | ||
, "version": "0.1.2" | ||
, "homepage": "https://github.com/azulus/zcache" | ||
@@ -6,0 +6,0 @@ , "authors": [ |
63472
1353