@supabase/auth-js 2.112.4-canary.0 → 2.112.4-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/auth-js",
3
- "version": "2.112.4-canary.0",
3
+ "version": "2.112.4-canary.2",
4
4
  "private": false,
5
5
  "description": "Official SDK for Supabase Auth",
6
6
  "keywords": [
package/src/lib/locks.ts CHANGED
@@ -191,18 +191,10 @@ export async function navigatorLock<R>(
191
191
  } catch (e) {
192
192
  // Always clear the acquire timeout once the request settles, so it cannot
193
193
  // fire later and incorrectly abort/log after a rejection.
194
- if (acquireTimeout > 0) {
195
- clearTimeout(acquireTimeoutTimer)
196
- }
194
+ clearTimeout(acquireTimeoutTimer)
197
195
 
198
196
  // DOMException does not extend Error in Node.js, so use structural check
199
- if (
200
- e !== null &&
201
- typeof e === 'object' &&
202
- 'name' in e &&
203
- e.name === 'AbortError' &&
204
- acquireTimeout > 0
205
- ) {
197
+ if (e !== null && typeof e === 'object' && 'name' in e && e.name === 'AbortError') {
206
198
  if (abortController.signal.aborted) {
207
199
  // OUR timeout fired — the lock is genuinely orphaned. Steal it.
208
200
  //
@@ -4,4 +4,4 @@
4
4
  // - Debugging and support (identifying which version is running)
5
5
  // - Telemetry and logging (version reporting in errors/analytics)
6
6
  // - Ensuring build artifacts match the published package version
7
- export const version = '2.112.4-canary.0'
7
+ export const version = '2.112.4-canary.2'