workos / authkit-js

Vanilla JS AuthKit SDK
MIT License
9 stars 3 forks source link

Use native Web Locks API when available #41

Closed mthadley closed 4 weeks ago

mthadley commented 1 month ago

The Web Locks API should be more robust, so we should prefer it when it is available.

Browser support is currently at 93% so we'll likely only support this locking mechanism in the future, but for now will fall back to the current "userspace" library to not change the browsers supported by the SDK.

linear[bot] commented 1 month ago

AUTH-3814 Use native Web Locks API over vendor library where available