tristanls / dynamodb-lock-client

A general purpose distributed locking library built for AWS DynamoDB.
MIT License
50 stars 19 forks source link

Browser Support #20

Closed fpronto closed 4 years ago

fpronto commented 4 years ago

Before starting with my problem i just want to thank you for this code

There is a way to use this as a browser package?

Right now i solved the "problem" with dynamodb.DocumentClient dependecy by injecting a middleware created by me.

But still I can't use this in a browser because of Joi depedency.

Someone had this problem before, or know a way to work arround this?

tristanls commented 4 years ago

Hi @fpronto , I just published v0.5.3 which according to joi-browser should be browser-compatible.