cyclic-software/session-store

UpdateCommand is not being imported from aws-sdk even though it is used

thisjt opened this issue · 3 comments

thisjt commented

UpdateCommand is showing a parsing error as it is not being imported from aws-sdk.

const { PutCommand, GetCommand, DeleteCommand } = require("@aws-sdk/lib-dynamodb")

this.documentClient.send(new UpdateCommand(params)).then(callback)

Fix: https://github.com/thisjt/session-store/commit/3acaf78bfc8e9439f4d96cdabe367e582d01e291

Thank you for the bug report and fix.

Can you create a pull request from that fix?

thisjt commented

Done. Please do review on it. Thanks! #12

Fixed and deployed