Skip to content

Commit 67374c2

Browse files
authored
Merge pull request #3 from TimChild/fix-prop-casing
Fix prop casing
2 parents 087d0dc + dc06f2a commit 67374c2

File tree

5 files changed

+26
-10
lines changed

5 files changed

+26
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Test Status](https://github.com/TimChild/reflex-clerk-api/actions/workflows/ci.yml/badge.svg?branch=v0.2.8)
1+
![Test Status](https://github.com/TimChild/reflex-clerk-api/actions/workflows/ci.yml/badge.svg?branch=v0.3.0)
22
![PyPi publish Status](https://github.com/TimChild/reflex-clerk-api/actions/workflows/publish.yml/badge.svg)
33
![Demo Deploy Status](https://github.com/TimChild/reflex-clerk-api/actions/workflows/deploy.yml/badge.svg)
44

custom_components/reflex_clerk_api/control_components.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ class RedirectToSignIn(ClerkBase):
3636

3737
tag = "RedirectToSignIn"
3838

39-
signInFallbackRedirectUrl: str | None = None
39+
sign_in_fallback_redirect_url: str | None = None
4040
"The fallback URL to redirect to after the user signs in, if there's no redirect_url in the path already. Defaults to /."
41-
signInForceRedirectUrl: str | None = None
41+
sign_in_force_redirect_url: str | None = None
4242
"If provided, this URL will always be redirected to after the user signs in."
43-
initialValues: SignInInitialValues | None = None
43+
initial_values: SignInInitialValues | None = None
4444
"The values used to prefill the sign-in fields with."
4545

4646

@@ -49,11 +49,11 @@ class RedirectToSignUp(ClerkBase):
4949

5050
tag = "RedirectToSignUp"
5151

52-
signUpFallbackRedirectUrl: str | None = None
52+
sign_up_fallback_redirect_url: str | None = None
5353
"The fallback URL to redirect to after the user signs up, if there's no redirect_url in the path already. Defaults to /."
54-
signUpForceRedirectUrl: str | None = None
54+
sign_up_force_redirect_url: str | None = None
5555
"If provided, this URL will always be redirected to after the user signs up."
56-
initialValues: SignUpInitialValues | None = None
56+
initial_values: SignUpInitialValues | None = None
5757
"The values used to prefill the sign-up fields with."
5858

5959

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "reflex-clerk-api"
7-
version = "0.2.8"
7+
version = "0.3.0"
88
description = "Reflex custom component wrapping @clerk/clerk-react and integrating the clerk-backend-api"
99
readme = "README.md"
1010
license = { text = "Apache-2.0" }
@@ -62,6 +62,7 @@ dev = [
6262
"pyright>=1.1.396",
6363
"pytest>=8.3.5",
6464
"pytest-playwright>=0.7.0",
65+
"pytest-pretty>=1.2.0",
6566
"ruff>=0.9.10",
6667
"semver>=3.0.4",
6768
]

tests/test_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
TEST_PASSWORD = "test-clerk-password"
1818

1919
PAGE_LOAD_TIMEOUT = 10000 if not os.getenv("CI") else 30000
20-
INTERACTION_TIMEOUT = 2000 if not os.getenv("CI") else 10000
20+
INTERACTION_TIMEOUT = 2000 if not os.getenv("CI") else 20000
2121

2222

2323
@pytest.fixture(scope="session")

uv.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)