reflex-google-auth 0.0.6__py3-none-any.whl → 0.0.7__py3-none-any.whl

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.
@@ -18,11 +18,15 @@ class GoogleOAuthProvider(rx.Component):
18
18
  google_oauth_provider = GoogleOAuthProvider.create
19
19
 
20
20
 
21
+ def _on_success_signature(data: rx.Var[dict]) -> tuple[rx.Var[dict]]:
22
+ return data,
23
+
24
+
21
25
  class GoogleLogin(rx.Component):
22
26
  library = "@react-oauth/google"
23
27
  tag = "GoogleLogin"
24
28
 
25
- on_success: rx.EventHandler[lambda data: [data]]
29
+ on_success: rx.EventHandler[_on_success_signature]
26
30
 
27
31
  @classmethod
28
32
  def create(cls, **props) -> "GoogleLogin":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reflex-google-auth
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Sign in with Google
5
5
  Author-email: Masen Furer <m_github@0x26.net>
6
6
  License: Apache-2.0
@@ -0,0 +1,8 @@
1
+ reflex_google_auth/__init__.py,sha256=StBRDVUPCsMwOVRRgvb_WdzoDkSZoq2RLOoe-YsBExE,291
2
+ reflex_google_auth/decorator.py,sha256=70gaOYTupWTE1m0hd2D8TvcoP0CUNVxtBdezurzXtMM,594
3
+ reflex_google_auth/google_auth.py,sha256=urrX1Bx17r1a4cuLBXO1KVgC23hPnzeEzJS21aOU46k,885
4
+ reflex_google_auth/state.py,sha256=IVsHpaI-ahcVNWTCyZGzA9g9mbcansKH3wrxGCV17R0,1514
5
+ reflex_google_auth-0.0.7.dist-info/METADATA,sha256=0tBJ35otZ1xHGo9GYxMj8C9R2LFXy2oMpeLpUXiXuoI,3337
6
+ reflex_google_auth-0.0.7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
7
+ reflex_google_auth-0.0.7.dist-info/top_level.txt,sha256=JB7Letu_7VOfOx5EhyGn_bElQjzSq43-LHafE90wqyM,19
8
+ reflex_google_auth-0.0.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- reflex_google_auth/__init__.py,sha256=StBRDVUPCsMwOVRRgvb_WdzoDkSZoq2RLOoe-YsBExE,291
2
- reflex_google_auth/decorator.py,sha256=70gaOYTupWTE1m0hd2D8TvcoP0CUNVxtBdezurzXtMM,594
3
- reflex_google_auth/google_auth.py,sha256=gEL68F4M77gS5bfG4GVojvIuq8fKx8XpAQ1cIIU6-pk,794
4
- reflex_google_auth/state.py,sha256=IVsHpaI-ahcVNWTCyZGzA9g9mbcansKH3wrxGCV17R0,1514
5
- reflex_google_auth-0.0.6.dist-info/METADATA,sha256=LThWAPOIhA7ujUweuhOIefAcDKnAVD1iBjI_cb1stYI,3337
6
- reflex_google_auth-0.0.6.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
7
- reflex_google_auth-0.0.6.dist-info/top_level.txt,sha256=JB7Letu_7VOfOx5EhyGn_bElQjzSq43-LHafE90wqyM,19
8
- reflex_google_auth-0.0.6.dist-info/RECORD,,