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

NIP19 data types should have all fields accessible #92

Closed
jirijakes opened this issue Apr 25, 2023 · 0 comments
Closed

NIP19 data types should have all fields accessible #92

jirijakes opened this issue Apr 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jirijakes
Copy link
Contributor

Describe the enhancement

NIP19-related data types like Nip19Event or ParameterizedReplaceableEvent have all fields private. However, I believe the values they hold should be accessible for reading.

Use case

Clients not only need to create NIP19 strings but also parse them and extract information from them. For that, they need access to values held by the fields.

@jirijakes jirijakes added the enhancement New feature or request label Apr 25, 2023
jirijakes pushed a commit to jirijakes/nostr that referenced this issue Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant