nostr-dev-kit / ndk

Nostr Development Kit with outbox-model support
https://nostr-dev-kit.github.io/ndk/
MIT License
366 stars 99 forks source link

add created_at to NDKUserProfile #204

Closed arkin0x closed 7 months ago

arkin0x commented 7 months ago

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.