dynamo-bao 0.3.7 → 0.3.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamo-bao",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Simple powerful data modeling primitives for DynamoDB in JavaScript.",
5
5
  "main": "src/index.js",
6
6
  "exports": {
@@ -528,7 +528,7 @@ const MutationMethods = {
528
528
  logger.debug("primaryId to load", primaryId);
529
529
 
530
530
  // Fetch the item since transactWrite doesn't return values
531
- const savedItem = await this.find(primaryId, { batchDelay: 0 });
531
+ let savedItem = await this.find(primaryId, { batchDelay: 0 });
532
532
 
533
533
  // if the item doesn't exist, sleep for 200ms and try again
534
534
  if (!savedItem.exists()) {