@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/dist/main/lib/locks.d.ts.map +1 -1
- package/dist/main/lib/locks.js +2 -8
- package/dist/main/lib/locks.js.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/module/lib/locks.d.ts.map +1 -1
- package/dist/module/lib/locks.js +2 -8
- package/dist/module/lib/locks.js.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/lib/locks.ts +2 -10
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
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
|
-
|
|
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
|
//
|
package/src/lib/version.ts
CHANGED
|
@@ -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.
|
|
7
|
+
export const version = '2.112.4-canary.2'
|