dynamodb-backup-restore
Advanced tools
Comparing version 0.2.20 to 0.3.0
@@ -6,4 +6,4 @@ { | ||
"dependencies": { | ||
"dynamodb-backup-restore": "0.2.20" | ||
"dynamodb-backup-restore": "0.3.0" | ||
} | ||
} |
@@ -75,2 +75,9 @@ 'use strict'; | ||
if (!version.DeletedMarker) { | ||
Object.keys(fileContents).forEach(attributeName => { | ||
// Fix JSON.stringified Binary data | ||
let attr = fileContents[attributeName]; | ||
if (attr.B && attr.B.type && (attr.B.type === 'Buffer') && attr.B.data) { | ||
attr.B = Buffer.from(attr.B.data); | ||
} | ||
}); | ||
action.PutRequest = { | ||
@@ -77,0 +84,0 @@ Item: fileContents |
{ | ||
"name": "dynamodb-backup-restore", | ||
"version": "0.2.20", | ||
"version": "0.3.0", | ||
"description": "NPM package for Backup and Restore AWS DynamoDB", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/shevchenkos/DynamoDbBackUp", |
70052
1630