Examples in README.md use XmlStream unnecessarily
Closed this issue · 1 comments
davetapley commented
The docs show XmlStream
being used to build a filesArray
:
Lines 92 to 101 in 1c21f82
But aws-sdk
returns JS objects automatically, e.g:
const {Contents} = await s3.listObjects(params).promise()
const keys = Contents.map(({Key}) => Key
So why do we need XmlStream
?
orangewise commented
I’ve not tested this part myself. Maybe you can add a test and update the readme? I’m happy to merge a PR.