gnk-softworks / lucia-dynamodb-adapter

An easy, simple to setup adapter allowing you to use the 'lucia-auth' library with DynamoDB
Creative Commons Zero v1.0 Universal
8 stars 2 forks source link

change import of querycommand to resolve error #1

Closed perstarkse closed 4 days ago

perstarkse commented 1 month ago

Thank you for this library, has been quite useful!

When using the functions that depend on the getUserSessions function I got an error with the original implementation:

ValidationException: One or more parameter values were invalid: Condition parameter type does not match schema type

Changing the import of QueryCommand to @aws-sdk/client-dynamodb solved it.

Lemonlemons commented 1 week ago

Yo I ran into this same problem today, you should merge in this CR!

Lemonlemons commented 1 week ago

Also thanks for making this repo, it's useful

Kawba commented 4 days ago

Hi All,

Apologies for missing this I've been moving house for the last couple of weeks! I'll merge and release this today!