Replies: 1 comment 1 reply
-
It is not possible to have a non-Promise/callback based API. The module has to work in Browser and Web-like runtimes which are backed by No modern runtime has an issue with supporting async/await and even top-level await is ubiquitous. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be too bad to add a
signSync
function?In my case the JWT signing is just part of the auth configuration and I'd rather not have to make it async, that might be too hard to do on some serverless frameworks.
Beta Was this translation helpful? Give feedback.
All reactions