supabase / auth-js

An isomorphic Javascript library for Supabase Auth.
MIT License
321 stars 152 forks source link

feat: default to `navigatorLock` on browsers #807

Closed hf closed 6 months ago

hf commented 8 months ago

After having spent months of real-world testing on supabase.com, the navigatorLock is enabled on browsers that support the Navigator LocksManager API.

This makes sure that concurrent access to the storage in multiple tabs, windows or promises is no longer possible, thus removing issues such as:

BenIsenstein commented 6 months ago

Wondering when can we expect to have this merged?

hf commented 6 months ago

Right now.

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 2.62.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Klunk75 commented 5 months ago

Hi there, this merge seems to be causing this issue now: https://github.com/supabase/supabase-js/issues/936 Can you please double check? Thank you!

Paolo