-
Notifications
You must be signed in to change notification settings - Fork 25
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
feature request: support extensible data fields #302
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Thank you for posting this issue, I had the exact same question, and you saved me the time reading through the docs |
Oh look what I found, Line 65 in f622fc8
It's just waiting for a pull request |
@tabcat if you want to use it check my tests, https://github.com/dentropy/js-ipns/blob/main/test/extensible_data.spec.ts You have to recast js-ipns type IPNSRecordData as any to get the data out |
I would like to add support for extensible data to this implementation of the IPNS record.
This could be done by:
extensibleData
field toCreateOptions
.extensibleData
tocreateCborData
.data
object.It's not necessary to change types or add generics to the record type. Users of this feature would simply have to decode
IPNSRecord.data
to read any extensible fields.The text was updated successfully, but these errors were encountered: