Description
Description
A brief description of the bug. Provide either a screenshot or the full error message
Hi, thanks for this awesome lib, the new version added nanoid
for middleware usage, I'm using this package in my rn project and crypto
isn't available there. Not only rn but there's other platforms/runtimes too where crypto available so adding that to dep and using it even when we arent using middleware makes it impossible for me to update. For now, I patched the package to remove nanoid
. I can create a pr to fix it but need to discuss what should we use instead.
Reproduction
How can this be reproduced / when did the error occur? Does the issue occur in a specific browser, or all browsers?
Use the package in any env where crypto isn't available
Expected result
It should work and specially when I'm not even using middleware so id is useless for me.
(in case it’s not obvious)
Checklist
- I’m willing to open a PR (see CONTRIBUTING.md)