connect-dynamodb
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -0,1 +1,6 @@ | ||
1.0.8 / 2016-07-18 | ||
================== | ||
* Fix issue with reap method (https://github.com/ca98am79/connect-dynamodb/issues/27) | ||
1.0.7 / 2016-01-29 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -194,5 +194,10 @@ /*! | ||
}; | ||
this.client.scan(params, function (err, data) { | ||
this.client.scan(params, function onScan(err, data) { | ||
if (err) return fn && fn(err); | ||
destroy.call(this, data, fn); | ||
if (typeof data.LastEvaluatedKey != "undefined") { | ||
//console.log("Scanning for more..."); | ||
params.ExclusiveStartKey = data.LastEvaluatedKey; | ||
this.client.scan(params, onScan); | ||
} | ||
}.bind(this)); | ||
@@ -199,0 +204,0 @@ }; |
{ | ||
"name": "connect-dynamodb", | ||
"description": "DynamoDB session store for Connect", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"author": "Mike Carson <ca98am79@gmail.com> (http://ca98am79.com)", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
@@ -78,2 +78,3 @@ # Connect DynamoDB | ||
* [Etienne Adriaenssen](https://github.com/etiennea) | ||
* [Michael Irigoyen](https://github.com/goyney) | ||
@@ -80,0 +81,0 @@ Thanks! |
18012
330
89