I would like to add support for extensible data to this implementation of the IPNS record.
This could be done by:
- adding an optional
extensibleData field to CreateOptions.
- adding an optional parameter
extensibleData to createCborData.
- inside of createCborData, merge extensibleData the
data object.
- add tests and documentation
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.
I would like to add support for extensible data to this implementation of the IPNS record.
This could be done by:
extensibleDatafield toCreateOptions.extensibleDatatocreateCborData.dataobject.It's not necessary to change types or add generics to the record type. Users of this feature would simply have to decode
IPNSRecord.datato read any extensible fields.