helia
helia copied to clipboard
feat: refresh ipns record
Title
feat: refresh ipns record
Description
Adds republish to IPNS and unpublish accepts ipns keys.
Changes resolve to not read localStore if nocache option is true.
Changes metadata to include a refresh field that is false by default. The #republish method reads this field to know which keys are being refreshed.
Closes #877
Notes & open questions
Change checklist
- [x] I have performed a self-review of my own code
- [x] I have made corresponding changes to the documentation if necessary (this includes comments as well)
- [x] I have added tests that prove my fix is effective or that my feature works
Triage: in review
сс @lidel for awareness cc @tabcat for awareness
Triage:
- @achingbrain will review