Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add created_at to NDKUserProfile #204

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

arkin0x
Copy link
Contributor

@arkin0x arkin0x commented Apr 5, 2024

  • fix ts errors by type hints

When NDK fetches the user profile and copies it into an NDKUserProfile object, it always adds the created_at: number. This patch is simply updating the NDKUserProfile interface to reflect the existence of the created_at key. I am in favor of having the created_at key because I have a use case where I need to know how old the profile is.

fix ts errors by type hints
@erskingardner erskingardner merged commit 92389a5 into nostr-dev-kit:master Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants