Hi,
Thank you for the nice library. Sadly, it seems there is an issue on Safari.
Please refer to
The example repository above is to illustrate the problem via a small reproducible example. However, in a rather big code base, libauth is the only dependency which is having issues in Safari, failing with Promise Rejection: ReferenceError: Cannot access uninitialized variable..
Therefore I imagine it has to do with how libauth is packaged, and not something intrinsic to vite / sveltekit.
Would appreciate it if you could take a look.
Thanks