@supabase/auth-js 2.116.0-canary.0 → 2.116.0-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/GoTrueClient.d.ts.map +1 -1
- package/dist/main/GoTrueClient.js +6 -0
- package/dist/main/GoTrueClient.js.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/module/GoTrueClient.d.ts.map +1 -1
- package/dist/module/GoTrueClient.js +6 -0
- package/dist/module/GoTrueClient.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/GoTrueClient.ts +6 -0
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
package/src/GoTrueClient.ts
CHANGED
|
@@ -4357,6 +4357,12 @@ export default class GoTrueClient {
|
|
|
4357
4357
|
} catch (err) {
|
|
4358
4358
|
await this.stateChangeEmitters.get(id)?.callback('INITIAL_SESSION', null)
|
|
4359
4359
|
this._debug('INITIAL_SESSION', 'callback id', id, 'error', err)
|
|
4360
|
+
if (isAuthRefreshDiscardedError(err)) {
|
|
4361
|
+
// Same successful no-op _recoverAndRefresh treats as debug-only: the
|
|
4362
|
+
// commit guard discarded a refresh because a concurrent signOut
|
|
4363
|
+
// changed session state mid-flight.
|
|
4364
|
+
return
|
|
4365
|
+
}
|
|
4360
4366
|
if (
|
|
4361
4367
|
isAuthSessionMissingError(err) ||
|
|
4362
4368
|
isAuthRetryableFetchError(err) ||
|
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.116.0-canary.
|
|
7
|
+
export const version = '2.116.0-canary.2'
|