supabase_auth 2.28.0__tar.gz → 2.28.1__tar.gz
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.
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/PKG-INFO +1 -1
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/pyproject.toml +1 -1
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_client.py +2 -3
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_client.py +2 -3
- supabase_auth-2.28.1/src/supabase_auth/version.py +1 -0
- supabase_auth-2.28.0/src/supabase_auth/version.py +0 -1
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/README.md +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/__init__.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/__init__.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_admin_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_admin_oauth_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_base_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/storage.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/__init__.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_admin_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_base_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/storage.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/constants.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/errors.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/helpers.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/py.typed +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/timer.py +0 -0
- {supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/types.py +0 -0
|
@@ -17,7 +17,6 @@ from ..constants import (
|
|
|
17
17
|
EXPIRY_MARGIN,
|
|
18
18
|
GOTRUE_URL,
|
|
19
19
|
MAX_RETRIES,
|
|
20
|
-
RETRY_INTERVAL,
|
|
21
20
|
STORAGE_KEY,
|
|
22
21
|
)
|
|
23
22
|
from ..errors import (
|
|
@@ -1062,7 +1061,7 @@ class AsyncGoTrueClient(AsyncGoTrueBaseAPI):
|
|
|
1062
1061
|
if self._refresh_token_timer:
|
|
1063
1062
|
self._refresh_token_timer.cancel()
|
|
1064
1063
|
self._refresh_token_timer = Timer(
|
|
1065
|
-
(
|
|
1064
|
+
(200 * (2 ** (self._network_retries - 1))),
|
|
1066
1065
|
self._recover_and_refresh,
|
|
1067
1066
|
)
|
|
1068
1067
|
self._refresh_token_timer.start()
|
|
@@ -1127,7 +1126,7 @@ class AsyncGoTrueClient(AsyncGoTrueBaseAPI):
|
|
|
1127
1126
|
and self._network_retries < MAX_RETRIES
|
|
1128
1127
|
):
|
|
1129
1128
|
await self._start_auto_refresh_token(
|
|
1130
|
-
|
|
1129
|
+
200 * (2 ** (self._network_retries - 1))
|
|
1131
1130
|
)
|
|
1132
1131
|
|
|
1133
1132
|
self._refresh_token_timer = Timer(value, refresh_token_function)
|
|
@@ -17,7 +17,6 @@ from ..constants import (
|
|
|
17
17
|
EXPIRY_MARGIN,
|
|
18
18
|
GOTRUE_URL,
|
|
19
19
|
MAX_RETRIES,
|
|
20
|
-
RETRY_INTERVAL,
|
|
21
20
|
STORAGE_KEY,
|
|
22
21
|
)
|
|
23
22
|
from ..errors import (
|
|
@@ -1056,7 +1055,7 @@ class SyncGoTrueClient(SyncGoTrueBaseAPI):
|
|
|
1056
1055
|
if self._refresh_token_timer:
|
|
1057
1056
|
self._refresh_token_timer.cancel()
|
|
1058
1057
|
self._refresh_token_timer = Timer(
|
|
1059
|
-
(
|
|
1058
|
+
(200 * (2 ** (self._network_retries - 1))),
|
|
1060
1059
|
self._recover_and_refresh,
|
|
1061
1060
|
)
|
|
1062
1061
|
self._refresh_token_timer.start()
|
|
@@ -1121,7 +1120,7 @@ class SyncGoTrueClient(SyncGoTrueBaseAPI):
|
|
|
1121
1120
|
and self._network_retries < MAX_RETRIES
|
|
1122
1121
|
):
|
|
1123
1122
|
self._start_auto_refresh_token(
|
|
1124
|
-
|
|
1123
|
+
200 * (2 ** (self._network_retries - 1))
|
|
1125
1124
|
)
|
|
1126
1125
|
|
|
1127
1126
|
self._refresh_token_timer = Timer(value, refresh_token_function)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.28.1" # {x-release-please-version}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.28.0" # {x-release-please-version}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_admin_mfa_api.py
RENAMED
|
File without changes
|
{supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_async/gotrue_admin_oauth_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py
RENAMED
|
File without changes
|
{supabase_auth-2.28.0 → supabase_auth-2.28.1}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|