supabase / auth-js

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

feat: add _acquireLock and navigatorLock #736

Closed hf closed 11 months ago

hf commented 11 months ago

Built on top of: #734

Adds an experimental lock option. This is used internally within _acquireLock() which can be used to acquire a global exclusive lock when using the client. It can prevent issues with concurrent access to local storage.

navigatorLock is an experimental lock that can be used to test the library before officially designating it (or an alternative) as the default global exclusive locking mechanism. It will be rolled out on supabase.com/dashboard over time as we grow our confidence in the library.

github-actions[bot] commented 11 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: