Skip to content

Commit 4d54c66

Browse files
author
Cyrus Nouroozi
committed
Fix metadata type and add last_timestamps to user
1 parent 7db17a3 commit 4d54c66

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clerk/types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ class User(BaseModel):
6767
email_addresses: List[EmailAddress]
6868
phone_numbers: List[PhoneNumber]
6969
external_accounts: List[Any]
70-
metadata: Any
70+
public_metadata: Any
7171
private_metadata: Any
7272
created_at: int
7373
updated_at: int
74+
last_sign_in_at: int
75+
last_active_at: int
7476

7577

7678
class Error(BaseModel):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "clerk-sdk-python"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Python SDK for clerk.dev"
55
repository = "https://github.com/CyrusOfEden/clerk-sdk-python"
66
homepage = "https://clerk.dev"

0 commit comments

Comments
 (0)