@mshick/dyno 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/stream.js +2 -2
  2. package/package.json +1 -1
package/dist/stream.js CHANGED
@@ -44,7 +44,7 @@ export function createReadStream(client, { TableName, Pages = Number.POSITIVE_IN
44
44
  ...commandInput,
45
45
  TableName,
46
46
  ExclusiveStartKey: readable.LastEvaluatedKey,
47
- Limit: getLimit(pageSize, nextLimit),
47
+ Limit: getLimit(nextLimit, pageSize),
48
48
  });
49
49
  }
50
50
  else {
@@ -52,7 +52,7 @@ export function createReadStream(client, { TableName, Pages = Number.POSITIVE_IN
52
52
  ...commandInput,
53
53
  TableName,
54
54
  ExclusiveStartKey: readable.LastEvaluatedKey,
55
- Limit: getLimit(pageSize, nextLimit),
55
+ Limit: getLimit(nextLimit, pageSize),
56
56
  });
57
57
  }
58
58
  logRead('sending command input:', command.input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mshick/dyno",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "A simple DynamoDB client.",
5
5
  "keywords": [
6
6
  "dynamodb",